Check whether the requested count is within the limit for
the given view type, and say what to do when it is not.
strategy overrides the DEFAULT_LIMIT_STRATEGIES row for this
call (a matrix host that would rather aggregate passes
"truncate"; a table that cannot page passes "refuse").
Optionalstrategy: "refuse" | "truncate" | "page"Drop a user-level override, returning to the deployment default.
StaticfromBuild a manager from a deployment configuration document. The
document is validated first (it is hand-authored; see
working-set-config.ts), so a malformed one throws a typed
DocumentParseError at host setup rather than configuring
nothing.
The administrator ceiling for a view, or undefined when unbounded.
Set the deployment soft default (admin use). Still bounded by the
ceiling, and shadowed by a user override while one is set; the
effective value is what getLimit reports afterwards.
Apply a user-level override (the explicit "Show all" action).
Returns the same typed result as canRaise; on refusal nothing
changes and the result carries the limit that stays in force.
Would a user-level override to
valuebe accepted? Pure: answers without changing anything, so a view can decide between a "Show all" prompt (ok) and a refusal message (not ok) before it offers either.