@ai-matrx/records 0.99.31 → 0.99.33

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 (106) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{client-Dthx26hr.d.ts → client-CSfkP7Xf.d.ts} +11 -80
  3. package/dist/{client-B7KEs9hi.d.cts → client-jKf1Z-kp.d.cts} +11 -80
  4. package/dist/core/index.cjs +149 -105
  5. package/dist/core/index.cjs.map +1 -1
  6. package/dist/core/index.d.cts +18 -359
  7. package/dist/core/index.d.ts +18 -359
  8. package/dist/core/index.js +149 -105
  9. package/dist/core/index.js.map +1 -1
  10. package/dist/data/index.cjs +280 -236
  11. package/dist/data/index.cjs.map +1 -1
  12. package/dist/data/index.d.cts +12 -11
  13. package/dist/data/index.d.ts +12 -11
  14. package/dist/data/index.js +280 -236
  15. package/dist/data/index.js.map +1 -1
  16. package/dist/{declareTable-CvBu5dTJ.d.ts → declareTable-0emxEewn.d.ts} +3 -3
  17. package/dist/{declareTable-enQs2N0E.d.cts → declareTable-800bwUn3.d.cts} +3 -3
  18. package/dist/door-call/index.cjs +1287 -0
  19. package/dist/door-call/index.cjs.map +1 -0
  20. package/dist/door-call/index.d.cts +20 -0
  21. package/dist/door-call/index.d.ts +20 -0
  22. package/dist/door-call/index.js +1264 -0
  23. package/dist/door-call/index.js.map +1 -0
  24. package/dist/{doors-KbjyhBW-.d.cts → doors-BgjRUdxw.d.cts} +14 -2
  25. package/dist/{doors-C2-sFvAk.d.ts → doors-D7_jEKtg.d.ts} +14 -2
  26. package/dist/entity/index.d.cts +7 -7
  27. package/dist/entity/index.d.ts +7 -7
  28. package/dist/{field-ppX29ddi.d.cts → field-B8loYt-A.d.cts} +1 -1
  29. package/dist/{field-BHlhq24W.d.ts → field-DaE90BZ7.d.ts} +1 -1
  30. package/dist/forms/index.d.cts +3 -3
  31. package/dist/forms/index.d.ts +3 -3
  32. package/dist/index.d.cts +14 -13
  33. package/dist/index.d.ts +14 -13
  34. package/dist/memory/index.d.cts +7 -7
  35. package/dist/memory/index.d.ts +7 -7
  36. package/dist/{objectOrganization-Cu73SBxH.d.cts → objectOrganization-B5YFGVUB.d.cts} +2 -2
  37. package/dist/{objectOrganization-DtR3lWG2.d.ts → objectOrganization-DozoVIxS.d.ts} +2 -2
  38. package/dist/pickListDoors-C-_eAEGL.d.cts +135 -0
  39. package/dist/pickListDoors-DgWVnNRI.d.ts +135 -0
  40. package/dist/{port-Bk7TG0aE.d.ts → port-D6wepPvr.d.ts} +3 -3
  41. package/dist/{port-rqQEGhew.d.cts → port-O-UdH1HS.d.cts} +3 -3
  42. package/dist/{portal-DmxuUr2f.d.ts → portal-CAssJHRZ.d.ts} +1 -1
  43. package/dist/{portal-ffH13fsE.d.cts → portal-L_mN8l9P.d.cts} +1 -1
  44. package/dist/{ports-BCNNghmf.d.ts → ports-CmmvR8OI.d.ts} +2 -2
  45. package/dist/{ports-iATV-A2v.d.cts → ports-alv3bgKY.d.cts} +2 -2
  46. package/dist/questions/index.d.cts +10 -9
  47. package/dist/questions/index.d.ts +10 -9
  48. package/dist/react/index.cjs +363 -319
  49. package/dist/react/index.cjs.map +1 -1
  50. package/dist/react/index.d.cts +37 -22
  51. package/dist/react/index.d.ts +37 -22
  52. package/dist/react/index.js +363 -319
  53. package/dist/react/index.js.map +1 -1
  54. package/dist/realtime/index.d.cts +3 -3
  55. package/dist/realtime/index.d.ts +3 -3
  56. package/dist/{record-C8q21jjB.d.cts → record-CTgSgWe3.d.cts} +1 -1
  57. package/dist/{record-C8q21jjB.d.ts → record-CTgSgWe3.d.ts} +1 -1
  58. package/dist/{relation-Bwp8iuei.d.cts → relation-BjjjXyqn.d.cts} +2 -2
  59. package/dist/{relation-Bsjwkn6N.d.ts → relation-T4biacnz.d.ts} +2 -2
  60. package/dist/results/index.cjs +245 -0
  61. package/dist/results/index.cjs.map +1 -0
  62. package/dist/results/index.d.cts +24 -0
  63. package/dist/results/index.d.ts +24 -0
  64. package/dist/results/index.js +222 -0
  65. package/dist/results/index.js.map +1 -0
  66. package/dist/{rule-BQwUtKk5.d.cts → rule-49jO7lN-.d.cts} +1 -1
  67. package/dist/{rule-cGqclk_0.d.ts → rule-DzNj0QvN.d.ts} +1 -1
  68. package/dist/scopes/index.cjs +7 -0
  69. package/dist/scopes/index.cjs.map +1 -1
  70. package/dist/scopes/index.d.cts +3 -3
  71. package/dist/scopes/index.d.ts +3 -3
  72. package/dist/scopes/index.js +7 -0
  73. package/dist/scopes/index.js.map +1 -1
  74. package/dist/search/index.d.cts +1 -1
  75. package/dist/search/index.d.ts +1 -1
  76. package/dist/setup/index.cjs +289 -245
  77. package/dist/setup/index.cjs.map +1 -1
  78. package/dist/setup/index.d.cts +13 -12
  79. package/dist/setup/index.d.ts +13 -12
  80. package/dist/setup/index.js +289 -245
  81. package/dist/setup/index.js.map +1 -1
  82. package/dist/{subscription-eNzL9scc.d.ts → subscription-Bp1RSb6p.d.ts} +2 -2
  83. package/dist/{subscription-Ba8RKtPA.d.cts → subscription-CuaGi3lC.d.cts} +2 -2
  84. package/dist/table-logic-BPquabNN.d.ts +328 -0
  85. package/dist/table-logic-CTh6lwaq.d.cts +328 -0
  86. package/dist/templates/index.d.cts +10 -10
  87. package/dist/templates/index.d.ts +10 -10
  88. package/dist/typed-table/index.cjs +280 -236
  89. package/dist/typed-table/index.cjs.map +1 -1
  90. package/dist/typed-table/index.d.cts +11 -10
  91. package/dist/typed-table/index.d.ts +11 -10
  92. package/dist/typed-table/index.js +280 -236
  93. package/dist/typed-table/index.js.map +1 -1
  94. package/dist/{types-C4XCuv8O.d.cts → types-B54BeQzf.d.cts} +2 -2
  95. package/dist/{types-BlzdL4Vd.d.cts → types-BWfL38XJ.d.cts} +2 -2
  96. package/dist/{types-BBR2NGqj.d.ts → types-BZcYXFK3.d.ts} +2 -2
  97. package/dist/{types-EKwXJfxY.d.cts → types-Bztv0-pH.d.cts} +2 -2
  98. package/dist/{types-CmkHpvll.d.ts → types-CjGuR5ks.d.ts} +2 -2
  99. package/dist/{types-CrkzINrb.d.ts → types-bN7dG2ji.d.ts} +2 -2
  100. package/dist/use-cases/index.d.cts +5 -5
  101. package/dist/use-cases/index.d.ts +5 -5
  102. package/dist/{validate-BKeBAVSi.d.cts → validate-8VBa2xIU.d.cts} +1 -1
  103. package/dist/{validate-BB6DWgCP.d.ts → validate-xBnply7J.d.ts} +1 -1
  104. package/dist/views/index.d.cts +10 -9
  105. package/dist/views/index.d.ts +10 -9
  106. package/package.json +24 -4
@@ -1,20 +1,23 @@
1
- import { a as RecordsError, R as RecordsResult, P as PgError, q as StaleWriteDetail, n as RecordDocument, r as PredictedRefusal, s as ReadValue, U as Uuid } from '../record-C8q21jjB.js';
2
- export { t as ABSENCE_REASONS, u as ACTOR_VOCABULARY, v as AbsenceReason, A as Actor, w as COMPUTE_ON, x as CONTEXT_POLICIES, C as ComputeOn, d as ContextPolicy, y as DECLARABLE_FIELD_KINDS, z as DELIVERIES, D as DeclarableFieldKind, B as Delivery, E as ENTITY_TOKENS, G as EntityToken, I as FIELD_SENSITIVITIES, J as FIELD_SOURCES, K as FORMULA_NODE_RESULTS, L as FRESHNESS, o as FieldBehavior, c as FieldSensitivity, F as FieldSource, M as ForbiddenEnvelopeWord, N as Freshness, H as HiddenFieldNotice, Q as KERNEL_TABLES, V as KernelTableName, W as KeysetRow, X as MERGE_FIELD_MODIFIERS, Y as MERGE_FIELD_SEMANTIC_TYPES, Z as MERGE_FIELD_SOURCES, _ as MergeFieldModifier, $ as MergeFieldSemanticType, a0 as MergeFieldSource, a1 as ON_DELETE, a2 as OVERRIDE_POLICIES, O as OnDelete, a3 as OverridePolicy, a4 as PARITY_FIELD_TYPES, a5 as PER_VALUE_ACCESS_WORDS, p as ParityFieldType, a6 as PerValueAccessWord, a7 as ProvenancePointer, a8 as RELATION_BINDINGS, a9 as RELATION_CARDINALITIES, aa as RELATION_FLAVORS, ab as RETIRED_ACTOR_WORDS, ac as RULE_NODE_KINDS, ad as RULE_USES, l as ReadRow, ae as RecordChange, af as RecordChangeResult, ag as RecordGraphWritten, ah as RecordKeysetPage, ai as RecordPage, k as RecordPageSort, aj as RecordRead, ak as RecordRevision, m as RecordsErrorCode, g as RelationBinding, f as RelationCardinality, e as RelationFlavor, al as RetiredActorWord, i as RuleNodeKind, j as RuleUse, am as STORAGE_MODES, an as STORE_DOORS, ao as STORE_KNOBS, ap as STORE_REFUSAL_CODES, S as StorageMode, aq as StoreDoorName, ar as StoreRefusalCode, as as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, b as TableDisplay, aw as TableOrigin, T as TableType, h 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, aE as WriteConflict, aF as err, aG as isLockedStub, aH as isRecordsErr, aI as ok, aJ as splitLockedRows, aK as unwrapRecords } from '../record-C8q21jjB.js';
3
- export { A as ARCHIVE_LANES, a as ARCHIVE_LANE_LABEL, b as ARCHIVE_LANE_MEANS, c as A_PERSONS_REFUSAL, d as ActionRefusal, e as ActionRunResult, f as AdminTable, g as AnonTokenBinding, h as ArchiveLane, i as ArchivedChecklistTemplate, j as ArchivedDoorRow, k as ArchivedForm, l as ArchivedRow, m as AsOf, n as AutomationAction, o as AutomationComparison, p as AutomationDeclared, q as AutomationFilter, r as AutomationFlipped, s as AutomationItem, t as AutomationLastRun, u as AutomationList, v as AutomationRevision, w as AutomationRevisions, x as AutomationRun, y as AutomationRunStatus, z as AutomationRuns, B as AutomationSpec, C as AutomationStep, D as AutomationTested, E as AutomationToken, G as AutomationTrigger, H as AutomationValue, I as AutomationValues, J as AutomationWeekday, K as AutomationWhen, L as BUILT_KIND_WORD, M as CHOICE_NUDGES, N as CaptureField, O as CaptureFileRef, P as CaptureOutcome, Q as CaptureQuestion, S as CaptureSheetFace, U as CaptureSheetSummary, V as ChecklistDeclared, W as ChecklistRequirement, X as ChecklistRequirementKind, Y as ChecklistRoleSpec, Z as ChecklistRunStarted, _ as ChecklistRunStep, $ as ChecklistRunSummary, a0 as ChecklistSpec, a1 as ChecklistStepCompleted, a2 as ChecklistStepSpec, a3 as ChecklistTemplateShape, a4 as ChecklistTemplateSummary, a5 as ChecklistTrigger, a6 as ChecklistTriggerKind, a7 as ChoiceCellBack, a8 as ChoiceLike, a9 as ChoiceNudge, aa as ChoiceOption, ab as ChoiceRehome, ac as ChoiceUsage, ad as ChoicesRehomed, ae as CommentThreadRead, af as CommentWritten, ag as ConversationScope, ah as ConversationScopeContext, ai as CustomFieldTableType, aj as DEFAULT_ARCHIVE_LANE, ak as DEFAULT_PAGE_SIZE, al as DRILL_CHART_TOKENS, am as DRILL_DESCRIPTION_MAX, an as DRILL_DOORS, ao as DRILL_SCHEMA, ap as DataHomeTable, aq as DecorationColor, ar as DecorationPath, as as DecorationRule, at as DecorationRuleOp, au as DecorationTarget, av as DocRenderRow, aw as DocSignatureCheck, ax as DocSignatureRow, ay as DocTemplateRow, az as DocToken, aA as DocUnresolvedToken, aB as DrillAdHocOp, aC as DrillAnswer, aD as DrillAnswerRow, aE as DrillChartToken, aF as DrillDeclaration, aG as DrillDefinition, aH as DrillDimension, aI as DrillFinding, aJ as DrillGrain, aK as DrillHaving, aL as DrillLane, aM as DrillLevel, aN as DrillMeasure, aO as DrillMeasureOp, aP as DrillMeasureWhereValue, aQ as DrillPath, aR as DrillQuestion, aS as DrillRecords, aT as DrillRowsPage, aU as DrillSource, aV as DrillView, aW as EnrichAlternate, aX as EnrichCell, aY as EnrichDeclared, aZ as EnrichDueRow, a_ as EnrichRun, a$ as EnrichSource, b0 as Enrichment, b1 as EnrichmentSummary, b2 as EntityBackLinkItem, b3 as EntityBackLinks, b4 as EntityFieldRights, b5 as EntityFieldValue, b6 as EntityFieldsAcross, b7 as EntityRecordMatch, b8 as EntityRecordRead, b9 as EntityRecordsFound, ba as EntityRowWritten, bb as EntityTableFacts, bc as ExternalPrincipalCard, F as FieldDrift, bd as FieldDriftAspect, be as FieldHistoryEntry, bf as FieldRetyped, bg as FormArchiveAnswer, bh as FormulaParse, bi as FormulaPreview, bj as GridLayout, bk as GridLayoutMode, bl as GridRowHeight, bm as HistoryActor, bn as HistoryActorKind, bo as HistoryChange, bp as Home, bq as ImportBatchResult, br as ImportColumnPlan, bs as ImportColumnsDeclared, bt as ImportFinished, bu as ImportOpened, bv as ImportOutcome, bw as ImportPlan, bx as ImportPolicy, by as ImportProposal, bz as ImportReport, bA as ImportRun, bB as InboundAddress, bC as InboundDeclared, bD as InboxCounts, bE as InboxStateChange, bF as IoExportPage, bG as MigrationEntry, bH as MigrationUndone, bI as NewEntityFieldDeclaration, bJ as OutsideShareAnswer, bK as PIPELINE_RULE_KINDS, bL as ParentExtracted, bM as PickListDocument, bN as PickListItem, bO as PickListItemInput, bP as Pipeline, bQ as PipelineColumn, bR as PipelineDeclared, bS as PipelineGate, bT as PipelineGatePreview, bU as PipelineMissingField, bV as PipelineMoveMany, bW as PipelineMoveManyItem, bX as PipelineMoveManyResult, bY as PipelineMoveResult, bZ as PipelineMoveVerdict, b_ as PipelineRule, b$ as PipelineRuleKind, c0 as PipelineSpec, c1 as PipelineStage, c2 as PipelineVerdict, c3 as PromotedPredicate, c4 as PublishBinding, c5 as PublishBindingKind, c6 as QueryPlan, c7 as ROW_LABEL_FORMULA_MAX_LENGTH, c8 as ROW_WEB_NOT_READY, c9 as RecordChangeAction, ca as RecordComment, cb as RecordEvent, cc as RecordHeader, cd as RecordHistoryEntry, ce as RecordQuery, cf as RecordRowControls, cg as RecordScopeComment, ch as RecordScopeContext, ci as RecordScopeField, cj as RecordScopeHistoryEntry, ck as RecordScopeRelation, cl as RecordScopeWithheld, cm as RecordSplit, R as RecordsClient, cn as RecordsMerged, co as RegisteredTable, cp as ResolvedPublishBinding, cq as ResolvedPublishBindingKind, cr as RestorePreview, cs as RestoreResult, ct as RetypeBehaviour, cu as RetypePreview, cv as RowAction, cw as RowActionStep, cx as RowDefaultsApplied, cy as SHOWN_TO_LABEL, cz as SHOWN_TO_VALUES, cA as SHOWN_TO_WHO_MAY_CHANGE, cB as STAGE_RULE_ENFORCEMENT, cC as STAGE_RULE_ON_FAIL, cD as ShownTo, cE as StagePending, cF as StagePendingOnBoard, cG as StageRuleEnforcement, cH as StageRuleOnFail, cI as StageRuleWarning, cJ as SyncAutoRefresh, cK as Table, T as TableArchiveProgress, cL as TableCapacity, cM as TableCopyInProgress, cN as TableCopySpec, cO as TableDecorations, cP as TableDuplicateProgress, cQ as TableDuplicated, cR as TableFact, cS as TableHome, cT as TableHomeDestination, cU as TableLevel, cV as TableLevelApproval, cW as TableLevelFacts, cX as TableLevelSet, cY as TableListEntry, cZ as TableLiveLocation, c_ as TableMoved, c$ as TablePlacement, d0 as TablePlacementFact, d1 as TableReaderRule, d2 as TableRestoreProgress, d3 as TableRowCount, d4 as TableRowDefaults, d5 as TableRowDefaultsPatch, d6 as TableRowLabel, d7 as TableSyncAnswer, d8 as TableSyncResult, d9 as TableSyncSettings, da as TableSyncSource, db as TableSyncSourceDocument, dc as TableSyncSpec, dd as TableWebhook, de as TableWebhookDeclared, df as TypedChoiceDecision, dg as ViewLayout, dh as ViewOrderSet, di as WorkApprovalDecision, dj as WorkApprovalFiled, dk as WorkApprovalState, dl as WorkApprover, dm as WorkAssignment, dn as WorkAssignmentField, dp as WorkChange, dq as WorkDecideMany, dr as WorkDecideManyItem, ds as WorkDecideManyResult, dt as WorkDecideVerdict, du as WorkDueState, dv as WorkGraph, dw as WorkInboxItem, dx as WorkInboxKind, dy as WorkInboxView, dz as WorkInstantiation, dA as WorkListFlavour, dB as WorkListItem, dC as WorkOrigin, dD as WorkRecordState, dE as WorkSlotHold, dF as WorkState, dG as WorkTemplateNode, dH as WorkTemplateRelation, dI as WorkTurn, dJ as actionRefusals, dK as archivedByLine, dL as archivedWhen, dM as asChoiceNudge, dN as asWriteConflict, dO as automationWebhookUrl, dP as choiceSlug, dQ as choiceValuesOf, dR as choicesOf, dS as clearsRowLabel, dT as createRecordsClient, dU as decideTypedChoice, dV as declareDrillDefinition, dW as drillAnswerOf, dX as drillFindingKnob, dY as emptyArchiveLine, dZ as exportPageXlsx, d_ as holdsARetiredChoice, d$ as intersectIds, e0 as isAPersonsRefusal, e1 as isArchiveLane, e2 as isFoundation, e3 as isShownTo, e4 as isTheChosen, e5 as keptGroups, e6 as keptOutOfSight, e7 as keptTableHref, e8 as levelHasShownTo, e9 as looksLikeAnId, ea as mayDrag, eb as moveConsequence, ec as moveInOrder, ed as offeredAsContext, ee as optionKey, ef as optionLabel, eg as parseFieldDrift, eh as parseTableCopiesInProgress, ei as parseTableDuplicateProgress, ej as parseTableDuplicated, ek as parseTableHome, el as parseTableMoved, em as planQuery, en as previewRetype, eo as previewRuleChange, ep as recordChangeTrigger, eq as recordSourceKey, er as recordSourceTable, es as recordsUseSentence, et as rehomeSentence, eu as removedChoicesInUse, ev as ruleThatRefuses, ew as rulesWithTopStar, ex as sameDocument, ey as scopeChip, ez as sheetSyncSpec, eA as valueConverts, eB as withRowCounts, eC as withTableFacts, eD as withTablePlacement } from '../client-Dthx26hr.js';
4
- import { d as RecordsDataSource } from '../ports-BCNNghmf.js';
5
- export { M as MyLevel, O as OpLedger, P as PERMISSION_LEVELS, g as PermissionLevel, h as RecordsActor, e as RecordsChangeSink, a as RecordsConfig, c as RecordsErrorSink, i as RecordsFilter, R as RecordsRealtimePort, j as RecordsResolverPort, k as RecordsResponse, l as RecordsTableQuery, b as RowAgentPort, f as RowAgentTarget, m as asPermissionLevel, n as atLeast, o as createOpLedger, p as defaultOpLedger, q as forgetAllOps, r as highestLevel, s as isOwnOp, t as mintOpId, u as rememberedOpCount } from '../ports-BCNNghmf.js';
6
- import { F as Field } from '../field-BHlhq24W.js';
7
- export { A as ADDRESS_PARTS, c as AGENT_WRITER_WORDS, d as AddressPart, e as AddressValue, B as BARCODE_SYMBOLOGIES, f as BUTTON_DOES, g as ButtonDoes, h as ButtonPressed, i as ButtonSettings, C as ChoiceOptions, j as CoerceOptions, k as Coerced, l as CoercedAnswers, m as CoercibleField, n as FIELD_KINDS, o as FieldDuplicated, p as FieldKind, q as FieldOptionEdit, r as FieldPatch, s as FieldProposal, b as FieldRule, a 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, R as RelationDisplay, x as RelationNameIndex, y as RelationNameMatch, z 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-BHlhq24W.js';
1
+ import { a as RecordsError, R as RecordsResult, n as RecordDocument, q as PredictedRefusal, r as ReadValue, U as Uuid } from '../record-CTgSgWe3.js';
2
+ export { s as ABSENCE_REASONS, t as ACTOR_VOCABULARY, u as AbsenceReason, A as Actor, v as COMPUTE_ON, w as CONTEXT_POLICIES, C as ComputeOn, d as ContextPolicy, x as DECLARABLE_FIELD_KINDS, y as DELIVERIES, D as DeclarableFieldKind, z as Delivery, E as ENTITY_TOKENS, B as EntityToken, G as FIELD_SENSITIVITIES, I as FIELD_SOURCES, J as FORMULA_NODE_RESULTS, K as FRESHNESS, o as FieldBehavior, c as FieldSensitivity, F as FieldSource, L as ForbiddenEnvelopeWord, M as Freshness, H as HiddenFieldNotice, N as KERNEL_TABLES, Q as KernelTableName, V as KeysetRow, W as MERGE_FIELD_MODIFIERS, X as MERGE_FIELD_SEMANTIC_TYPES, Y as MERGE_FIELD_SOURCES, Z as MergeFieldModifier, _ as MergeFieldSemanticType, $ as MergeFieldSource, a0 as ON_DELETE, a1 as OVERRIDE_POLICIES, O as OnDelete, a2 as OverridePolicy, a3 as PARITY_FIELD_TYPES, a4 as PER_VALUE_ACCESS_WORDS, p as ParityFieldType, a5 as PerValueAccessWord, P as PgError, a6 as ProvenancePointer, a7 as RELATION_BINDINGS, a8 as RELATION_CARDINALITIES, a9 as RELATION_FLAVORS, aa as RETIRED_ACTOR_WORDS, ab as RULE_NODE_KINDS, ac as RULE_USES, l as ReadRow, ad as RecordChange, ae as RecordChangeResult, af as RecordGraphWritten, ag as RecordKeysetPage, ah as RecordPage, k as RecordPageSort, ai as RecordRead, aj as RecordRevision, m as RecordsErrorCode, g as RelationBinding, f as RelationCardinality, e as RelationFlavor, ak as RetiredActorWord, i as RuleNodeKind, j as RuleUse, al as STORAGE_MODES, am as STORE_DOORS, an as STORE_KNOBS, ao as STORE_REFUSAL_CODES, ap as StaleWriteDetail, S as StorageMode, aq as StoreDoorName, ar as StoreRefusalCode, as as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, b as TableDisplay, aw as TableOrigin, T as TableType, h 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, aE as WriteConflict, aF as err, aG as isLockedStub, aH as isRecordsErr, aI as ok, aJ as splitLockedRows, aK as unwrapRecords } from '../record-CTgSgWe3.js';
3
+ export { A as ARCHIVE_LANES, a as ARCHIVE_LANE_LABEL, b as ARCHIVE_LANE_MEANS, c as ActionRefusal, d as ActionRunResult, e as AdminTable, f as AnonTokenBinding, g as ArchiveLane, h as ArchivedChecklistTemplate, i as ArchivedDoorRow, j as ArchivedForm, k as ArchivedRow, l as AsOf, m as AutomationAction, n as AutomationComparison, o as AutomationDeclared, p as AutomationFilter, q as AutomationFlipped, r as AutomationItem, s as AutomationLastRun, t as AutomationList, u as AutomationRevision, v as AutomationRevisions, w as AutomationRun, x as AutomationRunStatus, y as AutomationRuns, z as AutomationSpec, B as AutomationStep, C as AutomationTested, D as AutomationToken, E as AutomationTrigger, G as AutomationValue, H as AutomationValues, I as AutomationWeekday, J as AutomationWhen, K as BUILT_KIND_WORD, L as CHOICE_NUDGES, M as CaptureField, N as CaptureFileRef, O as CaptureOutcome, P as CaptureQuestion, Q as CaptureSheetFace, S as CaptureSheetSummary, U as ChecklistDeclared, V as ChecklistRequirement, W as ChecklistRequirementKind, X as ChecklistRoleSpec, Y as ChecklistRunStarted, Z as ChecklistRunStep, _ as ChecklistRunSummary, $ as ChecklistSpec, a0 as ChecklistStepCompleted, a1 as ChecklistStepSpec, a2 as ChecklistTemplateShape, a3 as ChecklistTemplateSummary, a4 as ChecklistTrigger, a5 as ChecklistTriggerKind, a6 as ChoiceCellBack, a7 as ChoiceLike, a8 as ChoiceNudge, a9 as ChoiceOption, aa as ChoiceRehome, ab as ChoiceUsage, ac as ChoicesRehomed, ad as CommentThreadRead, ae as CommentWritten, af as ConversationScope, ag as ConversationScopeContext, ah as CustomFieldTableType, ai as DEFAULT_ARCHIVE_LANE, aj as DEFAULT_PAGE_SIZE, ak as DRILL_CHART_TOKENS, al as DRILL_DESCRIPTION_MAX, am as DRILL_DOORS, an as DRILL_SCHEMA, ao as DataHomeTable, ap as DecorationColor, aq as DecorationPath, ar as DecorationRule, as as DecorationRuleOp, at as DecorationTarget, au as DocRenderRow, av as DocSignatureCheck, aw as DocSignatureRow, ax as DocTemplateRow, ay as DocToken, az as DocUnresolvedToken, aA as DrillAdHocOp, aB as DrillAnswer, aC as DrillAnswerRow, aD as DrillChartToken, aE as DrillDeclaration, aF as DrillDefinition, aG as DrillDimension, aH as DrillFinding, aI as DrillGrain, aJ as DrillHaving, aK as DrillLane, aL as DrillLevel, aM as DrillMeasure, aN as DrillMeasureOp, aO as DrillMeasureWhereValue, aP as DrillPath, aQ as DrillQuestion, aR as DrillRecords, aS as DrillRowsPage, aT as DrillSource, aU as DrillView, aV as EnrichAlternate, aW as EnrichCell, aX as EnrichDeclared, aY as EnrichDueRow, aZ as EnrichRun, a_ as EnrichSource, a$ as Enrichment, b0 as EnrichmentSummary, b1 as EntityBackLinkItem, b2 as EntityBackLinks, b3 as EntityFieldRights, b4 as EntityFieldValue, b5 as EntityFieldsAcross, b6 as EntityRecordMatch, b7 as EntityRecordRead, b8 as EntityRecordsFound, b9 as EntityRowWritten, ba as EntityTableFacts, bb as ExternalPrincipalCard, F as FieldDrift, bc as FieldDriftAspect, bd as FieldHistoryEntry, be as FieldRetyped, bf as FormArchiveAnswer, bg as FormulaParse, bh as FormulaPreview, bi as GridLayout, bj as GridLayoutMode, bk as GridRowHeight, bl as HistoryActor, bm as HistoryActorKind, bn as HistoryChange, bo as Home, bp as ImportBatchResult, bq as ImportColumnPlan, br as ImportColumnsDeclared, bs as ImportFinished, bt as ImportOpened, bu as ImportOutcome, bv as ImportPlan, bw as ImportPolicy, bx as ImportProposal, by as ImportReport, bz as ImportRun, bA as InboundAddress, bB as InboundDeclared, bC as InboxCounts, bD as InboxStateChange, bE as IoExportPage, bF as MigrationEntry, bG as MigrationUndone, bH as NewEntityFieldDeclaration, bI as OutsideShareAnswer, bJ as PIPELINE_RULE_KINDS, bK as ParentExtracted, bL as Pipeline, bM as PipelineColumn, bN as PipelineDeclared, bO as PipelineGate, bP as PipelineGatePreview, bQ as PipelineMissingField, bR as PipelineMoveMany, bS as PipelineMoveManyItem, bT as PipelineMoveManyResult, bU as PipelineMoveResult, bV as PipelineMoveVerdict, bW as PipelineRule, bX as PipelineRuleKind, bY as PipelineSpec, bZ as PipelineStage, b_ as PipelineVerdict, b$ as PromotedPredicate, c0 as PublishBinding, c1 as PublishBindingKind, c2 as QueryPlan, c3 as ROW_LABEL_FORMULA_MAX_LENGTH, c4 as ROW_WEB_NOT_READY, c5 as RecordChangeAction, c6 as RecordComment, c7 as RecordEvent, c8 as RecordHeader, c9 as RecordHistoryEntry, ca as RecordQuery, cb as RecordRowControls, cc as RecordScopeComment, cd as RecordScopeContext, ce as RecordScopeField, cf as RecordScopeHistoryEntry, cg as RecordScopeRelation, ch as RecordScopeWithheld, ci as RecordSplit, R as RecordsClient, cj as RecordsMerged, ck as RegisteredTable, cl as ResolvedPublishBinding, cm as ResolvedPublishBindingKind, cn as RestorePreview, co as RestoreResult, cp as RetypeBehaviour, cq as RetypePreview, cr as RowAction, cs as RowActionStep, ct as RowDefaultsApplied, cu as SHOWN_TO_LABEL, cv as SHOWN_TO_VALUES, cw as SHOWN_TO_WHO_MAY_CHANGE, cx as STAGE_RULE_ENFORCEMENT, cy as STAGE_RULE_ON_FAIL, cz as ShownTo, cA as StagePending, cB as StagePendingOnBoard, cC as StageRuleEnforcement, cD as StageRuleOnFail, cE as StageRuleWarning, cF as SyncAutoRefresh, cG as Table, T as TableArchiveProgress, cH as TableCapacity, cI as TableCopyInProgress, cJ as TableCopySpec, cK as TableDecorations, cL as TableDuplicateProgress, cM as TableDuplicated, cN as TableFact, cO as TableHome, cP as TableHomeDestination, cQ as TableLevel, cR as TableLevelApproval, cS as TableLevelFacts, cT as TableLevelSet, cU as TableListEntry, cV as TableLiveLocation, cW as TableMoved, cX as TablePlacement, cY as TablePlacementFact, cZ as TableReaderRule, c_ as TableRestoreProgress, c$ as TableRowCount, d0 as TableRowDefaults, d1 as TableRowDefaultsPatch, d2 as TableRowLabel, d3 as TableSyncAnswer, d4 as TableSyncResult, d5 as TableSyncSettings, d6 as TableSyncSource, d7 as TableSyncSourceDocument, d8 as TableSyncSpec, d9 as TableWebhook, da as TableWebhookDeclared, db as TypedChoiceDecision, dc as ViewLayout, dd as ViewOrderSet, de as WorkApprovalDecision, df as WorkApprovalFiled, dg as WorkApprovalState, dh as WorkApprover, di as WorkAssignment, dj as WorkAssignmentField, dk as WorkChange, dl as WorkDecideMany, dm as WorkDecideManyItem, dn as WorkDecideManyResult, dp as WorkDecideVerdict, dq as WorkDueState, dr as WorkGraph, ds as WorkInboxItem, dt as WorkInboxKind, du as WorkInboxView, dv as WorkInstantiation, dw as WorkListFlavour, dx as WorkListItem, dy as WorkOrigin, dz as WorkRecordState, dA as WorkSlotHold, dB as WorkState, dC as WorkTemplateNode, dD as WorkTemplateRelation, dE as WorkTurn, dF as actionRefusals, dG as archivedByLine, dH as archivedWhen, dI as asChoiceNudge, dJ as asWriteConflict, dK as automationWebhookUrl, dL as choiceSlug, dM as choiceValuesOf, dN as choicesOf, dO as clearsRowLabel, dP as createRecordsClient, dQ as decideTypedChoice, dR as declareDrillDefinition, dS as drillAnswerOf, dT as drillFindingKnob, dU as emptyArchiveLine, dV as exportPageXlsx, dW as holdsARetiredChoice, dX as intersectIds, dY as isArchiveLane, dZ as isFoundation, d_ as isShownTo, d$ as isTheChosen, e0 as keptGroups, e1 as keptOutOfSight, e2 as keptTableHref, e3 as levelHasShownTo, e4 as looksLikeAnId, e5 as mayDrag, e6 as moveConsequence, e7 as moveInOrder, e8 as offeredAsContext, e9 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 planQuery, ei as previewRetype, ej as previewRuleChange, ek as recordChangeTrigger, el as recordSourceKey, em as recordSourceTable, en as recordsUseSentence, eo as rehomeSentence, ep as removedChoicesInUse, eq as ruleThatRefuses, er as rulesWithTopStar, es as sameDocument, et as scopeChip, eu as sheetSyncSpec, ev as valueConverts, ew as withRowCounts, ex as withTableFacts, ey as withTablePlacement } from '../client-CSfkP7Xf.js';
4
+ import { d as RecordsDataSource } from '../ports-CmmvR8OI.js';
5
+ export { M as MyLevel, O as OpLedger, P as PERMISSION_LEVELS, g as PermissionLevel, h as RecordsActor, e as RecordsChangeSink, a as RecordsConfig, c as RecordsErrorSink, i as RecordsFilter, R as RecordsRealtimePort, j as RecordsResolverPort, k as RecordsResponse, l as RecordsTableQuery, b as RowAgentPort, f as RowAgentTarget, m as asPermissionLevel, n as atLeast, o as createOpLedger, p as defaultOpLedger, q as forgetAllOps, r as highestLevel, s as isOwnOp, t as mintOpId, u as rememberedOpCount } from '../ports-CmmvR8OI.js';
6
+ import { F as Field } from '../field-DaE90BZ7.js';
7
+ export { A as ADDRESS_PARTS, c as AGENT_WRITER_WORDS, d as AddressPart, e as AddressValue, B as BARCODE_SYMBOLOGIES, f as BUTTON_DOES, g as ButtonDoes, h as ButtonPressed, i as ButtonSettings, C as ChoiceOptions, j as CoerceOptions, k as Coerced, l as CoercedAnswers, m as CoercibleField, n as FIELD_KINDS, o as FieldDuplicated, p as FieldKind, q as FieldOptionEdit, r as FieldPatch, s as FieldProposal, b as FieldRule, a 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, R as RelationDisplay, x as RelationNameIndex, y as RelationNameMatch, z 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-DaE90BZ7.js';
8
+ export { A as A_PERSONS_REFUSAL, h as PickListDocument, j as PickListItem, k as PickListItemInput, i as isAPersonsRefusal } from '../pickListDoors-DgWVnNRI.js';
8
9
  export { BaseCopied, BaseCopyProgress, BaseCopyResult, BasePort, BaseSnapshotRecord, BaseTable, CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, ChooseAlternateArgs, MergeField, MergeFieldProvenance, MergeFieldResolution, MergeFieldTransform, MissingBehavior, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, REFUSALS_WORTH_REPEATING, ResolutionTriple, TypedDate, TypedMatchScore, TypedNumber, TypedTime, alternatePatch, autonumberJoin, autonumberPrefixOf, autonumberSearchOf, autonumberWords, baseCopyName, chooseAlternate, duplicateBase, filterWithAutonumber, idsOfCopies, indexedDbStore, isAutonumberField, isDecided, localeDateOrder, memoryStore, mintClientKey, openCaptureQueue, pointAtCopies, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, restoreSnapshot, restoredBaseName, snapshotBase, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.js';
9
- export { B as BookingAvailability, a as BookingDeclared, b as BookingSummary, c as BookingWindow, d as FormResults, e as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from '../rule-cGqclk_0.js';
10
- export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, a as PORTAL_ACCENTS, b as PORTAL_ARCHIVE_FILTERS, P as PortalAccent, c as PortalArchiveAnswer, d as PortalArchiveFilter, e as PortalCard, f as PortalConfig, g as PortalConfigInput, h as PortalFooterLink, i as PortalFormAnswer, j as PortalFormInput, k as PortalFormRef, l as PortalFormSpec, m as PortalInvitation, n as PortalPreviewRow, o as PortalPrincipal, p as PortalRevocation, q as PortalStage, r as PortalStyle, s as PortalStyleInput, t as PortalSummary, u as PortalTableExposure, v 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-DmxuUr2f.js';
11
- export { A as AggregateBucket, e as AggregateCompare, f as AggregateCompareKind, g as AggregateCompareWindows, h as AggregateDelta, b as AggregateFilter, i as AggregateGroupValue, c as AggregateMeasure, a as AggregateOperation, j as AggregateRow, k as AggregateWindow, l as DashboardBlock, D as DashboardBlockKind, m as DashboardBlockResult, n as DashboardRunResult, o as DashboardSummary, p as DashboardTarget, q as DashboardTargetBase, r as DashboardTargetOp, s as DashboardTargetResult, t as DashboardTotals, u as DigestPreview, I as InterfaceRead, v as InterfaceRows, w as InterfaceRowsField, M as MySubscription, Q as QuietHours, R as RecordFilter, x as RowTemplateRow, y as SavedViewColorBy, z as SavedViewDefinition, B as SavedViewLayout, d as SavedViewRow, C as SavedViewSpecIn, E as StoreFilter, F as StuckRow, G as Subscription, H as SubscriptionBlock, S as SubscriptionCadence, J as SubscriptionSpec, K as callersTimeZone, L as hasQuietHours, N as isRuleFilter, O as liftWithheld, P as measureKey, T as stableFilterKey, U as withCallersClock } from '../subscription-eNzL9scc.js';
12
- export { a as EntityRef, E as EntityRefWithWords, b as EntityReferenceKind, R as REVERSE_LINKS_PAGE_MAX, c as REVERSE_LINKS_RECORDS_PER_CALL, d as Relation, e as RelationCarries, f as RelationCoordinate, g as RelationIcons, h as RelationProperties, i as RelationTarget, j as RelationWordsManyArgs, k as ReverseColumn, l as ReverseLink, m as ReverseLinks, n as ReverseLinksFieldsArgs, o 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-Bsjwkn6N.js';
13
- export { a as ObjectKind, O as ObjectOrganizationAnswer, R as RecordOrganizationPort, W as WHERE_ID_OPENS_DOOR, r as readObjectOrganizationAnswer, b as resolveObjectOrganization, w as whereIdOpensPort } from '../objectOrganization-DtR3lWG2.js';
10
+ export { B as BookingAvailability, a as BookingDeclared, b as BookingSummary, c as BookingWindow, d as FormResults, e as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from '../rule-DzNj0QvN.js';
11
+ export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, a as PORTAL_ACCENTS, b as PORTAL_ARCHIVE_FILTERS, P as PortalAccent, c as PortalArchiveAnswer, d as PortalArchiveFilter, e as PortalCard, f as PortalConfig, g as PortalConfigInput, h as PortalFooterLink, i as PortalFormAnswer, j as PortalFormInput, k as PortalFormRef, l as PortalFormSpec, m as PortalInvitation, n as PortalPreviewRow, o as PortalPrincipal, p as PortalRevocation, q as PortalStage, r as PortalStyle, s as PortalStyleInput, t as PortalSummary, u as PortalTableExposure, v 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-CAssJHRZ.js';
12
+ export { A as AggregateBucket, e as AggregateCompare, f as AggregateCompareKind, g as AggregateCompareWindows, h as AggregateDelta, b as AggregateFilter, i as AggregateGroupValue, c as AggregateMeasure, a as AggregateOperation, j as AggregateRow, k as AggregateWindow, l as DashboardBlock, D as DashboardBlockKind, m as DashboardBlockResult, n as DashboardRunResult, o as DashboardSummary, p as DashboardTarget, q as DashboardTargetBase, r as DashboardTargetOp, s as DashboardTargetResult, t as DashboardTotals, u as DigestPreview, I as InterfaceRead, v as InterfaceRows, w as InterfaceRowsField, M as MySubscription, Q as QuietHours, R as RecordFilter, x as RowTemplateRow, y as SavedViewColorBy, z as SavedViewDefinition, B as SavedViewLayout, d as SavedViewRow, C as SavedViewSpecIn, E as StoreFilter, F as StuckRow, G as Subscription, H as SubscriptionBlock, S as SubscriptionCadence, J as SubscriptionSpec, K as callersTimeZone, L as hasQuietHours, N as isRuleFilter, O as liftWithheld, P as measureKey, T as stableFilterKey, U as withCallersClock } from '../subscription-Bp1RSb6p.js';
13
+ export { a as EntityRef, E as EntityRefWithWords, b as EntityReferenceKind, R as REVERSE_LINKS_PAGE_MAX, c as REVERSE_LINKS_RECORDS_PER_CALL, d as Relation, e as RelationCarries, f as RelationCoordinate, g as RelationIcons, h as RelationProperties, i as RelationTarget, j as RelationWordsManyArgs, k as ReverseColumn, l as ReverseLink, m as ReverseLinks, n as ReverseLinksFieldsArgs, o 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-T4biacnz.js';
14
+ export { O as ObjectKind, a as ObjectOrganizationAnswer, R as RecordOrganizationPort, W as WHERE_ID_OPENS_DOOR, r as readObjectOrganizationAnswer, b as resolveObjectOrganization, w as whereIdOpensPort } from '../objectOrganization-DozoVIxS.js';
14
15
  import { TableKindFacts } from '../table-kind/index.js';
15
16
  export { TABLE_KIND_PREFIX, TableRenderSchema, TableSchemaMode, fieldKindOf, isTableKind, tableIdOf, tableJsonSchema, tableKindMapping, tableKindSlug, tableRenderSchema } from '../table-kind/index.js';
16
- 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-CvBu5dTJ.js';
17
- import '../doors-C2-sFvAk.js';
17
+ 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-0emxEewn.js';
18
+ export { o as BulkCellOp, p as BulkDeleteOp, q as BulkInsertOp, r as BulkMergeOp, t as BulkOp, B as BulkOpError, a as BulkOpResult, u as BulkUpdateOp, v as BulkWriteResponse, D as DatasetField, w as DatasetRow, F as FieldDataType, J as Json, S as STORE_SCHEMA, b as ServiceErr, c as ServiceOk, d as ServiceResult, e as StoreCaller, f as StoreDoorAnswer, g as StoreDoorError, h as StoreDoors, i as SupabaseLike, j as asRecordsDataSource, k as describeBulkFailures, x as inferDataType, l as isBulkOpError, m as isServiceFailure, y as sanitizeFieldName, s as storeDoors, n as supabaseDataSource, z as validateFieldName } from '../table-logic-BPquabNN.js';
19
+ export { MAPPED_SQLSTATES, archivedOrganizationId, mapPgError, mapThrownError, staleWriteDetail } from '../results/index.js';
20
+ import '../doors-D7_jEKtg.js';
18
21
 
19
22
  declare function doorExists(name: string): boolean;
20
23
  /**
@@ -546,163 +549,6 @@ declare function primeDoorAnswer(key: string, data: unknown, at: number): void;
546
549
  */
547
550
  declare function dropPrimedDoorAnswers(doors?: readonly string[]): void;
548
551
 
549
- /**
550
- * The structural shape of the supabase client this adapter needs. Deliberately
551
- * NOT `SupabaseClient<Database>`: a generated `Database` type makes
552
- * `schema().from().select()` enormous, and a host app that passed its typed
553
- * client in got `TS2589: Type instantiation is excessively deep and possibly
554
- * infinite` in its own build (matrx-frontend, 2026-09-18, on all three campaign
555
- * routes at once). The cast lives here, once, where it is explained.
556
- */
557
- interface SupabaseLike {
558
- schema(name: string): {
559
- rpc(fn: string, args?: Record<string, unknown>): PromiseLike<{
560
- data: unknown;
561
- error: PgError | null;
562
- }>;
563
- from(table: string): unknown;
564
- };
565
- }
566
- /**
567
- * Bind a supabase-js client (or anything with the same `schema(name).rpc()`
568
- * shape) as this package's data seam.
569
- *
570
- * Two things never happen here, both of them loudly:
571
- *
572
- * - A call with NO schema is never sent. It is refused by name, because
573
- * sending it would reach `public` and get the store's PGRST202 several
574
- * layers away from the mistake.
575
- * - A client with no `.schema()` is never used. supabase-js has had it since
576
- * v2.0; a host that binds something else is told exactly what is missing
577
- * instead of throwing `undefined is not a function` inside a render.
578
- */
579
- declare function supabaseDataSource(client: object): RecordsDataSource;
580
- /**
581
- * WHAT `createRecordsClient` DOES WITH WHATEVER IT IS HANDED (lane PLATFORM-APP-DATA, 2026-10-02).
582
- *
583
- * The README has always shown `dataSource: supabase` — a PLAIN supabase-js client — and that
584
- * exact line answered every call "Could not find the function public.table_kernel_id" (PGRST202),
585
- * because supabase-js's own `rpc()` drops the `{ schema }` option in silence (see the header).
586
- * Measured on the clone as admin@admin.com, 2026-10-02. The example is now true:
587
- *
588
- * - Already bound by `supabaseDataSource` → used as it is.
589
- * - A supabase-js client (it has `schema()`, `from()` and an `auth` client) → bound here, once.
590
- * - Nothing callable at all (no `rpc()`) → bound here too, so every call is REFUSED by name with
591
- * the remedy (`data_source_unbound`) instead of throwing `rpc is not a function` in a render.
592
- * - Anything else that has its own `rpc(fn, args, { schema })` — a host's adapter, a test
593
- * double — is the host's own data seam and is used as it is: it promised to honour `schema`.
594
- */
595
- declare function asRecordsDataSource(source: unknown): RecordsDataSource;
596
-
597
- /** The schema every door of the record store lives in. The only place an app-facing string says it. */
598
- declare const STORE_SCHEMA = "custom";
599
- /** What a door refused with, as PostgREST gave it. */
600
- interface StoreDoorError {
601
- message: string;
602
- code?: string | null;
603
- hint?: string | null;
604
- details?: string | null;
605
- }
606
- interface StoreDoorAnswer<T = unknown> {
607
- data: T | null;
608
- error: StoreDoorError | null;
609
- }
610
- /** The bare caller: the same `rpc(fn, args)` shape the hand-written layers declared. */
611
- interface StoreCaller {
612
- rpc(fn: string, args?: Record<string, unknown>): PromiseLike<{
613
- data: unknown;
614
- error: StoreDoorError | null;
615
- }>;
616
- }
617
- /** The named doors an app calls most. Every member is a thin call over `rpc`; nothing is added to the answer. */
618
- interface StoreDoors extends StoreCaller {
619
- /** `custom.where_id_opens(p_id)` — which organization an object lives in. `data` is null when it is not given to the caller; the error is plain JSON (it streams to a browser as is). */
620
- whereIdOpens(id: string): PromiseLike<{
621
- data: unknown;
622
- error: {
623
- code: string | null;
624
- message: string;
625
- } | null;
626
- }>;
627
- /** `custom.table_kernel_id()` — the id of the store's Table kernel (a constant of the store). */
628
- tableKernelId(): PromiseLike<StoreDoorAnswer<string>>;
629
- /** `custom.read_records_by_ids` — the records of `ids` the caller may read in `tableId`, in `organizationId`. */
630
- readRecordsByIds(organizationId: string, tableId: string, ids: readonly string[]): PromiseLike<StoreDoorAnswer>;
631
- /** `custom.read_records_page` — one page; `args` are the door's own named arguments. */
632
- readRecordsPage(args: Record<string, unknown>): PromiseLike<StoreDoorAnswer>;
633
- /** `custom.record_table` — the table a record lives in. */
634
- recordTable(organizationId: string, recordId: string): PromiseLike<StoreDoorAnswer<string>>;
635
- /** `custom.applicable_fields` — the fields of a table. */
636
- applicableFields(organizationId: string, tableId: string): PromiseLike<StoreDoorAnswer>;
637
- /** `custom.field_declare` — declare one field on a table. */
638
- fieldDeclare(organizationId: string, tableId: string, spec: Record<string, unknown>): PromiseLike<StoreDoorAnswer<string>>;
639
- /** `custom.record_update` — patch a record's values. */
640
- recordUpdate(organizationId: string, recordId: string, patch: Record<string, unknown>): PromiseLike<StoreDoorAnswer>;
641
- /** `custom.entity_reference_words` — the labels of `{token,id}` refs, withheld when the caller may not open them. */
642
- entityReferenceWords(organizationId: string, refs: ReadonlyArray<{
643
- token: string;
644
- id: string;
645
- }>): PromiseLike<StoreDoorAnswer>;
646
- /** `custom.templates` — the catalogue (one page of cards for `filter`). */
647
- templates(filter: Record<string, unknown>): PromiseLike<StoreDoorAnswer>;
648
- /** `custom.template_from_tables` — draft a template spec from existing tables. */
649
- templateFromTables(args: {
650
- organizationId: string;
651
- tableIds: readonly string[];
652
- includeRows: boolean;
653
- rowsPerTable: number;
654
- }): PromiseLike<StoreDoorAnswer>;
655
- /** `custom.template_declare` — declare a template (`scope` is `"org"` for an organization's own). */
656
- templateDeclare(scope: string, spec: Record<string, unknown>): PromiseLike<StoreDoorAnswer>;
657
- /** `custom.template_keep` — keep a one-off template in the organization's own. */
658
- templateKeep(templateId: string): PromiseLike<StoreDoorAnswer>;
659
- /** `custom.template_archive` — archive (or, with `restore`, bring back) an organization's own template. */
660
- templateArchive(templateId: string, restore?: boolean): PromiseLike<StoreDoorAnswer>;
661
- /** `custom.template_install_claim` — the host step's lease on one install step. */
662
- templateInstallClaim(args: {
663
- organizationId: string;
664
- installId: string;
665
- kind: string;
666
- label: string;
667
- sourceId?: string | null;
668
- leaseSeconds: number;
669
- }): PromiseLike<StoreDoorAnswer>;
670
- /** `custom.template_install_note` — record the thing a host step made. */
671
- templateInstallNote(args: {
672
- organizationId: string;
673
- installId: string;
674
- kind: string;
675
- id: string;
676
- label: string;
677
- }): PromiseLike<StoreDoorAnswer>;
678
- }
679
- /**
680
- * Bind a supabase-js client (browser, server session, anon, or service-role) to the store's
681
- * doors. A client with no `schema()` is refused by name on every call (`data_source_unbound`), never
682
- * a thrown `undefined is not a function` in a render.
683
- */
684
- declare function storeDoors(client: unknown): StoreDoors;
685
-
686
- /** The SQLSTATEs this package claims to understand. Exported for the guard. */
687
- declare const MAPPED_SQLSTATES: string[];
688
- /** Map a PostgREST/supabase-js failure into the package's refusal shape. */
689
- declare function mapPgError(error: PgError, where: string): RecordsError;
690
- /**
691
- * Anything a host caught (a supabase-js error object, a thrown `Error`, a string) as the package's
692
- * refusal, through `mapPgError` — so a host service's `catch` speaks the same words as its doors.
693
- */
694
- declare function mapThrownError(thrown: unknown, where: string): RecordsError;
695
- /** Pull the conflict out of a `stale_write`, when the store sent one. */
696
- declare function staleWriteDetail(error: RecordsError): StaleWriteDetail | null;
697
- /**
698
- * HONEST-REFUSALS 1 — a member of an ARCHIVED organization is refused with the store's own sentence
699
- * ("This organization is archived, …") and DETAIL `organization_archived:<organization id>`. The sentence
700
- * and the restore hint ride `message` and `hint` verbatim like every refusal; this reads the organization out
701
- * so a screen can offer "Restore" (the owner's `iam.organization_restore` door) instead of a dead end.
702
- * Null for every other refusal, including the non-member's "You are not a member of that organization".
703
- */
704
- declare function archivedOrganizationId(error: RecordsError): string | null;
705
-
706
552
  /** The published defaults, which are also what the store falls back to when it cannot read a knob. */
707
553
  declare const DEFAULT_VALUE_MAX_BYTES = 100000;
708
554
  declare const DEFAULT_DOCUMENT_MAX_BYTES = 1048576;
@@ -868,191 +714,4 @@ declare function seededDataSource(index: Map<string, unknown>): {
868
714
  missed: () => boolean;
869
715
  };
870
716
 
871
- /** A database JSON column. Nothing is assumed about it; a reader narrows what it reads. */
872
- type Json = unknown;
873
- /** `public.field_data_type`. */
874
- type FieldDataType = "string" | "number" | "integer" | "boolean" | "date" | "datetime" | "json" | "array";
875
- /** A column as the grid draws it. */
876
- type DatasetField = {
877
- id: string;
878
- table_id: string;
879
- field_name: string;
880
- display_name: string;
881
- data_type: FieldDataType;
882
- field_order: number;
883
- is_required: boolean;
884
- is_public: boolean;
885
- default_value: Json | null;
886
- validation_rules: Json | null;
887
- metadata: Json;
888
- custom_fields: Json;
889
- organization_id: string;
890
- user_id: string;
891
- created_at: string;
892
- created_by: string | null;
893
- updated_at: string;
894
- updated_by: string | null;
895
- deleted_at: string | null;
896
- version: number;
897
- };
898
- /** A row as the grid holds it. */
899
- type DatasetRow = {
900
- id: string;
901
- table_id: string;
902
- data: Json;
903
- metadata: Json;
904
- custom_fields: Json;
905
- is_public: boolean;
906
- organization_id: string;
907
- user_id: string;
908
- source_row_ref: string | null;
909
- created_at: string;
910
- created_by: string | null;
911
- updated_at: string;
912
- updated_by: string | null;
913
- deleted_at: string | null;
914
- version: number;
915
- };
916
- type BulkInsertOp = {
917
- op: "insert";
918
- data: Record<string, unknown>;
919
- };
920
- type BulkUpdateOp = {
921
- op: "update";
922
- row_id: string;
923
- /** REPLACES the row's data wholesale. Keys not in `data` are dropped. */
924
- data: Record<string, unknown>;
925
- /**
926
- * The version the person saw this row at, when the caller holds it (an undo carries the version its
927
- * own write produced). Absent = the seam's ledger of the rows it drew (`lib/records/record-versions.ts`).
928
- */
929
- expected_version?: number | null;
930
- };
931
- type BulkMergeOp = {
932
- op: "merge";
933
- row_id: string;
934
- /**
935
- * Partial update — `data = existing_data || patch`. Keys in `data` overwrite
936
- * the row's matching keys; keys absent from `data` are preserved. Use this
937
- * when sending only changed fields.
938
- */
939
- data: Record<string, unknown>;
940
- /**
941
- * The version the person saw this row at, when the caller holds it (an undo carries the version its
942
- * own write produced). Absent = the seam's ledger of the rows it drew (`lib/records/record-versions.ts`).
943
- */
944
- expected_version?: number | null;
945
- };
946
- type BulkCellOp = {
947
- op: "cell";
948
- row_id: string;
949
- field_name: string;
950
- value: unknown;
951
- /**
952
- * The version the person saw this row at, when the caller holds it (an undo carries the version its
953
- * own write produced). Absent = the seam's ledger of the rows it drew (`lib/records/record-versions.ts`).
954
- */
955
- expected_version?: number | null;
956
- };
957
- type BulkDeleteOp = {
958
- op: "delete";
959
- row_id: string;
960
- };
961
- type BulkOp = BulkInsertOp | BulkUpdateOp | BulkMergeOp | BulkCellOp | BulkDeleteOp;
962
- /**
963
- * Per-op result envelope returned inside `bulkWrite`'s `results[]`.
964
- *
965
- * Note: insert / update / cell / delete that succeed return the full row.
966
- * Update / cell / delete against a row that is gone return `row_not_found`;
967
- * update / cell / merge against a row that is in Trash return `row_in_trash`
968
- * (with the server's own sentence in `message`). Both are soft failures — the
969
- * rest of the batch continues. Inserts that fail RAISE and abort the batch.
970
- */
971
- type BulkOpError = {
972
- error: "row_not_found" | "row_in_trash";
973
- row_id: string;
974
- message?: string;
975
- };
976
- type BulkOpResult = DatasetRow | BulkOpError;
977
- /**
978
- * Narrow a bulk-write result slot to the error variant.
979
- * Successful results carry the full DatasetRow shape (no discriminator key
980
- * on the success side, so consumers narrow via this guard).
981
- */
982
- declare function isBulkOpError(r: BulkOpResult): r is BulkOpError;
983
- /**
984
- * One plain sentence for the rows a batch could not change — the ONE wording
985
- * every bulk surface uses. A row in Trash is named as such (it can be restored),
986
- * never reported as "could not be found".
987
- */
988
- declare function describeBulkFailures(failed: BulkOpError[]): string;
989
- type BulkWriteResponse = {
990
- table_id: string;
991
- count: number;
992
- results: BulkOpResult[];
993
- };
994
- type ServiceOk<T> = {
995
- success: true;
996
- data: T;
997
- };
998
- /**
999
- * THE STORE'S OWN REFUSAL, kept whole (lane FIX-15, 2026-09-23).
1000
- *
1001
- * `error` is `PostgrestError.message` and nothing else, so a refusal written as
1002
- * three parts — what happened, what the column is, what to do instead — reached
1003
- * the screen as one third of itself, and the other two thirds (DETAIL and HINT)
1004
- * were thrown away in this envelope. On production a name typed into a relation
1005
- * column was refused by the store with a perfectly good sentence
1006
- * and the person saw nothing usable.
1007
- *
1008
- * `refusal` carries the whole thing in the shape every Matrx screen already
1009
- * knows how to draw (`RefusalNotice` / `RefusalLine` from `@ai-matrx/records-ui`,
1010
- * which run it through `plainWords` so no machine identity is ever printed at a
1011
- * person). `error` stays exactly what it was for the callers that print a line.
1012
- */
1013
- type ServiceErr = {
1014
- success: false;
1015
- error: string;
1016
- refusal?: RecordsError;
1017
- };
1018
- type ServiceResult<T> = ServiceOk<T> | ServiceErr;
1019
- /**
1020
- * Narrow a ServiceResult to the failure variant. Use instead of `!result.success`
1021
- * inside generic functions where TS's narrow through `Promise<ServiceResult<T>>`
1022
- * sometimes fails to discriminate the union members reliably.
1023
- */
1024
- declare function isServiceFailure<T>(r: ServiceResult<T>): r is ServiceErr;
1025
- /**
1026
- * Infer a table column's data type for a single value. Used by both the
1027
- * CSV/Excel import path and the JSON-to-table path. The returned strings
1028
- * align with `VALID_DATA_TYPES` in `table-utils.ts`.
1029
- */
1030
- declare function inferDataType(value: unknown): string;
1031
- /**
1032
- * Sanitize a display name into a valid field name
1033
- * Converts to lowercase, replaces special chars with underscores, follows snake_case
1034
- *
1035
- * @param displayName - The user-entered display name
1036
- * @returns Sanitized field name in snake_case format
1037
- *
1038
- * @example
1039
- * sanitizeFieldName("Total Revenue") // returns "total_revenue"
1040
- * sanitizeFieldName("Price ($)") // returns "price"
1041
- * sanitizeFieldName("2024 Sales") // returns "_2024_sales"
1042
- */
1043
- declare function sanitizeFieldName(displayName: string): string;
1044
- /**
1045
- * Validate that a field name follows the required format
1046
- * Must start with lowercase letter, contain only lowercase letters, numbers, and underscores
1047
- *
1048
- * @param fieldName - The field name to validate
1049
- * @returns true if valid, false otherwise
1050
- *
1051
- * @example
1052
- * validateFieldName("total_revenue") // returns true
1053
- * validateFieldName("Total Revenue") // returns false
1054
- * validateFieldName("123_sales") // returns false
1055
- */
1056
- declare function validateFieldName(fieldName: string): boolean;
1057
-
1058
- export { type BlockOutcome, type BulkCellOp, type BulkDeleteOp, type BulkInsertOp, type BulkMergeOp, type BulkOp, type BulkOpError, type BulkOpResult, type BulkUpdateOp, type BulkWriteResponse, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_VALUE_MAX_BYTES, DOORS, type DatasetField, type DatasetRow, type DoorKey, type ExportRow, Field, type FieldDataType, type Json, 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, STORE_SCHEMA, type ServiceErr, type ServiceOk, type ServiceResult, StaleWriteDetail, type StoreCaller, type StoreDoorAnswer, type StoreDoorError, type StoreDoors, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, archivedOrganizationId, asRecordsDataSource, blockLandedInStore, cellText, describeBulkFailures, doorAbsent, doorCensus, doorExists, doorReady, dropPrimedDoorAnswers, exportCellText, exportCsv, exportMarkdown, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, inferDataType, isBulkOpError, isRecordRemoved, isServiceFailure, landingOutcomesFor, mapPgError, mapThrownError, markRecordRemoved, markRecordRestored, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeDoorAnswer, primeRecordPageBundle, primeTablePageBundle, recordingDataSource, sanitizeFieldName, seedIndex, seedKey, seededDataSource, staleWriteDetail, storeDoors, supabaseDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, validateFieldName, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
717
+ 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, type MirrorLimits, OUTPUT_KEPT_KEY, PRIMED_DOOR_TTL_MS, PRODUCED_BY_LABEL, type ParsedImport, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, type RecordsSeed, type RecordsSeedAnswer, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, dropPrimedDoorAnswers, exportCellText, exportCsv, exportMarkdown, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, isRecordRemoved, landingOutcomesFor, markRecordRemoved, markRecordRestored, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeDoorAnswer, primeRecordPageBundle, primeTablePageBundle, recordingDataSource, seedIndex, seedKey, seededDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };