@ai-matrx/records 0.26.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3620,9 +3620,21 @@ interface FieldPatch {
3620
3620
  /** …or the one word every other caller reaches for (see `NewFieldDeclaration`). */
3621
3621
  type?: FieldTypeWord;
3622
3622
  /**
3623
- * FLD-2. The shape of the value. The door reads it ONLY inside its behaviour
3624
- * arm, so a patch that moves `multi` alone changes nothing — send the
3625
- * behaviour word with it.
3623
+ * FLD-2. The shape of the value — one, or several.
3624
+ *
3625
+ * This comment used to say that a patch moving `multi` ALONE changed nothing
3626
+ * and that the behaviour word had to be sent with it. That was true, and it
3627
+ * was a description of a silent failure rather than a contract: the door
3628
+ * answered "saved" and the column still held one. `custom.field_update` has
3629
+ * had a real settings arm for it since 2026-09-20 (matrx-frontend
3630
+ * `migrations/campaign/fix7b_field_multi_arm.sql`), which also moves a
3631
+ * relation's `relation_max` beside it — `custom.validate_values` counts links
3632
+ * against that number, so moving `multi` without it would tick a box and
3633
+ * still refuse the second record.
3634
+ *
3635
+ * A CHOICE LIST IS THE ONE EXCEPTION, and it is refused by name rather than
3636
+ * ignored: for `select` / `multi_select`, "one answer or several" IS the
3637
+ * parity type, so send the type instead.
3626
3638
  */
3627
3639
  multi?: boolean;
3628
3640
  /** REL / FLD-11: re-point the column. The old edges are withdrawn by the door. */
@@ -3796,6 +3808,139 @@ interface EntityFieldRights {
3796
3808
  may_fill_in: boolean;
3797
3809
  }
3798
3810
 
3811
+ /** One stage of a board: the KEY the store keeps, and the LABEL a person reads. */
3812
+ interface PipelineStage {
3813
+ /** The option's stable key — what a cell holds, and what a move is written with. */
3814
+ key: string;
3815
+ /** What the column heading says. Renaming a stage rewrites no record. */
3816
+ label: string;
3817
+ /** A retired choice can still be READ on a record that holds it; it cannot be picked anew. */
3818
+ retired: boolean;
3819
+ }
3820
+ /** What each Rule of a pipeline is about. Closed, and the store is the authority. */
3821
+ declare const PIPELINE_RULE_KINDS: readonly ["moves", "requires", "who", "limit", "entry"];
3822
+ type PipelineRuleKind = (typeof PIPELINE_RULE_KINDS)[number];
3823
+ /**
3824
+ * One transition Rule, as `custom.pipeline_read` hands it back — WITH the sentence it says
3825
+ * when it refuses, because a screen that knows a rule exists but not what it refuses in
3826
+ * cannot warn anybody before they drag.
3827
+ */
3828
+ interface PipelineRule {
3829
+ id: Uuid;
3830
+ name: string;
3831
+ /** The exact words a person is shown when this Rule stops a move. */
3832
+ message: string;
3833
+ kind: PipelineRuleKind | null;
3834
+ /** The stage this Rule is about; `null` on the one Rule about the moves themselves. */
3835
+ stage: string | null;
3836
+ uses: string[];
3837
+ /** What happens when a card ARRIVES in this stage — assign, notify, start a checklist. */
3838
+ on_entry: Record<string, unknown> | null;
3839
+ version: number;
3840
+ }
3841
+ /** The whole board's definition, from `custom.pipeline_read`. */
3842
+ interface Pipeline {
3843
+ is_pipeline: boolean;
3844
+ /** Present, and it says what would make a board exist, when `is_pipeline` is false. */
3845
+ why?: string;
3846
+ table_id?: Uuid;
3847
+ /** The Field KEY that holds the stage — the twin of a Table's `type_field`. */
3848
+ stage_field?: string;
3849
+ field_id?: Uuid;
3850
+ /** What that column is called, e.g. "Stage". */
3851
+ stage_label?: string;
3852
+ /** In the order they were declared, which is the order the board draws them. */
3853
+ stages?: PipelineStage[];
3854
+ rules?: PipelineRule[];
3855
+ }
3856
+ /** One column of the board, with the store's own numbers over what this person may see. */
3857
+ interface PipelineColumn {
3858
+ stage_key: string;
3859
+ stage_label: string;
3860
+ /** 1-based, the declared order. */
3861
+ stage_position: number;
3862
+ cards: number;
3863
+ /** The total of the chosen measure, or null when no measure was asked for. */
3864
+ total: number | null;
3865
+ /** How many cards this column takes at once, or null when it takes any number. */
3866
+ wip_limit: number | null;
3867
+ /** True when the column already holds MORE than its limit — a state a board must show. */
3868
+ over_limit: boolean;
3869
+ }
3870
+ /** One column this stage demands before a card may land in it. */
3871
+ interface PipelineMissingField {
3872
+ field_id: Uuid;
3873
+ key: string;
3874
+ /** What the column is called, so a screen can ASK for it rather than only refuse. */
3875
+ label: string;
3876
+ }
3877
+ /**
3878
+ * Whether a card may go to a column, answered BEFORE the finger lets go — by the same
3879
+ * Rules, through the same evaluator, on the document the move WOULD produce.
3880
+ *
3881
+ * A board greys a column, and snaps a card back, from this. It never decides for itself.
3882
+ */
3883
+ interface PipelineVerdict {
3884
+ allowed: boolean;
3885
+ is_pipeline: boolean;
3886
+ /** The stage key the move was asked about. */
3887
+ to?: string;
3888
+ /** The store's own sentence — shown verbatim, never paraphrased by a screen. */
3889
+ why: string;
3890
+ rule?: string;
3891
+ rule_id?: Uuid;
3892
+ rule_version?: number;
3893
+ kind?: PipelineRuleKind;
3894
+ /**
3895
+ * When a stage demands columns that are empty, exactly which ones — so the screen can
3896
+ * prompt for them on entry instead of sending the person away to find them.
3897
+ */
3898
+ missing?: PipelineMissingField[];
3899
+ }
3900
+ /** What `custom.pipeline_declare` says it made or changed. */
3901
+ interface PipelineDeclared {
3902
+ table_id: Uuid;
3903
+ stage_field: string;
3904
+ field_id: Uuid;
3905
+ stages: string[];
3906
+ rules: Record<string, Uuid>;
3907
+ /** Plain sentences naming each thing this declaration wrote. */
3908
+ said: string[];
3909
+ }
3910
+ /** The declaration a person (or an agent) writes. Everything is optional but the stages. */
3911
+ interface PipelineSpec {
3912
+ stage_field: {
3913
+ key: string;
3914
+ label?: string;
3915
+ options?: string[];
3916
+ sort?: number;
3917
+ };
3918
+ transitions?: {
3919
+ from: string;
3920
+ to: string;
3921
+ }[];
3922
+ /** Stage name → the column keys that must be filled in to land there. */
3923
+ requires?: Record<string, string[]>;
3924
+ /** Stage name → the rung somebody needs on the record to move a card INTO it. */
3925
+ who?: Record<string, "viewer" | "commenter" | "editor" | "admin">;
3926
+ /** Stage name → how many cards may sit there at once. The mover is not counted. */
3927
+ limits?: Record<string, number>;
3928
+ /** Stage name → what happens when a card arrives: assign, notify, start a checklist. */
3929
+ on_entry?: Record<string, Record<string, unknown>>;
3930
+ moves_message?: string;
3931
+ requires_messages?: Record<string, string>;
3932
+ }
3933
+ /**
3934
+ * THE ONE PLACE A SCREEN DECIDES WHETHER A CARD LOOKS DRAGGABLE — and it decides on the
3935
+ * PERSON, not on the rules. Whether a particular move is allowed is
3936
+ * `pipelineTransitionRefusal`, which is the store's answer; whether this person may move
3937
+ * anything at all is their level on the record, which the read door already told us.
3938
+ *
3939
+ * Absent rather than dead: a viewer's card carries no drag handle at all, instead of one
3940
+ * that looks live and snaps back every time.
3941
+ */
3942
+ declare function mayDrag(level: string | null | undefined): boolean;
3943
+
3799
3944
  /**
3800
3945
  * A rule expression as `custom.rule_eval` ACTUALLY evaluates it — read off the
3801
3946
  * door's own body, not invented here. A leaf is the node's name carrying its
@@ -3886,6 +4031,46 @@ interface FormSummary {
3886
4031
  notify_rule_id: string | null;
3887
4032
  presentation: Record<string, unknown>;
3888
4033
  }
4034
+ /**
4035
+ * ONE BOOKING PAGE, AS ITS OWNER SEES IT — `custom.bookings` (PRODUCTS row 14).
4036
+ *
4037
+ * A booking page is an `anon_form` whose `presentation -> 'booking'` carries the
4038
+ * availability and the id of a slots Table, so it is the SAME object a form is and
4039
+ * this is the same list `forms()` is, asked for the booking half. The numbers are
4040
+ * the store's own: a screen that counted appointments in the browser would drift
4041
+ * from the index that actually protects a slot.
4042
+ */
4043
+ interface BookingSummary {
4044
+ form_id: string;
4045
+ /** The Table the appointments land in — a booking is an ordinary record in it. */
4046
+ table_id: string;
4047
+ title: string | null;
4048
+ slug: string;
4049
+ published_at: string | null;
4050
+ closed_at: string | null;
4051
+ /** How long one appointment is. The offer is the store's, never the browser's. */
4052
+ slot_minutes: number;
4053
+ /** The organization's own zone, which is what the visitor's times are drawn in. */
4054
+ timezone: string;
4055
+ /** The ONE slots Table `custom.booking_declare` finds-or-makes for this page. */
4056
+ slot_table_id: string;
4057
+ booked: number;
4058
+ cancelled: number;
4059
+ /** Booked and still ahead of now — the number that answers "what is coming". */
4060
+ upcoming: number;
4061
+ /** Slots a visitor is holding right now, before they have given their details. */
4062
+ held: number;
4063
+ /** The next appointment, or null when there is none. */
4064
+ next_at: string | null;
4065
+ /** draft · open · closed — the store's own word, never derived on a screen. */
4066
+ state: string;
4067
+ }
4068
+ /**
4069
+ * THE VISITOR'S OWN LINK to a booking page. The page id IS the capability, exactly
4070
+ * as it is for a form; `custom.anon_submission.booking_ref` is the separate secret
4071
+ * that lets ONE visitor manage the appointment they made.
4072
+ */
4073
+ declare function bookingPath(formId: string): string;
3889
4074
  /**
3890
4075
  * THE PUBLIC LINK, and the one place its shape is written down.
3891
4076
  *
@@ -6264,6 +6449,37 @@ interface RecordsClient {
6264
6449
  fieldKernelId(): Promise<RecordsResult<Uuid>>;
6265
6450
  ruleKernelId(): Promise<RecordsResult<Uuid>>;
6266
6451
  /** Every record the Rule says is a member. A saved view's list is this, not a filter a screen ran. */
6452
+ /** PRODUCTS row 7 — the whole board: its stage column, its stages in the declared
6453
+ * order, and every Rule WITH the sentence it says when it refuses. */
6454
+ pipelineRead(args: {
6455
+ table_id: Uuid;
6456
+ }): Promise<RecordsResult<Pipeline>>;
6457
+ /** The store's own count and total per column, over what this person may see. */
6458
+ pipelineBoard(args: {
6459
+ table_id: Uuid;
6460
+ measure?: string | null;
6461
+ }): Promise<RecordsResult<PipelineColumn[]>>;
6462
+ /** Whether this card may go to that column — asked BEFORE the finger lets go. */
6463
+ pipelineTransitionRefusal(args: {
6464
+ record_id: Uuid;
6465
+ to: string;
6466
+ }): Promise<RecordsResult<PipelineVerdict>>;
6467
+ /** Move a record to a stage. An ORDINARY record write, judged by the same Rules. */
6468
+ pipelineMove(args: {
6469
+ record_id: Uuid;
6470
+ to: string;
6471
+ also?: Record<string, unknown>;
6472
+ expected_version?: number | null;
6473
+ }): Promise<RecordsResult<unknown>>;
6474
+ /** Declare (or re-state) a pipeline: the stage column and its transition Rules. */
6475
+ pipelineDeclare(args: {
6476
+ table_id: Uuid;
6477
+ spec: PipelineSpec;
6478
+ }): Promise<RecordsResult<PipelineDeclared>>;
6479
+ /** Which column of this table holds its stage, or null when it is not a board. */
6480
+ tableStageField(args: {
6481
+ table_id: Uuid;
6482
+ }): Promise<RecordsResult<string | null>>;
6267
6483
  ruleMembers(args: {
6268
6484
  rule_id: Uuid;
6269
6485
  }): Promise<RecordsResult<StoredRecord[]>>;
@@ -6295,6 +6511,15 @@ interface RecordsClient {
6295
6511
  forms(args?: {
6296
6512
  table_id?: Uuid | null;
6297
6513
  }): Promise<RecordsResult<FormSummary[]>>;
6514
+ /**
6515
+ * THIS ORGANIZATION'S BOOKING PAGES (PRODUCTS row 14), with the numbers that make
6516
+ * the list worth opening: how many are booked, cancelled, still ahead, and how many
6517
+ * slots somebody is holding right now. A booking page is an `anon_form`, so it is
6518
+ * opened and closed with `anonPublish` exactly as a form is.
6519
+ */
6520
+ bookings(args?: {
6521
+ table_id?: Uuid | null;
6522
+ }): Promise<RecordsResult<BookingSummary[]>>;
6298
6523
  /** Create or re-state one form. A question naming no Field of that Table is refused BY NAME. */
6299
6524
  formDeclare(args: {
6300
6525
  table_id: Uuid;
@@ -7393,4 +7618,4 @@ declare function useFieldMutation(): UseFieldMutation;
7393
7618
  */
7394
7619
  declare function useMergeField(key: string | null, state?: Record<string, unknown>): MergeFieldResolution | null;
7395
7620
 
7396
- export { ABSENCE_REASONS, ACTOR_VOCABULARY, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, COMPUTE_ON, CONTEXT_POLICIES, type CaptureField, type CaptureFileRef, type CaptureOutcome, type CaptureQuestion, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSheetFace, type CaptureSheetSummary, type CaptureSyncReport, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type Delivery, type DigestPreview, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PredictedRefusal, type ProvenancePointer, type PublishBinding, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, type QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationFlavor, type RelationProperties, type RelationTarget, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, type SubscriptionSpec, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, asPermissionLevel, atLeast, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, indexedDbStore, isDecided, isRecordsErr, isTheChosen, looksLikeAnId, measureKey, memoryStore, mintClientKey, ok, openCaptureQueue, optionKey, optionLabel, portalPath, publicFormPath, scopeChip, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
7621
+ export { ABSENCE_REASONS, ACTOR_VOCABULARY, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, type BookingSummary, COMPUTE_ON, CONTEXT_POLICIES, type CaptureField, type CaptureFileRef, type CaptureOutcome, type CaptureQuestion, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSheetFace, type CaptureSheetSummary, type CaptureSyncReport, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type Delivery, type DigestPreview, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type Pipeline, type PipelineColumn, type PipelineDeclared, type PipelineMissingField, type PipelineRule, type PipelineRuleKind, type PipelineSpec, type PipelineStage, type PipelineVerdict, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PredictedRefusal, type ProvenancePointer, type PublishBinding, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, type QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationFlavor, type RelationProperties, type RelationTarget, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, type SubscriptionSpec, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, indexedDbStore, isDecided, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, ok, openCaptureQueue, optionKey, optionLabel, portalPath, publicFormPath, scopeChip, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
@@ -3620,9 +3620,21 @@ interface FieldPatch {
3620
3620
  /** …or the one word every other caller reaches for (see `NewFieldDeclaration`). */
3621
3621
  type?: FieldTypeWord;
3622
3622
  /**
3623
- * FLD-2. The shape of the value. The door reads it ONLY inside its behaviour
3624
- * arm, so a patch that moves `multi` alone changes nothing — send the
3625
- * behaviour word with it.
3623
+ * FLD-2. The shape of the value — one, or several.
3624
+ *
3625
+ * This comment used to say that a patch moving `multi` ALONE changed nothing
3626
+ * and that the behaviour word had to be sent with it. That was true, and it
3627
+ * was a description of a silent failure rather than a contract: the door
3628
+ * answered "saved" and the column still held one. `custom.field_update` has
3629
+ * had a real settings arm for it since 2026-09-20 (matrx-frontend
3630
+ * `migrations/campaign/fix7b_field_multi_arm.sql`), which also moves a
3631
+ * relation's `relation_max` beside it — `custom.validate_values` counts links
3632
+ * against that number, so moving `multi` without it would tick a box and
3633
+ * still refuse the second record.
3634
+ *
3635
+ * A CHOICE LIST IS THE ONE EXCEPTION, and it is refused by name rather than
3636
+ * ignored: for `select` / `multi_select`, "one answer or several" IS the
3637
+ * parity type, so send the type instead.
3626
3638
  */
3627
3639
  multi?: boolean;
3628
3640
  /** REL / FLD-11: re-point the column. The old edges are withdrawn by the door. */
@@ -3796,6 +3808,139 @@ interface EntityFieldRights {
3796
3808
  may_fill_in: boolean;
3797
3809
  }
3798
3810
 
3811
+ /** One stage of a board: the KEY the store keeps, and the LABEL a person reads. */
3812
+ interface PipelineStage {
3813
+ /** The option's stable key — what a cell holds, and what a move is written with. */
3814
+ key: string;
3815
+ /** What the column heading says. Renaming a stage rewrites no record. */
3816
+ label: string;
3817
+ /** A retired choice can still be READ on a record that holds it; it cannot be picked anew. */
3818
+ retired: boolean;
3819
+ }
3820
+ /** What each Rule of a pipeline is about. Closed, and the store is the authority. */
3821
+ declare const PIPELINE_RULE_KINDS: readonly ["moves", "requires", "who", "limit", "entry"];
3822
+ type PipelineRuleKind = (typeof PIPELINE_RULE_KINDS)[number];
3823
+ /**
3824
+ * One transition Rule, as `custom.pipeline_read` hands it back — WITH the sentence it says
3825
+ * when it refuses, because a screen that knows a rule exists but not what it refuses in
3826
+ * cannot warn anybody before they drag.
3827
+ */
3828
+ interface PipelineRule {
3829
+ id: Uuid;
3830
+ name: string;
3831
+ /** The exact words a person is shown when this Rule stops a move. */
3832
+ message: string;
3833
+ kind: PipelineRuleKind | null;
3834
+ /** The stage this Rule is about; `null` on the one Rule about the moves themselves. */
3835
+ stage: string | null;
3836
+ uses: string[];
3837
+ /** What happens when a card ARRIVES in this stage — assign, notify, start a checklist. */
3838
+ on_entry: Record<string, unknown> | null;
3839
+ version: number;
3840
+ }
3841
+ /** The whole board's definition, from `custom.pipeline_read`. */
3842
+ interface Pipeline {
3843
+ is_pipeline: boolean;
3844
+ /** Present, and it says what would make a board exist, when `is_pipeline` is false. */
3845
+ why?: string;
3846
+ table_id?: Uuid;
3847
+ /** The Field KEY that holds the stage — the twin of a Table's `type_field`. */
3848
+ stage_field?: string;
3849
+ field_id?: Uuid;
3850
+ /** What that column is called, e.g. "Stage". */
3851
+ stage_label?: string;
3852
+ /** In the order they were declared, which is the order the board draws them. */
3853
+ stages?: PipelineStage[];
3854
+ rules?: PipelineRule[];
3855
+ }
3856
+ /** One column of the board, with the store's own numbers over what this person may see. */
3857
+ interface PipelineColumn {
3858
+ stage_key: string;
3859
+ stage_label: string;
3860
+ /** 1-based, the declared order. */
3861
+ stage_position: number;
3862
+ cards: number;
3863
+ /** The total of the chosen measure, or null when no measure was asked for. */
3864
+ total: number | null;
3865
+ /** How many cards this column takes at once, or null when it takes any number. */
3866
+ wip_limit: number | null;
3867
+ /** True when the column already holds MORE than its limit — a state a board must show. */
3868
+ over_limit: boolean;
3869
+ }
3870
+ /** One column this stage demands before a card may land in it. */
3871
+ interface PipelineMissingField {
3872
+ field_id: Uuid;
3873
+ key: string;
3874
+ /** What the column is called, so a screen can ASK for it rather than only refuse. */
3875
+ label: string;
3876
+ }
3877
+ /**
3878
+ * Whether a card may go to a column, answered BEFORE the finger lets go — by the same
3879
+ * Rules, through the same evaluator, on the document the move WOULD produce.
3880
+ *
3881
+ * A board greys a column, and snaps a card back, from this. It never decides for itself.
3882
+ */
3883
+ interface PipelineVerdict {
3884
+ allowed: boolean;
3885
+ is_pipeline: boolean;
3886
+ /** The stage key the move was asked about. */
3887
+ to?: string;
3888
+ /** The store's own sentence — shown verbatim, never paraphrased by a screen. */
3889
+ why: string;
3890
+ rule?: string;
3891
+ rule_id?: Uuid;
3892
+ rule_version?: number;
3893
+ kind?: PipelineRuleKind;
3894
+ /**
3895
+ * When a stage demands columns that are empty, exactly which ones — so the screen can
3896
+ * prompt for them on entry instead of sending the person away to find them.
3897
+ */
3898
+ missing?: PipelineMissingField[];
3899
+ }
3900
+ /** What `custom.pipeline_declare` says it made or changed. */
3901
+ interface PipelineDeclared {
3902
+ table_id: Uuid;
3903
+ stage_field: string;
3904
+ field_id: Uuid;
3905
+ stages: string[];
3906
+ rules: Record<string, Uuid>;
3907
+ /** Plain sentences naming each thing this declaration wrote. */
3908
+ said: string[];
3909
+ }
3910
+ /** The declaration a person (or an agent) writes. Everything is optional but the stages. */
3911
+ interface PipelineSpec {
3912
+ stage_field: {
3913
+ key: string;
3914
+ label?: string;
3915
+ options?: string[];
3916
+ sort?: number;
3917
+ };
3918
+ transitions?: {
3919
+ from: string;
3920
+ to: string;
3921
+ }[];
3922
+ /** Stage name → the column keys that must be filled in to land there. */
3923
+ requires?: Record<string, string[]>;
3924
+ /** Stage name → the rung somebody needs on the record to move a card INTO it. */
3925
+ who?: Record<string, "viewer" | "commenter" | "editor" | "admin">;
3926
+ /** Stage name → how many cards may sit there at once. The mover is not counted. */
3927
+ limits?: Record<string, number>;
3928
+ /** Stage name → what happens when a card arrives: assign, notify, start a checklist. */
3929
+ on_entry?: Record<string, Record<string, unknown>>;
3930
+ moves_message?: string;
3931
+ requires_messages?: Record<string, string>;
3932
+ }
3933
+ /**
3934
+ * THE ONE PLACE A SCREEN DECIDES WHETHER A CARD LOOKS DRAGGABLE — and it decides on the
3935
+ * PERSON, not on the rules. Whether a particular move is allowed is
3936
+ * `pipelineTransitionRefusal`, which is the store's answer; whether this person may move
3937
+ * anything at all is their level on the record, which the read door already told us.
3938
+ *
3939
+ * Absent rather than dead: a viewer's card carries no drag handle at all, instead of one
3940
+ * that looks live and snaps back every time.
3941
+ */
3942
+ declare function mayDrag(level: string | null | undefined): boolean;
3943
+
3799
3944
  /**
3800
3945
  * A rule expression as `custom.rule_eval` ACTUALLY evaluates it — read off the
3801
3946
  * door's own body, not invented here. A leaf is the node's name carrying its
@@ -3886,6 +4031,46 @@ interface FormSummary {
3886
4031
  notify_rule_id: string | null;
3887
4032
  presentation: Record<string, unknown>;
3888
4033
  }
4034
+ /**
4035
+ * ONE BOOKING PAGE, AS ITS OWNER SEES IT — `custom.bookings` (PRODUCTS row 14).
4036
+ *
4037
+ * A booking page is an `anon_form` whose `presentation -> 'booking'` carries the
4038
+ * availability and the id of a slots Table, so it is the SAME object a form is and
4039
+ * this is the same list `forms()` is, asked for the booking half. The numbers are
4040
+ * the store's own: a screen that counted appointments in the browser would drift
4041
+ * from the index that actually protects a slot.
4042
+ */
4043
+ interface BookingSummary {
4044
+ form_id: string;
4045
+ /** The Table the appointments land in — a booking is an ordinary record in it. */
4046
+ table_id: string;
4047
+ title: string | null;
4048
+ slug: string;
4049
+ published_at: string | null;
4050
+ closed_at: string | null;
4051
+ /** How long one appointment is. The offer is the store's, never the browser's. */
4052
+ slot_minutes: number;
4053
+ /** The organization's own zone, which is what the visitor's times are drawn in. */
4054
+ timezone: string;
4055
+ /** The ONE slots Table `custom.booking_declare` finds-or-makes for this page. */
4056
+ slot_table_id: string;
4057
+ booked: number;
4058
+ cancelled: number;
4059
+ /** Booked and still ahead of now — the number that answers "what is coming". */
4060
+ upcoming: number;
4061
+ /** Slots a visitor is holding right now, before they have given their details. */
4062
+ held: number;
4063
+ /** The next appointment, or null when there is none. */
4064
+ next_at: string | null;
4065
+ /** draft · open · closed — the store's own word, never derived on a screen. */
4066
+ state: string;
4067
+ }
4068
+ /**
4069
+ * THE VISITOR'S OWN LINK to a booking page. The page id IS the capability, exactly
4070
+ * as it is for a form; `custom.anon_submission.booking_ref` is the separate secret
4071
+ * that lets ONE visitor manage the appointment they made.
4072
+ */
4073
+ declare function bookingPath(formId: string): string;
3889
4074
  /**
3890
4075
  * THE PUBLIC LINK, and the one place its shape is written down.
3891
4076
  *
@@ -6264,6 +6449,37 @@ interface RecordsClient {
6264
6449
  fieldKernelId(): Promise<RecordsResult<Uuid>>;
6265
6450
  ruleKernelId(): Promise<RecordsResult<Uuid>>;
6266
6451
  /** Every record the Rule says is a member. A saved view's list is this, not a filter a screen ran. */
6452
+ /** PRODUCTS row 7 — the whole board: its stage column, its stages in the declared
6453
+ * order, and every Rule WITH the sentence it says when it refuses. */
6454
+ pipelineRead(args: {
6455
+ table_id: Uuid;
6456
+ }): Promise<RecordsResult<Pipeline>>;
6457
+ /** The store's own count and total per column, over what this person may see. */
6458
+ pipelineBoard(args: {
6459
+ table_id: Uuid;
6460
+ measure?: string | null;
6461
+ }): Promise<RecordsResult<PipelineColumn[]>>;
6462
+ /** Whether this card may go to that column — asked BEFORE the finger lets go. */
6463
+ pipelineTransitionRefusal(args: {
6464
+ record_id: Uuid;
6465
+ to: string;
6466
+ }): Promise<RecordsResult<PipelineVerdict>>;
6467
+ /** Move a record to a stage. An ORDINARY record write, judged by the same Rules. */
6468
+ pipelineMove(args: {
6469
+ record_id: Uuid;
6470
+ to: string;
6471
+ also?: Record<string, unknown>;
6472
+ expected_version?: number | null;
6473
+ }): Promise<RecordsResult<unknown>>;
6474
+ /** Declare (or re-state) a pipeline: the stage column and its transition Rules. */
6475
+ pipelineDeclare(args: {
6476
+ table_id: Uuid;
6477
+ spec: PipelineSpec;
6478
+ }): Promise<RecordsResult<PipelineDeclared>>;
6479
+ /** Which column of this table holds its stage, or null when it is not a board. */
6480
+ tableStageField(args: {
6481
+ table_id: Uuid;
6482
+ }): Promise<RecordsResult<string | null>>;
6267
6483
  ruleMembers(args: {
6268
6484
  rule_id: Uuid;
6269
6485
  }): Promise<RecordsResult<StoredRecord[]>>;
@@ -6295,6 +6511,15 @@ interface RecordsClient {
6295
6511
  forms(args?: {
6296
6512
  table_id?: Uuid | null;
6297
6513
  }): Promise<RecordsResult<FormSummary[]>>;
6514
+ /**
6515
+ * THIS ORGANIZATION'S BOOKING PAGES (PRODUCTS row 14), with the numbers that make
6516
+ * the list worth opening: how many are booked, cancelled, still ahead, and how many
6517
+ * slots somebody is holding right now. A booking page is an `anon_form`, so it is
6518
+ * opened and closed with `anonPublish` exactly as a form is.
6519
+ */
6520
+ bookings(args?: {
6521
+ table_id?: Uuid | null;
6522
+ }): Promise<RecordsResult<BookingSummary[]>>;
6298
6523
  /** Create or re-state one form. A question naming no Field of that Table is refused BY NAME. */
6299
6524
  formDeclare(args: {
6300
6525
  table_id: Uuid;
@@ -7393,4 +7618,4 @@ declare function useFieldMutation(): UseFieldMutation;
7393
7618
  */
7394
7619
  declare function useMergeField(key: string | null, state?: Record<string, unknown>): MergeFieldResolution | null;
7395
7620
 
7396
- export { ABSENCE_REASONS, ACTOR_VOCABULARY, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, COMPUTE_ON, CONTEXT_POLICIES, type CaptureField, type CaptureFileRef, type CaptureOutcome, type CaptureQuestion, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSheetFace, type CaptureSheetSummary, type CaptureSyncReport, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type Delivery, type DigestPreview, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PredictedRefusal, type ProvenancePointer, type PublishBinding, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, type QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationFlavor, type RelationProperties, type RelationTarget, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, type SubscriptionSpec, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, asPermissionLevel, atLeast, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, indexedDbStore, isDecided, isRecordsErr, isTheChosen, looksLikeAnId, measureKey, memoryStore, mintClientKey, ok, openCaptureQueue, optionKey, optionLabel, portalPath, publicFormPath, scopeChip, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
7621
+ export { ABSENCE_REASONS, ACTOR_VOCABULARY, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, type BookingSummary, COMPUTE_ON, CONTEXT_POLICIES, type CaptureField, type CaptureFileRef, type CaptureOutcome, type CaptureQuestion, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSheetFace, type CaptureSheetSummary, type CaptureSyncReport, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type Delivery, type DigestPreview, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type Pipeline, type PipelineColumn, type PipelineDeclared, type PipelineMissingField, type PipelineRule, type PipelineRuleKind, type PipelineSpec, type PipelineStage, type PipelineVerdict, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PredictedRefusal, type ProvenancePointer, type PublishBinding, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, type QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationFlavor, type RelationProperties, type RelationTarget, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, type SubscriptionSpec, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, indexedDbStore, isDecided, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, ok, openCaptureQueue, optionKey, optionLabel, portalPath, publicFormPath, scopeChip, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };