@ai-matrx/records 0.99.32 → 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 (62) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/dist/{client-CrwedBYU.d.ts → client-CSfkP7Xf.d.ts} +5 -74
  3. package/dist/{client-D1EwyWfh.d.cts → client-jKf1Z-kp.d.cts} +5 -74
  4. package/dist/core/index.cjs +149 -105
  5. package/dist/core/index.cjs.map +1 -1
  6. package/dist/core/index.d.cts +9 -331
  7. package/dist/core/index.d.ts +9 -331
  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 +3 -2
  13. package/dist/data/index.d.ts +3 -2
  14. package/dist/data/index.js +280 -236
  15. package/dist/data/index.js.map +1 -1
  16. package/dist/{declareTable-CC5rTTIA.d.ts → declareTable-0emxEewn.d.ts} +1 -1
  17. package/dist/{declareTable-BIIt0Wqt.d.cts → declareTable-800bwUn3.d.cts} +1 -1
  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-D1yAs0a0.d.cts → doors-BgjRUdxw.d.cts} +13 -1
  25. package/dist/{doors-D2z3kH2i.d.ts → doors-D7_jEKtg.d.ts} +13 -1
  26. package/dist/index.d.cts +5 -4
  27. package/dist/index.d.ts +5 -4
  28. package/dist/{objectOrganization-DazBoDAq.d.cts → objectOrganization-B5YFGVUB.d.cts} +1 -1
  29. package/dist/{objectOrganization-D1ox3gUx.d.ts → objectOrganization-DozoVIxS.d.ts} +1 -1
  30. package/dist/pickListDoors-C-_eAEGL.d.cts +135 -0
  31. package/dist/pickListDoors-DgWVnNRI.d.ts +135 -0
  32. package/dist/questions/index.d.cts +3 -2
  33. package/dist/questions/index.d.ts +3 -2
  34. package/dist/react/index.cjs +363 -319
  35. package/dist/react/index.cjs.map +1 -1
  36. package/dist/react/index.d.cts +37 -22
  37. package/dist/react/index.d.ts +37 -22
  38. package/dist/react/index.js +363 -319
  39. package/dist/react/index.js.map +1 -1
  40. package/dist/scopes/index.cjs +7 -0
  41. package/dist/scopes/index.cjs.map +1 -1
  42. package/dist/scopes/index.d.cts +2 -2
  43. package/dist/scopes/index.d.ts +2 -2
  44. package/dist/scopes/index.js +7 -0
  45. package/dist/scopes/index.js.map +1 -1
  46. package/dist/setup/index.cjs +289 -245
  47. package/dist/setup/index.cjs.map +1 -1
  48. package/dist/setup/index.d.cts +4 -3
  49. package/dist/setup/index.d.ts +4 -3
  50. package/dist/setup/index.js +289 -245
  51. package/dist/setup/index.js.map +1 -1
  52. package/dist/table-logic-BPquabNN.d.ts +328 -0
  53. package/dist/table-logic-CTh6lwaq.d.cts +328 -0
  54. package/dist/typed-table/index.cjs +280 -236
  55. package/dist/typed-table/index.cjs.map +1 -1
  56. package/dist/typed-table/index.d.cts +4 -3
  57. package/dist/typed-table/index.d.ts +4 -3
  58. package/dist/typed-table/index.js +280 -236
  59. package/dist/typed-table/index.js.map +1 -1
  60. package/dist/views/index.d.cts +3 -2
  61. package/dist/views/index.d.ts +3 -2
  62. package/package.json +13 -3
package/dist/index.d.cts CHANGED
@@ -1,17 +1,18 @@
1
1
  import { U as Uuid, R as RecordsResult, $ as MergeFieldSource, _ as MergeFieldSemanticType, Z as MergeFieldModifier, a2 as OverridePolicy, z as Delivery, h as Timestamp, M as Freshness, n as RecordDocument } from './record-CTgSgWe3.cjs';
2
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, 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, 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, a0 as ON_DELETE, a1 as OVERRIDE_POLICIES, O as OnDelete, a3 as PARITY_FIELD_TYPES, a4 as PER_VALUE_ACCESS_WORDS, p as ParityFieldType, a5 as PerValueAccessWord, P as PgError, q as PredictedRefusal, 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, r as ReadValue, ad as RecordChange, ae as RecordChangeResult, af as RecordGraphWritten, ag as RecordKeysetPage, ah as RecordPage, k as RecordPageSort, ai as RecordRead, aj as RecordRevision, a as RecordsError, 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, 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.cjs';
3
- import { cP as TableDuplicateProgress, cQ as TableDuplicated, O as CaptureFileRef, P as CaptureOutcome, R as RecordsClient } from './client-D1EwyWfh.cjs';
4
- export { A as ARCHIVE_LANES, a as ARCHIVE_LANE_LABEL, b as ARCHIVE_LANE_MEANS, 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, 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, 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, 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, c4 as PublishBinding, c5 as PublishBindingKind, 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, cf as RecordRowControls, cg as RecordScopeComment, ch as RecordScopeContext, ci as RecordScopeField, cj as RecordScopeHistoryEntry, ck as RecordScopeRelation, cl as RecordScopeWithheld, cm as RecordSplit, 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, cS as TableHome, cT as TableHomeDestination, cU as TableLevel, cV as TableLevelApproval, cW as TableLevelFacts, cX as TableLevelSet, cY as TableListEntry, 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, dO as automationWebhookUrl, dP as choiceSlug, dQ as choiceValuesOf, dR as choicesOf, dS as clearsRowLabel, dU as decideTypedChoice, dV as declareDrillDefinition, dW as drillAnswerOf, dX as drillFindingKnob, dY as emptyArchiveLine, dZ as exportPageXlsx, d_ as holdsARetiredChoice, 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, 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, eD as withTablePlacement } from './client-D1EwyWfh.cjs';
3
+ import { cL as TableDuplicateProgress, cM as TableDuplicated, N as CaptureFileRef, O as CaptureOutcome, R as RecordsClient } from './client-jKf1Z-kp.cjs';
4
+ 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, 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, 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, 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, c0 as PublishBinding, c1 as PublishBindingKind, 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, cb as RecordRowControls, cc as RecordScopeComment, cd as RecordScopeContext, ce as RecordScopeField, cf as RecordScopeHistoryEntry, cg as RecordScopeRelation, ch as RecordScopeWithheld, ci as RecordSplit, 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, cO as TableHome, cP as TableHomeDestination, cQ as TableLevel, cR as TableLevelApproval, cS as TableLevelFacts, cT as TableLevelSet, cU as TableListEntry, 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, dK as automationWebhookUrl, dL as choiceSlug, dM as choiceValuesOf, dN as choicesOf, dO as clearsRowLabel, dQ as decideTypedChoice, dR as declareDrillDefinition, dS as drillAnswerOf, dT as drillFindingKnob, dU as emptyArchiveLine, dV as exportPageXlsx, dW as holdsARetiredChoice, 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, 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, ey as withTablePlacement } from './client-jKf1Z-kp.cjs';
5
5
  export { M as MyLevel, O as OpLedger, P as PERMISSION_LEVELS, g as PermissionLevel, h as RecordsActor, e as RecordsChangeSink, a as RecordsConfig, d as RecordsDataSource, 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-alv3bgKY.cjs';
6
6
  import { m as CoercibleField } from './field-B8loYt-A.cjs';
7
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, n as FIELD_KINDS, F as Field, 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-B8loYt-A.cjs';
8
+ export { h as PickListDocument, j as PickListItem, k as PickListItemInput } from './pickListDoors-C-_eAEGL.cjs';
8
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-49jO7lN-.cjs';
9
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-L_mN8l9P.cjs';
10
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-CuaGi3lC.cjs';
11
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-BjjjXyqn.cjs';
12
- 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-DazBoDAq.cjs';
13
+ 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-B5YFGVUB.cjs';
13
14
  export { TABLE_KIND_PREFIX, TableKindFacts, TableRenderSchema, TableSchemaMode, fieldKindOf, isTableKind, tableIdOf, tableJsonSchema, tableKindMapping, tableKindSlug, tableRenderSchema } from './table-kind/index.cjs';
14
- import './doors-D1yAs0a0.cjs';
15
+ import './doors-BgjRUdxw.cjs';
15
16
 
16
17
  type WithFormat = CoercibleField & {
17
18
  display_format?: unknown;
package/dist/index.d.ts CHANGED
@@ -1,17 +1,18 @@
1
1
  import { U as Uuid, R as RecordsResult, $ as MergeFieldSource, _ as MergeFieldSemanticType, Z as MergeFieldModifier, a2 as OverridePolicy, z as Delivery, h as Timestamp, M as Freshness, n as RecordDocument } from './record-CTgSgWe3.js';
2
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, 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, 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, a0 as ON_DELETE, a1 as OVERRIDE_POLICIES, O as OnDelete, a3 as PARITY_FIELD_TYPES, a4 as PER_VALUE_ACCESS_WORDS, p as ParityFieldType, a5 as PerValueAccessWord, P as PgError, q as PredictedRefusal, 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, r as ReadValue, ad as RecordChange, ae as RecordChangeResult, af as RecordGraphWritten, ag as RecordKeysetPage, ah as RecordPage, k as RecordPageSort, ai as RecordRead, aj as RecordRevision, a as RecordsError, 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, 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
- import { cP as TableDuplicateProgress, cQ as TableDuplicated, O as CaptureFileRef, P as CaptureOutcome, R as RecordsClient } from './client-CrwedBYU.js';
4
- export { A as ARCHIVE_LANES, a as ARCHIVE_LANE_LABEL, b as ARCHIVE_LANE_MEANS, 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, 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, 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, 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, c4 as PublishBinding, c5 as PublishBindingKind, 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, cf as RecordRowControls, cg as RecordScopeComment, ch as RecordScopeContext, ci as RecordScopeField, cj as RecordScopeHistoryEntry, ck as RecordScopeRelation, cl as RecordScopeWithheld, cm as RecordSplit, 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, cS as TableHome, cT as TableHomeDestination, cU as TableLevel, cV as TableLevelApproval, cW as TableLevelFacts, cX as TableLevelSet, cY as TableListEntry, 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, dO as automationWebhookUrl, dP as choiceSlug, dQ as choiceValuesOf, dR as choicesOf, dS as clearsRowLabel, dU as decideTypedChoice, dV as declareDrillDefinition, dW as drillAnswerOf, dX as drillFindingKnob, dY as emptyArchiveLine, dZ as exportPageXlsx, d_ as holdsARetiredChoice, 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, 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, eD as withTablePlacement } from './client-CrwedBYU.js';
3
+ import { cL as TableDuplicateProgress, cM as TableDuplicated, N as CaptureFileRef, O as CaptureOutcome, R as RecordsClient } from './client-CSfkP7Xf.js';
4
+ 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, 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, 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, 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, c0 as PublishBinding, c1 as PublishBindingKind, 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, cb as RecordRowControls, cc as RecordScopeComment, cd as RecordScopeContext, ce as RecordScopeField, cf as RecordScopeHistoryEntry, cg as RecordScopeRelation, ch as RecordScopeWithheld, ci as RecordSplit, 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, cO as TableHome, cP as TableHomeDestination, cQ as TableLevel, cR as TableLevelApproval, cS as TableLevelFacts, cT as TableLevelSet, cU as TableListEntry, 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, dK as automationWebhookUrl, dL as choiceSlug, dM as choiceValuesOf, dN as choicesOf, dO as clearsRowLabel, dQ as decideTypedChoice, dR as declareDrillDefinition, dS as drillAnswerOf, dT as drillFindingKnob, dU as emptyArchiveLine, dV as exportPageXlsx, dW as holdsARetiredChoice, 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, 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, ey as withTablePlacement } from './client-CSfkP7Xf.js';
5
5
  export { M as MyLevel, O as OpLedger, P as PERMISSION_LEVELS, g as PermissionLevel, h as RecordsActor, e as RecordsChangeSink, a as RecordsConfig, d as RecordsDataSource, 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
6
  import { m as CoercibleField } from './field-DaE90BZ7.js';
7
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, n as FIELD_KINDS, F as Field, 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 { h as PickListDocument, j as PickListItem, k as PickListItemInput } from './pickListDoors-DgWVnNRI.js';
8
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-DzNj0QvN.js';
9
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-CAssJHRZ.js';
10
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-Bp1RSb6p.js';
11
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-T4biacnz.js';
12
- 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-D1ox3gUx.js';
13
+ 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';
13
14
  export { TABLE_KIND_PREFIX, TableKindFacts, TableRenderSchema, TableSchemaMode, fieldKindOf, isTableKind, tableIdOf, tableJsonSchema, tableKindMapping, tableKindSlug, tableRenderSchema } from './table-kind/index.js';
14
- import './doors-D2z3kH2i.js';
15
+ import './doors-D7_jEKtg.js';
15
16
 
16
17
  type WithFormat = CoercibleField & {
17
18
  display_format?: unknown;
@@ -42,4 +42,4 @@ declare function readObjectOrganizationAnswer(answered: {
42
42
  /** The default port: one `custom.where_id_opens` call per ask, nothing kept. */
43
43
  declare function whereIdOpensPort(dataSource: Pick<RecordsDataSource, "rpc">): RecordOrganizationPort;
44
44
 
45
- export { type ObjectOrganizationAnswer as O, type RecordOrganizationPort as R, WHERE_ID_OPENS_DOOR as W, type ObjectKind as a, resolveObjectOrganization as b, readObjectOrganizationAnswer as r, whereIdOpensPort as w };
45
+ export { type ObjectKind as O, type RecordOrganizationPort as R, WHERE_ID_OPENS_DOOR as W, type ObjectOrganizationAnswer as a, resolveObjectOrganization as b, readObjectOrganizationAnswer as r, whereIdOpensPort as w };
@@ -42,4 +42,4 @@ declare function readObjectOrganizationAnswer(answered: {
42
42
  /** The default port: one `custom.where_id_opens` call per ask, nothing kept. */
43
43
  declare function whereIdOpensPort(dataSource: Pick<RecordsDataSource, "rpc">): RecordOrganizationPort;
44
44
 
45
- export { type ObjectOrganizationAnswer as O, type RecordOrganizationPort as R, WHERE_ID_OPENS_DOOR as W, type ObjectKind as a, resolveObjectOrganization as b, readObjectOrganizationAnswer as r, whereIdOpensPort as w };
45
+ export { type ObjectKind as O, type RecordOrganizationPort as R, WHERE_ID_OPENS_DOOR as W, type ObjectOrganizationAnswer as a, resolveObjectOrganization as b, readObjectOrganizationAnswer as r, whereIdOpensPort as w };
@@ -0,0 +1,135 @@
1
+ import { m as RecordsErrorCode, R as RecordsResult, a as RecordsError, U as Uuid } from './record-CTgSgWe3.cjs';
2
+ import { d as RecordsDataSource, c as RecordsErrorSink } from './ports-alv3bgKY.cjs';
3
+
4
+ /** One choice as the detail / selection documents hand it back. */
5
+ interface PickListItem {
6
+ id: string;
7
+ label: string;
8
+ /** Never present on the selection read: that read is the one a non-owner may see. */
9
+ description?: string | null;
10
+ help_text?: string | null;
11
+ group_name?: string | null;
12
+ icon_name?: string | null;
13
+ }
14
+ /** A pick list as `pick_list_get` / `pick_list_for_selection` / `pick_list_update` answer it. */
15
+ interface PickListDocument {
16
+ id?: string;
17
+ list_id?: string;
18
+ list_name?: string;
19
+ description?: string | null;
20
+ organization_id?: string | null;
21
+ /** The choices in order (the update door answers this flat shape). */
22
+ items?: PickListItem[];
23
+ /** The choices by group (the read doors answer this shape). */
24
+ items_grouped?: Record<string, PickListItem[]>;
25
+ [key: string]: unknown;
26
+ }
27
+ /** One choice to write when a list's choices are replaced. Either casing of each key is read by the door. */
28
+ interface PickListItemInput {
29
+ label: string;
30
+ description?: string;
31
+ help_text?: string;
32
+ group_name?: string;
33
+ icon?: string;
34
+ }
35
+
36
+ /** The schema every door of the record store lives in, unless the host's config says otherwise. */
37
+ declare const DEFAULT_DOOR_SCHEMA = "custom";
38
+ /** An argument object as one stable string: keys sorted at every depth (PAGE-BUNDLE's match key). */
39
+ declare function canonicalArgs(value: unknown): string;
40
+ /**
41
+ * 🚨 A REFUSAL IS NOT AN APP ERROR (lane RECORDS-UI-FIX, guide re-walk 2026-09-23).
42
+ *
43
+ * A person typing `-3` into a column that takes "at least 0" is the store WORKING: the
44
+ * rule said no, the screen said so in the one notice, and the person fixed it. The default
45
+ * sink printed every one of those through `console.error`, and the app's error capture
46
+ * (matrx-frontend `lib/diagnostics/globalErrorCapture.ts`) counts every `console.error` —
47
+ * so one refused value lit a red "2 errors" pill in the corner, telling an admin the
48
+ * product had failed when a person had simply been told no.
49
+ *
50
+ * These are the codes a PERSON causes by what they typed or when they typed it; each one
51
+ * is already drawn on the screen that asked. They are still said (`console.info`), never
52
+ * silenced. Everything else — a door, the store switched off, a timeout, a class this
53
+ * package did not recognise — is a failure of the system and stays `console.error`.
54
+ */
55
+ declare const A_PERSONS_REFUSAL: ReadonlySet<RecordsErrorCode>;
56
+ declare function isAPersonsRefusal(code: RecordsErrorCode | string): boolean;
57
+ /** The host's error sink, or the default one: the store's own words, naming where it happened. */
58
+ declare function recordsErrorSink(onError: RecordsErrorSink | undefined): RecordsErrorSink;
59
+ /** The refusal a missing door gets. It always says who owes it (`owedBy`, when a lane claims it). */
60
+ declare function doorAbsentRefusal(name: string, owedBy?: string): RecordsError;
61
+ /**
62
+ * What the server render already asked as this person, for this exact door and arguments — or null.
63
+ * A write (or a look write) empties what is primed instead, and is never answered from it.
64
+ */
65
+ declare function primedDoorAnswer(door: string, args: Record<string, unknown>): {
66
+ data: unknown;
67
+ } | null;
68
+ /** One door call: the door's name, its arguments, and where the caller is (for the refusal). */
69
+ type DoorCall = <T>(door: string, args: Record<string, unknown>, where: string,
70
+ /**
71
+ * `quiet`: this refusal is an ANSWER the caller already draws (a door that says "not yours" to a
72
+ * person who only has table-level access), not a failure of the system. It is returned to the
73
+ * caller and said once with `console.info` - never through the error sink, which lights the
74
+ * error badge. Everything else about the call is unchanged.
75
+ */
76
+ opts?: {
77
+ quiet?: boolean;
78
+ }) => Promise<RecordsResult<T>>;
79
+ interface DoorCallOptions {
80
+ /** The store's data seam (`asRecordsDataSource(supabase)`). */
81
+ dataSource: RecordsDataSource;
82
+ /** Defaults to `custom`. */
83
+ schema?: string;
84
+ /** The host's error sink (defaults to `recordsErrorSink(undefined)`). */
85
+ onError?: RecordsErrorSink;
86
+ /**
87
+ * MAY THIS DOOR BE ASKED AT ALL (the full client's generated catalogue). False refuses with
88
+ * `absent(door)` and asks nobody. Absent ⇒ every door is asked, and a store that answers "no such
89
+ * function" (PostgREST's PGRST202 or Postgres's 42883) is refused `door_absent` all the same.
90
+ */
91
+ doorReady?: (door: string) => boolean;
92
+ /** The refusal a missing door gets (defaults to `doorAbsentRefusal(door)`). */
93
+ absent?: (door: string) => RecordsError;
94
+ /** An answer this page already holds for the exact call (the full client's page bundle), else null. */
95
+ held?: (door: string, args: Record<string, unknown>) => Promise<{
96
+ data: unknown;
97
+ } | null | undefined>;
98
+ /** A write landed: drop what this page still holds of it (the full client's page bundle). */
99
+ wrote?: (door: string, args: Record<string, unknown>) => void;
100
+ }
101
+ /** Build the one door call over a data source. Every records client, light or full, asks through this. */
102
+ declare function createDoorCall(options: DoorCallOptions): DoorCall;
103
+
104
+ interface PickListDoors {
105
+ /**
106
+ * PICK-LISTS: a pick list with its choices, grouped (`custom.pick_list_get`; viewer access on the list).
107
+ * The list is read by its own id; its organization is the list's own, never the client's.
108
+ */
109
+ pickListGet(args: {
110
+ list_id: Uuid;
111
+ }): Promise<RecordsResult<PickListDocument | null>>;
112
+ /** PICK-LISTS: a pick list for a selection control (`custom.pick_list_for_selection`): labels, help, groups, icons, NEVER the secret description. */
113
+ pickListForSelection(args: {
114
+ list_id: Uuid;
115
+ }): Promise<RecordsResult<PickListDocument | null>>;
116
+ /**
117
+ * PICK-LISTS: rename / describe a pick list and, with `items`, REPLACE its choices
118
+ * (`custom.pick_list_update`; editor access). The replaced choices are archived, soft and restorable.
119
+ */
120
+ pickListUpdate(args: {
121
+ list_id: Uuid;
122
+ list_name?: string | null;
123
+ description?: string | null;
124
+ items?: readonly PickListItemInput[] | null;
125
+ }): Promise<RecordsResult<PickListDocument | null>>;
126
+ }
127
+ /** The door names (guard: each is in the generated catalogue — `door-call-entry.test.ts`). */
128
+ declare const PICK_LIST_DOORS: {
129
+ readonly pickListGet: "pick_list_get";
130
+ readonly pickListForSelection: "pick_list_for_selection";
131
+ readonly pickListUpdate: "pick_list_update";
132
+ };
133
+ declare function createPickListDoors(callDoor: DoorCall): PickListDoors;
134
+
135
+ export { A_PERSONS_REFUSAL as A, type DoorCallOptions as D, type PickListDoors as P, type DoorCall as a, DEFAULT_DOOR_SCHEMA as b, PICK_LIST_DOORS as c, canonicalArgs as d, createDoorCall as e, createPickListDoors as f, doorAbsentRefusal as g, type PickListDocument as h, isAPersonsRefusal as i, type PickListItem as j, type PickListItemInput as k, primedDoorAnswer as p, recordsErrorSink as r };
@@ -0,0 +1,135 @@
1
+ import { m as RecordsErrorCode, R as RecordsResult, a as RecordsError, U as Uuid } from './record-CTgSgWe3.js';
2
+ import { d as RecordsDataSource, c as RecordsErrorSink } from './ports-CmmvR8OI.js';
3
+
4
+ /** One choice as the detail / selection documents hand it back. */
5
+ interface PickListItem {
6
+ id: string;
7
+ label: string;
8
+ /** Never present on the selection read: that read is the one a non-owner may see. */
9
+ description?: string | null;
10
+ help_text?: string | null;
11
+ group_name?: string | null;
12
+ icon_name?: string | null;
13
+ }
14
+ /** A pick list as `pick_list_get` / `pick_list_for_selection` / `pick_list_update` answer it. */
15
+ interface PickListDocument {
16
+ id?: string;
17
+ list_id?: string;
18
+ list_name?: string;
19
+ description?: string | null;
20
+ organization_id?: string | null;
21
+ /** The choices in order (the update door answers this flat shape). */
22
+ items?: PickListItem[];
23
+ /** The choices by group (the read doors answer this shape). */
24
+ items_grouped?: Record<string, PickListItem[]>;
25
+ [key: string]: unknown;
26
+ }
27
+ /** One choice to write when a list's choices are replaced. Either casing of each key is read by the door. */
28
+ interface PickListItemInput {
29
+ label: string;
30
+ description?: string;
31
+ help_text?: string;
32
+ group_name?: string;
33
+ icon?: string;
34
+ }
35
+
36
+ /** The schema every door of the record store lives in, unless the host's config says otherwise. */
37
+ declare const DEFAULT_DOOR_SCHEMA = "custom";
38
+ /** An argument object as one stable string: keys sorted at every depth (PAGE-BUNDLE's match key). */
39
+ declare function canonicalArgs(value: unknown): string;
40
+ /**
41
+ * 🚨 A REFUSAL IS NOT AN APP ERROR (lane RECORDS-UI-FIX, guide re-walk 2026-09-23).
42
+ *
43
+ * A person typing `-3` into a column that takes "at least 0" is the store WORKING: the
44
+ * rule said no, the screen said so in the one notice, and the person fixed it. The default
45
+ * sink printed every one of those through `console.error`, and the app's error capture
46
+ * (matrx-frontend `lib/diagnostics/globalErrorCapture.ts`) counts every `console.error` —
47
+ * so one refused value lit a red "2 errors" pill in the corner, telling an admin the
48
+ * product had failed when a person had simply been told no.
49
+ *
50
+ * These are the codes a PERSON causes by what they typed or when they typed it; each one
51
+ * is already drawn on the screen that asked. They are still said (`console.info`), never
52
+ * silenced. Everything else — a door, the store switched off, a timeout, a class this
53
+ * package did not recognise — is a failure of the system and stays `console.error`.
54
+ */
55
+ declare const A_PERSONS_REFUSAL: ReadonlySet<RecordsErrorCode>;
56
+ declare function isAPersonsRefusal(code: RecordsErrorCode | string): boolean;
57
+ /** The host's error sink, or the default one: the store's own words, naming where it happened. */
58
+ declare function recordsErrorSink(onError: RecordsErrorSink | undefined): RecordsErrorSink;
59
+ /** The refusal a missing door gets. It always says who owes it (`owedBy`, when a lane claims it). */
60
+ declare function doorAbsentRefusal(name: string, owedBy?: string): RecordsError;
61
+ /**
62
+ * What the server render already asked as this person, for this exact door and arguments — or null.
63
+ * A write (or a look write) empties what is primed instead, and is never answered from it.
64
+ */
65
+ declare function primedDoorAnswer(door: string, args: Record<string, unknown>): {
66
+ data: unknown;
67
+ } | null;
68
+ /** One door call: the door's name, its arguments, and where the caller is (for the refusal). */
69
+ type DoorCall = <T>(door: string, args: Record<string, unknown>, where: string,
70
+ /**
71
+ * `quiet`: this refusal is an ANSWER the caller already draws (a door that says "not yours" to a
72
+ * person who only has table-level access), not a failure of the system. It is returned to the
73
+ * caller and said once with `console.info` - never through the error sink, which lights the
74
+ * error badge. Everything else about the call is unchanged.
75
+ */
76
+ opts?: {
77
+ quiet?: boolean;
78
+ }) => Promise<RecordsResult<T>>;
79
+ interface DoorCallOptions {
80
+ /** The store's data seam (`asRecordsDataSource(supabase)`). */
81
+ dataSource: RecordsDataSource;
82
+ /** Defaults to `custom`. */
83
+ schema?: string;
84
+ /** The host's error sink (defaults to `recordsErrorSink(undefined)`). */
85
+ onError?: RecordsErrorSink;
86
+ /**
87
+ * MAY THIS DOOR BE ASKED AT ALL (the full client's generated catalogue). False refuses with
88
+ * `absent(door)` and asks nobody. Absent ⇒ every door is asked, and a store that answers "no such
89
+ * function" (PostgREST's PGRST202 or Postgres's 42883) is refused `door_absent` all the same.
90
+ */
91
+ doorReady?: (door: string) => boolean;
92
+ /** The refusal a missing door gets (defaults to `doorAbsentRefusal(door)`). */
93
+ absent?: (door: string) => RecordsError;
94
+ /** An answer this page already holds for the exact call (the full client's page bundle), else null. */
95
+ held?: (door: string, args: Record<string, unknown>) => Promise<{
96
+ data: unknown;
97
+ } | null | undefined>;
98
+ /** A write landed: drop what this page still holds of it (the full client's page bundle). */
99
+ wrote?: (door: string, args: Record<string, unknown>) => void;
100
+ }
101
+ /** Build the one door call over a data source. Every records client, light or full, asks through this. */
102
+ declare function createDoorCall(options: DoorCallOptions): DoorCall;
103
+
104
+ interface PickListDoors {
105
+ /**
106
+ * PICK-LISTS: a pick list with its choices, grouped (`custom.pick_list_get`; viewer access on the list).
107
+ * The list is read by its own id; its organization is the list's own, never the client's.
108
+ */
109
+ pickListGet(args: {
110
+ list_id: Uuid;
111
+ }): Promise<RecordsResult<PickListDocument | null>>;
112
+ /** PICK-LISTS: a pick list for a selection control (`custom.pick_list_for_selection`): labels, help, groups, icons, NEVER the secret description. */
113
+ pickListForSelection(args: {
114
+ list_id: Uuid;
115
+ }): Promise<RecordsResult<PickListDocument | null>>;
116
+ /**
117
+ * PICK-LISTS: rename / describe a pick list and, with `items`, REPLACE its choices
118
+ * (`custom.pick_list_update`; editor access). The replaced choices are archived, soft and restorable.
119
+ */
120
+ pickListUpdate(args: {
121
+ list_id: Uuid;
122
+ list_name?: string | null;
123
+ description?: string | null;
124
+ items?: readonly PickListItemInput[] | null;
125
+ }): Promise<RecordsResult<PickListDocument | null>>;
126
+ }
127
+ /** The door names (guard: each is in the generated catalogue — `door-call-entry.test.ts`). */
128
+ declare const PICK_LIST_DOORS: {
129
+ readonly pickListGet: "pick_list_get";
130
+ readonly pickListForSelection: "pick_list_for_selection";
131
+ readonly pickListUpdate: "pick_list_update";
132
+ };
133
+ declare function createPickListDoors(callDoor: DoorCall): PickListDoors;
134
+
135
+ export { A_PERSONS_REFUSAL as A, type DoorCallOptions as D, type PickListDoors as P, type DoorCall as a, DEFAULT_DOOR_SCHEMA as b, PICK_LIST_DOORS as c, canonicalArgs as d, createDoorCall as e, createPickListDoors as f, doorAbsentRefusal as g, type PickListDocument as h, isAPersonsRefusal as i, type PickListItem as j, type PickListItemInput as k, primedDoorAnswer as p, recordsErrorSink as r };
@@ -1,11 +1,12 @@
1
1
  import { A as AggregateBucket } from '../subscription-CuaGi3lC.cjs';
2
- import { R as RecordsClient } from '../client-D1EwyWfh.cjs';
2
+ import { R as RecordsClient } from '../client-jKf1Z-kp.cjs';
3
3
  import { F as Field } from '../field-B8loYt-A.cjs';
4
4
  import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-CTgSgWe3.cjs';
5
5
  import { R as RuleExpression } from '../rule-49jO7lN-.cjs';
6
6
  import '../relation-BjjjXyqn.cjs';
7
7
  import '../ports-alv3bgKY.cjs';
8
- import '../doors-D1yAs0a0.cjs';
8
+ import '../doors-BgjRUdxw.cjs';
9
+ import '../pickListDoors-C-_eAEGL.cjs';
9
10
  import '../portal-L_mN8l9P.cjs';
10
11
  import '../table-kind/index.cjs';
11
12
 
@@ -1,11 +1,12 @@
1
1
  import { A as AggregateBucket } from '../subscription-Bp1RSb6p.js';
2
- import { R as RecordsClient } from '../client-CrwedBYU.js';
2
+ import { R as RecordsClient } from '../client-CSfkP7Xf.js';
3
3
  import { F as Field } from '../field-DaE90BZ7.js';
4
4
  import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-CTgSgWe3.js';
5
5
  import { R as RuleExpression } from '../rule-DzNj0QvN.js';
6
6
  import '../relation-T4biacnz.js';
7
7
  import '../ports-CmmvR8OI.js';
8
- import '../doors-D2z3kH2i.js';
8
+ import '../doors-D7_jEKtg.js';
9
+ import '../pickListDoors-DgWVnNRI.js';
9
10
  import '../portal-CAssJHRZ.js';
10
11
  import '../table-kind/index.js';
11
12