@ai-matrx/records 0.84.4 → 0.84.6

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 +51 -2
  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 +51 -2
  7. package/dist/app-table/index.js.map +1 -1
  8. package/dist/{client-TU-nvgcF.d.ts → client-Cx2JV38-.d.ts} +7 -1
  9. package/dist/{client-CesQciPd.d.cts → client-xErw4ZgF.d.cts} +7 -1
  10. package/dist/core/index.cjs +59 -4
  11. package/dist/core/index.cjs.map +1 -1
  12. package/dist/core/index.d.cts +12 -5
  13. package/dist/core/index.d.ts +12 -5
  14. package/dist/core/index.js +59 -4
  15. package/dist/core/index.js.map +1 -1
  16. package/dist/data/index.cjs +51 -2
  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 +51 -2
  21. package/dist/data/index.js.map +1 -1
  22. package/dist/{declareTable-COXYIOiT.d.ts → declareTable-CYzGWD5K.d.ts} +2 -2
  23. package/dist/{declareTable-B9sr2E0h.d.cts → declareTable-G-H3AK48.d.cts} +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 +66 -5
  29. package/dist/react/index.cjs.map +1 -1
  30. package/dist/react/index.d.cts +16 -1
  31. package/dist/react/index.d.ts +16 -1
  32. package/dist/react/index.js +66 -5
  33. package/dist/react/index.js.map +1 -1
  34. package/dist/{table-kind-C5T-DOdc.d.ts → table-kind-B_qYmQJG.d.ts} +10 -1
  35. package/dist/{table-kind-B4vIKJVM.d.cts → table-kind-KMjVs-rk.d.cts} +10 -1
  36. package/package.json +2 -2
@@ -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-1yDCn169.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-1yDCn169.cjs';
3
- import { u as TableKindFacts } from '../table-kind-B4vIKJVM.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-B4vIKJVM.cjs';
3
+ import { v as TableKindFacts } from '../table-kind-KMjVs-rk.cjs';
4
+ export { bM as ARCHIVE_LANES, bN as ARCHIVE_LANE_LABEL, bO as ARCHIVE_LANE_MEANS, bP as ActionRefusal, bt as ActionRunResult, aS as AnonTokenBinding, A as ArchiveLane, ad as ArchivedChecklistTemplate, bQ as ArchivedDoorRow, ac as ArchivedForm, e as ArchivedRow, bR as AutomationAction, bv as AutomationDeclared, bS as AutomationFilter, bx as AutomationFlipped, bT as AutomationItem, bU as AutomationLastRun, bw as AutomationList, bV as AutomationRun, bW as AutomationRunStatus, by as AutomationRuns, bu as AutomationSpec, bX as AutomationStep, bY as AutomationTrigger, bZ as AutomationValue, b_ as AutomationValues, b$ as BUILT_KIND_WORD, c0 as CHOICE_NUDGES, c1 as CaptureField, as as CaptureFileRef, at as CaptureOutcome, c2 as CaptureQuestion, ar as CaptureSheetFace, aq as CaptureSheetSummary, aU as ChecklistDeclared, c3 as ChecklistRequirement, c4 as ChecklistRequirementKind, c5 as ChecklistRoleSpec, aX as ChecklistRunStarted, aY as ChecklistRunStep, aZ as ChecklistRunSummary, aT as ChecklistSpec, a_ as ChecklistStepCompleted, c6 as ChecklistStepSpec, aW as ChecklistTemplateShape, aV as ChecklistTemplateSummary, c7 as ChecklistTrigger, c8 as ChecklistTriggerKind, k as ChoiceCellBack, c9 as ChoiceLike, C as ChoiceNudge, ca as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aQ as CommentThreadRead, aR as CommentWritten, aL as ConversationScope, aM as ConversationScopeContext, cb as CustomFieldTableType, cc as DEFAULT_ARCHIVE_LANE, cd as DEFAULT_PORTAL_ARCHIVE_FILTER, ce as DRILL_CHART_TOKENS, cf as DRILL_DESCRIPTION_MAX, cg as DRILL_DOORS, ch as DRILL_SCHEMA, bE as DataHomeTable, ci as DecorationColor, bo as DecorationPath, cj as DecorationRule, ck as DecorationRuleOp, cl as DecorationTarget, aH as DocRenderRow, cm as DocSignatureCheck, aI as DocSignatureRow, aG as DocTemplateRow, aE as DocToken, aF as DocUnresolvedToken, cn as DrillAdHocOp, aC as DrillAnswer, co as DrillAnswerRow, cp as DrillChartToken, cq as DrillDeclaration, aA as DrillDefinition, cr as DrillDimension, cs as DrillFinding, ct as DrillGrain, cu as DrillHaving, cv as DrillLane, cw as DrillLevel, cx as DrillMeasure, cy as DrillMeasureOp, cz as DrillMeasureWhereValue, cA as DrillPath, aB as DrillQuestion, cB as DrillRecords, aD as DrillRowsPage, az as DrillSource, cC as DrillView, cD as EnrichAlternate, ax as EnrichCell, av as EnrichDeclared, aw as EnrichDueRow, ay as EnrichRun, cE as EnrichSource, cF as Enrichment, au as EnrichmentSummary, cG as EntityBackLinkItem, z as EntityBackLinks, x as EntityFieldRights, cH as EntityFieldValue, w as EntityFieldsAcross, cI as EntityRecordMatch, y as EntityRecordRead, D as EntityRecordsFound, cJ as EntityRef, bL as EntityRefWithWords, cK as EntityReferenceKind, B as EntityRowWritten, E as EntityTableFacts, bj as ExternalPrincipalCard, F as FieldDrift, cL as FieldDriftAspect, aN as FieldHistoryEntry, n as FieldRetyped, ab as FormArchiveAnswer, Z as FormLookOptions, br as FormulaParse, bq as GridLayout, cM as GridLayoutMode, cN as GridRowHeight, cO as HistoryActor, cP as HistoryActorKind, cQ as HistoryChange, cR as Home, a2 as ImportBatchResult, cS as ImportColumnPlan, a1 as ImportColumnsDeclared, a3 as ImportFinished, a0 as ImportOpened, cT as ImportOutcome, _ as ImportPlan, $ as ImportPolicy, cU as ImportProposal, a4 as ImportReport, a5 as ImportRun, a7 as InboundAddress, a6 as InboundDeclared, b8 as InboxCounts, b7 as InboxStateChange, bC as IoExportPage, M as MigrationUndone, bn as MyLevel, N as NewEntityFieldDeclaration, bJ as OutsideShareAnswer, cV as PERMISSION_LEVELS, cW as PIPELINE_RULE_KINDS, cX as PORTAL_ACCENTS, cY as PORTAL_ARCHIVE_FILTERS, cZ as PermissionLevel, P as Pipeline, G as PipelineColumn, O as PipelineDeclared, X as PipelineGate, Y as PipelineGatePreview, c_ as PipelineMissingField, K as PipelineMoveMany, J as PipelineMoveManyItem, c$ as PipelineMoveManyResult, I as PipelineMoveResult, d0 as PipelineMoveVerdict, d1 as PipelineRule, d2 as PipelineRuleKind, L as PipelineSpec, d3 as PipelineStage, H as PipelineVerdict, d4 as PortalAccent, aa as PortalArchiveAnswer, a9 as PortalArchiveFilter, aj as PortalCard, d5 as PortalConfig, ak as PortalConfigInput, d6 as PortalFooterLink, am as PortalFormAnswer, d7 as PortalFormInput, d8 as PortalFormRef, al as PortalFormSpec, an as PortalInvitation, ap as PortalPreviewRow, d9 as PortalPrincipal, ao as PortalRevocation, da as PortalStage, db as PortalStyle, dc as PortalStyleInput, a8 as PortalSummary, dd as PortalTableExposure, ai as PortalTableRef, de as PublicPicture, bk as PublishBinding, df as PublishBindingKind, dg as REVERSE_LINKS_PAGE_MAX, dh as REVERSE_LINKS_RECORDS_PER_CALL, di as ROW_WEB_NOT_READY, dj as RecordChangeAction, dk as RecordComment, bz as RecordEvent, bI as RecordHeader, aJ as RecordHistoryEntry, ah as RecordRowControls, dl as RecordScopeComment, aK as RecordScopeContext, dm as RecordScopeField, dn as RecordScopeHistoryEntry, dp as RecordScopeRelation, dq as RecordScopeWithheld, o as RecordsMerged, dr as RegisteredTable, ds as Relation, dt as RelationCarries, R as RelationCoordinate, q as RelationIcons, du as RelationProperties, dv as RelationTarget, p as RelationWordsManyArgs, bl as ResolvedPublishBinding, bm as ResolvedPublishBindingKind, aO as RestorePreview, aP as RestoreResult, dw as RetypeBehaviour, dx as RetypePreview, r as ReverseColumn, dy as ReverseLink, t as ReverseLinks, u as ReverseLinksFieldsArgs, s as ReverseLinksManyArgs, bs as RowAction, dz as RowActionStep, ag as RowDefaultsApplied, dA as SHOWN_TO_LABEL, dB as SHOWN_TO_VALUES, dC as SHOWN_TO_WHO_MAY_CHANGE, dD as STAGE_RULE_ENFORCEMENT, dE as STAGE_RULE_ON_FAIL, dF as ShownTo, S as SourceArchived, V as StagePending, W as StagePendingOnBoard, U as StageRuleEnforcement, Q as StageRuleOnFail, dG as StageRuleWarning, dH as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bp as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dI as TableHomeDestination, bD as TableListEntry, h as TableMoved, dJ as TablePlacement, dK as TablePlacementFact, dL as TableRenderSchema, a as TableRestoreProgress, bH as TableRowCount, ae as TableRowDefaults, af as TableRowDefaultsPatch, dM as TableSchemaMode, bG as TableSyncResult, dN as TableSyncSource, bF as TableSyncSpec, bB as TableWebhook, bA as TableWebhookDeclared, dO as TypedChoiceDecision, dP as ViewLayout, bK as ViewOrderSet, bg as WorkApprovalDecision, bf as WorkApprovalFiled, dQ as WorkApprovalState, bd as WorkApprover, bb as WorkAssignment, b3 as WorkAssignmentField, be as WorkChange, bi as WorkDecideMany, bh as WorkDecideManyItem, dR as WorkDecideManyResult, dS as WorkDecideVerdict, dT as WorkDueState, b0 as WorkGraph, b6 as WorkInboxItem, dU as WorkInboxKind, b5 as WorkInboxView, b1 as WorkInstantiation, b9 as WorkListFlavour, ba as WorkListItem, dV as WorkOrigin, bc as WorkRecordState, b4 as WorkSlotHold, a$ as WorkState, dW as WorkTemplateNode, dX as WorkTemplateRelation, b2 as WorkTurn, dY as actionRefusals, dZ as archivedByLine, d_ as archivedWhen, d$ as asChoiceNudge, e0 as asPermissionLevel, e1 as atLeast, e2 as choiceSlug, e3 as choiceValuesOf, e4 as choicesOf, e5 as decideTypedChoice, e6 as declareDrillDefinition, e7 as drillAnswerOf, e8 as drillFindingKnob, e9 as emptyArchiveLine, ea as emptyPortalArchiveLine, eb as entityReferenceKinds, ec as entityReferenceSearch, ed as entityReferenceWords, ee as entityRefsOf, ef as entityRefsToWrite, eg as exportPageXlsx, eh as fieldKindOf, ei as highestLevel, ej as holdsARetiredChoice, ek as isArchiveLane, el as isFoundation, em as isPortalAccent, en as isPortalArchiveFilter, eo as isShownTo, ep as isTableKind, eq as isTheChosen, er as keptGroups, es as keptOutOfSight, et as keptTableHref, eu as looksLikeAnId, ev as mayDrag, ew as moveConsequence, ex as moveInOrder, ey as offeredAsContext, ez as optionKey, eA as optionLabel, eB as parseFieldDrift, eC as parseTableCopiesInProgress, eD as parseTableDuplicateProgress, eE as parseTableDuplicated, eF as parseTableHome, eG as parseTableMoved, eH as portalArchiveConsequence, eI as portalConfirmLine, eJ as portalPath, eK as portalTitleTypedBack, eL as previewRetype, eM as previewRuleChange, eN as recordChangeTrigger, eO as recordSourceKey, eP as recordSourceTable, eQ as recordsUseSentence, eR as rehomeSentence, eS as removedChoicesInUse, eT as ruleThatRefuses, eU as rulesWithTopStar, eV as sameDocument, eW as scopeChip, eX as sheetSyncSpec, eY as sourceArchivedOf, eZ as tableIdOf, e_ as tableJsonSchema, e$ as tableKindMapping, f0 as tableKindSlug, f1 as tableRenderSchema, f2 as valueConverts, f3 as withRowCounts, f4 as withTablePlacement } from '../table-kind-KMjVs-rk.cjs';
5
5
  import { b as Field } from '../field-snQG2jMq.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-snQG2jMq.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-B_WaT-kr.cjs';
9
9
  import { b as RecordsDataSource } from '../ports-y1QNfM80.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-y1QNfM80.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-CesQciPd.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-B9sr2E0h.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-xErw4ZgF.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-G-H3AK48.cjs';
13
13
 
14
14
  declare function doorExists(name: string): boolean;
15
15
  /**
@@ -92,6 +92,7 @@ declare const DOORS: {
92
92
  readonly relationNamesMatch: "relation_names_match";
93
93
  readonly reverseColumns: "reverse_columns";
94
94
  readonly reverseLinksMany: "reverse_links_many";
95
+ readonly reverseLinksManyFields: "reverse_links_many_fields";
95
96
  readonly homeAdd: "home_add";
96
97
  readonly recordReparent: "record_reparent";
97
98
  readonly containmentChain: "containment_chain";
@@ -337,6 +338,12 @@ declare function doorCensus(): {
337
338
  type Listener = (recordId: string) => void;
338
339
  /** Called by the client after a write door answered yes. */
339
340
  declare function announceRecordChanged(recordId: string): void;
341
+ /** Called by the client after `record_delete` answered yes (before it announces the change). */
342
+ declare function markRecordRemoved(recordId: string): void;
343
+ /** Called by the client after `record_restore` answered yes (before it announces the change). */
344
+ declare function markRecordRestored(recordId: string): void;
345
+ /** Whether this page archived the record and has not brought it back. */
346
+ declare function isRecordRemoved(recordId: string): boolean;
340
347
  /** Hear every record this page writes. Returns the unsubscribe. */
341
348
  declare function onRecordChanged(listener: Listener): () => void;
342
349
  type TableListener = (tableId: string | null) => void;
@@ -722,4 +729,4 @@ declare function seededDataSource(index: Map<string, unknown>): {
722
729
  missed: () => boolean;
723
730
  };
724
731
 
725
- 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, PRIMED_DOOR_TTL_MS, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, type RecordsSeed, type RecordsSeedAnswer, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, dropPrimedDoorAnswers, exportCellText, exportCsv, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, landingOutcomesFor, mapPgError, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeDoorAnswer, primeRecordPageBundle, primeTablePageBundle, recordingDataSource, seedIndex, seedKey, seededDataSource, staleWriteDetail, supabaseDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
732
+ 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, PRIMED_DOOR_TTL_MS, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, type RecordsSeed, type RecordsSeedAnswer, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, dropPrimedDoorAnswers, exportCellText, exportCsv, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, isRecordRemoved, landingOutcomesFor, mapPgError, markRecordRemoved, markRecordRestored, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeDoorAnswer, primeRecordPageBundle, primeTablePageBundle, recordingDataSource, seedIndex, seedKey, seededDataSource, 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-1yDCn169.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-1yDCn169.js';
3
- import { u as TableKindFacts } from '../table-kind-C5T-DOdc.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-C5T-DOdc.js';
3
+ import { v as TableKindFacts } from '../table-kind-B_qYmQJG.js';
4
+ export { bM as ARCHIVE_LANES, bN as ARCHIVE_LANE_LABEL, bO as ARCHIVE_LANE_MEANS, bP as ActionRefusal, bt as ActionRunResult, aS as AnonTokenBinding, A as ArchiveLane, ad as ArchivedChecklistTemplate, bQ as ArchivedDoorRow, ac as ArchivedForm, e as ArchivedRow, bR as AutomationAction, bv as AutomationDeclared, bS as AutomationFilter, bx as AutomationFlipped, bT as AutomationItem, bU as AutomationLastRun, bw as AutomationList, bV as AutomationRun, bW as AutomationRunStatus, by as AutomationRuns, bu as AutomationSpec, bX as AutomationStep, bY as AutomationTrigger, bZ as AutomationValue, b_ as AutomationValues, b$ as BUILT_KIND_WORD, c0 as CHOICE_NUDGES, c1 as CaptureField, as as CaptureFileRef, at as CaptureOutcome, c2 as CaptureQuestion, ar as CaptureSheetFace, aq as CaptureSheetSummary, aU as ChecklistDeclared, c3 as ChecklistRequirement, c4 as ChecklistRequirementKind, c5 as ChecklistRoleSpec, aX as ChecklistRunStarted, aY as ChecklistRunStep, aZ as ChecklistRunSummary, aT as ChecklistSpec, a_ as ChecklistStepCompleted, c6 as ChecklistStepSpec, aW as ChecklistTemplateShape, aV as ChecklistTemplateSummary, c7 as ChecklistTrigger, c8 as ChecklistTriggerKind, k as ChoiceCellBack, c9 as ChoiceLike, C as ChoiceNudge, ca as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aQ as CommentThreadRead, aR as CommentWritten, aL as ConversationScope, aM as ConversationScopeContext, cb as CustomFieldTableType, cc as DEFAULT_ARCHIVE_LANE, cd as DEFAULT_PORTAL_ARCHIVE_FILTER, ce as DRILL_CHART_TOKENS, cf as DRILL_DESCRIPTION_MAX, cg as DRILL_DOORS, ch as DRILL_SCHEMA, bE as DataHomeTable, ci as DecorationColor, bo as DecorationPath, cj as DecorationRule, ck as DecorationRuleOp, cl as DecorationTarget, aH as DocRenderRow, cm as DocSignatureCheck, aI as DocSignatureRow, aG as DocTemplateRow, aE as DocToken, aF as DocUnresolvedToken, cn as DrillAdHocOp, aC as DrillAnswer, co as DrillAnswerRow, cp as DrillChartToken, cq as DrillDeclaration, aA as DrillDefinition, cr as DrillDimension, cs as DrillFinding, ct as DrillGrain, cu as DrillHaving, cv as DrillLane, cw as DrillLevel, cx as DrillMeasure, cy as DrillMeasureOp, cz as DrillMeasureWhereValue, cA as DrillPath, aB as DrillQuestion, cB as DrillRecords, aD as DrillRowsPage, az as DrillSource, cC as DrillView, cD as EnrichAlternate, ax as EnrichCell, av as EnrichDeclared, aw as EnrichDueRow, ay as EnrichRun, cE as EnrichSource, cF as Enrichment, au as EnrichmentSummary, cG as EntityBackLinkItem, z as EntityBackLinks, x as EntityFieldRights, cH as EntityFieldValue, w as EntityFieldsAcross, cI as EntityRecordMatch, y as EntityRecordRead, D as EntityRecordsFound, cJ as EntityRef, bL as EntityRefWithWords, cK as EntityReferenceKind, B as EntityRowWritten, E as EntityTableFacts, bj as ExternalPrincipalCard, F as FieldDrift, cL as FieldDriftAspect, aN as FieldHistoryEntry, n as FieldRetyped, ab as FormArchiveAnswer, Z as FormLookOptions, br as FormulaParse, bq as GridLayout, cM as GridLayoutMode, cN as GridRowHeight, cO as HistoryActor, cP as HistoryActorKind, cQ as HistoryChange, cR as Home, a2 as ImportBatchResult, cS as ImportColumnPlan, a1 as ImportColumnsDeclared, a3 as ImportFinished, a0 as ImportOpened, cT as ImportOutcome, _ as ImportPlan, $ as ImportPolicy, cU as ImportProposal, a4 as ImportReport, a5 as ImportRun, a7 as InboundAddress, a6 as InboundDeclared, b8 as InboxCounts, b7 as InboxStateChange, bC as IoExportPage, M as MigrationUndone, bn as MyLevel, N as NewEntityFieldDeclaration, bJ as OutsideShareAnswer, cV as PERMISSION_LEVELS, cW as PIPELINE_RULE_KINDS, cX as PORTAL_ACCENTS, cY as PORTAL_ARCHIVE_FILTERS, cZ as PermissionLevel, P as Pipeline, G as PipelineColumn, O as PipelineDeclared, X as PipelineGate, Y as PipelineGatePreview, c_ as PipelineMissingField, K as PipelineMoveMany, J as PipelineMoveManyItem, c$ as PipelineMoveManyResult, I as PipelineMoveResult, d0 as PipelineMoveVerdict, d1 as PipelineRule, d2 as PipelineRuleKind, L as PipelineSpec, d3 as PipelineStage, H as PipelineVerdict, d4 as PortalAccent, aa as PortalArchiveAnswer, a9 as PortalArchiveFilter, aj as PortalCard, d5 as PortalConfig, ak as PortalConfigInput, d6 as PortalFooterLink, am as PortalFormAnswer, d7 as PortalFormInput, d8 as PortalFormRef, al as PortalFormSpec, an as PortalInvitation, ap as PortalPreviewRow, d9 as PortalPrincipal, ao as PortalRevocation, da as PortalStage, db as PortalStyle, dc as PortalStyleInput, a8 as PortalSummary, dd as PortalTableExposure, ai as PortalTableRef, de as PublicPicture, bk as PublishBinding, df as PublishBindingKind, dg as REVERSE_LINKS_PAGE_MAX, dh as REVERSE_LINKS_RECORDS_PER_CALL, di as ROW_WEB_NOT_READY, dj as RecordChangeAction, dk as RecordComment, bz as RecordEvent, bI as RecordHeader, aJ as RecordHistoryEntry, ah as RecordRowControls, dl as RecordScopeComment, aK as RecordScopeContext, dm as RecordScopeField, dn as RecordScopeHistoryEntry, dp as RecordScopeRelation, dq as RecordScopeWithheld, o as RecordsMerged, dr as RegisteredTable, ds as Relation, dt as RelationCarries, R as RelationCoordinate, q as RelationIcons, du as RelationProperties, dv as RelationTarget, p as RelationWordsManyArgs, bl as ResolvedPublishBinding, bm as ResolvedPublishBindingKind, aO as RestorePreview, aP as RestoreResult, dw as RetypeBehaviour, dx as RetypePreview, r as ReverseColumn, dy as ReverseLink, t as ReverseLinks, u as ReverseLinksFieldsArgs, s as ReverseLinksManyArgs, bs as RowAction, dz as RowActionStep, ag as RowDefaultsApplied, dA as SHOWN_TO_LABEL, dB as SHOWN_TO_VALUES, dC as SHOWN_TO_WHO_MAY_CHANGE, dD as STAGE_RULE_ENFORCEMENT, dE as STAGE_RULE_ON_FAIL, dF as ShownTo, S as SourceArchived, V as StagePending, W as StagePendingOnBoard, U as StageRuleEnforcement, Q as StageRuleOnFail, dG as StageRuleWarning, dH as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bp as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dI as TableHomeDestination, bD as TableListEntry, h as TableMoved, dJ as TablePlacement, dK as TablePlacementFact, dL as TableRenderSchema, a as TableRestoreProgress, bH as TableRowCount, ae as TableRowDefaults, af as TableRowDefaultsPatch, dM as TableSchemaMode, bG as TableSyncResult, dN as TableSyncSource, bF as TableSyncSpec, bB as TableWebhook, bA as TableWebhookDeclared, dO as TypedChoiceDecision, dP as ViewLayout, bK as ViewOrderSet, bg as WorkApprovalDecision, bf as WorkApprovalFiled, dQ as WorkApprovalState, bd as WorkApprover, bb as WorkAssignment, b3 as WorkAssignmentField, be as WorkChange, bi as WorkDecideMany, bh as WorkDecideManyItem, dR as WorkDecideManyResult, dS as WorkDecideVerdict, dT as WorkDueState, b0 as WorkGraph, b6 as WorkInboxItem, dU as WorkInboxKind, b5 as WorkInboxView, b1 as WorkInstantiation, b9 as WorkListFlavour, ba as WorkListItem, dV as WorkOrigin, bc as WorkRecordState, b4 as WorkSlotHold, a$ as WorkState, dW as WorkTemplateNode, dX as WorkTemplateRelation, b2 as WorkTurn, dY as actionRefusals, dZ as archivedByLine, d_ as archivedWhen, d$ as asChoiceNudge, e0 as asPermissionLevel, e1 as atLeast, e2 as choiceSlug, e3 as choiceValuesOf, e4 as choicesOf, e5 as decideTypedChoice, e6 as declareDrillDefinition, e7 as drillAnswerOf, e8 as drillFindingKnob, e9 as emptyArchiveLine, ea as emptyPortalArchiveLine, eb as entityReferenceKinds, ec as entityReferenceSearch, ed as entityReferenceWords, ee as entityRefsOf, ef as entityRefsToWrite, eg as exportPageXlsx, eh as fieldKindOf, ei as highestLevel, ej as holdsARetiredChoice, ek as isArchiveLane, el as isFoundation, em as isPortalAccent, en as isPortalArchiveFilter, eo as isShownTo, ep as isTableKind, eq as isTheChosen, er as keptGroups, es as keptOutOfSight, et as keptTableHref, eu as looksLikeAnId, ev as mayDrag, ew as moveConsequence, ex as moveInOrder, ey as offeredAsContext, ez as optionKey, eA as optionLabel, eB as parseFieldDrift, eC as parseTableCopiesInProgress, eD as parseTableDuplicateProgress, eE as parseTableDuplicated, eF as parseTableHome, eG as parseTableMoved, eH as portalArchiveConsequence, eI as portalConfirmLine, eJ as portalPath, eK as portalTitleTypedBack, eL as previewRetype, eM as previewRuleChange, eN as recordChangeTrigger, eO as recordSourceKey, eP as recordSourceTable, eQ as recordsUseSentence, eR as rehomeSentence, eS as removedChoicesInUse, eT as ruleThatRefuses, eU as rulesWithTopStar, eV as sameDocument, eW as scopeChip, eX as sheetSyncSpec, eY as sourceArchivedOf, eZ as tableIdOf, e_ as tableJsonSchema, e$ as tableKindMapping, f0 as tableKindSlug, f1 as tableRenderSchema, f2 as valueConverts, f3 as withRowCounts, f4 as withTablePlacement } from '../table-kind-B_qYmQJG.js';
5
5
  import { b as Field } from '../field-BIJiFPc0.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-BIJiFPc0.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-CUok1vAm.js';
9
9
  import { b as RecordsDataSource } from '../ports-Y5gLbCXe.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-Y5gLbCXe.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-TU-nvgcF.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-COXYIOiT.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-Cx2JV38-.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-CYzGWD5K.js';
13
13
 
14
14
  declare function doorExists(name: string): boolean;
15
15
  /**
@@ -92,6 +92,7 @@ declare const DOORS: {
92
92
  readonly relationNamesMatch: "relation_names_match";
93
93
  readonly reverseColumns: "reverse_columns";
94
94
  readonly reverseLinksMany: "reverse_links_many";
95
+ readonly reverseLinksManyFields: "reverse_links_many_fields";
95
96
  readonly homeAdd: "home_add";
96
97
  readonly recordReparent: "record_reparent";
97
98
  readonly containmentChain: "containment_chain";
@@ -337,6 +338,12 @@ declare function doorCensus(): {
337
338
  type Listener = (recordId: string) => void;
338
339
  /** Called by the client after a write door answered yes. */
339
340
  declare function announceRecordChanged(recordId: string): void;
341
+ /** Called by the client after `record_delete` answered yes (before it announces the change). */
342
+ declare function markRecordRemoved(recordId: string): void;
343
+ /** Called by the client after `record_restore` answered yes (before it announces the change). */
344
+ declare function markRecordRestored(recordId: string): void;
345
+ /** Whether this page archived the record and has not brought it back. */
346
+ declare function isRecordRemoved(recordId: string): boolean;
340
347
  /** Hear every record this page writes. Returns the unsubscribe. */
341
348
  declare function onRecordChanged(listener: Listener): () => void;
342
349
  type TableListener = (tableId: string | null) => void;
@@ -722,4 +729,4 @@ declare function seededDataSource(index: Map<string, unknown>): {
722
729
  missed: () => boolean;
723
730
  };
724
731
 
725
- 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, PRIMED_DOOR_TTL_MS, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, type RecordsSeed, type RecordsSeedAnswer, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, dropPrimedDoorAnswers, exportCellText, exportCsv, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, landingOutcomesFor, mapPgError, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeDoorAnswer, primeRecordPageBundle, primeTablePageBundle, recordingDataSource, seedIndex, seedKey, seededDataSource, staleWriteDetail, supabaseDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
732
+ 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, PRIMED_DOOR_TTL_MS, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, type RecordsSeed, type RecordsSeedAnswer, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, dropPrimedDoorAnswers, exportCellText, exportCsv, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, isRecordRemoved, landingOutcomesFor, mapPgError, markRecordRemoved, markRecordRestored, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeDoorAnswer, primeRecordPageBundle, primeTablePageBundle, recordingDataSource, seedIndex, seedKey, seededDataSource, staleWriteDetail, supabaseDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
@@ -4922,6 +4922,16 @@ function announceRecordChanged(recordId) {
4922
4922
  }
4923
4923
  }
4924
4924
  }
4925
+ var removed = /* @__PURE__ */ new Set();
4926
+ function markRecordRemoved(recordId) {
4927
+ removed.add(recordId);
4928
+ }
4929
+ function markRecordRestored(recordId) {
4930
+ removed.delete(recordId);
4931
+ }
4932
+ function isRecordRemoved(recordId) {
4933
+ return removed.has(recordId);
4934
+ }
4925
4935
  function onRecordChanged(listener) {
4926
4936
  listeners.add(listener);
4927
4937
  return () => listeners.delete(listener);
@@ -5020,6 +5030,10 @@ var OWED_BY = {
5020
5030
  // clone; they reach the main database when the chair applies them, after
5021
5031
  // visionreach_w4_a_the_store_asks_before_an_agent_changes_a_table.sql (its field_declare body).
5022
5032
  reverse_columns: "VIEWS-AND-FIELDS BL \u2014 matrx-frontend migrations/campaign/viewsfields_bl_a_link_shows_on_both_tables.sql (chair's production apply)",
5033
+ // SEED-ENTITY (2026-10-08): the same links through SEVERAL reverse columns in one call; applied to production
5034
+ // through the ledgered runner. Until `pnpm records:generate` lists it, `reverseLinksFields` asks it as an owed door
5035
+ // and a store without it answers `door_absent` (the caller falls back to one call per column).
5036
+ reverse_links_many_fields: "SEED-ENTITY \u2014 matrx-frontend migrations/campaign/seedentity_reverse_links_many_fields.sql (applied 2026-10-08)",
5023
5037
  reverse_links_many: "VIEWS-AND-FIELDS BL \u2014 matrx-frontend migrations/campaign/viewsfields_bl_a_link_shows_on_both_tables.sql (chair's production apply)",
5024
5038
  // Live on Matrx Main since 2026-10-06 (applied through the Supabase MCP); STORE_DOORS lists it at the
5025
5039
  // next `pnpm records:generate`, until then `listKeyset` asks it as an owed door.
@@ -5260,6 +5274,7 @@ var DOORS = {
5260
5274
  // links through one of them. Called through `owedDoor` until `pnpm records:generate` lists them.
5261
5275
  reverseColumns: "reverse_columns",
5262
5276
  reverseLinksMany: "reverse_links_many",
5277
+ reverseLinksManyFields: "reverse_links_many_fields",
5263
5278
  homeAdd: "home_add",
5264
5279
  recordReparent: "record_reparent",
5265
5280
  containmentChain: "containment_chain",
@@ -6326,7 +6341,10 @@ function createRecordsClient(given) {
6326
6341
  { p_organization_id: org, p_record_id: record_id },
6327
6342
  "recordDelete"
6328
6343
  );
6329
- if (result.ok) announceRecordChanged(record_id);
6344
+ if (result.ok) {
6345
+ markRecordRemoved(record_id);
6346
+ announceRecordChanged(record_id);
6347
+ }
6330
6348
  return result;
6331
6349
  },
6332
6350
  async recordRestore({ record_id }) {
@@ -6335,7 +6353,10 @@ function createRecordsClient(given) {
6335
6353
  { p_organization_id: org, p_record_id: record_id },
6336
6354
  "recordRestore"
6337
6355
  );
6338
- if (result.ok) announceRecordChanged(record_id);
6356
+ if (result.ok) {
6357
+ markRecordRestored(record_id);
6358
+ announceRecordChanged(record_id);
6359
+ }
6339
6360
  return result;
6340
6361
  },
6341
6362
  async tableArchive({ table_id, chunk, includeTable }) {
@@ -7136,6 +7157,37 @@ function createRecordsClient(given) {
7136
7157
  }
7137
7158
  return ok(out);
7138
7159
  },
7160
+ async reverseLinksFields(args) {
7161
+ const ids = [...new Set(args.record_ids.filter((id) => typeof id === "string" && id.length > 0))];
7162
+ const fieldIds = [...new Set(args.source_field_ids)];
7163
+ const out = Object.fromEntries(fieldIds.map((id) => [id, {}]));
7164
+ for (let f = 0; f < fieldIds.length || f === 0; f += 20) {
7165
+ for (let at = 0; at < ids.length; at += REVERSE_LINKS_RECORDS_PER_CALL) {
7166
+ const result = await owedDoor(
7167
+ DOORS.reverseLinksManyFields,
7168
+ {
7169
+ p_organization_id: org,
7170
+ p_table_id: args.table_id,
7171
+ p_field_ids: fieldIds.slice(f, f + 20),
7172
+ p_record_ids: ids.slice(at, at + REVERSE_LINKS_RECORDS_PER_CALL),
7173
+ p_limit: args.limit ?? 10,
7174
+ p_offset: args.offset ?? 0
7175
+ },
7176
+ "reverseLinksFields"
7177
+ );
7178
+ if (!result.ok) return result;
7179
+ for (const row of result.data ?? []) {
7180
+ if (!row?.record_id || !row.field_id) continue;
7181
+ (out[row.field_id] ??= {})[row.record_id] = {
7182
+ total: typeof row.total === "number" ? row.total : 0,
7183
+ links: Array.isArray(row.links) ? row.links : []
7184
+ };
7185
+ }
7186
+ }
7187
+ if (fieldIds.length === 0) break;
7188
+ }
7189
+ return ok(out);
7190
+ },
7139
7191
  async relationNamesMatch(args) {
7140
7192
  const distinct = [];
7141
7193
  const seen = /* @__PURE__ */ new Set();
@@ -9404,8 +9456,8 @@ async function declareTable(client, spec) {
9404
9456
  return { ok: true, data: table.data, homeId: home.data };
9405
9457
  }
9406
9458
  async function undo(client, tableId, homeId, name, refusal) {
9407
- const removed = await client.recordDelete({ record_id: tableId });
9408
- if (removed.ok) {
9459
+ const removed2 = await client.recordDelete({ record_id: tableId });
9460
+ if (removed2.ok) {
9409
9461
  await client.recordDelete({ record_id: homeId });
9410
9462
  return { ok: false, error: refusal };
9411
9463
  }
@@ -10263,6 +10315,7 @@ export {
10263
10315
  isPersonStamp,
10264
10316
  isPortalAccent,
10265
10317
  isPortalArchiveFilter,
10318
+ isRecordRemoved,
10266
10319
  isRecordsErr,
10267
10320
  isRuleFilter,
10268
10321
  isShownTo,
@@ -10276,6 +10329,8 @@ export {
10276
10329
  localeDateOrder,
10277
10330
  looksLikeAnId,
10278
10331
  mapPgError,
10332
+ markRecordRemoved,
10333
+ markRecordRestored,
10279
10334
  mayDrag,
10280
10335
  measureKey,
10281
10336
  memoryStore,