@ai-matrx/records 0.79.1 → 0.80.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/app-table/index.cjs +31 -6
  3. package/dist/app-table/index.cjs.map +1 -1
  4. package/dist/app-table/index.d.cts +3 -3
  5. package/dist/app-table/index.d.ts +3 -3
  6. package/dist/app-table/index.js +31 -6
  7. package/dist/app-table/index.js.map +1 -1
  8. package/dist/{client-BcVOYKL1.d.ts → client-BbLzOf08.d.ts} +1 -1
  9. package/dist/{client-DHoI0qvP.d.cts → client-GhSH0bR7.d.cts} +1 -1
  10. package/dist/core/index.cjs +41 -6
  11. package/dist/core/index.cjs.map +1 -1
  12. package/dist/core/index.d.cts +26 -5
  13. package/dist/core/index.d.ts +26 -5
  14. package/dist/core/index.js +41 -6
  15. package/dist/core/index.js.map +1 -1
  16. package/dist/data/index.cjs +31 -6
  17. package/dist/data/index.cjs.map +1 -1
  18. package/dist/data/index.d.cts +2 -2
  19. package/dist/data/index.d.ts +2 -2
  20. package/dist/data/index.js +31 -6
  21. package/dist/data/index.js.map +1 -1
  22. package/dist/{declareTable-DM9mPkSc.d.cts → declareTable-Bb0eUtPF.d.cts} +2 -2
  23. package/dist/{declareTable-CDKHwyrF.d.ts → declareTable-D6mB7Va8.d.ts} +2 -2
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +2 -2
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.js.map +1 -1
  28. package/dist/react/index.cjs +31 -6
  29. package/dist/react/index.cjs.map +1 -1
  30. package/dist/react/index.d.cts +6 -2
  31. package/dist/react/index.d.ts +6 -2
  32. package/dist/react/index.js +31 -6
  33. package/dist/react/index.js.map +1 -1
  34. package/dist/{table-kind-wYO_qjK1.d.cts → table-kind-DptSVo_4.d.cts} +6 -2
  35. package/dist/{table-kind-Ct-nhoCZ.d.ts → table-kind-lHVdMZGy.d.ts} +6 -2
  36. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
1
  import { R as RecordsError, h as RecordsResult, P as PgError, y as StaleWriteDetail, g as RecordDocument, z as PredictedRefusal, s as ReadValue, U as Uuid } from '../record-DCaOJbhA.cjs';
2
2
  export { B as ABSENCE_REASONS, E as ACTOR_VOCABULARY, G as AbsenceReason, A as Actor, I as COMPUTE_ON, J as CONTEXT_POLICIES, C as ComputeOn, c as ContextPolicy, K as DECLARABLE_FIELD_KINDS, L as DELIVERIES, D as DeclarableFieldKind, M as Delivery, N as ENTITY_TOKENS, Q as EntityToken, V as FIELD_SENSITIVITIES, X as FIELD_SOURCES, Y as FRESHNESS, u as FieldBehavior, b as FieldSensitivity, F as FieldSource, Z as ForbiddenEnvelopeWord, _ as Freshness, H as HiddenFieldNotice, $ as KERNEL_TABLES, a0 as KernelTableName, a1 as KeysetRow, a2 as MERGE_FIELD_MODIFIERS, a3 as MERGE_FIELD_SEMANTIC_TYPES, a4 as MERGE_FIELD_SOURCES, a5 as MergeFieldModifier, a6 as MergeFieldSemanticType, a7 as MergeFieldSource, a8 as ON_DELETE, a9 as OVERRIDE_POLICIES, O as OnDelete, aa as OverridePolicy, ab as PARITY_FIELD_TYPES, ac as PER_VALUE_ACCESS_WORDS, v as ParityFieldType, ad as PerValueAccessWord, ae as ProvenancePointer, af as RELATION_BINDINGS, ag as RELATION_CARDINALITIES, ah as RELATION_FLAVORS, ai as RETIRED_ACTOR_WORDS, aj as RULE_NODE_KINDS, ak as RULE_USES, m as ReadRow, i as RecordChange, j as RecordChangeResult, k as RecordGraphWritten, p as RecordKeysetPage, o as RecordPage, n as RecordPageSort, l as RecordRead, r as RecordRevision, t as RecordsErrorCode, al as RelationBinding, e as RelationCardinality, d as RelationFlavor, am as RetiredActorWord, w as RuleNodeKind, x as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, q as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, a as TableDisplay, aw as TableOrigin, T as TableType, f as Timestamp, ax as VALUE_ALTERNATE_KEYS, ay as VALUE_ENVELOPE_KEYS, az as ValueAlternate, aA as ValueAlternateKey, aB as ValueEnvelope, aC as ValueEnvelopeKey, aD as ValueSource, W as WriteConflict, aE as err, aF as isRecordsErr, aG as ok } from '../record-DCaOJbhA.cjs';
3
- import { u as TableKindFacts } from '../table-kind-wYO_qjK1.cjs';
4
- export { bL as ARCHIVE_LANES, bM as ARCHIVE_LANE_LABEL, bN as ARCHIVE_LANE_MEANS, bO as ActionRefusal, bs as ActionRunResult, aR as AnonTokenBinding, A as ArchiveLane, ac as ArchivedChecklistTemplate, bP as ArchivedDoorRow, ab as ArchivedForm, e as ArchivedRow, bQ as AutomationAction, bu as AutomationDeclared, bR as AutomationFilter, bw as AutomationFlipped, bS as AutomationItem, bT as AutomationLastRun, bv as AutomationList, bU as AutomationRun, bV as AutomationRunStatus, bx as AutomationRuns, bt as AutomationSpec, bW as AutomationStep, bX as AutomationTrigger, bY as AutomationValue, bZ as AutomationValues, b_ as BUILT_KIND_WORD, b$ as CHOICE_NUDGES, c0 as CaptureField, ar as CaptureFileRef, as as CaptureOutcome, c1 as CaptureQuestion, aq as CaptureSheetFace, ap as CaptureSheetSummary, aT as ChecklistDeclared, c2 as ChecklistRequirement, c3 as ChecklistRequirementKind, c4 as ChecklistRoleSpec, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aS as ChecklistSpec, aZ as ChecklistStepCompleted, c5 as ChecklistStepSpec, aV as ChecklistTemplateShape, aU as ChecklistTemplateSummary, c6 as ChecklistTrigger, c7 as ChecklistTriggerKind, k as ChoiceCellBack, c8 as ChoiceLike, C as ChoiceNudge, c9 as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aP as CommentThreadRead, aQ as CommentWritten, aK as ConversationScope, aL as ConversationScopeContext, ca as CustomFieldTableType, cb as DEFAULT_ARCHIVE_LANE, cc as DEFAULT_PORTAL_ARCHIVE_FILTER, cd as DRILL_CHART_TOKENS, ce as DRILL_DESCRIPTION_MAX, cf as DRILL_DOORS, cg as DRILL_SCHEMA, bD as DataHomeTable, ch as DecorationColor, bn as DecorationPath, ci as DecorationRule, cj as DecorationRuleOp, ck as DecorationTarget, aG as DocRenderRow, cl as DocSignatureCheck, aH as DocSignatureRow, aF as DocTemplateRow, aD as DocToken, aE as DocUnresolvedToken, cm as DrillAdHocOp, aB as DrillAnswer, cn as DrillAnswerRow, co as DrillChartToken, cp as DrillDeclaration, az as DrillDefinition, cq as DrillDimension, cr as DrillFinding, cs as DrillGrain, ct as DrillHaving, cu as DrillLane, cv as DrillLevel, cw as DrillMeasure, cx as DrillMeasureOp, cy as DrillMeasureWhereValue, cz as DrillPath, aA as DrillQuestion, cA as DrillRecords, aC as DrillRowsPage, ay as DrillSource, cB as DrillView, cC as EnrichAlternate, aw as EnrichCell, au as EnrichDeclared, av as EnrichDueRow, ax as EnrichRun, cD as EnrichSource, cE as Enrichment, at as EnrichmentSummary, cF as EntityBackLinkItem, y as EntityBackLinks, w as EntityFieldRights, cG as EntityFieldValue, v as EntityFieldsAcross, cH as EntityRecordMatch, x as EntityRecordRead, B as EntityRecordsFound, cI as EntityRef, bK as EntityRefWithWords, cJ as EntityReferenceKind, z as EntityRowWritten, E as EntityTableFacts, bi as ExternalPrincipalCard, F as FieldDrift, cK as FieldDriftAspect, aM as FieldHistoryEntry, n as FieldRetyped, aa as FormArchiveAnswer, Y as FormLookOptions, bq as FormulaParse, bp as GridLayout, cL as GridLayoutMode, cM as GridRowHeight, cN as HistoryActor, cO as HistoryActorKind, cP as HistoryChange, cQ as Home, a1 as ImportBatchResult, cR as ImportColumnPlan, a0 as ImportColumnsDeclared, a2 as ImportFinished, $ as ImportOpened, cS as ImportOutcome, Z as ImportPlan, _ as ImportPolicy, cT as ImportProposal, a3 as ImportReport, a4 as ImportRun, a6 as InboundAddress, a5 as InboundDeclared, b7 as InboxCounts, b6 as InboxStateChange, bB as IoExportPage, M as MigrationUndone, bm as MyLevel, N as NewEntityFieldDeclaration, bI as OutsideShareAnswer, cU as PERMISSION_LEVELS, cV as PIPELINE_RULE_KINDS, cW as PORTAL_ACCENTS, cX as PORTAL_ARCHIVE_FILTERS, cY as PermissionLevel, P as Pipeline, D as PipelineColumn, L as PipelineDeclared, W as PipelineGate, X as PipelineGatePreview, cZ as PipelineMissingField, J as PipelineMoveMany, I as PipelineMoveManyItem, c_ as PipelineMoveManyResult, H as PipelineMoveResult, c$ as PipelineMoveVerdict, d0 as PipelineRule, d1 as PipelineRuleKind, K as PipelineSpec, d2 as PipelineStage, G as PipelineVerdict, d3 as PortalAccent, a9 as PortalArchiveAnswer, a8 as PortalArchiveFilter, ai as PortalCard, d4 as PortalConfig, aj as PortalConfigInput, d5 as PortalFooterLink, al as PortalFormAnswer, d6 as PortalFormInput, d7 as PortalFormRef, ak as PortalFormSpec, am as PortalInvitation, ao as PortalPreviewRow, d8 as PortalPrincipal, an as PortalRevocation, d9 as PortalStage, da as PortalStyle, db as PortalStyleInput, a7 as PortalSummary, dc as PortalTableExposure, ah as PortalTableRef, dd as PublicPicture, bj as PublishBinding, de as PublishBindingKind, df as REVERSE_LINKS_PAGE_MAX, dg as REVERSE_LINKS_RECORDS_PER_CALL, dh as ROW_WEB_NOT_READY, di as RecordChangeAction, dj as RecordComment, by as RecordEvent, bH as RecordHeader, aI as RecordHistoryEntry, ag as RecordRowControls, dk as RecordScopeComment, aJ as RecordScopeContext, dl as RecordScopeField, dm as RecordScopeHistoryEntry, dn as RecordScopeRelation, dp as RecordScopeWithheld, o as RecordsMerged, dq as RegisteredTable, dr as Relation, ds as RelationCarries, R as RelationCoordinate, q as RelationIcons, dt as RelationProperties, du as RelationTarget, p as RelationWordsManyArgs, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, aN as RestorePreview, aO as RestoreResult, dv as RetypeBehaviour, dw as RetypePreview, r as ReverseColumn, dx as ReverseLink, t as ReverseLinks, s as ReverseLinksManyArgs, br as RowAction, dy as RowActionStep, af as RowDefaultsApplied, dz as SHOWN_TO_LABEL, dA as SHOWN_TO_VALUES, dB as SHOWN_TO_WHO_MAY_CHANGE, dC as STAGE_RULE_ENFORCEMENT, dD as STAGE_RULE_ON_FAIL, dE as ShownTo, S as SourceArchived, U as StagePending, V as StagePendingOnBoard, Q as StageRuleEnforcement, O as StageRuleOnFail, dF as StageRuleWarning, dG as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bo as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dH as TableHomeDestination, bC as TableListEntry, h as TableMoved, dI as TablePlacement, dJ as TablePlacementFact, dK as TableRenderSchema, a as TableRestoreProgress, bG as TableRowCount, ad as TableRowDefaults, ae as TableRowDefaultsPatch, dL as TableSchemaMode, bF as TableSyncResult, dM as TableSyncSource, bE as TableSyncSpec, bA as TableWebhook, bz as TableWebhookDeclared, dN as TypedChoiceDecision, dO as ViewLayout, bJ as ViewOrderSet, bf as WorkApprovalDecision, be as WorkApprovalFiled, dP as WorkApprovalState, bc as WorkApprover, ba as WorkAssignment, b2 as WorkAssignmentField, bd as WorkChange, bh as WorkDecideMany, bg as WorkDecideManyItem, dQ as WorkDecideManyResult, dR as WorkDecideVerdict, dS as WorkDueState, a$ as WorkGraph, b5 as WorkInboxItem, dT as WorkInboxKind, b4 as WorkInboxView, b0 as WorkInstantiation, b8 as WorkListFlavour, b9 as WorkListItem, dU as WorkOrigin, bb as WorkRecordState, b3 as WorkSlotHold, a_ as WorkState, dV as WorkTemplateNode, dW as WorkTemplateRelation, b1 as WorkTurn, dX as actionRefusals, dY as archivedByLine, dZ as archivedWhen, d_ as asChoiceNudge, d$ as asPermissionLevel, e0 as atLeast, e1 as choiceSlug, e2 as choiceValuesOf, e3 as choicesOf, e4 as decideTypedChoice, e5 as declareDrillDefinition, e6 as drillAnswerOf, e7 as drillFindingKnob, e8 as emptyArchiveLine, e9 as emptyPortalArchiveLine, ea as entityReferenceKinds, eb as entityReferenceSearch, ec as entityReferenceWords, ed as entityRefsOf, ee as entityRefsToWrite, ef as exportPageXlsx, eg as fieldKindOf, eh as highestLevel, ei as holdsARetiredChoice, ej as isArchiveLane, ek as isFoundation, el as isPortalAccent, em as isPortalArchiveFilter, en as isShownTo, eo as isTableKind, ep as isTheChosen, eq as keptGroups, er as keptOutOfSight, es as keptTableHref, et as looksLikeAnId, eu as mayDrag, ev as moveConsequence, ew as moveInOrder, ex as offeredAsContext, ey as optionKey, ez as optionLabel, eA as parseFieldDrift, eB as parseTableCopiesInProgress, eC as parseTableDuplicateProgress, eD as parseTableDuplicated, eE as parseTableHome, eF as parseTableMoved, eG as portalArchiveConsequence, eH as portalConfirmLine, eI as portalPath, eJ as portalTitleTypedBack, eK as previewRetype, eL as previewRuleChange, eM as recordChangeTrigger, eN as recordSourceKey, eO as recordSourceTable, eP as recordsUseSentence, eQ as rehomeSentence, eR as removedChoicesInUse, eS as ruleThatRefuses, eT as rulesWithTopStar, eU as sameDocument, eV as scopeChip, eW as sheetSyncSpec, eX as sourceArchivedOf, eY as tableIdOf, eZ as tableJsonSchema, e_ as tableKindMapping, e$ as tableKindSlug, f0 as tableRenderSchema, f1 as valueConverts, f2 as withRowCounts, f3 as withTablePlacement } from '../table-kind-wYO_qjK1.cjs';
3
+ import { u as TableKindFacts } from '../table-kind-DptSVo_4.cjs';
4
+ export { bL as ARCHIVE_LANES, bM as ARCHIVE_LANE_LABEL, bN as ARCHIVE_LANE_MEANS, bO as ActionRefusal, bs as ActionRunResult, aR as AnonTokenBinding, A as ArchiveLane, ac as ArchivedChecklistTemplate, bP as ArchivedDoorRow, ab as ArchivedForm, e as ArchivedRow, bQ as AutomationAction, bu as AutomationDeclared, bR as AutomationFilter, bw as AutomationFlipped, bS as AutomationItem, bT as AutomationLastRun, bv as AutomationList, bU as AutomationRun, bV as AutomationRunStatus, bx as AutomationRuns, bt as AutomationSpec, bW as AutomationStep, bX as AutomationTrigger, bY as AutomationValue, bZ as AutomationValues, b_ as BUILT_KIND_WORD, b$ as CHOICE_NUDGES, c0 as CaptureField, ar as CaptureFileRef, as as CaptureOutcome, c1 as CaptureQuestion, aq as CaptureSheetFace, ap as CaptureSheetSummary, aT as ChecklistDeclared, c2 as ChecklistRequirement, c3 as ChecklistRequirementKind, c4 as ChecklistRoleSpec, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aS as ChecklistSpec, aZ as ChecklistStepCompleted, c5 as ChecklistStepSpec, aV as ChecklistTemplateShape, aU as ChecklistTemplateSummary, c6 as ChecklistTrigger, c7 as ChecklistTriggerKind, k as ChoiceCellBack, c8 as ChoiceLike, C as ChoiceNudge, c9 as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aP as CommentThreadRead, aQ as CommentWritten, aK as ConversationScope, aL as ConversationScopeContext, ca as CustomFieldTableType, cb as DEFAULT_ARCHIVE_LANE, cc as DEFAULT_PORTAL_ARCHIVE_FILTER, cd as DRILL_CHART_TOKENS, ce as DRILL_DESCRIPTION_MAX, cf as DRILL_DOORS, cg as DRILL_SCHEMA, bD as DataHomeTable, ch as DecorationColor, bn as DecorationPath, ci as DecorationRule, cj as DecorationRuleOp, ck as DecorationTarget, aG as DocRenderRow, cl as DocSignatureCheck, aH as DocSignatureRow, aF as DocTemplateRow, aD as DocToken, aE as DocUnresolvedToken, cm as DrillAdHocOp, aB as DrillAnswer, cn as DrillAnswerRow, co as DrillChartToken, cp as DrillDeclaration, az as DrillDefinition, cq as DrillDimension, cr as DrillFinding, cs as DrillGrain, ct as DrillHaving, cu as DrillLane, cv as DrillLevel, cw as DrillMeasure, cx as DrillMeasureOp, cy as DrillMeasureWhereValue, cz as DrillPath, aA as DrillQuestion, cA as DrillRecords, aC as DrillRowsPage, ay as DrillSource, cB as DrillView, cC as EnrichAlternate, aw as EnrichCell, au as EnrichDeclared, av as EnrichDueRow, ax as EnrichRun, cD as EnrichSource, cE as Enrichment, at as EnrichmentSummary, cF as EntityBackLinkItem, y as EntityBackLinks, w as EntityFieldRights, cG as EntityFieldValue, v as EntityFieldsAcross, cH as EntityRecordMatch, x as EntityRecordRead, B as EntityRecordsFound, cI as EntityRef, bK as EntityRefWithWords, cJ as EntityReferenceKind, z as EntityRowWritten, E as EntityTableFacts, bi as ExternalPrincipalCard, F as FieldDrift, cK as FieldDriftAspect, aM as FieldHistoryEntry, n as FieldRetyped, aa as FormArchiveAnswer, Y as FormLookOptions, bq as FormulaParse, bp as GridLayout, cL as GridLayoutMode, cM as GridRowHeight, cN as HistoryActor, cO as HistoryActorKind, cP as HistoryChange, cQ as Home, a1 as ImportBatchResult, cR as ImportColumnPlan, a0 as ImportColumnsDeclared, a2 as ImportFinished, $ as ImportOpened, cS as ImportOutcome, Z as ImportPlan, _ as ImportPolicy, cT as ImportProposal, a3 as ImportReport, a4 as ImportRun, a6 as InboundAddress, a5 as InboundDeclared, b7 as InboxCounts, b6 as InboxStateChange, bB as IoExportPage, M as MigrationUndone, bm as MyLevel, N as NewEntityFieldDeclaration, bI as OutsideShareAnswer, cU as PERMISSION_LEVELS, cV as PIPELINE_RULE_KINDS, cW as PORTAL_ACCENTS, cX as PORTAL_ARCHIVE_FILTERS, cY as PermissionLevel, P as Pipeline, D as PipelineColumn, L as PipelineDeclared, W as PipelineGate, X as PipelineGatePreview, cZ as PipelineMissingField, J as PipelineMoveMany, I as PipelineMoveManyItem, c_ as PipelineMoveManyResult, H as PipelineMoveResult, c$ as PipelineMoveVerdict, d0 as PipelineRule, d1 as PipelineRuleKind, K as PipelineSpec, d2 as PipelineStage, G as PipelineVerdict, d3 as PortalAccent, a9 as PortalArchiveAnswer, a8 as PortalArchiveFilter, ai as PortalCard, d4 as PortalConfig, aj as PortalConfigInput, d5 as PortalFooterLink, al as PortalFormAnswer, d6 as PortalFormInput, d7 as PortalFormRef, ak as PortalFormSpec, am as PortalInvitation, ao as PortalPreviewRow, d8 as PortalPrincipal, an as PortalRevocation, d9 as PortalStage, da as PortalStyle, db as PortalStyleInput, a7 as PortalSummary, dc as PortalTableExposure, ah as PortalTableRef, dd as PublicPicture, bj as PublishBinding, de as PublishBindingKind, df as REVERSE_LINKS_PAGE_MAX, dg as REVERSE_LINKS_RECORDS_PER_CALL, dh as ROW_WEB_NOT_READY, di as RecordChangeAction, dj as RecordComment, by as RecordEvent, bH as RecordHeader, aI as RecordHistoryEntry, ag as RecordRowControls, dk as RecordScopeComment, aJ as RecordScopeContext, dl as RecordScopeField, dm as RecordScopeHistoryEntry, dn as RecordScopeRelation, dp as RecordScopeWithheld, o as RecordsMerged, dq as RegisteredTable, dr as Relation, ds as RelationCarries, R as RelationCoordinate, q as RelationIcons, dt as RelationProperties, du as RelationTarget, p as RelationWordsManyArgs, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, aN as RestorePreview, aO as RestoreResult, dv as RetypeBehaviour, dw as RetypePreview, r as ReverseColumn, dx as ReverseLink, t as ReverseLinks, s as ReverseLinksManyArgs, br as RowAction, dy as RowActionStep, af as RowDefaultsApplied, dz as SHOWN_TO_LABEL, dA as SHOWN_TO_VALUES, dB as SHOWN_TO_WHO_MAY_CHANGE, dC as STAGE_RULE_ENFORCEMENT, dD as STAGE_RULE_ON_FAIL, dE as ShownTo, S as SourceArchived, U as StagePending, V as StagePendingOnBoard, Q as StageRuleEnforcement, O as StageRuleOnFail, dF as StageRuleWarning, dG as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bo as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dH as TableHomeDestination, bC as TableListEntry, h as TableMoved, dI as TablePlacement, dJ as TablePlacementFact, dK as TableRenderSchema, a as TableRestoreProgress, bG as TableRowCount, ad as TableRowDefaults, ae as TableRowDefaultsPatch, dL as TableSchemaMode, bF as TableSyncResult, dM as TableSyncSource, bE as TableSyncSpec, bA as TableWebhook, bz as TableWebhookDeclared, dN as TypedChoiceDecision, dO as ViewLayout, bJ as ViewOrderSet, bf as WorkApprovalDecision, be as WorkApprovalFiled, dP as WorkApprovalState, bc as WorkApprover, ba as WorkAssignment, b2 as WorkAssignmentField, bd as WorkChange, bh as WorkDecideMany, bg as WorkDecideManyItem, dQ as WorkDecideManyResult, dR as WorkDecideVerdict, dS as WorkDueState, a$ as WorkGraph, b5 as WorkInboxItem, dT as WorkInboxKind, b4 as WorkInboxView, b0 as WorkInstantiation, b8 as WorkListFlavour, b9 as WorkListItem, dU as WorkOrigin, bb as WorkRecordState, b3 as WorkSlotHold, a_ as WorkState, dV as WorkTemplateNode, dW as WorkTemplateRelation, b1 as WorkTurn, dX as actionRefusals, dY as archivedByLine, dZ as archivedWhen, d_ as asChoiceNudge, d$ as asPermissionLevel, e0 as atLeast, e1 as choiceSlug, e2 as choiceValuesOf, e3 as choicesOf, e4 as decideTypedChoice, e5 as declareDrillDefinition, e6 as drillAnswerOf, e7 as drillFindingKnob, e8 as emptyArchiveLine, e9 as emptyPortalArchiveLine, ea as entityReferenceKinds, eb as entityReferenceSearch, ec as entityReferenceWords, ed as entityRefsOf, ee as entityRefsToWrite, ef as exportPageXlsx, eg as fieldKindOf, eh as highestLevel, ei as holdsARetiredChoice, ej as isArchiveLane, ek as isFoundation, el as isPortalAccent, em as isPortalArchiveFilter, en as isShownTo, eo as isTableKind, ep as isTheChosen, eq as keptGroups, er as keptOutOfSight, es as keptTableHref, et as looksLikeAnId, eu as mayDrag, ev as moveConsequence, ew as moveInOrder, ex as offeredAsContext, ey as optionKey, ez as optionLabel, eA as parseFieldDrift, eB as parseTableCopiesInProgress, eC as parseTableDuplicateProgress, eD as parseTableDuplicated, eE as parseTableHome, eF as parseTableMoved, eG as portalArchiveConsequence, eH as portalConfirmLine, eI as portalPath, eJ as portalTitleTypedBack, eK as previewRetype, eL as previewRuleChange, eM as recordChangeTrigger, eN as recordSourceKey, eO as recordSourceTable, eP as recordsUseSentence, eQ as rehomeSentence, eR as removedChoicesInUse, eS as ruleThatRefuses, eT as rulesWithTopStar, eU as sameDocument, eV as scopeChip, eW as sheetSyncSpec, eX as sourceArchivedOf, eY as tableIdOf, eZ as tableJsonSchema, e_ as tableKindMapping, e$ as tableKindSlug, f0 as tableRenderSchema, f1 as valueConverts, f2 as withRowCounts, f3 as withTablePlacement } from '../table-kind-DptSVo_4.cjs';
5
5
  import { b as Field } from '../field-DCXU6k9i.cjs';
6
6
  export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, B as BARCODE_SYMBOLOGIES, C as ChoiceOptions, i as CoerceOptions, j as Coerced, k as CoercedAnswers, l as CoercibleField, m as FIELD_KINDS, d as FieldDuplicated, n as FieldKind, o as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, p as NEWER_FIELD_KINDS, q as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, r as NewerFieldKind, P as ParityFieldTypeDescriptor, s as PersonStamp, t as RelationDisplay, u as RelationNameIndex, v as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, w as STATUS_GROUP_WORDS, x as SYSTEM_WRITER_WORDS, y as StatusGroup, T as TableProposal, z as addressFromText, D as addressMapUrl, E as addressText, G as allowsOtherValues, H as coerceTypedAnswer, I as coerceTypedAnswers, J as coercionLabel, L as durationText, M as entityReferenceKindsOf, O as fieldKindFor, Q as isAddressValue, U as isEntityReferenceConfig, V as isPersonStamp, W as newerKindExportWords, X as newerKindOf, Y as newerKindWords, Z as personStampText, _ as ratingMaxOf, $ as readTypedDuration, a0 as relationNameIndexOf, a1 as relationNameKey, a2 as relationNamesIn, a3 as richTextPlain, a4 as safeLinkHref, a5 as splitListCell, a6 as statusGroupOf } from '../field-DCXU6k9i.cjs';
7
7
  export { CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, MergeField, MergeFieldProvenance, MergeFieldResolution, MergeFieldTransform, MissingBehavior, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, REFUSALS_WORTH_REPEATING, ResolutionTriple, TypedDate, TypedMatchScore, TypedNumber, TypedTime, forgetAllOps, indexedDbStore, isDecided, isOwnOp, localeDateOrder, memoryStore, mintClientKey, mintOpId, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, rememberedOpCount, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.cjs';
8
8
  export { f as AggregateBucket, A as AggregateCompare, v as AggregateCompareKind, w as AggregateCompareWindows, x as AggregateDelta, r as AggregateFilter, y as AggregateGroupValue, i as AggregateMeasure, q as AggregateOperation, j as AggregateRow, z as AggregateWindow, a as BookingAvailability, b as BookingDeclared, B as BookingSummary, C as BookingWindow, e as DashboardBlock, s as DashboardBlockKind, E as DashboardBlockResult, g as DashboardRunResult, D as DashboardSummary, G as DashboardTarget, H as DashboardTargetBase, I as DashboardTargetOp, J as DashboardTargetResult, K as DashboardTotals, m as DigestPreview, d as FormResults, c as FormRoute, F as FormSummary, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, L as Rule, N as RuleAnswer, u as RuleExpression, O as SavedViewColorBy, P as SavedViewDefinition, T as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, S as StoreFilter, h as StuckRow, k as Subscription, U as SubscriptionBlock, t as SubscriptionCadence, l as SubscriptionSpec, V as bookingPath, W as callersTimeZone, X as hasQuietHours, Y as isRuleFilter, Z as liftWithheld, _ as measureKey, $ as publicFormPath, a0 as stableFilterKey, a1 as withCallersClock } from '../subscription-C_hNjbaR.cjs';
9
9
  import { b as RecordsDataSource } from '../ports-DaHUjVg7.cjs';
10
10
  export { c as RecordsActor, d as RecordsChangeSink, a as RecordsConfig, e as RecordsErrorSink, f as RecordsFilter, R as RecordsRealtimePort, g as RecordsResolverPort, h as RecordsResponse, i as RecordsTableQuery } from '../ports-DaHUjVg7.cjs';
11
- export { A as A_PERSONS_REFUSAL, a as AsOf, D as DEFAULT_PAGE_SIZE, P as PromotedPredicate, Q as QueryPlan, b as RecordQuery, R as RecordsClient, T as TableFact, c as TableLiveLocation, d as asWriteConflict, e as createRecordsClient, i as intersectIds, f as isAPersonsRefusal, p as planQuery, w as withTableFacts } from '../client-DHoI0qvP.cjs';
12
- export { D as DEFAULT_FIELDS, a as DeclareResult, E as EnsureResult, N as NewFieldSpec, b as NewTableSpec, c as addFields, d as declareTable, e as ensureTable, f as fieldDeclarationFor, t as tokenFor } from '../declareTable-DM9mPkSc.cjs';
11
+ export { A as A_PERSONS_REFUSAL, a as AsOf, D as DEFAULT_PAGE_SIZE, P as PromotedPredicate, Q as QueryPlan, b as RecordQuery, R as RecordsClient, T as TableFact, c as TableLiveLocation, d as asWriteConflict, e as createRecordsClient, i as intersectIds, f as isAPersonsRefusal, p as planQuery, w as withTableFacts } from '../client-GhSH0bR7.cjs';
12
+ export { D as DEFAULT_FIELDS, a as DeclareResult, E as EnsureResult, N as NewFieldSpec, b as NewTableSpec, c as addFields, d as declareTable, e as ensureTable, f as fieldDeclarationFor, t as tokenFor } from '../declareTable-Bb0eUtPF.cjs';
13
13
 
14
14
  declare function doorExists(name: string): boolean;
15
15
  /**
@@ -468,6 +468,27 @@ declare function outcomeForBlock(outcomes: LandingOutcomes, block: LandingBlock)
468
468
  /** True when any landing of `kind` for this block is in the record store. */
469
469
  declare function blockLandedInStore(outcomes: LandingOutcomes, block: LandingBlock): boolean;
470
470
 
471
+ /** What a data source's `rpc` answers for `custom.table_page_bundle` (PostgREST's `{ data, error }`). */
472
+ interface PrimedBundleAnswer {
473
+ data: unknown;
474
+ error: unknown;
475
+ }
476
+ /**
477
+ * Hand the records client a table page's bundle that was asked elsewhere (the server render, as the
478
+ * same person). The next records client that opens this Table in this organization uses it instead of
479
+ * asking — once, within PRIMED_TTL_MS.
480
+ */
481
+ declare function primeTablePageBundle(input: {
482
+ organizationId: string;
483
+ tableId: string;
484
+ viewId?: string | null;
485
+ answer: Promise<PrimedBundleAnswer> | PrimedBundleAnswer;
486
+ }): void;
487
+ /** The primed answer for this page, once — or null (none, or stale). */
488
+ declare function takePrimedTablePageBundle(organizationId: string | null | undefined, tableId: string, viewId: string | null | undefined): Promise<PrimedBundleAnswer> | null;
489
+ /** Tests only: forget every primed answer. */
490
+ declare function forgetPrimedTablePageBundles(): void;
491
+
471
492
  /**
472
493
  * The structural shape of the supabase client this adapter needs. Deliberately
473
494
  * NOT `SupabaseClient<Database>`: a generated `Database` type makes
@@ -648,4 +669,4 @@ type ReadFileText = (fileId: Uuid) => Promise<string>;
648
669
  */
649
670
  declare function withWholeValues(rows: ExportRow[], read?: ReadFileText | null): Promise<ExportRow[]>;
650
671
 
651
- export { type BlockOutcome, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_VALUE_MAX_BYTES, DOORS, type DoorKey, type ExportRow, Field, LANDING_SOURCE_TYPE, LANDING_TARGET_TYPES, type Landing, type LandingBlock, type LandingOutcomes, type LandingState, type LandingStore, MAPPED_SQLSTATES, type MirrorLimits, OUTPUT_KEPT_KEY, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, exportCellText, exportCsv, exportXlsx, importCsv, importXlsx, landingOutcomesFor, mapPgError, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, staleWriteDetail, supabaseDataSource, tableKindFacts, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
672
+ export { type BlockOutcome, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_VALUE_MAX_BYTES, DOORS, type DoorKey, type ExportRow, Field, LANDING_SOURCE_TYPE, LANDING_TARGET_TYPES, type Landing, type LandingBlock, type LandingOutcomes, type LandingState, type LandingStore, MAPPED_SQLSTATES, type MirrorLimits, OUTPUT_KEPT_KEY, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, exportCellText, exportCsv, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, landingOutcomesFor, mapPgError, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeTablePageBundle, staleWriteDetail, supabaseDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
@@ -1,15 +1,15 @@
1
1
  import { R as RecordsError, h as RecordsResult, P as PgError, y as StaleWriteDetail, g as RecordDocument, z as PredictedRefusal, s as ReadValue, U as Uuid } from '../record-DCaOJbhA.js';
2
2
  export { B as ABSENCE_REASONS, E as ACTOR_VOCABULARY, G as AbsenceReason, A as Actor, I as COMPUTE_ON, J as CONTEXT_POLICIES, C as ComputeOn, c as ContextPolicy, K as DECLARABLE_FIELD_KINDS, L as DELIVERIES, D as DeclarableFieldKind, M as Delivery, N as ENTITY_TOKENS, Q as EntityToken, V as FIELD_SENSITIVITIES, X as FIELD_SOURCES, Y as FRESHNESS, u as FieldBehavior, b as FieldSensitivity, F as FieldSource, Z as ForbiddenEnvelopeWord, _ as Freshness, H as HiddenFieldNotice, $ as KERNEL_TABLES, a0 as KernelTableName, a1 as KeysetRow, a2 as MERGE_FIELD_MODIFIERS, a3 as MERGE_FIELD_SEMANTIC_TYPES, a4 as MERGE_FIELD_SOURCES, a5 as MergeFieldModifier, a6 as MergeFieldSemanticType, a7 as MergeFieldSource, a8 as ON_DELETE, a9 as OVERRIDE_POLICIES, O as OnDelete, aa as OverridePolicy, ab as PARITY_FIELD_TYPES, ac as PER_VALUE_ACCESS_WORDS, v as ParityFieldType, ad as PerValueAccessWord, ae as ProvenancePointer, af as RELATION_BINDINGS, ag as RELATION_CARDINALITIES, ah as RELATION_FLAVORS, ai as RETIRED_ACTOR_WORDS, aj as RULE_NODE_KINDS, ak as RULE_USES, m as ReadRow, i as RecordChange, j as RecordChangeResult, k as RecordGraphWritten, p as RecordKeysetPage, o as RecordPage, n as RecordPageSort, l as RecordRead, r as RecordRevision, t as RecordsErrorCode, al as RelationBinding, e as RelationCardinality, d as RelationFlavor, am as RetiredActorWord, w as RuleNodeKind, x as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, q as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, a as TableDisplay, aw as TableOrigin, T as TableType, f as Timestamp, ax as VALUE_ALTERNATE_KEYS, ay as VALUE_ENVELOPE_KEYS, az as ValueAlternate, aA as ValueAlternateKey, aB as ValueEnvelope, aC as ValueEnvelopeKey, aD as ValueSource, W as WriteConflict, aE as err, aF as isRecordsErr, aG as ok } from '../record-DCaOJbhA.js';
3
- import { u as TableKindFacts } from '../table-kind-Ct-nhoCZ.js';
4
- export { bL as ARCHIVE_LANES, bM as ARCHIVE_LANE_LABEL, bN as ARCHIVE_LANE_MEANS, bO as ActionRefusal, bs as ActionRunResult, aR as AnonTokenBinding, A as ArchiveLane, ac as ArchivedChecklistTemplate, bP as ArchivedDoorRow, ab as ArchivedForm, e as ArchivedRow, bQ as AutomationAction, bu as AutomationDeclared, bR as AutomationFilter, bw as AutomationFlipped, bS as AutomationItem, bT as AutomationLastRun, bv as AutomationList, bU as AutomationRun, bV as AutomationRunStatus, bx as AutomationRuns, bt as AutomationSpec, bW as AutomationStep, bX as AutomationTrigger, bY as AutomationValue, bZ as AutomationValues, b_ as BUILT_KIND_WORD, b$ as CHOICE_NUDGES, c0 as CaptureField, ar as CaptureFileRef, as as CaptureOutcome, c1 as CaptureQuestion, aq as CaptureSheetFace, ap as CaptureSheetSummary, aT as ChecklistDeclared, c2 as ChecklistRequirement, c3 as ChecklistRequirementKind, c4 as ChecklistRoleSpec, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aS as ChecklistSpec, aZ as ChecklistStepCompleted, c5 as ChecklistStepSpec, aV as ChecklistTemplateShape, aU as ChecklistTemplateSummary, c6 as ChecklistTrigger, c7 as ChecklistTriggerKind, k as ChoiceCellBack, c8 as ChoiceLike, C as ChoiceNudge, c9 as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aP as CommentThreadRead, aQ as CommentWritten, aK as ConversationScope, aL as ConversationScopeContext, ca as CustomFieldTableType, cb as DEFAULT_ARCHIVE_LANE, cc as DEFAULT_PORTAL_ARCHIVE_FILTER, cd as DRILL_CHART_TOKENS, ce as DRILL_DESCRIPTION_MAX, cf as DRILL_DOORS, cg as DRILL_SCHEMA, bD as DataHomeTable, ch as DecorationColor, bn as DecorationPath, ci as DecorationRule, cj as DecorationRuleOp, ck as DecorationTarget, aG as DocRenderRow, cl as DocSignatureCheck, aH as DocSignatureRow, aF as DocTemplateRow, aD as DocToken, aE as DocUnresolvedToken, cm as DrillAdHocOp, aB as DrillAnswer, cn as DrillAnswerRow, co as DrillChartToken, cp as DrillDeclaration, az as DrillDefinition, cq as DrillDimension, cr as DrillFinding, cs as DrillGrain, ct as DrillHaving, cu as DrillLane, cv as DrillLevel, cw as DrillMeasure, cx as DrillMeasureOp, cy as DrillMeasureWhereValue, cz as DrillPath, aA as DrillQuestion, cA as DrillRecords, aC as DrillRowsPage, ay as DrillSource, cB as DrillView, cC as EnrichAlternate, aw as EnrichCell, au as EnrichDeclared, av as EnrichDueRow, ax as EnrichRun, cD as EnrichSource, cE as Enrichment, at as EnrichmentSummary, cF as EntityBackLinkItem, y as EntityBackLinks, w as EntityFieldRights, cG as EntityFieldValue, v as EntityFieldsAcross, cH as EntityRecordMatch, x as EntityRecordRead, B as EntityRecordsFound, cI as EntityRef, bK as EntityRefWithWords, cJ as EntityReferenceKind, z as EntityRowWritten, E as EntityTableFacts, bi as ExternalPrincipalCard, F as FieldDrift, cK as FieldDriftAspect, aM as FieldHistoryEntry, n as FieldRetyped, aa as FormArchiveAnswer, Y as FormLookOptions, bq as FormulaParse, bp as GridLayout, cL as GridLayoutMode, cM as GridRowHeight, cN as HistoryActor, cO as HistoryActorKind, cP as HistoryChange, cQ as Home, a1 as ImportBatchResult, cR as ImportColumnPlan, a0 as ImportColumnsDeclared, a2 as ImportFinished, $ as ImportOpened, cS as ImportOutcome, Z as ImportPlan, _ as ImportPolicy, cT as ImportProposal, a3 as ImportReport, a4 as ImportRun, a6 as InboundAddress, a5 as InboundDeclared, b7 as InboxCounts, b6 as InboxStateChange, bB as IoExportPage, M as MigrationUndone, bm as MyLevel, N as NewEntityFieldDeclaration, bI as OutsideShareAnswer, cU as PERMISSION_LEVELS, cV as PIPELINE_RULE_KINDS, cW as PORTAL_ACCENTS, cX as PORTAL_ARCHIVE_FILTERS, cY as PermissionLevel, P as Pipeline, D as PipelineColumn, L as PipelineDeclared, W as PipelineGate, X as PipelineGatePreview, cZ as PipelineMissingField, J as PipelineMoveMany, I as PipelineMoveManyItem, c_ as PipelineMoveManyResult, H as PipelineMoveResult, c$ as PipelineMoveVerdict, d0 as PipelineRule, d1 as PipelineRuleKind, K as PipelineSpec, d2 as PipelineStage, G as PipelineVerdict, d3 as PortalAccent, a9 as PortalArchiveAnswer, a8 as PortalArchiveFilter, ai as PortalCard, d4 as PortalConfig, aj as PortalConfigInput, d5 as PortalFooterLink, al as PortalFormAnswer, d6 as PortalFormInput, d7 as PortalFormRef, ak as PortalFormSpec, am as PortalInvitation, ao as PortalPreviewRow, d8 as PortalPrincipal, an as PortalRevocation, d9 as PortalStage, da as PortalStyle, db as PortalStyleInput, a7 as PortalSummary, dc as PortalTableExposure, ah as PortalTableRef, dd as PublicPicture, bj as PublishBinding, de as PublishBindingKind, df as REVERSE_LINKS_PAGE_MAX, dg as REVERSE_LINKS_RECORDS_PER_CALL, dh as ROW_WEB_NOT_READY, di as RecordChangeAction, dj as RecordComment, by as RecordEvent, bH as RecordHeader, aI as RecordHistoryEntry, ag as RecordRowControls, dk as RecordScopeComment, aJ as RecordScopeContext, dl as RecordScopeField, dm as RecordScopeHistoryEntry, dn as RecordScopeRelation, dp as RecordScopeWithheld, o as RecordsMerged, dq as RegisteredTable, dr as Relation, ds as RelationCarries, R as RelationCoordinate, q as RelationIcons, dt as RelationProperties, du as RelationTarget, p as RelationWordsManyArgs, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, aN as RestorePreview, aO as RestoreResult, dv as RetypeBehaviour, dw as RetypePreview, r as ReverseColumn, dx as ReverseLink, t as ReverseLinks, s as ReverseLinksManyArgs, br as RowAction, dy as RowActionStep, af as RowDefaultsApplied, dz as SHOWN_TO_LABEL, dA as SHOWN_TO_VALUES, dB as SHOWN_TO_WHO_MAY_CHANGE, dC as STAGE_RULE_ENFORCEMENT, dD as STAGE_RULE_ON_FAIL, dE as ShownTo, S as SourceArchived, U as StagePending, V as StagePendingOnBoard, Q as StageRuleEnforcement, O as StageRuleOnFail, dF as StageRuleWarning, dG as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bo as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dH as TableHomeDestination, bC as TableListEntry, h as TableMoved, dI as TablePlacement, dJ as TablePlacementFact, dK as TableRenderSchema, a as TableRestoreProgress, bG as TableRowCount, ad as TableRowDefaults, ae as TableRowDefaultsPatch, dL as TableSchemaMode, bF as TableSyncResult, dM as TableSyncSource, bE as TableSyncSpec, bA as TableWebhook, bz as TableWebhookDeclared, dN as TypedChoiceDecision, dO as ViewLayout, bJ as ViewOrderSet, bf as WorkApprovalDecision, be as WorkApprovalFiled, dP as WorkApprovalState, bc as WorkApprover, ba as WorkAssignment, b2 as WorkAssignmentField, bd as WorkChange, bh as WorkDecideMany, bg as WorkDecideManyItem, dQ as WorkDecideManyResult, dR as WorkDecideVerdict, dS as WorkDueState, a$ as WorkGraph, b5 as WorkInboxItem, dT as WorkInboxKind, b4 as WorkInboxView, b0 as WorkInstantiation, b8 as WorkListFlavour, b9 as WorkListItem, dU as WorkOrigin, bb as WorkRecordState, b3 as WorkSlotHold, a_ as WorkState, dV as WorkTemplateNode, dW as WorkTemplateRelation, b1 as WorkTurn, dX as actionRefusals, dY as archivedByLine, dZ as archivedWhen, d_ as asChoiceNudge, d$ as asPermissionLevel, e0 as atLeast, e1 as choiceSlug, e2 as choiceValuesOf, e3 as choicesOf, e4 as decideTypedChoice, e5 as declareDrillDefinition, e6 as drillAnswerOf, e7 as drillFindingKnob, e8 as emptyArchiveLine, e9 as emptyPortalArchiveLine, ea as entityReferenceKinds, eb as entityReferenceSearch, ec as entityReferenceWords, ed as entityRefsOf, ee as entityRefsToWrite, ef as exportPageXlsx, eg as fieldKindOf, eh as highestLevel, ei as holdsARetiredChoice, ej as isArchiveLane, ek as isFoundation, el as isPortalAccent, em as isPortalArchiveFilter, en as isShownTo, eo as isTableKind, ep as isTheChosen, eq as keptGroups, er as keptOutOfSight, es as keptTableHref, et as looksLikeAnId, eu as mayDrag, ev as moveConsequence, ew as moveInOrder, ex as offeredAsContext, ey as optionKey, ez as optionLabel, eA as parseFieldDrift, eB as parseTableCopiesInProgress, eC as parseTableDuplicateProgress, eD as parseTableDuplicated, eE as parseTableHome, eF as parseTableMoved, eG as portalArchiveConsequence, eH as portalConfirmLine, eI as portalPath, eJ as portalTitleTypedBack, eK as previewRetype, eL as previewRuleChange, eM as recordChangeTrigger, eN as recordSourceKey, eO as recordSourceTable, eP as recordsUseSentence, eQ as rehomeSentence, eR as removedChoicesInUse, eS as ruleThatRefuses, eT as rulesWithTopStar, eU as sameDocument, eV as scopeChip, eW as sheetSyncSpec, eX as sourceArchivedOf, eY as tableIdOf, eZ as tableJsonSchema, e_ as tableKindMapping, e$ as tableKindSlug, f0 as tableRenderSchema, f1 as valueConverts, f2 as withRowCounts, f3 as withTablePlacement } from '../table-kind-Ct-nhoCZ.js';
3
+ import { u as TableKindFacts } from '../table-kind-lHVdMZGy.js';
4
+ export { bL as ARCHIVE_LANES, bM as ARCHIVE_LANE_LABEL, bN as ARCHIVE_LANE_MEANS, bO as ActionRefusal, bs as ActionRunResult, aR as AnonTokenBinding, A as ArchiveLane, ac as ArchivedChecklistTemplate, bP as ArchivedDoorRow, ab as ArchivedForm, e as ArchivedRow, bQ as AutomationAction, bu as AutomationDeclared, bR as AutomationFilter, bw as AutomationFlipped, bS as AutomationItem, bT as AutomationLastRun, bv as AutomationList, bU as AutomationRun, bV as AutomationRunStatus, bx as AutomationRuns, bt as AutomationSpec, bW as AutomationStep, bX as AutomationTrigger, bY as AutomationValue, bZ as AutomationValues, b_ as BUILT_KIND_WORD, b$ as CHOICE_NUDGES, c0 as CaptureField, ar as CaptureFileRef, as as CaptureOutcome, c1 as CaptureQuestion, aq as CaptureSheetFace, ap as CaptureSheetSummary, aT as ChecklistDeclared, c2 as ChecklistRequirement, c3 as ChecklistRequirementKind, c4 as ChecklistRoleSpec, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aS as ChecklistSpec, aZ as ChecklistStepCompleted, c5 as ChecklistStepSpec, aV as ChecklistTemplateShape, aU as ChecklistTemplateSummary, c6 as ChecklistTrigger, c7 as ChecklistTriggerKind, k as ChoiceCellBack, c8 as ChoiceLike, C as ChoiceNudge, c9 as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aP as CommentThreadRead, aQ as CommentWritten, aK as ConversationScope, aL as ConversationScopeContext, ca as CustomFieldTableType, cb as DEFAULT_ARCHIVE_LANE, cc as DEFAULT_PORTAL_ARCHIVE_FILTER, cd as DRILL_CHART_TOKENS, ce as DRILL_DESCRIPTION_MAX, cf as DRILL_DOORS, cg as DRILL_SCHEMA, bD as DataHomeTable, ch as DecorationColor, bn as DecorationPath, ci as DecorationRule, cj as DecorationRuleOp, ck as DecorationTarget, aG as DocRenderRow, cl as DocSignatureCheck, aH as DocSignatureRow, aF as DocTemplateRow, aD as DocToken, aE as DocUnresolvedToken, cm as DrillAdHocOp, aB as DrillAnswer, cn as DrillAnswerRow, co as DrillChartToken, cp as DrillDeclaration, az as DrillDefinition, cq as DrillDimension, cr as DrillFinding, cs as DrillGrain, ct as DrillHaving, cu as DrillLane, cv as DrillLevel, cw as DrillMeasure, cx as DrillMeasureOp, cy as DrillMeasureWhereValue, cz as DrillPath, aA as DrillQuestion, cA as DrillRecords, aC as DrillRowsPage, ay as DrillSource, cB as DrillView, cC as EnrichAlternate, aw as EnrichCell, au as EnrichDeclared, av as EnrichDueRow, ax as EnrichRun, cD as EnrichSource, cE as Enrichment, at as EnrichmentSummary, cF as EntityBackLinkItem, y as EntityBackLinks, w as EntityFieldRights, cG as EntityFieldValue, v as EntityFieldsAcross, cH as EntityRecordMatch, x as EntityRecordRead, B as EntityRecordsFound, cI as EntityRef, bK as EntityRefWithWords, cJ as EntityReferenceKind, z as EntityRowWritten, E as EntityTableFacts, bi as ExternalPrincipalCard, F as FieldDrift, cK as FieldDriftAspect, aM as FieldHistoryEntry, n as FieldRetyped, aa as FormArchiveAnswer, Y as FormLookOptions, bq as FormulaParse, bp as GridLayout, cL as GridLayoutMode, cM as GridRowHeight, cN as HistoryActor, cO as HistoryActorKind, cP as HistoryChange, cQ as Home, a1 as ImportBatchResult, cR as ImportColumnPlan, a0 as ImportColumnsDeclared, a2 as ImportFinished, $ as ImportOpened, cS as ImportOutcome, Z as ImportPlan, _ as ImportPolicy, cT as ImportProposal, a3 as ImportReport, a4 as ImportRun, a6 as InboundAddress, a5 as InboundDeclared, b7 as InboxCounts, b6 as InboxStateChange, bB as IoExportPage, M as MigrationUndone, bm as MyLevel, N as NewEntityFieldDeclaration, bI as OutsideShareAnswer, cU as PERMISSION_LEVELS, cV as PIPELINE_RULE_KINDS, cW as PORTAL_ACCENTS, cX as PORTAL_ARCHIVE_FILTERS, cY as PermissionLevel, P as Pipeline, D as PipelineColumn, L as PipelineDeclared, W as PipelineGate, X as PipelineGatePreview, cZ as PipelineMissingField, J as PipelineMoveMany, I as PipelineMoveManyItem, c_ as PipelineMoveManyResult, H as PipelineMoveResult, c$ as PipelineMoveVerdict, d0 as PipelineRule, d1 as PipelineRuleKind, K as PipelineSpec, d2 as PipelineStage, G as PipelineVerdict, d3 as PortalAccent, a9 as PortalArchiveAnswer, a8 as PortalArchiveFilter, ai as PortalCard, d4 as PortalConfig, aj as PortalConfigInput, d5 as PortalFooterLink, al as PortalFormAnswer, d6 as PortalFormInput, d7 as PortalFormRef, ak as PortalFormSpec, am as PortalInvitation, ao as PortalPreviewRow, d8 as PortalPrincipal, an as PortalRevocation, d9 as PortalStage, da as PortalStyle, db as PortalStyleInput, a7 as PortalSummary, dc as PortalTableExposure, ah as PortalTableRef, dd as PublicPicture, bj as PublishBinding, de as PublishBindingKind, df as REVERSE_LINKS_PAGE_MAX, dg as REVERSE_LINKS_RECORDS_PER_CALL, dh as ROW_WEB_NOT_READY, di as RecordChangeAction, dj as RecordComment, by as RecordEvent, bH as RecordHeader, aI as RecordHistoryEntry, ag as RecordRowControls, dk as RecordScopeComment, aJ as RecordScopeContext, dl as RecordScopeField, dm as RecordScopeHistoryEntry, dn as RecordScopeRelation, dp as RecordScopeWithheld, o as RecordsMerged, dq as RegisteredTable, dr as Relation, ds as RelationCarries, R as RelationCoordinate, q as RelationIcons, dt as RelationProperties, du as RelationTarget, p as RelationWordsManyArgs, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, aN as RestorePreview, aO as RestoreResult, dv as RetypeBehaviour, dw as RetypePreview, r as ReverseColumn, dx as ReverseLink, t as ReverseLinks, s as ReverseLinksManyArgs, br as RowAction, dy as RowActionStep, af as RowDefaultsApplied, dz as SHOWN_TO_LABEL, dA as SHOWN_TO_VALUES, dB as SHOWN_TO_WHO_MAY_CHANGE, dC as STAGE_RULE_ENFORCEMENT, dD as STAGE_RULE_ON_FAIL, dE as ShownTo, S as SourceArchived, U as StagePending, V as StagePendingOnBoard, Q as StageRuleEnforcement, O as StageRuleOnFail, dF as StageRuleWarning, dG as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bo as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dH as TableHomeDestination, bC as TableListEntry, h as TableMoved, dI as TablePlacement, dJ as TablePlacementFact, dK as TableRenderSchema, a as TableRestoreProgress, bG as TableRowCount, ad as TableRowDefaults, ae as TableRowDefaultsPatch, dL as TableSchemaMode, bF as TableSyncResult, dM as TableSyncSource, bE as TableSyncSpec, bA as TableWebhook, bz as TableWebhookDeclared, dN as TypedChoiceDecision, dO as ViewLayout, bJ as ViewOrderSet, bf as WorkApprovalDecision, be as WorkApprovalFiled, dP as WorkApprovalState, bc as WorkApprover, ba as WorkAssignment, b2 as WorkAssignmentField, bd as WorkChange, bh as WorkDecideMany, bg as WorkDecideManyItem, dQ as WorkDecideManyResult, dR as WorkDecideVerdict, dS as WorkDueState, a$ as WorkGraph, b5 as WorkInboxItem, dT as WorkInboxKind, b4 as WorkInboxView, b0 as WorkInstantiation, b8 as WorkListFlavour, b9 as WorkListItem, dU as WorkOrigin, bb as WorkRecordState, b3 as WorkSlotHold, a_ as WorkState, dV as WorkTemplateNode, dW as WorkTemplateRelation, b1 as WorkTurn, dX as actionRefusals, dY as archivedByLine, dZ as archivedWhen, d_ as asChoiceNudge, d$ as asPermissionLevel, e0 as atLeast, e1 as choiceSlug, e2 as choiceValuesOf, e3 as choicesOf, e4 as decideTypedChoice, e5 as declareDrillDefinition, e6 as drillAnswerOf, e7 as drillFindingKnob, e8 as emptyArchiveLine, e9 as emptyPortalArchiveLine, ea as entityReferenceKinds, eb as entityReferenceSearch, ec as entityReferenceWords, ed as entityRefsOf, ee as entityRefsToWrite, ef as exportPageXlsx, eg as fieldKindOf, eh as highestLevel, ei as holdsARetiredChoice, ej as isArchiveLane, ek as isFoundation, el as isPortalAccent, em as isPortalArchiveFilter, en as isShownTo, eo as isTableKind, ep as isTheChosen, eq as keptGroups, er as keptOutOfSight, es as keptTableHref, et as looksLikeAnId, eu as mayDrag, ev as moveConsequence, ew as moveInOrder, ex as offeredAsContext, ey as optionKey, ez as optionLabel, eA as parseFieldDrift, eB as parseTableCopiesInProgress, eC as parseTableDuplicateProgress, eD as parseTableDuplicated, eE as parseTableHome, eF as parseTableMoved, eG as portalArchiveConsequence, eH as portalConfirmLine, eI as portalPath, eJ as portalTitleTypedBack, eK as previewRetype, eL as previewRuleChange, eM as recordChangeTrigger, eN as recordSourceKey, eO as recordSourceTable, eP as recordsUseSentence, eQ as rehomeSentence, eR as removedChoicesInUse, eS as ruleThatRefuses, eT as rulesWithTopStar, eU as sameDocument, eV as scopeChip, eW as sheetSyncSpec, eX as sourceArchivedOf, eY as tableIdOf, eZ as tableJsonSchema, e_ as tableKindMapping, e$ as tableKindSlug, f0 as tableRenderSchema, f1 as valueConverts, f2 as withRowCounts, f3 as withTablePlacement } from '../table-kind-lHVdMZGy.js';
5
5
  import { b as Field } from '../field-DJAvDExi.js';
6
6
  export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, B as BARCODE_SYMBOLOGIES, C as ChoiceOptions, i as CoerceOptions, j as Coerced, k as CoercedAnswers, l as CoercibleField, m as FIELD_KINDS, d as FieldDuplicated, n as FieldKind, o as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, p as NEWER_FIELD_KINDS, q as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, r as NewerFieldKind, P as ParityFieldTypeDescriptor, s as PersonStamp, t as RelationDisplay, u as RelationNameIndex, v as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, w as STATUS_GROUP_WORDS, x as SYSTEM_WRITER_WORDS, y as StatusGroup, T as TableProposal, z as addressFromText, D as addressMapUrl, E as addressText, G as allowsOtherValues, H as coerceTypedAnswer, I as coerceTypedAnswers, J as coercionLabel, L as durationText, M as entityReferenceKindsOf, O as fieldKindFor, Q as isAddressValue, U as isEntityReferenceConfig, V as isPersonStamp, W as newerKindExportWords, X as newerKindOf, Y as newerKindWords, Z as personStampText, _ as ratingMaxOf, $ as readTypedDuration, a0 as relationNameIndexOf, a1 as relationNameKey, a2 as relationNamesIn, a3 as richTextPlain, a4 as safeLinkHref, a5 as splitListCell, a6 as statusGroupOf } from '../field-DJAvDExi.js';
7
7
  export { CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, MergeField, MergeFieldProvenance, MergeFieldResolution, MergeFieldTransform, MissingBehavior, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, REFUSALS_WORTH_REPEATING, ResolutionTriple, TypedDate, TypedMatchScore, TypedNumber, TypedTime, forgetAllOps, indexedDbStore, isDecided, isOwnOp, localeDateOrder, memoryStore, mintClientKey, mintOpId, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, rememberedOpCount, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.js';
8
8
  export { f as AggregateBucket, A as AggregateCompare, v as AggregateCompareKind, w as AggregateCompareWindows, x as AggregateDelta, r as AggregateFilter, y as AggregateGroupValue, i as AggregateMeasure, q as AggregateOperation, j as AggregateRow, z as AggregateWindow, a as BookingAvailability, b as BookingDeclared, B as BookingSummary, C as BookingWindow, e as DashboardBlock, s as DashboardBlockKind, E as DashboardBlockResult, g as DashboardRunResult, D as DashboardSummary, G as DashboardTarget, H as DashboardTargetBase, I as DashboardTargetOp, J as DashboardTargetResult, K as DashboardTotals, m as DigestPreview, d as FormResults, c as FormRoute, F as FormSummary, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, L as Rule, N as RuleAnswer, u as RuleExpression, O as SavedViewColorBy, P as SavedViewDefinition, T as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, S as StoreFilter, h as StuckRow, k as Subscription, U as SubscriptionBlock, t as SubscriptionCadence, l as SubscriptionSpec, V as bookingPath, W as callersTimeZone, X as hasQuietHours, Y as isRuleFilter, Z as liftWithheld, _ as measureKey, $ as publicFormPath, a0 as stableFilterKey, a1 as withCallersClock } from '../subscription-B9znK2dw.js';
9
9
  import { b as RecordsDataSource } from '../ports-Kpc-RihV.js';
10
10
  export { c as RecordsActor, d as RecordsChangeSink, a as RecordsConfig, e as RecordsErrorSink, f as RecordsFilter, R as RecordsRealtimePort, g as RecordsResolverPort, h as RecordsResponse, i as RecordsTableQuery } from '../ports-Kpc-RihV.js';
11
- export { A as A_PERSONS_REFUSAL, a as AsOf, D as DEFAULT_PAGE_SIZE, P as PromotedPredicate, Q as QueryPlan, b as RecordQuery, R as RecordsClient, T as TableFact, c as TableLiveLocation, d as asWriteConflict, e as createRecordsClient, i as intersectIds, f as isAPersonsRefusal, p as planQuery, w as withTableFacts } from '../client-BcVOYKL1.js';
12
- export { D as DEFAULT_FIELDS, a as DeclareResult, E as EnsureResult, N as NewFieldSpec, b as NewTableSpec, c as addFields, d as declareTable, e as ensureTable, f as fieldDeclarationFor, t as tokenFor } from '../declareTable-CDKHwyrF.js';
11
+ export { A as A_PERSONS_REFUSAL, a as AsOf, D as DEFAULT_PAGE_SIZE, P as PromotedPredicate, Q as QueryPlan, b as RecordQuery, R as RecordsClient, T as TableFact, c as TableLiveLocation, d as asWriteConflict, e as createRecordsClient, i as intersectIds, f as isAPersonsRefusal, p as planQuery, w as withTableFacts } from '../client-BbLzOf08.js';
12
+ export { D as DEFAULT_FIELDS, a as DeclareResult, E as EnsureResult, N as NewFieldSpec, b as NewTableSpec, c as addFields, d as declareTable, e as ensureTable, f as fieldDeclarationFor, t as tokenFor } from '../declareTable-D6mB7Va8.js';
13
13
 
14
14
  declare function doorExists(name: string): boolean;
15
15
  /**
@@ -468,6 +468,27 @@ declare function outcomeForBlock(outcomes: LandingOutcomes, block: LandingBlock)
468
468
  /** True when any landing of `kind` for this block is in the record store. */
469
469
  declare function blockLandedInStore(outcomes: LandingOutcomes, block: LandingBlock): boolean;
470
470
 
471
+ /** What a data source's `rpc` answers for `custom.table_page_bundle` (PostgREST's `{ data, error }`). */
472
+ interface PrimedBundleAnswer {
473
+ data: unknown;
474
+ error: unknown;
475
+ }
476
+ /**
477
+ * Hand the records client a table page's bundle that was asked elsewhere (the server render, as the
478
+ * same person). The next records client that opens this Table in this organization uses it instead of
479
+ * asking — once, within PRIMED_TTL_MS.
480
+ */
481
+ declare function primeTablePageBundle(input: {
482
+ organizationId: string;
483
+ tableId: string;
484
+ viewId?: string | null;
485
+ answer: Promise<PrimedBundleAnswer> | PrimedBundleAnswer;
486
+ }): void;
487
+ /** The primed answer for this page, once — or null (none, or stale). */
488
+ declare function takePrimedTablePageBundle(organizationId: string | null | undefined, tableId: string, viewId: string | null | undefined): Promise<PrimedBundleAnswer> | null;
489
+ /** Tests only: forget every primed answer. */
490
+ declare function forgetPrimedTablePageBundles(): void;
491
+
471
492
  /**
472
493
  * The structural shape of the supabase client this adapter needs. Deliberately
473
494
  * NOT `SupabaseClient<Database>`: a generated `Database` type makes
@@ -648,4 +669,4 @@ type ReadFileText = (fileId: Uuid) => Promise<string>;
648
669
  */
649
670
  declare function withWholeValues(rows: ExportRow[], read?: ReadFileText | null): Promise<ExportRow[]>;
650
671
 
651
- export { type BlockOutcome, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_VALUE_MAX_BYTES, DOORS, type DoorKey, type ExportRow, Field, LANDING_SOURCE_TYPE, LANDING_TARGET_TYPES, type Landing, type LandingBlock, type LandingOutcomes, type LandingState, type LandingStore, MAPPED_SQLSTATES, type MirrorLimits, OUTPUT_KEPT_KEY, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, exportCellText, exportCsv, exportXlsx, importCsv, importXlsx, landingOutcomesFor, mapPgError, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, staleWriteDetail, supabaseDataSource, tableKindFacts, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
672
+ export { type BlockOutcome, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_VALUE_MAX_BYTES, DOORS, type DoorKey, type ExportRow, Field, LANDING_SOURCE_TYPE, LANDING_TARGET_TYPES, type Landing, type LandingBlock, type LandingOutcomes, type LandingState, type LandingStore, MAPPED_SQLSTATES, type MirrorLimits, OUTPUT_KEPT_KEY, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, exportCellText, exportCsv, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, landingOutcomesFor, mapPgError, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeTablePageBundle, staleWriteDetail, supabaseDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
@@ -4812,6 +4812,31 @@ function tableRenderSchema(facts) {
4812
4812
  return { kind: slug, fields: out };
4813
4813
  }
4814
4814
 
4815
+ // src/core/primedBundle.ts
4816
+ var PRIMED_TTL_MS = 15e3;
4817
+ var REGISTRY = /* @__PURE__ */ Symbol.for("@ai-matrx/records/primed-table-page-bundles");
4818
+ function registry() {
4819
+ const g = globalThis;
4820
+ return g[REGISTRY] ??= /* @__PURE__ */ new Map();
4821
+ }
4822
+ var primedKey = (organizationId, tableId, viewId) => `${organizationId}|${tableId}|${viewId ?? ""}`;
4823
+ function primeTablePageBundle(input) {
4824
+ const answer = Promise.resolve(input.answer).catch((thrown) => ({ data: null, error: thrown }));
4825
+ registry().set(primedKey(input.organizationId, input.tableId, input.viewId), { answer, at: Date.now() });
4826
+ }
4827
+ function takePrimedTablePageBundle(organizationId, tableId, viewId) {
4828
+ if (!organizationId) return null;
4829
+ const key = primedKey(organizationId, tableId, viewId);
4830
+ const primed = registry();
4831
+ const held = primed.get(key);
4832
+ if (!held) return null;
4833
+ primed.delete(key);
4834
+ return Date.now() - held.at < PRIMED_TTL_MS ? held.answer : null;
4835
+ }
4836
+ function forgetPrimedTablePageBundles() {
4837
+ registry().clear();
4838
+ }
4839
+
4815
4840
  // src/core/keysetCursor.ts
4816
4841
  function utf8ToBinary(text2) {
4817
4842
  let out = "";
@@ -5761,13 +5786,20 @@ function createRecordsClient(given) {
5761
5786
  }
5762
5787
  async function fillBundle(tableId, viewId) {
5763
5788
  try {
5764
- const response = await config.dataSource.rpc(
5765
- "table_page_bundle",
5766
- { p_organization_id: org, p_table_id: tableId, p_view_id: typeof viewId === "string" ? viewId : null },
5767
- { schema }
5768
- );
5789
+ const view = typeof viewId === "string" ? viewId : null;
5790
+ const usable = (r) => r !== null && !r.error && r.data !== null && typeof r.data === "object" && Array.isArray(r.data.parts);
5791
+ const primedAnswer = takePrimedTablePageBundle(org, tableId, view);
5792
+ let response = primedAnswer ? await primedAnswer : null;
5793
+ if (!usable(response)) {
5794
+ response = await config.dataSource.rpc(
5795
+ "table_page_bundle",
5796
+ { p_organization_id: org, p_table_id: tableId, p_view_id: view },
5797
+ { schema }
5798
+ );
5799
+ }
5800
+ if (!usable(response)) return;
5769
5801
  const answer = response.data;
5770
- if (response.error || !answer || !Array.isArray(answer.parts)) return;
5802
+ if (!answer || !Array.isArray(answer.parts)) return;
5771
5803
  const now = Date.now();
5772
5804
  for (const part of answer.parts) {
5773
5805
  if (part.error !== void 0 || part.data === void 0) continue;
@@ -9967,6 +9999,7 @@ export {
9967
9999
  fieldKindFor,
9968
10000
  fieldKindOf,
9969
10001
  forgetAllOps,
10002
+ forgetPrimedTablePageBundles,
9970
10003
  hasQuietHours,
9971
10004
  highestLevel,
9972
10005
  holdsARetiredChoice,
@@ -10035,6 +10068,7 @@ export {
10035
10068
  predictWriteRefusals,
10036
10069
  previewRetype,
10037
10070
  previewRuleChange,
10071
+ primeTablePageBundle,
10038
10072
  publicFormPath,
10039
10073
  rankTypedMatches,
10040
10074
  ratingMaxOf,
@@ -10071,6 +10105,7 @@ export {
10071
10105
  tableKindMapping,
10072
10106
  tableKindSlug,
10073
10107
  tableRenderSchema,
10108
+ takePrimedTablePageBundle,
10074
10109
  toAoa,
10075
10110
  tokenFor,
10076
10111
  twoDigitYear,