@ai-matrx/records 0.57.3 → 0.58.1

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.
@@ -1,7 +1,7 @@
1
- import { T as Timestamp, p as Uuid, R as RecordsErrorCode, q as RecordDocument, r as RecordsResult, s as RecordGraphWritten, t as RecordRead, u as ReadRow, v as Field, S as StoredRecord, w as NewFieldDeclaration, x as FieldPatch, y as RecordRevision, z as ReadValue, A as FieldProposal, C as TableProposal, D as RecordsError, W as WriteConflict, E as PgError, G as StaleWriteDetail, H as PredictedRefusal } from '../types-BpBSMhYq.cjs';
2
- export { I as ABSENCE_REASONS, J as ACTOR_VOCABULARY, K as AbsenceReason, L as Actor, M as COMPUTE_ON, O as CONTEXT_POLICIES, Q as ComputeOn, V as ContextPolicy, X as DECLARABLE_FIELD_KINDS, Y as DELIVERIES, Z as DeclarableFieldKind, _ as Delivery, $ as ENTITY_TOKENS, a0 as EntityToken, a1 as FIELD_SENSITIVITIES, a2 as FIELD_SOURCES, a3 as FRESHNESS, a4 as FieldBehavior, a5 as FieldRule, a6 as FieldSensitivity, a7 as FieldSource, a8 as FieldTypeWord, a9 as ForbiddenEnvelopeWord, aa as Freshness, ab as HiddenFieldNotice, ac as KERNEL_TABLES, ad as KernelTableName, ae as MERGE_FIELD_MODIFIERS, af as MERGE_FIELD_SEMANTIC_TYPES, ag as MERGE_FIELD_SOURCES, ah as MergeFieldModifier, ai as MergeFieldSemanticType, aj as MergeFieldSource, ak as ON_DELETE, al as OVERRIDE_POLICIES, am as OnDelete, an as OverridePolicy, ao as PARITY_FIELD_TYPES, ap as PER_VALUE_ACCESS_WORDS, aq as ParityFieldType, ar as ParityFieldTypeDescriptor, as as PerValueAccessWord, at as ProvenancePointer, au as RELATION_BINDINGS, av as RELATION_CARDINALITIES, aw as RELATION_FLAVORS, ax as RETIRED_ACTOR_WORDS, ay as RULE_NODE_KINDS, az as RULE_USES, aA as RelationBinding, aB as RelationCardinality, aC as RelationDisplay, aD as RelationFlavor, aE as RetiredActorWord, aF as RuleNodeKind, aG as RuleUse, aH as STORAGE_MODES, aI as STORE_DOORS, aJ as STORE_KNOBS, aK as STORE_REFUSAL_CODES, aL as StorageMode, aM as StoreDoorName, aN as StoreRefusalCode, aO as TABLE_DISPLAYS, aP as TABLE_ORIGINS, aQ as TABLE_TYPES, aR as TableDisplay, aS as TableOrigin, aT as TableType, aU as VALUE_ALTERNATE_KEYS, aV as VALUE_ENVELOPE_KEYS, aW as ValueAlternate, aX as ValueAlternateKey, aY as ValueEnvelope, aZ as ValueEnvelopeKey, a_ as ValueSource, a$ as allowsOtherValues, b0 as err, b1 as isRecordsErr, b2 as ok } from '../types-BpBSMhYq.cjs';
3
- import { RelationCoordinate, RecordsConfig, TableArchiveProgress, RecordFilter, ArchiveLane, ArchivedRow, Table, TableCapacity, RelationWordsManyArgs, EntityTableFacts, NewEntityFieldDeclaration, EntityFieldRights, EntityRecordRead, EntityRecordsFound, Pipeline, PipelineColumn, PipelineVerdict, PipelineMoveResult, PipelineSpec, PipelineDeclared, StageRuleOnFail, StageRuleEnforcement, StagePending, StagePendingOnBoard, PipelineGate, PipelineGatePreview, FormSummary, BookingSummary, BookingAvailability, BookingDeclared, ImportPlan, ImportPolicy, ImportOpened, ImportColumnsDeclared, ImportBatchResult, ImportFinished, ImportReport, ImportRun, InboundDeclared, InboundAddress, PortalSummary, PortalArchiveFilter, PortalArchiveAnswer, PortalTableRef, PortalCard, PortalInvitation, PortalRevocation, PortalPreviewRow, DashboardSummary, DashboardBlock, DashboardRunResult, StuckRow, CaptureSheetSummary, CaptureSheetFace, CaptureFileRef, CaptureOutcome, EnrichmentSummary, EnrichDeclared, EnrichDueRow, EnrichCell, EnrichRun, AggregateMeasure, AggregateBucket, AggregateRow, Subscription, MySubscription, SubscriptionSpec, DigestPreview, SavedViewRow, SavedViewSpecIn, DocToken, DocUnresolvedToken, DocTemplateRow, DocRenderRow, DocSignatureRow, RecordHistoryEntry, RecordScopeContext, ConversationScope, ConversationScopeContext, FieldHistoryEntry, RestorePreview, RestoreResult, CommentThreadRead, CommentWritten, AnonTokenBinding, ChecklistSpec, ChecklistDeclared, ChecklistTemplateSummary, ChecklistTemplateShape, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistStepCompleted, WorkState, WorkGraph, WorkInstantiation, WorkTurn, WorkAssignmentField, WorkSlotHold, WorkInboxItem, WorkListFlavour, WorkListItem, WorkAssignment, WorkRecordState, WorkApprover, WorkChange, WorkApprovalFiled, WorkApprovalDecision, ExternalPrincipalCard, PublishBinding, ResolvedPublishBinding, MyLevel, DecorationPath, TableDecorations, GridLayout, FormulaParse, RowAction, ActionRunResult, RecordEvent, TableWebhookDeclared, TableWebhook, ExampleBuilt, IoExportPage, RecordsDataSource } from '../index.cjs';
4
- export { ARCHIVE_LANES, ARCHIVE_LANE_LABEL, ARCHIVE_LANE_MEANS, ActionRefusal, AggregateFilter, AggregateOperation, AggregateWindow, ArchivedDoorRow, BookingWindow, CaptureField, CaptureQuestion, CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, ChecklistRequirement, ChecklistRequirementKind, ChecklistRoleSpec, ChecklistStepSpec, ChecklistTrigger, ChecklistTriggerKind, ChoiceOption, ChoiceOptions, CoerceOptions, Coerced, CoercedAnswers, CoercibleField, CustomFieldTableType, DEFAULT_ARCHIVE_LANE, DEFAULT_PORTAL_ARCHIVE_FILTER, DashboardBlockKind, DashboardBlockResult, DecorationColor, DecorationRule, DecorationRuleOp, DecorationTarget, DocSignatureCheck, EnrichAlternate, EnrichSource, Enrichment, EntityFieldValue, EntityRecordMatch, ExampleSpec, FIELD_KINDS, FieldKind, GridLayoutMode, GridRowHeight, HistoryActor, HistoryActorKind, HistoryChange, Home, ImportColumnPlan, ImportOutcome, ImportProposal, KernelTargets, MergeField, MergeFieldProvenance, MergeFieldResolution, MergeFieldTransform, MissingBehavior, PERMISSION_LEVELS, PIPELINE_RULE_KINDS, PORTAL_ARCHIVE_FILTERS, PermissionLevel, PipelineMissingField, PipelineRule, PipelineRuleKind, PipelineStage, PortalPrincipal, PortalTableExposure, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, QuietHours, REFUSALS_WORTH_REPEATING, RecordChangeAction, RecordComment, RecordScopeComment, RecordScopeField, RecordScopeHistoryEntry, RecordScopeRelation, RecordScopeWithheld, RecordsActor, RecordsChangeSink, RecordsErrorSink, RecordsFilter, RecordsRealtimePort, RecordsResolverPort, RecordsResponse, RecordsTableQuery, RegisteredTable, Relation, RelationCarries, RelationDisplaySpec, RelationProperties, RelationStore, RelationTarget, ResolutionTriple, RowActionStep, Rule, RuleAnswer, RuleExpression, STAGE_RULE_ENFORCEMENT, STAGE_RULE_ON_FAIL, StageRuleWarning, SubscriptionBlock, SubscriptionCadence, ViewLayout, WorkDueState, WorkInboxKind, WorkOrigin, WorkTemplateNode, WorkTemplateRelation, actionRefusals, archivedByLine, archivedWhen, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, coerceTypedAnswer, coerceTypedAnswers, coercionLabel, emptyArchiveLine, emptyPortalArchiveLine, exampleSpec, exportPageXlsx, fieldKindFor, forgetAllOps, highestLevel, holdsARetiredChoice, indexedDbStore, isArchiveLane, isDecided, isOwnOp, isPortalArchiveFilter, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, mintOpId, openCaptureQueue, optionKey, optionLabel, portalArchiveConsequence, portalConfirmLine, portalPath, portalTitleTypedBack, publicFormPath, recordChangeTrigger, rememberedOpCount, sameDocument, scopeChip, stableFilterKey } from '../index.cjs';
1
+ import { T as Timestamp, p as Uuid, R as RecordsErrorCode, q as RecordDocument, r as RecordsResult, s as RecordGraphWritten, t as RecordRead, u as ReadRow, v as Field, S as StoredRecord, w as NewFieldDeclaration, x as FieldPatch, y as RecordRevision, z as ReadValue, A as FieldProposal, C as TableProposal, D as RecordsError, W as WriteConflict, E as FieldTypeWord, G as PgError, H as StaleWriteDetail, I as PredictedRefusal } from '../types-NKSc_jZq.cjs';
2
+ export { J as ABSENCE_REASONS, K as ACTOR_VOCABULARY, L as AbsenceReason, M as Actor, O as COMPUTE_ON, Q as CONTEXT_POLICIES, V as ComputeOn, X as ContextPolicy, Y as DECLARABLE_FIELD_KINDS, Z as DELIVERIES, _ as DeclarableFieldKind, $ as Delivery, a0 as ENTITY_TOKENS, a1 as EntityToken, a2 as FIELD_SENSITIVITIES, a3 as FIELD_SOURCES, a4 as FRESHNESS, a5 as FieldBehavior, a6 as FieldRule, a7 as FieldSensitivity, a8 as FieldSource, a9 as ForbiddenEnvelopeWord, aa as Freshness, ab as HiddenFieldNotice, ac as KERNEL_TABLES, ad as KernelTableName, ae as MERGE_FIELD_MODIFIERS, af as MERGE_FIELD_SEMANTIC_TYPES, ag as MERGE_FIELD_SOURCES, ah as MergeFieldModifier, ai as MergeFieldSemanticType, aj as MergeFieldSource, ak as ON_DELETE, al as OVERRIDE_POLICIES, am as OnDelete, an as OverridePolicy, ao as PARITY_FIELD_TYPES, ap as PER_VALUE_ACCESS_WORDS, aq as ParityFieldType, ar as ParityFieldTypeDescriptor, as as PerValueAccessWord, at as ProvenancePointer, au as RELATION_BINDINGS, av as RELATION_CARDINALITIES, aw as RELATION_FLAVORS, ax as RETIRED_ACTOR_WORDS, ay as RULE_NODE_KINDS, az as RULE_USES, aA as RelationBinding, aB as RelationCardinality, aC as RelationDisplay, aD as RelationFlavor, aE as RetiredActorWord, aF as RuleNodeKind, aG as RuleUse, aH as STORAGE_MODES, aI as STORE_DOORS, aJ as STORE_KNOBS, aK as STORE_REFUSAL_CODES, aL as StorageMode, aM as StoreDoorName, aN as StoreRefusalCode, aO as TABLE_DISPLAYS, aP as TABLE_ORIGINS, aQ as TABLE_TYPES, aR as TableDisplay, aS as TableOrigin, aT as TableType, aU as VALUE_ALTERNATE_KEYS, aV as VALUE_ENVELOPE_KEYS, aW as ValueAlternate, aX as ValueAlternateKey, aY as ValueEnvelope, aZ as ValueEnvelopeKey, a_ as ValueSource, a$ as allowsOtherValues, b0 as err, b1 as isRecordsErr, b2 as ok } from '../types-NKSc_jZq.cjs';
3
+ import { RelationCoordinate, RecordsConfig, TableArchiveProgress, StoreFilter, ArchiveLane, ArchivedRow, Table, TableHome, TableMoved, TableCapacity, RelationWordsManyArgs, EntityTableFacts, NewEntityFieldDeclaration, EntityFieldRights, EntityRecordRead, EntityRecordsFound, Pipeline, PipelineColumn, PipelineVerdict, PipelineMoveResult, PipelineMoveManyItem, PipelineMoveMany, PipelineSpec, PipelineDeclared, StageRuleOnFail, StageRuleEnforcement, StagePending, StagePendingOnBoard, PipelineGate, PipelineGatePreview, FormSummary, BookingSummary, BookingAvailability, BookingDeclared, ImportPlan, ImportPolicy, ImportOpened, ImportColumnsDeclared, ImportBatchResult, ImportFinished, ImportReport, ImportRun, InboundDeclared, InboundAddress, PortalSummary, PortalArchiveFilter, PortalArchiveAnswer, PortalTableRef, PortalCard, PortalConfigInput, PortalFormSpec, PortalFormAnswer, PortalInvitation, PortalRevocation, PortalPreviewRow, DashboardSummary, DashboardBlock, RecordFilter, AggregateCompare, AggregateBucket, DashboardRunResult, StuckRow, CaptureSheetSummary, CaptureSheetFace, CaptureFileRef, CaptureOutcome, EnrichmentSummary, EnrichDeclared, EnrichDueRow, EnrichCell, EnrichRun, AggregateMeasure, AggregateRow, Subscription, MySubscription, SubscriptionSpec, DigestPreview, SavedViewRow, SavedViewSpecIn, DocToken, DocUnresolvedToken, DocTemplateRow, DocRenderRow, DocSignatureRow, RecordHistoryEntry, RecordScopeContext, ConversationScope, ConversationScopeContext, FieldHistoryEntry, RestorePreview, RestoreResult, CommentThreadRead, CommentWritten, AnonTokenBinding, ChecklistSpec, ChecklistDeclared, ChecklistTemplateSummary, ChecklistTemplateShape, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistStepCompleted, WorkState, WorkGraph, WorkInstantiation, WorkTurn, WorkAssignmentField, WorkSlotHold, WorkInboxItem, WorkListFlavour, WorkListItem, WorkAssignment, WorkRecordState, WorkApprover, WorkChange, WorkApprovalFiled, WorkApprovalDecision, WorkDecideManyItem, WorkDecideMany, ExternalPrincipalCard, PublishBinding, ResolvedPublishBinding, MyLevel, DecorationPath, TableDecorations, GridLayout, FormulaParse, RowAction, ActionRunResult, RecordEvent, TableWebhookDeclared, TableWebhook, ExampleBuilt, IoExportPage, TableListEntry, TableSyncSpec, TableSyncResult, TableRowCount, RecordHeader, OutsideShareAnswer, ViewOrderSet, RecordsDataSource } from '../index.cjs';
4
+ export { ARCHIVE_LANES, ARCHIVE_LANE_LABEL, ARCHIVE_LANE_MEANS, ActionRefusal, AggregateCompareKind, AggregateCompareWindows, AggregateDelta, AggregateFilter, AggregateOperation, AggregateWindow, ArchivedDoorRow, BookingWindow, CaptureField, CaptureQuestion, CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, ChecklistRequirement, ChecklistRequirementKind, ChecklistRoleSpec, ChecklistStepSpec, ChecklistTrigger, ChecklistTriggerKind, ChoiceOption, ChoiceOptions, CoerceOptions, Coerced, CoercedAnswers, CoercibleField, CustomFieldTableType, DEFAULT_ARCHIVE_LANE, DEFAULT_PORTAL_ARCHIVE_FILTER, DashboardBlockKind, DashboardBlockResult, DashboardTarget, DashboardTargetBase, DashboardTargetOp, DashboardTargetResult, DashboardTotals, DecorationColor, DecorationRule, DecorationRuleOp, DecorationTarget, DocSignatureCheck, EnrichAlternate, EnrichSource, Enrichment, EntityFieldValue, EntityRecordMatch, EntityRef, EntityRefWithWords, EntityReferenceKind, ExampleSpec, FIELD_KINDS, FieldKind, GridLayoutMode, GridRowHeight, HistoryActor, HistoryActorKind, HistoryChange, Home, ImportColumnPlan, ImportOutcome, ImportProposal, KernelTargets, MergeField, MergeFieldProvenance, MergeFieldResolution, MergeFieldTransform, MissingBehavior, PERMISSION_LEVELS, PIPELINE_RULE_KINDS, PORTAL_ACCENTS, PORTAL_ARCHIVE_FILTERS, PermissionLevel, PipelineMissingField, PipelineMoveManyResult, PipelineMoveVerdict, PipelineRule, PipelineRuleKind, PipelineStage, PortalAccent, PortalConfig, PortalFooterLink, PortalFormInput, PortalFormRef, PortalPrincipal, PortalStage, PortalStyle, PortalStyleInput, PortalTableExposure, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, QuietHours, REFUSALS_WORTH_REPEATING, RecordChangeAction, RecordComment, RecordScopeComment, RecordScopeField, RecordScopeHistoryEntry, RecordScopeRelation, RecordScopeWithheld, RecordsActor, RecordsChangeSink, RecordsErrorSink, RecordsFilter, RecordsRealtimePort, RecordsResolverPort, RecordsResponse, RecordsTableQuery, RegisteredTable, Relation, RelationCarries, RelationDisplaySpec, RelationProperties, RelationStore, RelationTarget, ResolutionTriple, RowActionStep, Rule, RuleAnswer, RuleExpression, STAGE_RULE_ENFORCEMENT, STAGE_RULE_ON_FAIL, StageRuleWarning, SubscriptionBlock, SubscriptionCadence, TableHomeDestination, TablePlacement, TablePlacementFact, TableSyncSource, ViewLayout, WorkDecideManyResult, WorkDecideVerdict, WorkDueState, WorkInboxKind, WorkOrigin, WorkTemplateNode, WorkTemplateRelation, actionRefusals, archivedByLine, archivedWhen, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, coerceTypedAnswer, coerceTypedAnswers, coercionLabel, emptyArchiveLine, emptyPortalArchiveLine, entityReferenceKinds, entityReferenceKindsOf, entityReferenceWords, entityRefsOf, entityRefsToWrite, exampleSpec, exportPageXlsx, fieldKindFor, forgetAllOps, highestLevel, holdsARetiredChoice, indexedDbStore, isArchiveLane, isDecided, isEntityReferenceConfig, isOwnOp, isPortalAccent, isPortalArchiveFilter, isRuleFilter, isTheChosen, keptGroups, keptOutOfSight, keptTableHref, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, mintOpId, moveConsequence, moveInOrder, offeredAsContext, openCaptureQueue, optionKey, optionLabel, parseTableHome, parseTableMoved, portalArchiveConsequence, portalConfirmLine, portalPath, portalTitleTypedBack, publicFormPath, recordChangeTrigger, rememberedOpCount, sameDocument, scopeChip, sheetSyncSpec, stableFilterKey, withRowCounts, withTablePlacement } from '../index.cjs';
5
5
 
6
6
  /**
7
7
  * DOOR-8. As-of on EITHER clock, and they are different questions:
@@ -252,7 +252,7 @@ interface RecordsClient {
252
252
  * `recordAggregate` counts with, so the rows a drill-through opens are the
253
253
  * rows the number on the dashboard counted.
254
254
  */
255
- filter?: RecordFilter;
255
+ filter?: StoreFilter;
256
256
  limit?: number;
257
257
  offset?: number;
258
258
  }): Promise<RecordsResult<{
@@ -330,6 +330,27 @@ interface RecordsClient {
330
330
  * answer is `null` — nothing asked, nothing invented.
331
331
  */
332
332
  tableFacts(): Promise<RecordsResult<TableFact[] | null>>;
333
+ /**
334
+ * WHICH ORGANIZATION A TABLE LIVES IN, BY NAME, AND WHERE IT MAY GO — `custom.table_home`
335
+ * (SC-1' / SC-1-TAILS). Read FROM THE TABLE, never from the organization the client is bound
336
+ * to, so it answers for a table shared from outside too. `null` = not given to this person,
337
+ * or not there (the store says the same for both, on purpose). A store without the door
338
+ * refuses `door_absent` — never a guessed organization.
339
+ */
340
+ tableHome(args: {
341
+ table_id: Uuid;
342
+ }): Promise<RecordsResult<TableHome | null>>;
343
+ /**
344
+ * MOVE A TABLE into another organization the caller belongs to — `custom.table_move`. It
345
+ * carries every Table inside it or its rows and writes the change events; refused, NOTHING
346
+ * moved and the refusal carries the store's one sentence. `expected_version` is the Table's
347
+ * version the caller decided on (a concurrent change refuses with "look again").
348
+ */
349
+ tableMove(args: {
350
+ table_id: Uuid;
351
+ to_organization_id: Uuid;
352
+ expected_version?: number | null;
353
+ }): Promise<RecordsResult<TableMoved>>;
333
354
  fields(args: {
334
355
  table_id: Uuid;
335
356
  recordType?: string;
@@ -460,6 +481,12 @@ interface RecordsClient {
460
481
  pipelineBoard(args: {
461
482
  table_id: Uuid;
462
483
  measure?: string | null;
484
+ /**
485
+ * S2-PRIME — the view's question, either shape (`StoreFilter`). Given, the headings count and
486
+ * total exactly the cards the same filter puts on the board (`custom.pipeline_board`'s
487
+ * four-argument door); left out, the whole table this person may see, as before.
488
+ */
489
+ filter?: StoreFilter | null;
463
490
  }): Promise<RecordsResult<PipelineColumn[]>>;
464
491
  /** Whether this card may go to that column — asked BEFORE the finger lets go. */
465
492
  pipelineTransitionRefusal(args: {
@@ -480,6 +507,16 @@ interface RecordsClient {
480
507
  also?: Record<string, unknown>;
481
508
  expected_version?: number | null;
482
509
  }): Promise<RecordsResult<PipelineMoveResult>>;
510
+ /**
511
+ * MOVE MANY CARDS IN ONE CALL (lane S4, `custom.pipeline_move_many`). Each card is judged by
512
+ * `pipeline_move` exactly as one is, in its own savepoint: a refused card writes nothing and the
513
+ * others still land. `expected_version` is required per card — a card that changed since the
514
+ * board loaded answers `changed_since_loaded` and is never overwritten. A refusal of the WHOLE
515
+ * call (a stranger, an empty batch, more than the `custom/batch_items_max` knob) is the error.
516
+ */
517
+ pipelineMoveMany(args: {
518
+ moves: PipelineMoveManyItem[];
519
+ }): Promise<RecordsResult<PipelineMoveMany>>;
483
520
  /** Declare (or re-state) a pipeline: the stage column and its transition Rules. */
484
521
  pipelineDeclare(args: {
485
522
  table_id: Uuid;
@@ -522,9 +559,25 @@ interface RecordsClient {
522
559
  stage: string;
523
560
  gate: PipelineGate | Record<string, unknown>;
524
561
  }): Promise<RecordsResult<PipelineGatePreview>>;
562
+ /**
563
+ * SERVER LANE ONLY. `custom.rule_members` walks the whole scope table through the evaluator and
564
+ * returns STORED rows — no visibility ladder, no masking — so no browser role holds EXECUTE on it
565
+ * and it answers 42501 from a signed-in seat. A screen reads a Rule's members through
566
+ * `ruleMembersVisible`.
567
+ */
525
568
  ruleMembers(args: {
526
569
  rule_id: Uuid;
527
570
  }): Promise<RecordsResult<StoredRecord[]>>;
571
+ /**
572
+ * S2-PRIME — THE MEMBERS OF A MEMBERSHIP RULE THIS PERSON MAY SEE, a page at a time
573
+ * (`custom.rule_members_visible`): the list door asked the Rule's own test, so the rows are the
574
+ * read door's — the same ladder, masked documents, the same page ceiling.
575
+ */
576
+ ruleMembersVisible(args: {
577
+ rule_id: Uuid;
578
+ limit?: number;
579
+ offset?: number;
580
+ }): Promise<RecordsResult<ReadRow[]>>;
528
581
  /** Is this one record a member, and WHY — the store's own answer. */
529
582
  ruleMembership(args: {
530
583
  rule_id: Uuid;
@@ -602,6 +655,22 @@ interface RecordsClient {
602
655
  form_id?: Uuid | null;
603
656
  slug?: string | null;
604
657
  }): Promise<RecordsResult<Uuid>>;
658
+ /**
659
+ * WHICH OF A FORM'S QUESTIONS ARE ASKED, given the answers so far — for the OWNER's preview of
660
+ * a draft (`custom.form_preview_asks`). One row per question in order; `asked` is false only
661
+ * when the store's own Rule said so. Undecided and unworkable conditions are asked, the second
662
+ * with the store's sentence in `said`.
663
+ */
664
+ formPreviewAsks(args: {
665
+ table_id: Uuid;
666
+ questions: unknown[];
667
+ values: Record<string, unknown>;
668
+ }): Promise<RecordsResult<Array<{
669
+ field_key: string;
670
+ asked: boolean;
671
+ decided: boolean;
672
+ said: string | null;
673
+ }>>>;
605
674
  /**
606
675
  * What the store makes of a file's columns, before anything is written.
607
676
  * `columns` is `[{header, samples}]` — the first page of the file is plenty.
@@ -765,7 +834,35 @@ interface RecordsClient {
765
834
  portal_id?: Uuid | null;
766
835
  slug?: string | null;
767
836
  sign_in_method?: string | null;
837
+ /**
838
+ * S6 — the portal's own look and its forms. A key given REPLACES that key; a key not given
839
+ * is KEPT (leave `config` out and both stay exactly as they are). The store judges it and
840
+ * refuses by name: a logo that is not a public picture of this organization's Files, an
841
+ * accent that is not a design-system colour name, a form whose Table the portal does not show.
842
+ */
843
+ config?: PortalConfigInput | null;
768
844
  }): Promise<RecordsResult<Uuid>>;
845
+ /**
846
+ * S6 — THE CLIENT'S SIDE: one form of HER portal (`custom.portal_form`). Refused unless the
847
+ * caller is a live principal of that live portal and the form is on its list; the Field that
848
+ * names the client is never one of the questions — the portal fills it.
849
+ */
850
+ portalForm(args: {
851
+ portal_id: Uuid;
852
+ form_id: Uuid;
853
+ }): Promise<RecordsResult<PortalFormSpec>>;
854
+ /**
855
+ * S6 — send one form of her portal (`custom.portal_form_submit`). The store fills the Field
856
+ * that names the client with her own record, and the answer reaches her own list at once
857
+ * (`accepted`) or waits for the office (`held`, with the store's sentence). `client_key`
858
+ * makes a retry the same submission.
859
+ */
860
+ portalFormSubmit(args: {
861
+ portal_id: Uuid;
862
+ form_id: Uuid;
863
+ answers: Record<string, unknown>;
864
+ client_key?: string | null;
865
+ }): Promise<RecordsResult<PortalFormAnswer>>;
769
866
  /**
770
867
  * Invite one person, as one record of the portal's client Table.
771
868
  *
@@ -821,6 +918,14 @@ interface RecordsClient {
821
918
  dashboardRun(args: {
822
919
  dashboard_id: Uuid;
823
920
  filter?: RecordFilter;
921
+ /**
922
+ * S3 — compare every block that does not carry its own comparison (the
923
+ * block's own wins, as its own filter does). A block with no date to
924
+ * compare along answers alone and says so in `compare_refused`.
925
+ */
926
+ compare?: AggregateCompare | null;
927
+ /** S3 — re-cut every bucketed block to one date grain (the canvas's picker). */
928
+ grain?: AggregateBucket | null;
824
929
  }): Promise<RecordsResult<DashboardRunResult>>;
825
930
  /** The seventh block kind on its own: records that have sat on the same value too long. */
826
931
  dashboardStuck(args: {
@@ -946,8 +1051,15 @@ interface RecordsClient {
946
1051
  * A scalar is an equality and an object is a half-open moment window, and
947
1052
  * either way it lands in the SAME WHERE as visibility.
948
1053
  */
949
- filter?: RecordFilter;
1054
+ filter?: StoreFilter;
950
1055
  limit?: number;
1056
+ /**
1057
+ * S3 — answer the same question over a prior window too (previous period,
1058
+ * same period last year, or a fixed baseline). Each row then carries
1059
+ * `prior_measures`, `delta` and the two `compare` windows. Buckets are cut
1060
+ * in the organization's calendar (knobs `custom/time_zone`, `custom/week_start`).
1061
+ */
1062
+ compare?: AggregateCompare | null;
951
1063
  }): Promise<RecordsResult<AggregateRow[]>>;
952
1064
  /** The measures the store itself offers. Asked, never hardcoded in a picker. */
953
1065
  aggOperations(): Promise<RecordsResult<string[]>>;
@@ -1483,6 +1595,15 @@ interface RecordsClient {
1483
1595
  approve: boolean;
1484
1596
  note?: string | null;
1485
1597
  }): Promise<RecordsResult<WorkApprovalDecision>>;
1598
+ /**
1599
+ * DECIDE MANY INBOX ITEMS IN ONE CALL (lane S4, `custom.work_decide_many`). Each is judged by
1600
+ * `work_approval_decide` exactly as one is, in its own savepoint: a refused decision leaves that
1601
+ * item waiting and the others still stand. Verdicts: approved, declined, already_decided,
1602
+ * no_right, refused — each with the store's own sentence.
1603
+ */
1604
+ workDecideMany(args: {
1605
+ decisions: WorkDecideManyItem[];
1606
+ }): Promise<RecordsResult<WorkDecideMany>>;
1486
1607
  /** One waiting change in full, for the person deciding it or the one who asked. */
1487
1608
  workApprovalRead(args: {
1488
1609
  approval_id: Uuid;
@@ -1638,6 +1759,61 @@ interface RecordsClient {
1638
1759
  limit?: number;
1639
1760
  }): Promise<RecordsResult<IoExportPage>>;
1640
1761
  /** G5. That page as an .xlsx; a withheld column is named on its own sheet. */
1762
+ /** G9. Every table a picker may offer here, from BOTH stores, each saying which store opens it. */
1763
+ tableListEverywhere(): Promise<RecordsResult<{
1764
+ success: boolean;
1765
+ tables: TableListEntry[];
1766
+ }>>;
1767
+ /**
1768
+ * G10. Refresh a synced source (a sheet tab) into ONE Table under `home_id`: new rows added,
1769
+ * changed rows updated, rows the source dropped archived — never destroyed; columns the
1770
+ * person added in Matrx survive. Build the spec with `sheetSyncSpec`.
1771
+ */
1772
+ tableSync(args: {
1773
+ home_id: Uuid;
1774
+ spec: TableSyncSpec;
1775
+ }): Promise<RecordsResult<TableSyncResult>>;
1776
+ /**
1777
+ * G11. The record-store Table a context scope's template-bound item provisions — one per item
1778
+ * and scope. A scope provisioned before the move answers with its moved Table (same id); the
1779
+ * Home defaults to the organization's own.
1780
+ */
1781
+ scopeTableProvision(args: {
1782
+ item_id: Uuid;
1783
+ scope_id: Uuid;
1784
+ home_id?: Uuid | null;
1785
+ }): Promise<RecordsResult<Uuid>>;
1786
+ /** G12. The rows of each Table this reader may see, in one call (fold with `withRowCounts`). A Table she may not know gets no row. */
1787
+ tableRowCounts(args: {
1788
+ table_ids: Uuid[];
1789
+ }): Promise<RecordsResult<TableRowCount[]>>;
1790
+ /** G12. Each live record's own header (created, updated, version) that the read door does not answer. */
1791
+ recordHeaders(args: {
1792
+ ids: Uuid[];
1793
+ }): Promise<RecordsResult<RecordHeader[]>>;
1794
+ /**
1795
+ * G14. Share a Table with a person by email or account id: an existing account outside the
1796
+ * organization is granted at once and notified (never made a member); an address with no
1797
+ * account is invited. The organization's outside-sharing setting decides first.
1798
+ */
1799
+ tableShareOutsideGrant(args: {
1800
+ table_id: Uuid;
1801
+ person: string;
1802
+ level?: "viewer" | "commenter" | "editor" | "admin";
1803
+ }): Promise<RecordsResult<OutsideShareAnswer>>;
1804
+ /** G13. Keep a hand-set order on a saved view: the named rows first, in this order (build it with `moveInOrder`). */
1805
+ viewRecordOrderSet(args: {
1806
+ view_id: Uuid;
1807
+ record_ids: Uuid[];
1808
+ }): Promise<RecordsResult<ViewOrderSet>>;
1809
+ /** G13. A page of a hand-ordered view: placed rows by position, then the rest by created time. */
1810
+ readInViewOrder(args: {
1811
+ view_id: Uuid;
1812
+ limit?: number;
1813
+ offset?: number;
1814
+ }): Promise<RecordsResult<Array<ReadRow & {
1815
+ position: number | null;
1816
+ }>>>;
1641
1817
  exportXlsx(args: {
1642
1818
  table_id: Uuid;
1643
1819
  columns?: string[] | null;
@@ -1736,6 +1912,8 @@ declare const DOORS: {
1736
1912
  readonly pipelineBoard: "pipeline_board";
1737
1913
  readonly pipelineTransitionRefusal: "pipeline_transition_refusal";
1738
1914
  readonly pipelineMove: "pipeline_move";
1915
+ /** Lane S4: many cards, one call, a verdict and a version per card. */
1916
+ readonly pipelineMoveMany: "pipeline_move_many";
1739
1917
  readonly tableStageField: "table_stage_field";
1740
1918
  readonly stageRuleOnFailKinds: "stage_rule_on_fail_kinds";
1741
1919
  readonly stageRuleEnforcement: "stage_rule_enforcement";
@@ -1743,11 +1921,18 @@ declare const DOORS: {
1743
1921
  readonly pipelinePending: "pipeline_pending";
1744
1922
  readonly pipelineGatePreview: "pipeline_gate_preview";
1745
1923
  readonly ruleMembers: "rule_members";
1924
+ readonly ruleMembersVisible: "rule_members_visible";
1746
1925
  readonly ruleMembership: "rule_membership";
1747
1926
  readonly ruleRun: "rule_run";
1748
1927
  readonly ruleEval: "rule_eval";
1749
1928
  readonly forms: "forms";
1750
1929
  readonly formDeclare: "form_declare";
1930
+ /**
1931
+ * WHICH QUESTIONS THE OWNER'S PREVIEW ASKS NEXT (lane FORMS-FIX-1). The same store answer a
1932
+ * stranger's form gets (`custom._form_questions_asked` → `custom.rule_eval`), behind the
1933
+ * organization wall and the caller's own rung on the Table — never `rule_eval` from a browser.
1934
+ */
1935
+ readonly formPreviewAsks: "form_preview_asks";
1751
1936
  readonly bookings: "bookings";
1752
1937
  readonly bookingDeclare: "booking_declare";
1753
1938
  readonly importPlan: "io_import_plan";
@@ -1765,11 +1950,15 @@ declare const DOORS: {
1765
1950
  readonly portals: "portals";
1766
1951
  readonly portalTables: "portal_tables";
1767
1952
  readonly tableFacts: "table_facts";
1953
+ readonly tableHome: "table_home";
1954
+ readonly tableMove: "table_move";
1768
1955
  readonly portalCard: "portal_card";
1769
1956
  readonly portalDeclare: "portal_declare";
1770
1957
  readonly portalInvite: "portal_invite";
1771
1958
  readonly portalRevoke: "portal_revoke";
1772
1959
  readonly portalPreview: "portal_preview";
1960
+ readonly portalForm: "portal_form";
1961
+ readonly portalFormSubmit: "portal_form_submit";
1773
1962
  readonly listPortals: "list_portals";
1774
1963
  readonly portalArchive: "portal_archive";
1775
1964
  readonly portalRestore: "portal_restore";
@@ -1863,6 +2052,8 @@ declare const DOORS: {
1863
2052
  readonly workApprovalRequest: "work_approval_request";
1864
2053
  readonly workApprovalMayDecide: "work_approval_may_decide";
1865
2054
  readonly workApprovalDecide: "work_approval_decide";
2055
+ /** Lane S4: many inbox decisions, one call, a verdict per item. */
2056
+ readonly workDecideMany: "work_decide_many";
1866
2057
  readonly workApprovalRead: "work_approval_read";
1867
2058
  readonly checklistRefusal: "checklist_refusal";
1868
2059
  readonly checklistDeclare: "checklist_declare";
@@ -1886,6 +2077,14 @@ declare const DOORS: {
1886
2077
  readonly tableFromExample: "table_from_example";
1887
2078
  readonly autonumberBackfill: "autonumber_backfill";
1888
2079
  readonly ioExport: "io_export";
2080
+ readonly tableListEverywhere: "table_list_everywhere";
2081
+ readonly tableSync: "table_sync";
2082
+ readonly scopeTableProvision: "scope_table_provision";
2083
+ readonly tableRowCounts: "table_row_counts";
2084
+ readonly recordHeaders: "record_headers";
2085
+ readonly viewRecordOrderSet: "view_record_order_set";
2086
+ readonly readRecordsInViewOrder: "read_records_in_view_order";
2087
+ readonly tableShareOutsideGrant: "table_share_outside_grant";
1889
2088
  readonly metadataSearch: "metadata_search";
1890
2089
  readonly ruleDeclare: "rule_declare";
1891
2090
  readonly fieldPropose: "field_propose";
@@ -1899,6 +2098,95 @@ declare function doorCensus(): {
1899
2098
  absent: string[];
1900
2099
  };
1901
2100
 
2101
+ /** One Field a person asked for, in the words a person uses (FLD-1 / FLD-11). */
2102
+ interface NewFieldSpec {
2103
+ key: string;
2104
+ label: string;
2105
+ /**
2106
+ * The word for what this column holds. One of the thirteen parity types, one
2107
+ * of the five behaviours, or a plain synonym (`text`, `long_text`, `number`)
2108
+ * — `custom._field_document_for` resolves all three and refuses a word that
2109
+ * means nothing, by name, with the list.
2110
+ */
2111
+ type: FieldTypeWord;
2112
+ sort?: number;
2113
+ required?: boolean;
2114
+ multi?: boolean;
2115
+ config?: Record<string, unknown>;
2116
+ /** A choice list's choices, as words. The store keeps them as a Table (FLD-5). */
2117
+ options?: string[];
2118
+ /** A column that points at another Table of this organization (FLD-11 / REL-8). */
2119
+ relationTarget?: Uuid;
2120
+ /** A currency column's symbol; a date column's day-or-day-and-time. */
2121
+ unit?: string;
2122
+ kind?: "date" | "datetime";
2123
+ }
2124
+ interface NewTableSpec {
2125
+ name: string;
2126
+ /** The token the Table is addressed by. Derived from the name when absent. */
2127
+ slug?: string;
2128
+ labelSingular?: string;
2129
+ labelPlural?: string;
2130
+ /** The Field whose value is the record's title (REC-2). Defaults to the first Field. */
2131
+ titleField?: string;
2132
+ fields?: NewFieldSpec[];
2133
+ }
2134
+ type DeclareResult =
2135
+ /**
2136
+ * The Table's id — and its HOME's, because REC-14 gives the Table exactly one
2137
+ * and the caller that made it is the only one that can tidy it up again. A
2138
+ * caller reading `data` alone is unaffected.
2139
+ */
2140
+ {
2141
+ ok: true;
2142
+ data: Uuid;
2143
+ homeId: Uuid;
2144
+ } | {
2145
+ ok: false;
2146
+ error: RecordsError;
2147
+ };
2148
+ /** `My Sales Pipeline` → `my_sales_pipeline`. A token, never a sentence. */
2149
+ declare function tokenFor(name: string): string;
2150
+ /** The one Field a Table cannot be declared without: something to call a record. */
2151
+ /**
2152
+ * WHY THE FIRST FIELD IS NOT REQUIRED.
2153
+ *
2154
+ * It was, and the cost showed up the moment the grid could add a row: "New
2155
+ * record" writes an empty record and puts you in the first cell, and the store
2156
+ * correctly refused every one of them — `REC-51: Title is required` — so the
2157
+ * one gesture that makes a grid feel like a grid never worked on a table a
2158
+ * person had just made. A title is what makes a record a CHIP (REC-2), which is
2159
+ * a fact about how it is shown, not a promise it can never be written without;
2160
+ * an organization that wants it demanded says so in the field editor, and the
2161
+ * store then enforces it for everyone.
2162
+ */
2163
+ declare const DEFAULT_FIELDS: NewFieldSpec[];
2164
+ /**
2165
+ * One column, in the shape `custom.field_declare` takes — and EVERYTHING a
2166
+ * person said about it. The keys after the type are not decoration: without
2167
+ * `options` the door refuses a choice list outright ("A list of choices needs
2168
+ * its choices"), without `unit` a money column is dollars whatever the person
2169
+ * picked, and without `relation_target` a column that points at another of this
2170
+ * organization's own tables cannot be declared at all.
2171
+ */
2172
+ declare function fieldDeclarationFor(field: NewFieldSpec): NewFieldDeclaration;
2173
+ declare function declareTable(client: RecordsClient, spec: NewTableSpec): Promise<DeclareResult>;
2174
+ /**
2175
+ * Columns for an existing Table, through the door that declares one. Used by
2176
+ * the create path and by import.
2177
+ *
2178
+ * A column the store refused STOPS the sequence and hands back the store's own
2179
+ * sentence: a Table that quietly lost a column is the silent failure this
2180
+ * package exists to prevent.
2181
+ */
2182
+ declare function addFields(client: RecordsClient, tableId: Uuid, fields: NewFieldSpec[]): Promise<{
2183
+ ok: true;
2184
+ data: Uuid;
2185
+ } | {
2186
+ ok: false;
2187
+ error: RecordsError;
2188
+ }>;
2189
+
1902
2190
  type Listener = (recordId: string) => void;
1903
2191
  /** Called by the client after a write door answered yes. */
1904
2192
  declare function announceRecordChanged(recordId: string): void;
@@ -2022,4 +2310,4 @@ declare function parseCsv(text: string): string[][];
2022
2310
  declare function importCsv(text: string): ParsedImport;
2023
2311
  declare function importXlsx(bytes: ArrayBuffer | Uint8Array): Promise<ParsedImport>;
2024
2312
 
2025
- export { A_PERSONS_REFUSAL, ActionRunResult, AggregateBucket, AggregateMeasure, AggregateRow, AnonTokenBinding, ArchiveLane, ArchivedRow, type AsOf, BookingAvailability, BookingDeclared, BookingSummary, CaptureFileRef, CaptureOutcome, CaptureSheetFace, CaptureSheetSummary, ChecklistDeclared, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistSpec, ChecklistStepCompleted, ChecklistTemplateShape, ChecklistTemplateSummary, CommentThreadRead, CommentWritten, ConversationScope, ConversationScopeContext, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_PAGE_SIZE, DEFAULT_VALUE_MAX_BYTES, DOORS, DashboardBlock, DashboardRunResult, DashboardSummary, DecorationPath, DigestPreview, DocRenderRow, DocSignatureRow, DocTemplateRow, DocToken, DocUnresolvedToken, type DoorKey, EnrichCell, EnrichDeclared, EnrichDueRow, EnrichRun, EnrichmentSummary, EntityFieldRights, EntityRecordRead, EntityRecordsFound, EntityTableFacts, ExampleBuilt, type ExportRow, ExternalPrincipalCard, Field, FieldHistoryEntry, FieldPatch, FieldProposal, FormSummary, FormulaParse, GridLayout, ImportBatchResult, ImportColumnsDeclared, ImportFinished, ImportOpened, ImportPlan, ImportPolicy, ImportReport, ImportRun, InboundAddress, InboundDeclared, IoExportPage, MAPPED_SQLSTATES, type MirrorLimits, MyLevel, MySubscription, NewEntityFieldDeclaration, NewFieldDeclaration, type ParsedImport, PgError, Pipeline, PipelineColumn, PipelineDeclared, PipelineGate, PipelineGatePreview, PipelineMoveResult, PipelineSpec, PipelineVerdict, PortalArchiveAnswer, PortalArchiveFilter, PortalCard, PortalInvitation, PortalPreviewRow, PortalRevocation, PortalSummary, PortalTableRef, PredictedRefusal, type PromotedPredicate, PublishBinding, type QueryPlan, ReadRow, ReadValue, RecordDocument, RecordEvent, RecordFilter, RecordGraphWritten, RecordHistoryEntry, type RecordQuery, RecordRead, RecordRevision, RecordScopeContext, type RecordsClient, RecordsConfig, RecordsDataSource, RecordsError, RecordsErrorCode, RecordsResult, RelationCoordinate, RelationWordsManyArgs, ResolvedPublishBinding, RestorePreview, RestoreResult, RowAction, SavedViewRow, SavedViewSpecIn, StagePending, StagePendingOnBoard, StageRuleEnforcement, StageRuleOnFail, StaleWriteDetail, StoredRecord, StuckRow, Subscription, SubscriptionSpec, type SupabaseLike, Table, TableArchiveProgress, TableCapacity, TableDecorations, type TableFact, TableProposal, TableWebhook, TableWebhookDeclared, Timestamp, Uuid, WorkApprovalDecision, WorkApprovalFiled, WorkApprover, WorkAssignment, WorkAssignmentField, WorkChange, WorkGraph, WorkInboxItem, WorkInstantiation, WorkListFlavour, WorkListItem, WorkRecordState, WorkSlotHold, WorkState, WorkTurn, WriteConflict, announceRecordChanged, asWriteConflict, cellText, createRecordsClient, doorAbsent, doorCensus, doorExists, exportCsv, exportXlsx, importCsv, importXlsx, intersectIds, isAPersonsRefusal, mapPgError, onRecordChanged, parseCsv, planQuery, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, staleWriteDetail, supabaseDataSource, toAoa, withTableFacts };
2313
+ export { A_PERSONS_REFUSAL, ActionRunResult, AggregateBucket, AggregateCompare, AggregateMeasure, AggregateRow, AnonTokenBinding, ArchiveLane, ArchivedRow, type AsOf, BookingAvailability, BookingDeclared, BookingSummary, CaptureFileRef, CaptureOutcome, CaptureSheetFace, CaptureSheetSummary, ChecklistDeclared, ChecklistRunStarted, ChecklistRunStep, ChecklistRunSummary, ChecklistSpec, ChecklistStepCompleted, ChecklistTemplateShape, ChecklistTemplateSummary, CommentThreadRead, CommentWritten, ConversationScope, ConversationScopeContext, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_FIELDS, DEFAULT_PAGE_SIZE, DEFAULT_VALUE_MAX_BYTES, DOORS, DashboardBlock, DashboardRunResult, DashboardSummary, type DeclareResult, DecorationPath, DigestPreview, DocRenderRow, DocSignatureRow, DocTemplateRow, DocToken, DocUnresolvedToken, type DoorKey, EnrichCell, EnrichDeclared, EnrichDueRow, EnrichRun, EnrichmentSummary, EntityFieldRights, EntityRecordRead, EntityRecordsFound, EntityTableFacts, ExampleBuilt, type ExportRow, ExternalPrincipalCard, Field, FieldHistoryEntry, FieldPatch, FieldProposal, FieldTypeWord, FormSummary, FormulaParse, GridLayout, ImportBatchResult, ImportColumnsDeclared, ImportFinished, ImportOpened, ImportPlan, ImportPolicy, ImportReport, ImportRun, InboundAddress, InboundDeclared, IoExportPage, MAPPED_SQLSTATES, type MirrorLimits, MyLevel, MySubscription, NewEntityFieldDeclaration, NewFieldDeclaration, type NewFieldSpec, type NewTableSpec, OutsideShareAnswer, type ParsedImport, PgError, Pipeline, PipelineColumn, PipelineDeclared, PipelineGate, PipelineGatePreview, PipelineMoveMany, PipelineMoveManyItem, PipelineMoveResult, PipelineSpec, PipelineVerdict, PortalArchiveAnswer, PortalArchiveFilter, PortalCard, PortalConfigInput, PortalFormAnswer, PortalFormSpec, PortalInvitation, PortalPreviewRow, PortalRevocation, PortalSummary, PortalTableRef, PredictedRefusal, type PromotedPredicate, PublishBinding, type QueryPlan, ReadRow, ReadValue, RecordDocument, RecordEvent, RecordFilter, RecordGraphWritten, RecordHeader, RecordHistoryEntry, type RecordQuery, RecordRead, RecordRevision, RecordScopeContext, type RecordsClient, RecordsConfig, RecordsDataSource, RecordsError, RecordsErrorCode, RecordsResult, RelationCoordinate, RelationWordsManyArgs, ResolvedPublishBinding, RestorePreview, RestoreResult, RowAction, SavedViewRow, SavedViewSpecIn, StagePending, StagePendingOnBoard, StageRuleEnforcement, StageRuleOnFail, StaleWriteDetail, StoreFilter, StoredRecord, StuckRow, Subscription, SubscriptionSpec, type SupabaseLike, Table, TableArchiveProgress, TableCapacity, TableDecorations, type TableFact, TableHome, TableListEntry, TableMoved, TableProposal, TableRowCount, TableSyncResult, TableSyncSpec, TableWebhook, TableWebhookDeclared, Timestamp, Uuid, ViewOrderSet, WorkApprovalDecision, WorkApprovalFiled, WorkApprover, WorkAssignment, WorkAssignmentField, WorkChange, WorkDecideMany, WorkDecideManyItem, WorkGraph, WorkInboxItem, WorkInstantiation, WorkListFlavour, WorkListItem, WorkRecordState, WorkSlotHold, WorkState, WorkTurn, WriteConflict, addFields, announceRecordChanged, asWriteConflict, cellText, createRecordsClient, declareTable, doorAbsent, doorCensus, doorExists, exportCsv, exportXlsx, fieldDeclarationFor, importCsv, importXlsx, intersectIds, isAPersonsRefusal, mapPgError, onRecordChanged, parseCsv, planQuery, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, staleWriteDetail, supabaseDataSource, toAoa, tokenFor, withTableFacts };