@ai-matrx/records 0.87.31 → 0.92.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/CHANGELOG.md +98 -0
  2. package/README.md +115 -0
  3. package/dist/{client-E0VQ0NPO.d.ts → client-DE9Mq6YX.d.cts} +8 -5
  4. package/dist/{client-C3ZZNfGH.d.cts → client-vJAb7g9r.d.ts} +8 -5
  5. package/dist/core/index.cjs +25 -7
  6. package/dist/core/index.cjs.map +1 -1
  7. package/dist/core/index.d.cts +23 -12
  8. package/dist/core/index.d.ts +23 -12
  9. package/dist/core/index.js +25 -7
  10. package/dist/core/index.js.map +1 -1
  11. package/dist/data/index.cjs +19 -7
  12. package/dist/data/index.cjs.map +1 -1
  13. package/dist/data/index.d.cts +12 -142
  14. package/dist/data/index.d.ts +12 -142
  15. package/dist/data/index.js +19 -7
  16. package/dist/data/index.js.map +1 -1
  17. package/dist/{declareTable-BK3zufr7.d.cts → declareTable-Btg5bql1.d.cts} +4 -4
  18. package/dist/{declareTable-B12XybRp.d.ts → declareTable-JKt2q34d.d.ts} +4 -4
  19. package/dist/entity/index.cjs +984 -0
  20. package/dist/entity/index.cjs.map +1 -0
  21. package/dist/entity/index.d.cts +36 -0
  22. package/dist/entity/index.d.ts +36 -0
  23. package/dist/entity/index.js +964 -0
  24. package/dist/entity/index.js.map +1 -0
  25. package/dist/entity/react.cjs +1024 -0
  26. package/dist/entity/react.cjs.map +1 -0
  27. package/dist/entity/react.d.cts +511 -0
  28. package/dist/entity/react.d.ts +511 -0
  29. package/dist/entity/react.js +1015 -0
  30. package/dist/entity/react.js.map +1 -0
  31. package/dist/{field-BanTVGK2.d.cts → field-BJBnTyJ0.d.cts} +1 -1
  32. package/dist/{field-BPABOJ2Y.d.ts → field-Ti5iAxFr.d.ts} +1 -1
  33. package/dist/forms/index.cjs +984 -0
  34. package/dist/forms/index.cjs.map +1 -0
  35. package/dist/forms/index.d.cts +333 -0
  36. package/dist/forms/index.d.ts +333 -0
  37. package/dist/forms/index.js +961 -0
  38. package/dist/forms/index.js.map +1 -0
  39. package/dist/index.cjs +10 -1
  40. package/dist/index.cjs.map +1 -1
  41. package/dist/index.d.cts +11 -8
  42. package/dist/index.d.ts +11 -8
  43. package/dist/index.js +10 -1
  44. package/dist/index.js.map +1 -1
  45. package/dist/memory/index.d.cts +7 -6
  46. package/dist/memory/index.d.ts +7 -6
  47. package/dist/port-CPVBfDxS.d.cts +301 -0
  48. package/dist/port-D2i2o7Lg.d.ts +301 -0
  49. package/dist/portal-Db4CYyHe.d.ts +331 -0
  50. package/dist/portal-DfeY2Boy.d.cts +331 -0
  51. package/dist/{ports-TMWX-t9l.d.ts → ports-BWtxAnXh.d.ts} +2 -2
  52. package/dist/{ports-D8-iuY1P.d.cts → ports-DSU2RsR6.d.cts} +2 -2
  53. package/dist/react/index.cjs +55 -523
  54. package/dist/react/index.cjs.map +1 -1
  55. package/dist/react/index.d.cts +14 -1
  56. package/dist/react/index.d.ts +14 -1
  57. package/dist/react/index.js +52 -527
  58. package/dist/react/index.js.map +1 -1
  59. package/dist/realtime/index.d.cts +2 -2
  60. package/dist/realtime/index.d.ts +2 -2
  61. package/dist/{record-DpB2QgAZ.d.cts → record-BQi92d4-.d.cts} +7 -1
  62. package/dist/{record-DpB2QgAZ.d.ts → record-BQi92d4-.d.ts} +7 -1
  63. package/dist/relation-DMwkmzgN.d.cts +230 -0
  64. package/dist/relation-DlcqV_W5.d.ts +230 -0
  65. package/dist/rule-B8kR0l01.d.ts +250 -0
  66. package/dist/rule-BMViCLmW.d.cts +250 -0
  67. package/dist/search/index.cjs +283 -0
  68. package/dist/search/index.cjs.map +1 -0
  69. package/dist/search/index.d.cts +44 -0
  70. package/dist/search/index.d.ts +44 -0
  71. package/dist/search/index.js +260 -0
  72. package/dist/search/index.js.map +1 -0
  73. package/dist/setup/index.cjs +6854 -0
  74. package/dist/setup/index.cjs.map +1 -0
  75. package/dist/setup/index.d.cts +87 -0
  76. package/dist/setup/index.d.ts +87 -0
  77. package/dist/setup/index.js +6829 -0
  78. package/dist/setup/index.js.map +1 -0
  79. package/dist/{subscription-D7KQBHXN.d.ts → subscription-5CLN3Jug.d.ts} +3 -249
  80. package/dist/{subscription-BD9DnJxX.d.cts → subscription-D-VEzvyy.d.cts} +3 -249
  81. package/dist/{table-kind-BZu8mtND.d.cts → table-kind-CVp43g6h.d.ts} +3 -558
  82. package/dist/{table-kind-xKxTHtrV.d.ts → table-kind-Cm6PXkWx.d.cts} +3 -558
  83. package/dist/templates/index.d.cts +10 -9
  84. package/dist/templates/index.d.ts +10 -9
  85. package/dist/typed-table/index.cjs +19 -7
  86. package/dist/typed-table/index.cjs.map +1 -1
  87. package/dist/typed-table/index.d.cts +10 -7
  88. package/dist/typed-table/index.d.ts +10 -7
  89. package/dist/typed-table/index.js +19 -7
  90. package/dist/typed-table/index.js.map +1 -1
  91. package/dist/{types-CLP5H4Wk.d.cts → types-9Q5SHRDJ.d.cts} +2 -2
  92. package/dist/{types-DmPkWQic.d.ts → types-CfYy-vdV.d.ts} +2 -2
  93. package/dist/{types-C2uspRtf.d.cts → types-Cs2MyE3u.d.cts} +2 -2
  94. package/dist/{types-Dv61jStB.d.ts → types-DF-dxB_l.d.ts} +2 -2
  95. package/dist/types-DTEGaxso.d.cts +139 -0
  96. package/dist/types-Dji5SpFS.d.ts +139 -0
  97. package/dist/use-cases/index.d.cts +5 -5
  98. package/dist/use-cases/index.d.ts +5 -5
  99. package/dist/{validate-CWVToe1T.d.ts → validate-BydKd-Le.d.ts} +1 -1
  100. package/dist/{validate-DEB_mn4Y.d.cts → validate-CqJakTKk.d.cts} +1 -1
  101. package/dist/versions/index.cjs +375 -0
  102. package/dist/versions/index.cjs.map +1 -0
  103. package/dist/versions/index.d.cts +160 -0
  104. package/dist/versions/index.d.ts +160 -0
  105. package/dist/versions/index.js +353 -0
  106. package/dist/versions/index.js.map +1 -0
  107. package/package.json +62 -2
@@ -1,15 +1,18 @@
1
- import { R as RecordsError, i as RecordsResult, P as PgError, y as StaleWriteDetail, h as RecordDocument, z as PredictedRefusal, t as ReadValue, U as Uuid } from '../record-DpB2QgAZ.cjs';
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, w 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, x 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, n as ReadRow, j as RecordChange, k as RecordChangeResult, l as RecordGraphWritten, q as RecordKeysetPage, p as RecordPage, o as RecordPageSort, m as RecordRead, s as RecordRevision, g as RecordsErrorCode, al as RelationBinding, e as RelationCardinality, d as RelationFlavor, am as RetiredActorWord, u as RuleNodeKind, v 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, r 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 isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows } from '../record-DpB2QgAZ.cjs';
3
- import { v as TableKindFacts } from '../table-kind-BZu8mtND.cjs';
4
- export { bQ as ARCHIVE_LANES, bR as ARCHIVE_LANE_LABEL, bS as ARCHIVE_LANE_MEANS, bT as ActionRefusal, bx as ActionRunResult, aV as AnonTokenBinding, A as ArchiveLane, ag as ArchivedChecklistTemplate, bU as ArchivedDoorRow, af as ArchivedForm, e as ArchivedRow, bV as AutomationAction, bz as AutomationDeclared, bW as AutomationFilter, bB as AutomationFlipped, bX as AutomationItem, bY as AutomationLastRun, bA as AutomationList, bZ as AutomationRun, b_ as AutomationRunStatus, bC as AutomationRuns, by as AutomationSpec, b$ as AutomationStep, c0 as AutomationTrigger, c1 as AutomationValue, c2 as AutomationValues, c3 as BUILT_KIND_WORD, c4 as CHOICE_NUDGES, c5 as CaptureField, av as CaptureFileRef, aw as CaptureOutcome, c6 as CaptureQuestion, au as CaptureSheetFace, at as CaptureSheetSummary, aX as ChecklistDeclared, c7 as ChecklistRequirement, c8 as ChecklistRequirementKind, c9 as ChecklistRoleSpec, a_ as ChecklistRunStarted, a$ as ChecklistRunStep, b0 as ChecklistRunSummary, aW as ChecklistSpec, b1 as ChecklistStepCompleted, ca as ChecklistStepSpec, aZ as ChecklistTemplateShape, aY as ChecklistTemplateSummary, cb as ChecklistTrigger, cc as ChecklistTriggerKind, k as ChoiceCellBack, cd as ChoiceLike, C as ChoiceNudge, ce as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aT as CommentThreadRead, aU as CommentWritten, aO as ConversationScope, aP as ConversationScopeContext, cf as CustomFieldTableType, cg as DEFAULT_ARCHIVE_LANE, ch as DEFAULT_PORTAL_ARCHIVE_FILTER, ci as DRILL_CHART_TOKENS, cj as DRILL_DESCRIPTION_MAX, ck as DRILL_DOORS, cl as DRILL_SCHEMA, bI as DataHomeTable, cm as DecorationColor, br as DecorationPath, cn as DecorationRule, co as DecorationRuleOp, cp as DecorationTarget, aK as DocRenderRow, cq as DocSignatureCheck, aL as DocSignatureRow, aJ as DocTemplateRow, aH as DocToken, aI as DocUnresolvedToken, cr as DrillAdHocOp, aF as DrillAnswer, cs as DrillAnswerRow, ct as DrillChartToken, cu as DrillDeclaration, aD as DrillDefinition, cv as DrillDimension, cw as DrillFinding, cx as DrillGrain, cy as DrillHaving, cz as DrillLane, cA as DrillLevel, cB as DrillMeasure, cC as DrillMeasureOp, cD as DrillMeasureWhereValue, cE as DrillPath, aE as DrillQuestion, cF as DrillRecords, aG as DrillRowsPage, aC as DrillSource, cG as DrillView, cH as EnrichAlternate, aA as EnrichCell, ay as EnrichDeclared, az as EnrichDueRow, aB as EnrichRun, cI as EnrichSource, cJ as Enrichment, ax as EnrichmentSummary, cK as EntityBackLinkItem, G as EntityBackLinks, B as EntityFieldRights, cL as EntityFieldValue, z as EntityFieldsAcross, cM as EntityRecordMatch, D as EntityRecordRead, I as EntityRecordsFound, cN as EntityRef, bP as EntityRefWithWords, cO as EntityReferenceKind, H as EntityRowWritten, E as EntityTableFacts, bm as ExternalPrincipalCard, F as FieldDrift, cP as FieldDriftAspect, aQ as FieldHistoryEntry, n as FieldRetyped, ae as FormArchiveAnswer, a0 as FormLookOptions, bu as FormulaParse, bv as FormulaPreview, bt as GridLayout, cQ as GridLayoutMode, cR as GridRowHeight, cS as HistoryActor, cT as HistoryActorKind, cU as HistoryChange, cV as Home, a5 as ImportBatchResult, cW as ImportColumnPlan, a4 as ImportColumnsDeclared, a6 as ImportFinished, a3 as ImportOpened, cX as ImportOutcome, a1 as ImportPlan, a2 as ImportPolicy, cY as ImportProposal, a7 as ImportReport, a8 as ImportRun, aa as InboundAddress, a9 as InboundDeclared, bb as InboxCounts, ba as InboxStateChange, bG as IoExportPage, M as MigrationUndone, bq as MyLevel, N as NewEntityFieldDeclaration, bN as OutsideShareAnswer, cZ as PERMISSION_LEVELS, c_ as PIPELINE_RULE_KINDS, c$ as PORTAL_ACCENTS, d0 as PORTAL_ARCHIVE_FILTERS, d1 as PermissionLevel, P as Pipeline, J as PipelineColumn, V as PipelineDeclared, _ as PipelineGate, $ as PipelineGatePreview, d2 as PipelineMissingField, Q as PipelineMoveMany, O as PipelineMoveManyItem, d3 as PipelineMoveManyResult, L as PipelineMoveResult, d4 as PipelineMoveVerdict, d5 as PipelineRule, d6 as PipelineRuleKind, U as PipelineSpec, d7 as PipelineStage, K as PipelineVerdict, d8 as PortalAccent, ad as PortalArchiveAnswer, ac as PortalArchiveFilter, am as PortalCard, d9 as PortalConfig, an as PortalConfigInput, da as PortalFooterLink, ap as PortalFormAnswer, db as PortalFormInput, dc as PortalFormRef, ao as PortalFormSpec, aq as PortalInvitation, as as PortalPreviewRow, dd as PortalPrincipal, ar as PortalRevocation, de as PortalStage, df as PortalStyle, dg as PortalStyleInput, ab as PortalSummary, dh as PortalTableExposure, al as PortalTableRef, di as PublicPicture, bn as PublishBinding, dj as PublishBindingKind, dk as REVERSE_LINKS_PAGE_MAX, dl as REVERSE_LINKS_RECORDS_PER_CALL, dm as ROW_WEB_NOT_READY, dn as RecordChangeAction, dp as RecordComment, bD as RecordEvent, bM as RecordHeader, aM as RecordHistoryEntry, ak as RecordRowControls, dq as RecordScopeComment, aN as RecordScopeContext, dr as RecordScopeField, ds as RecordScopeHistoryEntry, dt as RecordScopeRelation, du as RecordScopeWithheld, o as RecordsMerged, dv as RegisteredTable, dw as Relation, dx as RelationCarries, R as RelationCoordinate, q as RelationIcons, dy as RelationProperties, dz as RelationTarget, p as RelationWordsManyArgs, bo as ResolvedPublishBinding, bp as ResolvedPublishBindingKind, aR as RestorePreview, aS as RestoreResult, dA as RetypeBehaviour, dB as RetypePreview, r as ReverseColumn, dC as ReverseLink, t as ReverseLinks, u as ReverseLinksFieldsArgs, s as ReverseLinksManyArgs, bw as RowAction, dD as RowActionStep, aj as RowDefaultsApplied, dE as SHOWN_TO_LABEL, dF as SHOWN_TO_VALUES, dG as SHOWN_TO_WHO_MAY_CHANGE, dH as STAGE_RULE_ENFORCEMENT, dI as STAGE_RULE_ON_FAIL, dJ as ShownTo, S as SourceArchived, Y as StagePending, Z as StagePendingOnBoard, X as StageRuleEnforcement, W as StageRuleOnFail, dK as StageRuleWarning, dL as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bs as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dM as TableHomeDestination, dN as TableLevel, dO as TableLevelApproval, w as TableLevelFacts, y as TableLevelSet, bH as TableListEntry, h as TableMoved, dP as TablePlacement, dQ as TablePlacementFact, x as TableReaderRule, dR as TableRenderSchema, a as TableRestoreProgress, bL as TableRowCount, ah as TableRowDefaults, ai as TableRowDefaultsPatch, dS as TableSchemaMode, bK as TableSyncResult, dT as TableSyncSource, bJ as TableSyncSpec, bF as TableWebhook, bE as TableWebhookDeclared, dU as TypedChoiceDecision, dV as ViewLayout, bO as ViewOrderSet, bj as WorkApprovalDecision, bi as WorkApprovalFiled, dW as WorkApprovalState, bg as WorkApprover, be as WorkAssignment, b6 as WorkAssignmentField, bh as WorkChange, bl as WorkDecideMany, bk as WorkDecideManyItem, dX as WorkDecideManyResult, dY as WorkDecideVerdict, dZ as WorkDueState, b3 as WorkGraph, b9 as WorkInboxItem, d_ as WorkInboxKind, b8 as WorkInboxView, b4 as WorkInstantiation, bc as WorkListFlavour, bd as WorkListItem, d$ as WorkOrigin, bf as WorkRecordState, b7 as WorkSlotHold, b2 as WorkState, e0 as WorkTemplateNode, e1 as WorkTemplateRelation, b5 as WorkTurn, e2 as actionRefusals, e3 as archivedByLine, e4 as archivedWhen, e5 as asChoiceNudge, e6 as asPermissionLevel, e7 as atLeast, e8 as choiceSlug, e9 as choiceValuesOf, ea as choicesOf, eb as decideTypedChoice, ec as declareDrillDefinition, ed as drillAnswerOf, ee as drillFindingKnob, ef as emptyArchiveLine, eg as emptyPortalArchiveLine, eh as entityReferenceKinds, ei as entityReferenceSearch, ej as entityReferenceWords, ek as entityRefsOf, el as entityRefsToWrite, em as exportPageXlsx, en as fieldKindOf, eo as highestLevel, ep as holdsARetiredChoice, eq as isArchiveLane, er as isFoundation, es as isPortalAccent, et as isPortalArchiveFilter, eu as isReverseField, ev as isShownTo, ew as isTableKind, ex as isTheChosen, ey as keptGroups, ez as keptOutOfSight, eA as keptTableHref, eB as levelHasShownTo, eC as looksLikeAnId, eD as mayDrag, eE as moveConsequence, eF as moveInOrder, eG as offeredAsContext, eH as optionKey, eI as optionLabel, eJ as parseFieldDrift, eK as parseTableCopiesInProgress, eL as parseTableDuplicateProgress, eM as parseTableDuplicated, eN as parseTableHome, eO as parseTableMoved, eP as portalArchiveConsequence, eQ as portalConfirmLine, eR as portalPath, eS as portalTitleTypedBack, eT as previewRetype, eU as previewRuleChange, eV as recordChangeTrigger, eW as recordSourceKey, eX as recordSourceTable, eY as recordsUseSentence, eZ as rehomeSentence, e_ as removedChoicesInUse, e$ as ruleThatRefuses, f0 as rulesWithTopStar, f1 as sameDocument, f2 as scopeChip, f3 as sheetSyncSpec, f4 as sourceArchivedOf, f5 as tableIdOf, f6 as tableJsonSchema, f7 as tableKindMapping, f8 as tableKindSlug, f9 as tableRenderSchema, fa as valueConverts, fb as withRowCounts, fc as withTablePlacement } from '../table-kind-BZu8mtND.cjs';
5
- import { b as Field } from '../field-BanTVGK2.cjs';
6
- export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, p as CoercibleField, q as FIELD_KINDS, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, t as NEWER_FIELD_KINDS, u as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, v as NewerFieldKind, P as ParityFieldTypeDescriptor, w as PersonStamp, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from '../field-BanTVGK2.cjs';
1
+ import { a as RecordsError, R as RecordsResult, P as PgError, z as StaleWriteDetail, l as RecordDocument, B as PredictedRefusal, w as ReadValue, U as Uuid } from '../record-BQi92d4-.cjs';
2
+ export { E as ABSENCE_REASONS, G as ACTOR_VOCABULARY, I as AbsenceReason, A as Actor, J as COMPUTE_ON, K as CONTEXT_POLICIES, C as ComputeOn, j as ContextPolicy, L as DECLARABLE_FIELD_KINDS, M as DELIVERIES, D as DeclarableFieldKind, N as Delivery, Q as ENTITY_TOKENS, V as EntityToken, X as FIELD_SENSITIVITIES, Y as FIELD_SOURCES, Z as FRESHNESS, x as FieldBehavior, i as FieldSensitivity, F as FieldSource, _ as ForbiddenEnvelopeWord, $ as Freshness, H as HiddenFieldNotice, a0 as KERNEL_TABLES, a1 as KernelTableName, a2 as KeysetRow, a3 as MERGE_FIELD_MODIFIERS, a4 as MERGE_FIELD_SEMANTIC_TYPES, a5 as MERGE_FIELD_SOURCES, a6 as MergeFieldModifier, a7 as MergeFieldSemanticType, a8 as MergeFieldSource, a9 as ON_DELETE, aa as OVERRIDE_POLICIES, O as OnDelete, ab as OverridePolicy, ac as PARITY_FIELD_TYPES, ad as PER_VALUE_ACCESS_WORDS, y as ParityFieldType, ae as PerValueAccessWord, af as ProvenancePointer, ag as RELATION_BINDINGS, ah as RELATION_CARDINALITIES, ai as RELATION_FLAVORS, aj as RETIRED_ACTOR_WORDS, ak as RULE_NODE_KINDS, al as RULE_USES, q as ReadRow, m as RecordChange, n as RecordChangeResult, o as RecordGraphWritten, t as RecordKeysetPage, s as RecordPage, r as RecordPageSort, p as RecordRead, v as RecordRevision, k as RecordsErrorCode, c as RelationBinding, d as RelationCardinality, b as RelationFlavor, am as RetiredActorWord, e as RuleNodeKind, f 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, u as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, h as TableDisplay, aw as TableOrigin, g as TableType, T 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 isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows } from '../record-BQi92d4-.cjs';
3
+ import { o as TableKindFacts } from '../table-kind-Cm6PXkWx.cjs';
4
+ export { bv as ARCHIVE_LANES, bw as ARCHIVE_LANE_LABEL, bx as ARCHIVE_LANE_MEANS, by as ActionRefusal, bd as ActionRunResult, aB as AnonTokenBinding, A as ArchiveLane, a4 as ArchivedChecklistTemplate, bz as ArchivedDoorRow, a3 as ArchivedForm, e as ArchivedRow, bA as AutomationAction, bf as AutomationDeclared, bB as AutomationFilter, bh as AutomationFlipped, bC as AutomationItem, bD as AutomationLastRun, bg as AutomationList, bE as AutomationRun, bF as AutomationRunStatus, bi as AutomationRuns, be as AutomationSpec, bG as AutomationStep, bH as AutomationTrigger, bI as AutomationValue, bJ as AutomationValues, bK as BUILT_KIND_WORD, bL as CHOICE_NUDGES, bM as CaptureField, ab as CaptureFileRef, ac as CaptureOutcome, bN as CaptureQuestion, aa as CaptureSheetFace, a9 as CaptureSheetSummary, aD as ChecklistDeclared, bO as ChecklistRequirement, bP as ChecklistRequirementKind, bQ as ChecklistRoleSpec, aG as ChecklistRunStarted, aH as ChecklistRunStep, aI as ChecklistRunSummary, aC as ChecklistSpec, aJ as ChecklistStepCompleted, bR as ChecklistStepSpec, aF as ChecklistTemplateShape, aE as ChecklistTemplateSummary, bS as ChecklistTrigger, bT as ChecklistTriggerKind, k as ChoiceCellBack, bU as ChoiceLike, C as ChoiceNudge, bV as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, az as CommentThreadRead, aA as CommentWritten, au as ConversationScope, av as ConversationScopeContext, bW as CustomFieldTableType, bX as DEFAULT_ARCHIVE_LANE, bY as DRILL_CHART_TOKENS, bZ as DRILL_DESCRIPTION_MAX, b_ as DRILL_DOORS, b$ as DRILL_SCHEMA, bo as DataHomeTable, c0 as DecorationColor, b7 as DecorationPath, c1 as DecorationRule, c2 as DecorationRuleOp, c3 as DecorationTarget, aq as DocRenderRow, c4 as DocSignatureCheck, ar as DocSignatureRow, ap as DocTemplateRow, an as DocToken, ao as DocUnresolvedToken, c5 as DrillAdHocOp, al as DrillAnswer, c6 as DrillAnswerRow, c7 as DrillChartToken, c8 as DrillDeclaration, aj as DrillDefinition, c9 as DrillDimension, ca as DrillFinding, cb as DrillGrain, cc as DrillHaving, cd as DrillLane, ce as DrillLevel, cf as DrillMeasure, cg as DrillMeasureOp, ch as DrillMeasureWhereValue, ci as DrillPath, ak as DrillQuestion, cj as DrillRecords, am as DrillRowsPage, ai as DrillSource, ck as DrillView, cl as EnrichAlternate, ag as EnrichCell, ae as EnrichDeclared, af as EnrichDueRow, ah as EnrichRun, cm as EnrichSource, cn as Enrichment, ad as EnrichmentSummary, co as EntityBackLinkItem, v as EntityBackLinks, t as EntityFieldRights, cp as EntityFieldValue, s as EntityFieldsAcross, cq as EntityRecordMatch, u as EntityRecordRead, x as EntityRecordsFound, w as EntityRowWritten, E as EntityTableFacts, b2 as ExternalPrincipalCard, F as FieldDrift, cr as FieldDriftAspect, aw as FieldHistoryEntry, n as FieldRetyped, a2 as FormArchiveAnswer, ba as FormulaParse, bb as FormulaPreview, b9 as GridLayout, cs as GridLayoutMode, ct as GridRowHeight, cu as HistoryActor, cv as HistoryActorKind, cw as HistoryChange, cx as Home, Y as ImportBatchResult, cy as ImportColumnPlan, X as ImportColumnsDeclared, Z as ImportFinished, W as ImportOpened, cz as ImportOutcome, U as ImportPlan, V as ImportPolicy, cA as ImportProposal, _ as ImportReport, $ as ImportRun, a1 as InboundAddress, a0 as InboundDeclared, aT as InboxCounts, aS as InboxStateChange, bm as IoExportPage, M as MigrationUndone, b6 as MyLevel, N as NewEntityFieldDeclaration, bt as OutsideShareAnswer, cB as PERMISSION_LEVELS, cC as PIPELINE_RULE_KINDS, cD as PermissionLevel, P as Pipeline, y as PipelineColumn, I as PipelineDeclared, O as PipelineGate, Q as PipelineGatePreview, cE as PipelineMissingField, G as PipelineMoveMany, D as PipelineMoveManyItem, cF as PipelineMoveManyResult, B as PipelineMoveResult, cG as PipelineMoveVerdict, cH as PipelineRule, cI as PipelineRuleKind, H as PipelineSpec, cJ as PipelineStage, z as PipelineVerdict, b3 as PublishBinding, cK as PublishBindingKind, cL as ROW_WEB_NOT_READY, cM as RecordChangeAction, cN as RecordComment, bj as RecordEvent, bs as RecordHeader, as as RecordHistoryEntry, a8 as RecordRowControls, cO as RecordScopeComment, at as RecordScopeContext, cP as RecordScopeField, cQ as RecordScopeHistoryEntry, cR as RecordScopeRelation, cS as RecordScopeWithheld, R as RecordsMerged, cT as RegisteredTable, b4 as ResolvedPublishBinding, b5 as ResolvedPublishBindingKind, ax as RestorePreview, ay as RestoreResult, cU as RetypeBehaviour, cV as RetypePreview, bc as RowAction, cW as RowActionStep, a7 as RowDefaultsApplied, cX as SHOWN_TO_LABEL, cY as SHOWN_TO_VALUES, cZ as SHOWN_TO_WHO_MAY_CHANGE, c_ as STAGE_RULE_ENFORCEMENT, c$ as STAGE_RULE_ON_FAIL, d0 as ShownTo, K as StagePending, L as StagePendingOnBoard, J as StageRuleEnforcement, S as StageRuleOnFail, d1 as StageRuleWarning, d2 as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, b8 as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, d3 as TableHomeDestination, d4 as TableLevel, d5 as TableLevelApproval, p as TableLevelFacts, r as TableLevelSet, bn as TableListEntry, h as TableMoved, d6 as TablePlacement, d7 as TablePlacementFact, q as TableReaderRule, d8 as TableRenderSchema, a as TableRestoreProgress, br as TableRowCount, a5 as TableRowDefaults, a6 as TableRowDefaultsPatch, d9 as TableSchemaMode, bq as TableSyncResult, da as TableSyncSource, bp as TableSyncSpec, bl as TableWebhook, bk as TableWebhookDeclared, db as TypedChoiceDecision, dc as ViewLayout, bu as ViewOrderSet, a$ as WorkApprovalDecision, a_ as WorkApprovalFiled, dd as WorkApprovalState, aY as WorkApprover, aW as WorkAssignment, aO as WorkAssignmentField, aZ as WorkChange, b1 as WorkDecideMany, b0 as WorkDecideManyItem, de as WorkDecideManyResult, df as WorkDecideVerdict, dg as WorkDueState, aL as WorkGraph, aR as WorkInboxItem, dh as WorkInboxKind, aQ as WorkInboxView, aM as WorkInstantiation, aU as WorkListFlavour, aV as WorkListItem, di as WorkOrigin, aX as WorkRecordState, aP as WorkSlotHold, aK as WorkState, dj as WorkTemplateNode, dk as WorkTemplateRelation, aN as WorkTurn, dl as actionRefusals, dm as archivedByLine, dn as archivedWhen, dp as asChoiceNudge, dq as asPermissionLevel, dr as atLeast, ds as choiceSlug, dt as choiceValuesOf, du as choicesOf, dv as decideTypedChoice, dw as declareDrillDefinition, dx as drillAnswerOf, dy as drillFindingKnob, dz as emptyArchiveLine, dA as exportPageXlsx, dB as fieldKindOf, dC as highestLevel, dD as holdsARetiredChoice, dE as isArchiveLane, dF as isFoundation, dG as isShownTo, dH as isTableKind, dI as isTheChosen, dJ as keptGroups, dK as keptOutOfSight, dL as keptTableHref, dM as levelHasShownTo, dN as looksLikeAnId, dO as mayDrag, dP as moveConsequence, dQ as moveInOrder, dR as offeredAsContext, dS as optionKey, dT as optionLabel, dU as parseFieldDrift, dV as parseTableCopiesInProgress, dW as parseTableDuplicateProgress, dX as parseTableDuplicated, dY as parseTableHome, dZ as parseTableMoved, d_ as previewRetype, d$ as previewRuleChange, e0 as recordChangeTrigger, e1 as recordSourceKey, e2 as recordSourceTable, e3 as recordsUseSentence, e4 as rehomeSentence, e5 as removedChoicesInUse, e6 as ruleThatRefuses, e7 as rulesWithTopStar, e8 as sameDocument, e9 as scopeChip, ea as sheetSyncSpec, eb as tableIdOf, ec as tableJsonSchema, ed as tableKindMapping, ee as tableKindSlug, ef as tableRenderSchema, eg as valueConverts, eh as withRowCounts, ei as withTablePlacement } from '../table-kind-Cm6PXkWx.cjs';
5
+ import { b as Field } from '../field-BJBnTyJ0.cjs';
6
+ export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, p as CoercibleField, q as FIELD_KINDS, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, t as NEWER_FIELD_KINDS, u as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, v as NewerFieldKind, P as ParityFieldTypeDescriptor, w as PersonStamp, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from '../field-BJBnTyJ0.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, autonumberJoin, autonumberPrefixOf, autonumberSearchOf, autonumberWords, filterWithAutonumber, forgetAllOps, indexedDbStore, isAutonumberField, isDecided, isOwnOp, localeDateOrder, memoryStore, mintClientKey, mintOpId, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, rememberedOpCount, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.cjs';
8
- export { c as AggregateBucket, k as AggregateCompare, v as AggregateCompareKind, w as AggregateCompareWindows, x as AggregateDelta, a as AggregateFilter, y as AggregateGroupValue, b as AggregateMeasure, A as AggregateOperation, n as AggregateRow, z as AggregateWindow, e as BookingAvailability, f as BookingDeclared, B as BookingSummary, C as BookingWindow, j as DashboardBlock, D as DashboardBlockKind, E as DashboardBlockResult, l as DashboardRunResult, i as DashboardSummary, G as DashboardTarget, H as DashboardTargetBase, I as DashboardTargetOp, J as DashboardTargetResult, K as DashboardTotals, q as DigestPreview, h as FormResults, g as FormRoute, F as FormSummary, M as MySubscription, Q as QuietHours, R as RecordFilter, t as RowTemplateRow, L as Rule, N as RuleAnswer, u as RuleExpression, O as SavedViewColorBy, P as SavedViewDefinition, T as SavedViewLayout, r as SavedViewRow, s as SavedViewSpecIn, d as StoreFilter, m as StuckRow, o as Subscription, U as SubscriptionBlock, S as SubscriptionCadence, p 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-BD9DnJxX.cjs';
9
- import { b as RecordsDataSource } from '../ports-D8-iuY1P.cjs';
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-D8-iuY1P.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-C3ZZNfGH.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-BK3zufr7.cjs';
8
+ export { a as BookingAvailability, b as BookingDeclared, B as BookingSummary, e as BookingWindow, d as FormResults, c as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from '../rule-BMViCLmW.cjs';
9
+ export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, l as PORTAL_ACCENTS, m as PORTAL_ARCHIVE_FILTERS, k as PortalAccent, b as PortalArchiveAnswer, a as PortalArchiveFilter, d as PortalCard, n as PortalConfig, e as PortalConfigInput, o as PortalFooterLink, g as PortalFormAnswer, p as PortalFormInput, q as PortalFormRef, f as PortalFormSpec, h as PortalInvitation, j as PortalPreviewRow, r as PortalPrincipal, i as PortalRevocation, s as PortalStage, t as PortalStyle, u as PortalStyleInput, P as PortalSummary, v as PortalTableExposure, c as PortalTableRef, w as PublicPicture, x as emptyPortalArchiveLine, y as isPortalAccent, z as isPortalArchiveFilter, A as portalArchiveConsequence, B as portalConfirmLine, C as portalPath, E as portalTitleTypedBack } from '../portal-DfeY2Boy.cjs';
10
+ export { c as AggregateBucket, g as AggregateCompare, q as AggregateCompareKind, r as AggregateCompareWindows, s as AggregateDelta, a as AggregateFilter, t as AggregateGroupValue, b as AggregateMeasure, A as AggregateOperation, j as AggregateRow, u as AggregateWindow, f as DashboardBlock, D as DashboardBlockKind, v as DashboardBlockResult, h as DashboardRunResult, e as DashboardSummary, w as DashboardTarget, x as DashboardTargetBase, y as DashboardTargetOp, z as DashboardTargetResult, B as DashboardTotals, m as DigestPreview, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, C as SavedViewColorBy, E as SavedViewDefinition, F as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, d as StoreFilter, i as StuckRow, k as Subscription, G as SubscriptionBlock, S as SubscriptionCadence, l as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from '../subscription-D-VEzvyy.cjs';
11
+ export { g as EntityRef, E as EntityRefWithWords, h as EntityReferenceKind, i as REVERSE_LINKS_PAGE_MAX, j as REVERSE_LINKS_RECORDS_PER_CALL, k as Relation, l as RelationCarries, R as RelationCoordinate, b as RelationIcons, m as RelationProperties, n as RelationTarget, a as RelationWordsManyArgs, c as ReverseColumn, o as ReverseLink, e as ReverseLinks, f as ReverseLinksFieldsArgs, d as ReverseLinksManyArgs, S as SourceArchived, p as entityReferenceKinds, q as entityReferenceSearch, r as entityReferenceWords, s as entityRefsOf, t as entityRefsToWrite, u as isReverseField, v as sourceArchivedOf } from '../relation-DMwkmzgN.cjs';
12
+ import { c as RecordsDataSource } from '../ports-DSU2RsR6.cjs';
13
+ export { e as RecordsActor, d as RecordsChangeSink, a as RecordsConfig, b as RecordsErrorSink, f as RecordsFilter, R as RecordsRealtimePort, g as RecordsResolverPort, h as RecordsResponse, i as RecordsTableQuery } from '../ports-DSU2RsR6.cjs';
14
+ 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-DE9Mq6YX.cjs';
15
+ 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-Btg5bql1.cjs';
13
16
 
14
17
  declare function doorExists(name: string): boolean;
15
18
  /**
@@ -577,6 +580,14 @@ declare const MAPPED_SQLSTATES: string[];
577
580
  declare function mapPgError(error: PgError, where: string): RecordsError;
578
581
  /** Pull the conflict out of a `stale_write`, when the store sent one. */
579
582
  declare function staleWriteDetail(error: RecordsError): StaleWriteDetail | null;
583
+ /**
584
+ * HONEST-REFUSALS 1 — a member of an ARCHIVED organization is refused with the store's own sentence
585
+ * ("This organization is archived, …") and DETAIL `organization_archived:<organization id>`. The sentence
586
+ * and the restore hint ride `message` and `hint` verbatim like every refusal; this reads the organization out
587
+ * so a screen can offer "Restore" (the owner's `iam.organization_restore` door) instead of a dead end.
588
+ * Null for every other refusal, including the non-member's "You are not a member of that organization".
589
+ */
590
+ declare function archivedOrganizationId(error: RecordsError): string | null;
580
591
 
581
592
  /** The published defaults, which are also what the store falls back to when it cannot read a knob. */
582
593
  declare const DEFAULT_VALUE_MAX_BYTES = 100000;
@@ -737,4 +748,4 @@ declare function seededDataSource(index: Map<string, unknown>): {
737
748
  missed: () => boolean;
738
749
  };
739
750
 
740
- 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 };
751
+ 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, archivedOrganizationId, 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,18 @@
1
- import { R as RecordsError, i as RecordsResult, P as PgError, y as StaleWriteDetail, h as RecordDocument, z as PredictedRefusal, t as ReadValue, U as Uuid } from '../record-DpB2QgAZ.js';
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, w 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, x 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, n as ReadRow, j as RecordChange, k as RecordChangeResult, l as RecordGraphWritten, q as RecordKeysetPage, p as RecordPage, o as RecordPageSort, m as RecordRead, s as RecordRevision, g as RecordsErrorCode, al as RelationBinding, e as RelationCardinality, d as RelationFlavor, am as RetiredActorWord, u as RuleNodeKind, v 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, r 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 isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows } from '../record-DpB2QgAZ.js';
3
- import { v as TableKindFacts } from '../table-kind-xKxTHtrV.js';
4
- export { bQ as ARCHIVE_LANES, bR as ARCHIVE_LANE_LABEL, bS as ARCHIVE_LANE_MEANS, bT as ActionRefusal, bx as ActionRunResult, aV as AnonTokenBinding, A as ArchiveLane, ag as ArchivedChecklistTemplate, bU as ArchivedDoorRow, af as ArchivedForm, e as ArchivedRow, bV as AutomationAction, bz as AutomationDeclared, bW as AutomationFilter, bB as AutomationFlipped, bX as AutomationItem, bY as AutomationLastRun, bA as AutomationList, bZ as AutomationRun, b_ as AutomationRunStatus, bC as AutomationRuns, by as AutomationSpec, b$ as AutomationStep, c0 as AutomationTrigger, c1 as AutomationValue, c2 as AutomationValues, c3 as BUILT_KIND_WORD, c4 as CHOICE_NUDGES, c5 as CaptureField, av as CaptureFileRef, aw as CaptureOutcome, c6 as CaptureQuestion, au as CaptureSheetFace, at as CaptureSheetSummary, aX as ChecklistDeclared, c7 as ChecklistRequirement, c8 as ChecklistRequirementKind, c9 as ChecklistRoleSpec, a_ as ChecklistRunStarted, a$ as ChecklistRunStep, b0 as ChecklistRunSummary, aW as ChecklistSpec, b1 as ChecklistStepCompleted, ca as ChecklistStepSpec, aZ as ChecklistTemplateShape, aY as ChecklistTemplateSummary, cb as ChecklistTrigger, cc as ChecklistTriggerKind, k as ChoiceCellBack, cd as ChoiceLike, C as ChoiceNudge, ce as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aT as CommentThreadRead, aU as CommentWritten, aO as ConversationScope, aP as ConversationScopeContext, cf as CustomFieldTableType, cg as DEFAULT_ARCHIVE_LANE, ch as DEFAULT_PORTAL_ARCHIVE_FILTER, ci as DRILL_CHART_TOKENS, cj as DRILL_DESCRIPTION_MAX, ck as DRILL_DOORS, cl as DRILL_SCHEMA, bI as DataHomeTable, cm as DecorationColor, br as DecorationPath, cn as DecorationRule, co as DecorationRuleOp, cp as DecorationTarget, aK as DocRenderRow, cq as DocSignatureCheck, aL as DocSignatureRow, aJ as DocTemplateRow, aH as DocToken, aI as DocUnresolvedToken, cr as DrillAdHocOp, aF as DrillAnswer, cs as DrillAnswerRow, ct as DrillChartToken, cu as DrillDeclaration, aD as DrillDefinition, cv as DrillDimension, cw as DrillFinding, cx as DrillGrain, cy as DrillHaving, cz as DrillLane, cA as DrillLevel, cB as DrillMeasure, cC as DrillMeasureOp, cD as DrillMeasureWhereValue, cE as DrillPath, aE as DrillQuestion, cF as DrillRecords, aG as DrillRowsPage, aC as DrillSource, cG as DrillView, cH as EnrichAlternate, aA as EnrichCell, ay as EnrichDeclared, az as EnrichDueRow, aB as EnrichRun, cI as EnrichSource, cJ as Enrichment, ax as EnrichmentSummary, cK as EntityBackLinkItem, G as EntityBackLinks, B as EntityFieldRights, cL as EntityFieldValue, z as EntityFieldsAcross, cM as EntityRecordMatch, D as EntityRecordRead, I as EntityRecordsFound, cN as EntityRef, bP as EntityRefWithWords, cO as EntityReferenceKind, H as EntityRowWritten, E as EntityTableFacts, bm as ExternalPrincipalCard, F as FieldDrift, cP as FieldDriftAspect, aQ as FieldHistoryEntry, n as FieldRetyped, ae as FormArchiveAnswer, a0 as FormLookOptions, bu as FormulaParse, bv as FormulaPreview, bt as GridLayout, cQ as GridLayoutMode, cR as GridRowHeight, cS as HistoryActor, cT as HistoryActorKind, cU as HistoryChange, cV as Home, a5 as ImportBatchResult, cW as ImportColumnPlan, a4 as ImportColumnsDeclared, a6 as ImportFinished, a3 as ImportOpened, cX as ImportOutcome, a1 as ImportPlan, a2 as ImportPolicy, cY as ImportProposal, a7 as ImportReport, a8 as ImportRun, aa as InboundAddress, a9 as InboundDeclared, bb as InboxCounts, ba as InboxStateChange, bG as IoExportPage, M as MigrationUndone, bq as MyLevel, N as NewEntityFieldDeclaration, bN as OutsideShareAnswer, cZ as PERMISSION_LEVELS, c_ as PIPELINE_RULE_KINDS, c$ as PORTAL_ACCENTS, d0 as PORTAL_ARCHIVE_FILTERS, d1 as PermissionLevel, P as Pipeline, J as PipelineColumn, V as PipelineDeclared, _ as PipelineGate, $ as PipelineGatePreview, d2 as PipelineMissingField, Q as PipelineMoveMany, O as PipelineMoveManyItem, d3 as PipelineMoveManyResult, L as PipelineMoveResult, d4 as PipelineMoveVerdict, d5 as PipelineRule, d6 as PipelineRuleKind, U as PipelineSpec, d7 as PipelineStage, K as PipelineVerdict, d8 as PortalAccent, ad as PortalArchiveAnswer, ac as PortalArchiveFilter, am as PortalCard, d9 as PortalConfig, an as PortalConfigInput, da as PortalFooterLink, ap as PortalFormAnswer, db as PortalFormInput, dc as PortalFormRef, ao as PortalFormSpec, aq as PortalInvitation, as as PortalPreviewRow, dd as PortalPrincipal, ar as PortalRevocation, de as PortalStage, df as PortalStyle, dg as PortalStyleInput, ab as PortalSummary, dh as PortalTableExposure, al as PortalTableRef, di as PublicPicture, bn as PublishBinding, dj as PublishBindingKind, dk as REVERSE_LINKS_PAGE_MAX, dl as REVERSE_LINKS_RECORDS_PER_CALL, dm as ROW_WEB_NOT_READY, dn as RecordChangeAction, dp as RecordComment, bD as RecordEvent, bM as RecordHeader, aM as RecordHistoryEntry, ak as RecordRowControls, dq as RecordScopeComment, aN as RecordScopeContext, dr as RecordScopeField, ds as RecordScopeHistoryEntry, dt as RecordScopeRelation, du as RecordScopeWithheld, o as RecordsMerged, dv as RegisteredTable, dw as Relation, dx as RelationCarries, R as RelationCoordinate, q as RelationIcons, dy as RelationProperties, dz as RelationTarget, p as RelationWordsManyArgs, bo as ResolvedPublishBinding, bp as ResolvedPublishBindingKind, aR as RestorePreview, aS as RestoreResult, dA as RetypeBehaviour, dB as RetypePreview, r as ReverseColumn, dC as ReverseLink, t as ReverseLinks, u as ReverseLinksFieldsArgs, s as ReverseLinksManyArgs, bw as RowAction, dD as RowActionStep, aj as RowDefaultsApplied, dE as SHOWN_TO_LABEL, dF as SHOWN_TO_VALUES, dG as SHOWN_TO_WHO_MAY_CHANGE, dH as STAGE_RULE_ENFORCEMENT, dI as STAGE_RULE_ON_FAIL, dJ as ShownTo, S as SourceArchived, Y as StagePending, Z as StagePendingOnBoard, X as StageRuleEnforcement, W as StageRuleOnFail, dK as StageRuleWarning, dL as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bs as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dM as TableHomeDestination, dN as TableLevel, dO as TableLevelApproval, w as TableLevelFacts, y as TableLevelSet, bH as TableListEntry, h as TableMoved, dP as TablePlacement, dQ as TablePlacementFact, x as TableReaderRule, dR as TableRenderSchema, a as TableRestoreProgress, bL as TableRowCount, ah as TableRowDefaults, ai as TableRowDefaultsPatch, dS as TableSchemaMode, bK as TableSyncResult, dT as TableSyncSource, bJ as TableSyncSpec, bF as TableWebhook, bE as TableWebhookDeclared, dU as TypedChoiceDecision, dV as ViewLayout, bO as ViewOrderSet, bj as WorkApprovalDecision, bi as WorkApprovalFiled, dW as WorkApprovalState, bg as WorkApprover, be as WorkAssignment, b6 as WorkAssignmentField, bh as WorkChange, bl as WorkDecideMany, bk as WorkDecideManyItem, dX as WorkDecideManyResult, dY as WorkDecideVerdict, dZ as WorkDueState, b3 as WorkGraph, b9 as WorkInboxItem, d_ as WorkInboxKind, b8 as WorkInboxView, b4 as WorkInstantiation, bc as WorkListFlavour, bd as WorkListItem, d$ as WorkOrigin, bf as WorkRecordState, b7 as WorkSlotHold, b2 as WorkState, e0 as WorkTemplateNode, e1 as WorkTemplateRelation, b5 as WorkTurn, e2 as actionRefusals, e3 as archivedByLine, e4 as archivedWhen, e5 as asChoiceNudge, e6 as asPermissionLevel, e7 as atLeast, e8 as choiceSlug, e9 as choiceValuesOf, ea as choicesOf, eb as decideTypedChoice, ec as declareDrillDefinition, ed as drillAnswerOf, ee as drillFindingKnob, ef as emptyArchiveLine, eg as emptyPortalArchiveLine, eh as entityReferenceKinds, ei as entityReferenceSearch, ej as entityReferenceWords, ek as entityRefsOf, el as entityRefsToWrite, em as exportPageXlsx, en as fieldKindOf, eo as highestLevel, ep as holdsARetiredChoice, eq as isArchiveLane, er as isFoundation, es as isPortalAccent, et as isPortalArchiveFilter, eu as isReverseField, ev as isShownTo, ew as isTableKind, ex as isTheChosen, ey as keptGroups, ez as keptOutOfSight, eA as keptTableHref, eB as levelHasShownTo, eC as looksLikeAnId, eD as mayDrag, eE as moveConsequence, eF as moveInOrder, eG as offeredAsContext, eH as optionKey, eI as optionLabel, eJ as parseFieldDrift, eK as parseTableCopiesInProgress, eL as parseTableDuplicateProgress, eM as parseTableDuplicated, eN as parseTableHome, eO as parseTableMoved, eP as portalArchiveConsequence, eQ as portalConfirmLine, eR as portalPath, eS as portalTitleTypedBack, eT as previewRetype, eU as previewRuleChange, eV as recordChangeTrigger, eW as recordSourceKey, eX as recordSourceTable, eY as recordsUseSentence, eZ as rehomeSentence, e_ as removedChoicesInUse, e$ as ruleThatRefuses, f0 as rulesWithTopStar, f1 as sameDocument, f2 as scopeChip, f3 as sheetSyncSpec, f4 as sourceArchivedOf, f5 as tableIdOf, f6 as tableJsonSchema, f7 as tableKindMapping, f8 as tableKindSlug, f9 as tableRenderSchema, fa as valueConverts, fb as withRowCounts, fc as withTablePlacement } from '../table-kind-xKxTHtrV.js';
5
- import { b as Field } from '../field-BPABOJ2Y.js';
6
- export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, p as CoercibleField, q as FIELD_KINDS, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, t as NEWER_FIELD_KINDS, u as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, v as NewerFieldKind, P as ParityFieldTypeDescriptor, w as PersonStamp, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from '../field-BPABOJ2Y.js';
1
+ import { a as RecordsError, R as RecordsResult, P as PgError, z as StaleWriteDetail, l as RecordDocument, B as PredictedRefusal, w as ReadValue, U as Uuid } from '../record-BQi92d4-.js';
2
+ export { E as ABSENCE_REASONS, G as ACTOR_VOCABULARY, I as AbsenceReason, A as Actor, J as COMPUTE_ON, K as CONTEXT_POLICIES, C as ComputeOn, j as ContextPolicy, L as DECLARABLE_FIELD_KINDS, M as DELIVERIES, D as DeclarableFieldKind, N as Delivery, Q as ENTITY_TOKENS, V as EntityToken, X as FIELD_SENSITIVITIES, Y as FIELD_SOURCES, Z as FRESHNESS, x as FieldBehavior, i as FieldSensitivity, F as FieldSource, _ as ForbiddenEnvelopeWord, $ as Freshness, H as HiddenFieldNotice, a0 as KERNEL_TABLES, a1 as KernelTableName, a2 as KeysetRow, a3 as MERGE_FIELD_MODIFIERS, a4 as MERGE_FIELD_SEMANTIC_TYPES, a5 as MERGE_FIELD_SOURCES, a6 as MergeFieldModifier, a7 as MergeFieldSemanticType, a8 as MergeFieldSource, a9 as ON_DELETE, aa as OVERRIDE_POLICIES, O as OnDelete, ab as OverridePolicy, ac as PARITY_FIELD_TYPES, ad as PER_VALUE_ACCESS_WORDS, y as ParityFieldType, ae as PerValueAccessWord, af as ProvenancePointer, ag as RELATION_BINDINGS, ah as RELATION_CARDINALITIES, ai as RELATION_FLAVORS, aj as RETIRED_ACTOR_WORDS, ak as RULE_NODE_KINDS, al as RULE_USES, q as ReadRow, m as RecordChange, n as RecordChangeResult, o as RecordGraphWritten, t as RecordKeysetPage, s as RecordPage, r as RecordPageSort, p as RecordRead, v as RecordRevision, k as RecordsErrorCode, c as RelationBinding, d as RelationCardinality, b as RelationFlavor, am as RetiredActorWord, e as RuleNodeKind, f 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, u as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, h as TableDisplay, aw as TableOrigin, g as TableType, T 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 isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows } from '../record-BQi92d4-.js';
3
+ import { o as TableKindFacts } from '../table-kind-CVp43g6h.js';
4
+ export { bv as ARCHIVE_LANES, bw as ARCHIVE_LANE_LABEL, bx as ARCHIVE_LANE_MEANS, by as ActionRefusal, bd as ActionRunResult, aB as AnonTokenBinding, A as ArchiveLane, a4 as ArchivedChecklistTemplate, bz as ArchivedDoorRow, a3 as ArchivedForm, e as ArchivedRow, bA as AutomationAction, bf as AutomationDeclared, bB as AutomationFilter, bh as AutomationFlipped, bC as AutomationItem, bD as AutomationLastRun, bg as AutomationList, bE as AutomationRun, bF as AutomationRunStatus, bi as AutomationRuns, be as AutomationSpec, bG as AutomationStep, bH as AutomationTrigger, bI as AutomationValue, bJ as AutomationValues, bK as BUILT_KIND_WORD, bL as CHOICE_NUDGES, bM as CaptureField, ab as CaptureFileRef, ac as CaptureOutcome, bN as CaptureQuestion, aa as CaptureSheetFace, a9 as CaptureSheetSummary, aD as ChecklistDeclared, bO as ChecklistRequirement, bP as ChecklistRequirementKind, bQ as ChecklistRoleSpec, aG as ChecklistRunStarted, aH as ChecklistRunStep, aI as ChecklistRunSummary, aC as ChecklistSpec, aJ as ChecklistStepCompleted, bR as ChecklistStepSpec, aF as ChecklistTemplateShape, aE as ChecklistTemplateSummary, bS as ChecklistTrigger, bT as ChecklistTriggerKind, k as ChoiceCellBack, bU as ChoiceLike, C as ChoiceNudge, bV as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, az as CommentThreadRead, aA as CommentWritten, au as ConversationScope, av as ConversationScopeContext, bW as CustomFieldTableType, bX as DEFAULT_ARCHIVE_LANE, bY as DRILL_CHART_TOKENS, bZ as DRILL_DESCRIPTION_MAX, b_ as DRILL_DOORS, b$ as DRILL_SCHEMA, bo as DataHomeTable, c0 as DecorationColor, b7 as DecorationPath, c1 as DecorationRule, c2 as DecorationRuleOp, c3 as DecorationTarget, aq as DocRenderRow, c4 as DocSignatureCheck, ar as DocSignatureRow, ap as DocTemplateRow, an as DocToken, ao as DocUnresolvedToken, c5 as DrillAdHocOp, al as DrillAnswer, c6 as DrillAnswerRow, c7 as DrillChartToken, c8 as DrillDeclaration, aj as DrillDefinition, c9 as DrillDimension, ca as DrillFinding, cb as DrillGrain, cc as DrillHaving, cd as DrillLane, ce as DrillLevel, cf as DrillMeasure, cg as DrillMeasureOp, ch as DrillMeasureWhereValue, ci as DrillPath, ak as DrillQuestion, cj as DrillRecords, am as DrillRowsPage, ai as DrillSource, ck as DrillView, cl as EnrichAlternate, ag as EnrichCell, ae as EnrichDeclared, af as EnrichDueRow, ah as EnrichRun, cm as EnrichSource, cn as Enrichment, ad as EnrichmentSummary, co as EntityBackLinkItem, v as EntityBackLinks, t as EntityFieldRights, cp as EntityFieldValue, s as EntityFieldsAcross, cq as EntityRecordMatch, u as EntityRecordRead, x as EntityRecordsFound, w as EntityRowWritten, E as EntityTableFacts, b2 as ExternalPrincipalCard, F as FieldDrift, cr as FieldDriftAspect, aw as FieldHistoryEntry, n as FieldRetyped, a2 as FormArchiveAnswer, ba as FormulaParse, bb as FormulaPreview, b9 as GridLayout, cs as GridLayoutMode, ct as GridRowHeight, cu as HistoryActor, cv as HistoryActorKind, cw as HistoryChange, cx as Home, Y as ImportBatchResult, cy as ImportColumnPlan, X as ImportColumnsDeclared, Z as ImportFinished, W as ImportOpened, cz as ImportOutcome, U as ImportPlan, V as ImportPolicy, cA as ImportProposal, _ as ImportReport, $ as ImportRun, a1 as InboundAddress, a0 as InboundDeclared, aT as InboxCounts, aS as InboxStateChange, bm as IoExportPage, M as MigrationUndone, b6 as MyLevel, N as NewEntityFieldDeclaration, bt as OutsideShareAnswer, cB as PERMISSION_LEVELS, cC as PIPELINE_RULE_KINDS, cD as PermissionLevel, P as Pipeline, y as PipelineColumn, I as PipelineDeclared, O as PipelineGate, Q as PipelineGatePreview, cE as PipelineMissingField, G as PipelineMoveMany, D as PipelineMoveManyItem, cF as PipelineMoveManyResult, B as PipelineMoveResult, cG as PipelineMoveVerdict, cH as PipelineRule, cI as PipelineRuleKind, H as PipelineSpec, cJ as PipelineStage, z as PipelineVerdict, b3 as PublishBinding, cK as PublishBindingKind, cL as ROW_WEB_NOT_READY, cM as RecordChangeAction, cN as RecordComment, bj as RecordEvent, bs as RecordHeader, as as RecordHistoryEntry, a8 as RecordRowControls, cO as RecordScopeComment, at as RecordScopeContext, cP as RecordScopeField, cQ as RecordScopeHistoryEntry, cR as RecordScopeRelation, cS as RecordScopeWithheld, R as RecordsMerged, cT as RegisteredTable, b4 as ResolvedPublishBinding, b5 as ResolvedPublishBindingKind, ax as RestorePreview, ay as RestoreResult, cU as RetypeBehaviour, cV as RetypePreview, bc as RowAction, cW as RowActionStep, a7 as RowDefaultsApplied, cX as SHOWN_TO_LABEL, cY as SHOWN_TO_VALUES, cZ as SHOWN_TO_WHO_MAY_CHANGE, c_ as STAGE_RULE_ENFORCEMENT, c$ as STAGE_RULE_ON_FAIL, d0 as ShownTo, K as StagePending, L as StagePendingOnBoard, J as StageRuleEnforcement, S as StageRuleOnFail, d1 as StageRuleWarning, d2 as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, b8 as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, d3 as TableHomeDestination, d4 as TableLevel, d5 as TableLevelApproval, p as TableLevelFacts, r as TableLevelSet, bn as TableListEntry, h as TableMoved, d6 as TablePlacement, d7 as TablePlacementFact, q as TableReaderRule, d8 as TableRenderSchema, a as TableRestoreProgress, br as TableRowCount, a5 as TableRowDefaults, a6 as TableRowDefaultsPatch, d9 as TableSchemaMode, bq as TableSyncResult, da as TableSyncSource, bp as TableSyncSpec, bl as TableWebhook, bk as TableWebhookDeclared, db as TypedChoiceDecision, dc as ViewLayout, bu as ViewOrderSet, a$ as WorkApprovalDecision, a_ as WorkApprovalFiled, dd as WorkApprovalState, aY as WorkApprover, aW as WorkAssignment, aO as WorkAssignmentField, aZ as WorkChange, b1 as WorkDecideMany, b0 as WorkDecideManyItem, de as WorkDecideManyResult, df as WorkDecideVerdict, dg as WorkDueState, aL as WorkGraph, aR as WorkInboxItem, dh as WorkInboxKind, aQ as WorkInboxView, aM as WorkInstantiation, aU as WorkListFlavour, aV as WorkListItem, di as WorkOrigin, aX as WorkRecordState, aP as WorkSlotHold, aK as WorkState, dj as WorkTemplateNode, dk as WorkTemplateRelation, aN as WorkTurn, dl as actionRefusals, dm as archivedByLine, dn as archivedWhen, dp as asChoiceNudge, dq as asPermissionLevel, dr as atLeast, ds as choiceSlug, dt as choiceValuesOf, du as choicesOf, dv as decideTypedChoice, dw as declareDrillDefinition, dx as drillAnswerOf, dy as drillFindingKnob, dz as emptyArchiveLine, dA as exportPageXlsx, dB as fieldKindOf, dC as highestLevel, dD as holdsARetiredChoice, dE as isArchiveLane, dF as isFoundation, dG as isShownTo, dH as isTableKind, dI as isTheChosen, dJ as keptGroups, dK as keptOutOfSight, dL as keptTableHref, dM as levelHasShownTo, dN as looksLikeAnId, dO as mayDrag, dP as moveConsequence, dQ as moveInOrder, dR as offeredAsContext, dS as optionKey, dT as optionLabel, dU as parseFieldDrift, dV as parseTableCopiesInProgress, dW as parseTableDuplicateProgress, dX as parseTableDuplicated, dY as parseTableHome, dZ as parseTableMoved, d_ as previewRetype, d$ as previewRuleChange, e0 as recordChangeTrigger, e1 as recordSourceKey, e2 as recordSourceTable, e3 as recordsUseSentence, e4 as rehomeSentence, e5 as removedChoicesInUse, e6 as ruleThatRefuses, e7 as rulesWithTopStar, e8 as sameDocument, e9 as scopeChip, ea as sheetSyncSpec, eb as tableIdOf, ec as tableJsonSchema, ed as tableKindMapping, ee as tableKindSlug, ef as tableRenderSchema, eg as valueConverts, eh as withRowCounts, ei as withTablePlacement } from '../table-kind-CVp43g6h.js';
5
+ import { b as Field } from '../field-Ti5iAxFr.js';
6
+ export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, p as CoercibleField, q as FIELD_KINDS, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, t as NEWER_FIELD_KINDS, u as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, v as NewerFieldKind, P as ParityFieldTypeDescriptor, w as PersonStamp, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from '../field-Ti5iAxFr.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, autonumberJoin, autonumberPrefixOf, autonumberSearchOf, autonumberWords, filterWithAutonumber, forgetAllOps, indexedDbStore, isAutonumberField, isDecided, isOwnOp, localeDateOrder, memoryStore, mintClientKey, mintOpId, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, rememberedOpCount, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.js';
8
- export { c as AggregateBucket, k as AggregateCompare, v as AggregateCompareKind, w as AggregateCompareWindows, x as AggregateDelta, a as AggregateFilter, y as AggregateGroupValue, b as AggregateMeasure, A as AggregateOperation, n as AggregateRow, z as AggregateWindow, e as BookingAvailability, f as BookingDeclared, B as BookingSummary, C as BookingWindow, j as DashboardBlock, D as DashboardBlockKind, E as DashboardBlockResult, l as DashboardRunResult, i as DashboardSummary, G as DashboardTarget, H as DashboardTargetBase, I as DashboardTargetOp, J as DashboardTargetResult, K as DashboardTotals, q as DigestPreview, h as FormResults, g as FormRoute, F as FormSummary, M as MySubscription, Q as QuietHours, R as RecordFilter, t as RowTemplateRow, L as Rule, N as RuleAnswer, u as RuleExpression, O as SavedViewColorBy, P as SavedViewDefinition, T as SavedViewLayout, r as SavedViewRow, s as SavedViewSpecIn, d as StoreFilter, m as StuckRow, o as Subscription, U as SubscriptionBlock, S as SubscriptionCadence, p 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-D7KQBHXN.js';
9
- import { b as RecordsDataSource } from '../ports-TMWX-t9l.js';
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-TMWX-t9l.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-E0VQ0NPO.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-B12XybRp.js';
8
+ export { a as BookingAvailability, b as BookingDeclared, B as BookingSummary, e as BookingWindow, d as FormResults, c as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from '../rule-B8kR0l01.js';
9
+ export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, l as PORTAL_ACCENTS, m as PORTAL_ARCHIVE_FILTERS, k as PortalAccent, b as PortalArchiveAnswer, a as PortalArchiveFilter, d as PortalCard, n as PortalConfig, e as PortalConfigInput, o as PortalFooterLink, g as PortalFormAnswer, p as PortalFormInput, q as PortalFormRef, f as PortalFormSpec, h as PortalInvitation, j as PortalPreviewRow, r as PortalPrincipal, i as PortalRevocation, s as PortalStage, t as PortalStyle, u as PortalStyleInput, P as PortalSummary, v as PortalTableExposure, c as PortalTableRef, w as PublicPicture, x as emptyPortalArchiveLine, y as isPortalAccent, z as isPortalArchiveFilter, A as portalArchiveConsequence, B as portalConfirmLine, C as portalPath, E as portalTitleTypedBack } from '../portal-Db4CYyHe.js';
10
+ export { c as AggregateBucket, g as AggregateCompare, q as AggregateCompareKind, r as AggregateCompareWindows, s as AggregateDelta, a as AggregateFilter, t as AggregateGroupValue, b as AggregateMeasure, A as AggregateOperation, j as AggregateRow, u as AggregateWindow, f as DashboardBlock, D as DashboardBlockKind, v as DashboardBlockResult, h as DashboardRunResult, e as DashboardSummary, w as DashboardTarget, x as DashboardTargetBase, y as DashboardTargetOp, z as DashboardTargetResult, B as DashboardTotals, m as DigestPreview, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, C as SavedViewColorBy, E as SavedViewDefinition, F as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, d as StoreFilter, i as StuckRow, k as Subscription, G as SubscriptionBlock, S as SubscriptionCadence, l as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from '../subscription-5CLN3Jug.js';
11
+ export { g as EntityRef, E as EntityRefWithWords, h as EntityReferenceKind, i as REVERSE_LINKS_PAGE_MAX, j as REVERSE_LINKS_RECORDS_PER_CALL, k as Relation, l as RelationCarries, R as RelationCoordinate, b as RelationIcons, m as RelationProperties, n as RelationTarget, a as RelationWordsManyArgs, c as ReverseColumn, o as ReverseLink, e as ReverseLinks, f as ReverseLinksFieldsArgs, d as ReverseLinksManyArgs, S as SourceArchived, p as entityReferenceKinds, q as entityReferenceSearch, r as entityReferenceWords, s as entityRefsOf, t as entityRefsToWrite, u as isReverseField, v as sourceArchivedOf } from '../relation-DlcqV_W5.js';
12
+ import { c as RecordsDataSource } from '../ports-BWtxAnXh.js';
13
+ export { e as RecordsActor, d as RecordsChangeSink, a as RecordsConfig, b as RecordsErrorSink, f as RecordsFilter, R as RecordsRealtimePort, g as RecordsResolverPort, h as RecordsResponse, i as RecordsTableQuery } from '../ports-BWtxAnXh.js';
14
+ 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-vJAb7g9r.js';
15
+ 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-JKt2q34d.js';
13
16
 
14
17
  declare function doorExists(name: string): boolean;
15
18
  /**
@@ -577,6 +580,14 @@ declare const MAPPED_SQLSTATES: string[];
577
580
  declare function mapPgError(error: PgError, where: string): RecordsError;
578
581
  /** Pull the conflict out of a `stale_write`, when the store sent one. */
579
582
  declare function staleWriteDetail(error: RecordsError): StaleWriteDetail | null;
583
+ /**
584
+ * HONEST-REFUSALS 1 — a member of an ARCHIVED organization is refused with the store's own sentence
585
+ * ("This organization is archived, …") and DETAIL `organization_archived:<organization id>`. The sentence
586
+ * and the restore hint ride `message` and `hint` verbatim like every refusal; this reads the organization out
587
+ * so a screen can offer "Restore" (the owner's `iam.organization_restore` door) instead of a dead end.
588
+ * Null for every other refusal, including the non-member's "You are not a member of that organization".
589
+ */
590
+ declare function archivedOrganizationId(error: RecordsError): string | null;
580
591
 
581
592
  /** The published defaults, which are also what the store falls back to when it cannot read a knob. */
582
593
  declare const DEFAULT_VALUE_MAX_BYTES = 100000;
@@ -737,4 +748,4 @@ declare function seededDataSource(index: Map<string, unknown>): {
737
748
  missed: () => boolean;
738
749
  };
739
750
 
740
- 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 };
751
+ 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, archivedOrganizationId, 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 };
@@ -1309,9 +1309,18 @@ function stableFilterKey(filter) {
1309
1309
  return `{${parts.join(",")}}`;
1310
1310
  }
1311
1311
  function liftWithheld(rows2) {
1312
+ let shared;
1313
+ for (const row of rows2) {
1314
+ const m = (row.measures ?? {})["_withheld"];
1315
+ if (m !== void 0 && m !== null && typeof m === "object") {
1316
+ shared = m;
1317
+ break;
1318
+ }
1319
+ }
1312
1320
  return rows2.map((row) => {
1313
1321
  const measures = row.measures ?? {};
1314
- const marker = measures["_withheld"];
1322
+ const own = measures["_withheld"];
1323
+ const marker = own !== void 0 && own !== null && typeof own === "object" ? own : shared;
1315
1324
  const rowCount = row.row_count ?? 0;
1316
1325
  if (marker === void 0 || marker === null || typeof marker !== "object") {
1317
1326
  return rowCount === row.row_count ? row : { ...row, row_count: rowCount };
@@ -2154,6 +2163,11 @@ function staleWriteDetail(error) {
2154
2163
  contested_fields: detail.contested_fields ?? {}
2155
2164
  };
2156
2165
  }
2166
+ function archivedOrganizationId(error) {
2167
+ if (error.code !== "door" || typeof error.detail !== "string") return null;
2168
+ const m = /^organization_archived:([0-9a-f-]{36})$/i.exec(error.detail.trim());
2169
+ return m ? m[1] : null;
2170
+ }
2157
2171
 
2158
2172
  // src/relation.ts
2159
2173
  import { isUuidShape as isUuidShape4 } from "@ai-matrx/kit/uuid";
@@ -6577,12 +6591,15 @@ function createRecordsClient(given) {
6577
6591
  () => true
6578
6592
  );
6579
6593
  }
6580
- const door = await callDoor(
6581
- DOORS.readRecord,
6582
- { p_organization_id: org, p_record_id: record_id },
6583
- "recordRead"
6584
- );
6594
+ const [door, header] = await Promise.all([
6595
+ callDoor(DOORS.readRecord, { p_organization_id: org, p_record_id: record_id }, "recordRead"),
6596
+ // A version that cannot be read never takes the record away: it comes back as null.
6597
+ callDoor(DOORS.recordHeaders, { p_organization_id: org, p_ids: [record_id] }, "recordRead.version").catch(
6598
+ () => null
6599
+ )
6600
+ ]);
6585
6601
  if (!door.ok) return err(door.error);
6602
+ const version = header && header.ok ? header.data?.find((h) => h.id === record_id)?.version ?? null : null;
6586
6603
  const { document, hidden } = unfold(door.data);
6587
6604
  let computed = [];
6588
6605
  let computedUnavailable = null;
@@ -6595,7 +6612,7 @@ function createRecordsClient(given) {
6595
6612
  if (provenance.ok) computed = provenance.data ?? [];
6596
6613
  else computedUnavailable = provenance.error;
6597
6614
  }
6598
- return ok({ record_id, document, hidden, computed, computedUnavailable });
6615
+ return ok({ record_id, document, hidden, computed, computedUnavailable, version });
6599
6616
  },
6600
6617
  async listByIds({ table_id, ids }) {
6601
6618
  if (ids.length === 0) return ok([]);
@@ -10483,6 +10500,7 @@ export {
10483
10500
  announceRecordChanged,
10484
10501
  announceTableStructureChanged,
10485
10502
  archivedByLine,
10503
+ archivedOrganizationId,
10486
10504
  archivedWhen,
10487
10505
  asChoiceNudge,
10488
10506
  asPermissionLevel,