Liking cljdoc? Tell your friends :D

com.blockether.vis.contract.view

View vocabulary and JSON Schema validation.

View vocabulary and JSON Schema validation.
raw docstring

answer-errorclj

(answer-error fields answer)

nil when answer is valid for fields, otherwise a reason.

nil when `answer` is valid for `fields`, otherwise a reason.
raw docstring

choice-keysclj

Every key a field answered from :options may carry.

Every key a field answered from `:options` may carry.
raw docstring

choice-typesclj

Answer field types carrying choices.

Answer field types carrying choices.
raw docstring

decor-errorclj

(decor-error decor)

nil when decor is a valid normalized decoration, otherwise a reason.

nil when `decor` is a valid normalized decoration, otherwise a reason.
raw docstring

decor-keysclj

Every key a decoration may carry: its own type and the words it paints. A node nobody can answer has nothing else to say.

Every key a decoration may carry: its own type and the words it paints. A node
nobody can answer has nothing else to say.
raw docstring

decor-typesclj

Wire decoration name to internal decoration type.

Wire decoration name to internal decoration type.
raw docstring

decoration?clj

(decoration? {:keys [type]})

True when this normalized node is a decor-types decoration — ink on the form rather than a question. Every surface asks this before it looks for a value, and the answer contract never sees such a node at all.

True when this normalized node is a [[decor-types]] decoration — ink on the
form rather than a question. Every surface asks this before it looks for a
value, and the answer contract never sees such a node at all.
raw docstring

derived-keysclj

Keys the ENGINE stamps on a normalized node, never written in a spec. :is-secret follows from the type, so a caller offering it is refused.

Keys the ENGINE stamps on a normalized node, never written in a spec.
`:is-secret` follows from the type, so a caller offering it is refused.
raw docstring

field-errorclj

(field-error field)

nil when field is a valid normalized answer field, otherwise a reason.

nil when `field` is a valid normalized answer field, otherwise a reason.
raw docstring

field-keysclj

Every key a field spec may be WRITTEN with: the union of the per-type sets, less what the engine derives. The parser accepts exactly this vocabulary in its snake_case spelling, so there is no second table of keys to keep in step.

Every key a field spec may be WRITTEN with: the union of the per-type sets,
less what the engine derives. The parser accepts exactly this vocabulary in
its snake_case spelling, so there is no second table of keys to keep in step.
raw docstring

field-typesclj

Wire answer-field name to internal field type.

Wire answer-field name to internal field type.
raw docstring

group-directionsclj

Wire layout direction to internal direction.

Wire layout direction to internal direction.
raw docstring

group-errorclj

(group-error group)

nil when group is a valid normalized layout group, otherwise a reason.

nil when `group` is a valid normalized layout group, otherwise a reason.
raw docstring

group-keysclj

Every key a layout group may carry. A node that holds no answer has no key that describes one.

Every key a layout group may carry. A node that holds no answer has no key
that describes one.
raw docstring

group-typeclj

Internal type of a layout group.

Internal type of a layout group.
raw docstring

group-type-nameclj

Wire name of a layout group.

Wire name of a layout group.
raw docstring

item-boundsclj

The keyed collection each live node type holds: which key carries it, and how many items it may hold before a patch is REFUSED. One table, so the materializer, the refusal message and the contract document all read it.

The keyed collection each live node type holds: which key carries it, and how
many items it may hold before a patch is REFUSED. One table, so the
materializer, the refusal message and the contract document all read it.
raw docstring

layout-keysclj

The keys only a group has. A field carrying one meant to group and forgot to say so, which is worth its own message rather than an unknown-key refusal.

The keys only a group has. A field carrying one meant to group and forgot to
say so, which is worth its own message rather than an unknown-key refusal.
raw docstring

Live link collection bound.

Live link collection bound.
raw docstring

Wire link target name to internal target type.

Wire link target name to internal target type.
raw docstring

live-alignsclj

Wire table alignment to internal alignment.

Wire table alignment to internal alignment.
raw docstring

live-artifact-errorclj

(live-artifact-error artifact)

nil when artifact is a valid settled live artifact, otherwise a reason.

nil when `artifact` is a valid settled live artifact, otherwise a reason.
raw docstring

live-artifact-inline-bytesclj

Byte size under which a settled view ALSO travels inline, on top of the file it already points at (256 KiB — the same floor attachment-storage/default-offload-floor-bytes uses to decide that a small payload never earns an external round-trip; stated here because the View contract may not drag the imaging stack in to read it).

A view this small survives a session sync to another machine; a build log does not, and must not — holding one in memory as base64 is the cost this whole phase exists to remove.

Byte size under which a settled view ALSO travels inline, on top of the file it
already points at (256 KiB — the same floor
`attachment-storage/default-offload-floor-bytes` uses to decide that a small
payload never earns an external round-trip; stated here because the View
contract may not drag the imaging stack in to read it).

A view this small survives a session sync to another machine; a build log does
not, and must not — holding one in memory as base64 is the cost this whole
phase exists to remove.
raw docstring

live-artifact-keysclj

Every key a settled view carries as an ARTIFACT: what it WAS (:view-id, :session-id, :title), how it ENDED (:ended-at, :reason), what a surface opens instantly (:view, the final materialized state) and where the bytes are (:storage-uri, :size, :line-count, and :base64 only under live-artifact-inline-bytes).

Every key a settled view carries as an ARTIFACT: what it WAS (`:view-id`,
`:session-id`, `:title`), how it ENDED (`:ended-at`, `:reason`), what a surface
opens instantly (`:view`, the final materialized state) and where the bytes are
(`:storage-uri`, `:size`, `:line-count`, and `:base64` only under
[[live-artifact-inline-bytes]]).
raw docstring

live-artifact-media-typeclj

Media type for the append-only live-view record.

Media type for the append-only live-view record.
raw docstring

live-column-keysclj

Every key one declared table column may carry.

Every key one declared table column may carry.
raw docstring

live-elided-keysclj

Keys in an elision record.

Keys in an elision record.
raw docstring

live-group-keysclj

Every key a live layout group may carry. Shares the row/column layout vocabulary of group-type, not the complete input-group schema: live groups have ids and optional collapse state, while input groups describe answer fields. Nested groups use their own available width in each client.

No :name: a live group holds no answer, so there is nothing to key.

Every key a live layout group may carry. Shares the row/column layout
vocabulary of [[group-type]], not the complete input-group schema: live
groups have ids and optional collapse state, while input groups describe
answer fields. Nested groups use their own available width in each client.

No `:name`: a live group holds no answer, so there is nothing to key.
raw docstring

Every key one link may carry.

Every key one link may carry.
raw docstring

live-node-errorclj

(live-node-error node)

nil when node is a valid normalized live node, otherwise a reason.

nil when `node` is a valid normalized live node, otherwise a reason.
raw docstring

live-node-keysclj

Allowed keys for a live node.

Allowed keys for a live node.
raw docstring

live-node-typesclj

Wire semantic live-node name to internal node type.

Wire semantic live-node name to internal node type.
raw docstring

live-op-key-setsclj

Allowed keys for each patch operation.

Allowed keys for each patch operation.
raw docstring

live-op-keysclj

Every key any patch operation may carry — the union the parser derives its snake_case spellings from.

Every key any patch operation may carry — the union the parser derives its
snake_case spellings from.
raw docstring

live-opsclj

Wire live patch operation to internal operation.

Wire live patch operation to internal operation.
raw docstring

live-ordersclj

Wire table order to internal order.

Wire table order to internal order.
raw docstring

live-patch-errorclj

(live-patch-error patch)

nil when patch has a valid live patch shape, otherwise a reason.

nil when `patch` has a valid live patch shape, otherwise a reason.
raw docstring

live-patch-keysclj

Every key one patch carries.

Every key one patch carries.
raw docstring

live-picture-keysclj

Keys returned in a finished live-view picture.

Keys returned in a finished live-view picture.
raw docstring

live-reasonsclj

Wire settlement reason to internal reason.

Wire settlement reason to internal reason.
raw docstring

live-result-errorclj

(live-result-error result)

nil when result is a valid live result, otherwise a reason.

nil when `result` is a valid live result, otherwise a reason.
raw docstring

live-result-keysclj

Keys in the result returned to the model.

Keys in the result returned to the model.
raw docstring

live-row-keysclj

Every key one table row may carry.

Every key one table row may carry.
raw docstring

live-selection-snapshot-bytesclj

Maximum serialized archive-only selection pictures in one live record trailer.

Maximum serialized archive-only selection pictures in one live record trailer.
raw docstring

live-sort-dirsclj

Wire sort direction to internal direction.

Wire sort direction to internal direction.
raw docstring

live-sorted-keysclj

Every key a {:by …} table order may carry.

Every key a `{:by …}` table order may carry.
raw docstring

live-stat-keysclj

Every key one stat may carry.

Every key one stat may carry.
raw docstring

live-step-keysclj

Every key one step may carry.

Every key one step may carry.
raw docstring

live-table-group-keysclj

Every key one declared table group may carry: the id rows point at, the label a surface paints instead of that id, a tone for the head, where the group sorts, and whether it starts open.

Every key one declared table group may carry: the id rows point at, the label
a surface paints instead of that id, a tone for the head, where the group
sorts, and whether it starts open.
raw docstring

live-tonesclj

Wire live tone to internal tone.

Wire live tone to internal tone.
raw docstring

live-view-errorclj

(live-view-error view)

nil when view is a valid normalized live view, otherwise a reason.

nil when `view` is a valid normalized live view, otherwise a reason.
raw docstring

live-view-keysclj

Every key a live view may carry, engine stamps included.

Every key a live view may carry, engine stamps included.
raw docstring

live-view-stamp-keysclj

Keys the ENGINE stamps on a live view, never written in a spec: its own identity, owning Activity invocation, arrival time, and patch counter.

Keys the ENGINE stamps on a live view, never written in a spec: its own
identity, owning Activity invocation, arrival time, and patch counter.
raw docstring

log-defaultsclj

Live log paint-window and patch bounds.

Live log paint-window and patch bounds.
raw docstring

note-charsclj

The most characters a human's stop note carries. Stopping a view is ALWAYS allowed, so a longer comment is cut to this rather than turned away: a refusal would leave the human watching work they already told to stop.

The most characters a human's stop note carries. Stopping a view is ALWAYS
allowed, so a longer comment is cut to this rather than turned away: a refusal
would leave the human watching work they already told to stop.
raw docstring

option-keysclj

Every key one :options entry may carry.

Every key one `:options` entry may carry.
raw docstring

otp-defaultsclj

Default and maximum one-time-code lengths.

Default and maximum one-time-code lengths.
raw docstring

range-defaultsclj

Default numeric range.

Default numeric range.
raw docstring

range-keysclj

Every key a field answered on a track may carry.

Every key a field answered on a track may carry.
raw docstring

request-errorclj

(request-error request)

nil when request is a valid normalized request, otherwise a reason.

nil when `request` is a valid normalized request, otherwise a reason.
raw docstring

request-keysclj

Every key a request may carry.

Every key a request may carry.
raw docstring

request-stamp-keysclj

Keys the ENGINE stamps on a pending REQUEST, so every channel sees them on the projected view although no spec may write one: the registry's arrival time. Same category as derived-keys one level up — request-keys deliberately refuses them on the way in, so a reader rebuilding a view that crossed a process boundary lifts them across instead of re-parsing them.

Keys the ENGINE stamps on a pending REQUEST, so every channel sees them on the
projected view although no spec may write one: the registry's arrival time.
Same category as [[derived-keys]] one level up — `request-keys` deliberately
refuses them on the way in, so a reader rebuilding a view that crossed a
process boundary lifts them across instead of re-parsing them.
raw docstring

secret-handle-prefixclj

Prefix of an opaque secret answer handle.

Prefix of an opaque secret answer handle.
raw docstring

secret-handle?clj

(secret-handle? value)

True when value is an opaque handle minted for a secret-types field.

True when `value` is an opaque handle minted for a `secret-types` field.
raw docstring

secret-typesclj

Answer field types replaced by vault handles.

Answer field types replaced by vault handles.
raw docstring

spinner-framesclj

Ten 100ms text frames per spinner variant, shared with Companion.

Ten 100ms text frames per spinner variant, shared with Companion.
raw docstring

spinner-variantsclj

Wire spinner variant to internal keyword.

Wire spinner variant to internal keyword.
raw docstring

stat-defaultsclj

Live stat collection bound.

Live stat collection bound.
raw docstring

step-defaultsclj

Live step collection bound.

Live step collection bound.
raw docstring

table-defaultsclj

Live table collection and patch bounds.

Live table collection and patch bounds.
raw docstring

text-keysclj

Every key a typed field may carry.

Every key a typed field may carry.
raw docstring

text-typesclj

Answer field types carrying text, excluding fixed-length one-time codes.

Answer field types carrying text, excluding fixed-length one-time codes.
raw docstring

value-keysclj

Every key an answerable field may carry, whatever its type.

Every key an answerable field may carry, whatever its type.
raw docstring

view-action-key-setsclj

Every key one operator action may carry, selected by :action. Keeping these maps closed prevents a misspelled value or selection address from disappearing.

Every key one operator action may carry, selected by `:action`. Keeping these
maps closed prevents a misspelled value or selection address from disappearing.
raw docstring

view-actionsclj

Wire operator action to internal action.

Wire operator action to internal action.
raw docstring

view-defaultsclj

Live node collection bound.

Live node collection bound.
raw docstring

view-kindsclj

Wire View name to lifecycle kind.

Wire View name to lifecycle kind.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close