@ai-matrx/records 0.98.8 → 0.98.9

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 (92) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{table-kind-CboiMJuE.d.cts → client-9fzhCPD5.d.cts} +2771 -4
  3. package/dist/{table-kind-B4sdlvHf.d.ts → client-DcWZjmg2.d.ts} +2771 -4
  4. package/dist/core/index.cjs +100 -3
  5. package/dist/core/index.cjs.map +1 -1
  6. package/dist/core/index.d.cts +19 -17
  7. package/dist/core/index.d.ts +19 -17
  8. package/dist/core/index.js +100 -3
  9. package/dist/core/index.js.map +1 -1
  10. package/dist/data/index.cjs +52 -0
  11. package/dist/data/index.cjs.map +1 -1
  12. package/dist/data/index.d.cts +11 -12
  13. package/dist/data/index.d.ts +11 -12
  14. package/dist/data/index.js +52 -0
  15. package/dist/data/index.js.map +1 -1
  16. package/dist/{declareTable-BIuPJ3Vj.d.ts → declareTable-B6ic3leL.d.ts} +3 -4
  17. package/dist/{declareTable-d-HxRmF0.d.cts → declareTable-_GwN-ERY.d.cts} +3 -4
  18. package/dist/{doors-Bx3Shs3z.d.cts → doors-Dm5q9H8Y.d.cts} +1 -1
  19. package/dist/{doors-BTifsjNv.d.ts → doors-t-Oc2l9E.d.ts} +1 -1
  20. package/dist/entity/index.d.cts +7 -7
  21. package/dist/entity/index.d.ts +7 -7
  22. package/dist/{field-CJtssH3q.d.ts → field-BIRNApm1.d.ts} +2 -2
  23. package/dist/{field-DoVl2I9K.d.cts → field-BLy8drjM.d.cts} +2 -2
  24. package/dist/forms/index.d.cts +3 -3
  25. package/dist/forms/index.d.ts +3 -3
  26. package/dist/index.cjs +45 -0
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +30 -13
  29. package/dist/index.d.ts +30 -13
  30. package/dist/index.js +45 -0
  31. package/dist/index.js.map +1 -1
  32. package/dist/memory/index.d.cts +7 -7
  33. package/dist/memory/index.d.ts +7 -7
  34. package/dist/{objectOrganization-Crk9gJUM.d.ts → objectOrganization-D5Ytjah7.d.ts} +1 -1
  35. package/dist/{objectOrganization-CUa6jjhV.d.cts → objectOrganization-zgpoUAH1.d.cts} +1 -1
  36. package/dist/{port-CRP5g9l9.d.cts → port-B9glCG2h.d.cts} +3 -3
  37. package/dist/{port-CtnELAJQ.d.ts → port-C-p-_lAu.d.ts} +3 -3
  38. package/dist/{portal-DW5NGBT0.d.ts → portal-B9HCNPTc.d.ts} +2 -2
  39. package/dist/{portal-C4N9ByaY.d.cts → portal-C_LgvDeh.d.cts} +2 -2
  40. package/dist/{ports-WwHHNwge.d.ts → ports-BE_5jz-c.d.ts} +2 -2
  41. package/dist/{ports-YIh9jrCZ.d.cts → ports-BIdYUS-C.d.cts} +2 -2
  42. package/dist/questions/index.d.cts +9 -10
  43. package/dist/questions/index.d.ts +9 -10
  44. package/dist/react/index.cjs +97 -0
  45. package/dist/react/index.cjs.map +1 -1
  46. package/dist/react/index.d.cts +86 -1
  47. package/dist/react/index.d.ts +86 -1
  48. package/dist/react/index.js +97 -0
  49. package/dist/react/index.js.map +1 -1
  50. package/dist/realtime/index.d.cts +3 -3
  51. package/dist/realtime/index.d.ts +3 -3
  52. package/dist/{record-CxGK1OEK.d.cts → record-BrJNCmH1.d.cts} +1 -1
  53. package/dist/{record-CxGK1OEK.d.ts → record-BrJNCmH1.d.ts} +1 -1
  54. package/dist/{relation-Dh-lCkkh.d.ts → relation-BxGXLRaG.d.ts} +3 -3
  55. package/dist/{relation-DSGhM3tO.d.cts → relation-R10qQyQU.d.cts} +3 -3
  56. package/dist/{rule-DQpC7WqT.d.cts → rule-BGtYd6Pf.d.cts} +2 -2
  57. package/dist/{rule-xNwJF6Qo.d.ts → rule-BtjrE42J.d.ts} +2 -2
  58. package/dist/scopes/index.d.cts +3 -3
  59. package/dist/scopes/index.d.ts +3 -3
  60. package/dist/search/index.d.cts +1 -1
  61. package/dist/search/index.d.ts +1 -1
  62. package/dist/setup/index.cjs +52 -0
  63. package/dist/setup/index.cjs.map +1 -1
  64. package/dist/setup/index.d.cts +12 -13
  65. package/dist/setup/index.d.ts +12 -13
  66. package/dist/setup/index.js +52 -0
  67. package/dist/setup/index.js.map +1 -1
  68. package/dist/{subscription-BVCn1PVe.d.cts → subscription-BEM4B4dR.d.cts} +3 -3
  69. package/dist/{subscription-DQzPVKBR.d.ts → subscription-Ca15Z7Gu.d.ts} +3 -3
  70. package/dist/templates/index.d.cts +10 -10
  71. package/dist/templates/index.d.ts +10 -10
  72. package/dist/typed-table/index.cjs +52 -0
  73. package/dist/typed-table/index.cjs.map +1 -1
  74. package/dist/typed-table/index.d.cts +10 -11
  75. package/dist/typed-table/index.d.ts +10 -11
  76. package/dist/typed-table/index.js +52 -0
  77. package/dist/typed-table/index.js.map +1 -1
  78. package/dist/{types-3lM5f6b0.d.cts → types-5ql9_q-o.d.cts} +2 -2
  79. package/dist/{types-04kFNi3-.d.ts → types-BALEbMc8.d.ts} +2 -2
  80. package/dist/{types-DKJO83lQ.d.cts → types-BhnjvJ8U.d.cts} +2 -2
  81. package/dist/{types-SUAmeBId.d.ts → types-CURw95qc.d.ts} +2 -2
  82. package/dist/{types-DKeGkHpE.d.cts → types-DRMeL0uW.d.cts} +2 -2
  83. package/dist/{types-DJVccwh0.d.ts → types-_odOqLOe.d.ts} +2 -2
  84. package/dist/use-cases/index.d.cts +5 -5
  85. package/dist/use-cases/index.d.ts +5 -5
  86. package/dist/{validate-BIJtP2KB.d.cts → validate-Cdtk0y18.d.cts} +1 -1
  87. package/dist/{validate--y-pPc-c.d.ts → validate-ChibJPPI.d.ts} +1 -1
  88. package/dist/views/index.d.cts +9 -10
  89. package/dist/views/index.d.ts +9 -10
  90. package/package.json +3 -3
  91. package/dist/client-C1B-MNzb.d.ts +0 -2704
  92. package/dist/client-D2jAgJNn.d.cts +0 -2704
@@ -1,20 +1,19 @@
1
- import { a as RecordsError, R as RecordsResult, P as PgError, z as StaleWriteDetail, l as RecordDocument, B as PredictedRefusal, w as ReadValue, U as Uuid } from '../record-CxGK1OEK.cjs';
2
- export { E as ABSENCE_REASONS, G as ACTOR_VOCABULARY, I as AbsenceReason, A as Actor, J as COMPUTE_ON, K as CONTEXT_POLICIES, C as ComputeOn, d as ContextPolicy, L as DECLARABLE_FIELD_KINDS, M as DELIVERIES, D as DeclarableFieldKind, N as Delivery, Q as ENTITY_TOKENS, V as EntityToken, X as FIELD_SENSITIVITIES, Y as FIELD_SOURCES, Z as FRESHNESS, x as FieldBehavior, c as FieldSensitivity, F as FieldSource, _ as ForbiddenEnvelopeWord, $ as Freshness, H as HiddenFieldNotice, a0 as KERNEL_TABLES, a1 as KernelTableName, a2 as KeysetRow, a3 as MERGE_FIELD_MODIFIERS, a4 as MERGE_FIELD_SEMANTIC_TYPES, a5 as MERGE_FIELD_SOURCES, a6 as MergeFieldModifier, a7 as MergeFieldSemanticType, a8 as MergeFieldSource, a9 as ON_DELETE, aa as OVERRIDE_POLICIES, O as OnDelete, ab as OverridePolicy, ac as PARITY_FIELD_TYPES, ad as PER_VALUE_ACCESS_WORDS, y as ParityFieldType, ae as PerValueAccessWord, af as ProvenancePointer, ag as RELATION_BINDINGS, ah as RELATION_CARDINALITIES, ai as RELATION_FLAVORS, aj as RETIRED_ACTOR_WORDS, ak as RULE_NODE_KINDS, al as RULE_USES, q as ReadRow, m as RecordChange, n as RecordChangeResult, o as RecordGraphWritten, t as RecordKeysetPage, s as RecordPage, r as RecordPageSort, p as RecordRead, v as RecordRevision, k as RecordsErrorCode, g as RelationBinding, f as RelationCardinality, e as RelationFlavor, am as RetiredActorWord, i as RuleNodeKind, j as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, u as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, 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, W as WriteConflict, aE as err, aF as isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows, aJ as unwrapRecords } from '../record-CxGK1OEK.cjs';
3
- import { o as TableKindFacts } from '../table-kind-CboiMJuE.cjs';
4
- export { bv as ARCHIVE_LANES, bw as ARCHIVE_LANE_LABEL, bx as ARCHIVE_LANE_MEANS, by as ActionRefusal, bc as ActionRunResult, bo as AdminTable, aB as AnonTokenBinding, A as ArchiveLane, a4 as ArchivedChecklistTemplate, bz as ArchivedDoorRow, a3 as ArchivedForm, e as ArchivedRow, bA as AutomationAction, be as AutomationDeclared, bB as AutomationFilter, bg as AutomationFlipped, bC as AutomationItem, bD as AutomationLastRun, bf as AutomationList, bE as AutomationRun, bF as AutomationRunStatus, bh as AutomationRuns, bd as AutomationSpec, bG as AutomationStep, bH as AutomationTrigger, bI as AutomationValue, bJ as AutomationValues, bK as AutomationWeekday, bL as BUILT_KIND_WORD, bM as CHOICE_NUDGES, bN as CaptureField, ab as CaptureFileRef, ac as CaptureOutcome, bO as CaptureQuestion, aa as CaptureSheetFace, a9 as CaptureSheetSummary, aD as ChecklistDeclared, bP as ChecklistRequirement, bQ as ChecklistRequirementKind, bR as ChecklistRoleSpec, aG as ChecklistRunStarted, aH as ChecklistRunStep, aI as ChecklistRunSummary, aC as ChecklistSpec, aJ as ChecklistStepCompleted, bS as ChecklistStepSpec, aF as ChecklistTemplateShape, aE as ChecklistTemplateSummary, bT as ChecklistTrigger, bU as ChecklistTriggerKind, k as ChoiceCellBack, bV as ChoiceLike, C as ChoiceNudge, bW as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, az as CommentThreadRead, aA as CommentWritten, au as ConversationScope, av as ConversationScopeContext, bX as CustomFieldTableType, bY as DEFAULT_ARCHIVE_LANE, bZ as DRILL_CHART_TOKENS, b_ as DRILL_DESCRIPTION_MAX, b$ as DRILL_DOORS, c0 as DRILL_SCHEMA, bn as DataHomeTable, c1 as DecorationColor, b6 as DecorationPath, c2 as DecorationRule, c3 as DecorationRuleOp, c4 as DecorationTarget, aq as DocRenderRow, c5 as DocSignatureCheck, ar as DocSignatureRow, ap as DocTemplateRow, an as DocToken, ao as DocUnresolvedToken, c6 as DrillAdHocOp, al as DrillAnswer, c7 as DrillAnswerRow, c8 as DrillChartToken, c9 as DrillDeclaration, aj as DrillDefinition, ca as DrillDimension, cb as DrillFinding, cc as DrillGrain, cd as DrillHaving, ce as DrillLane, cf as DrillLevel, cg as DrillMeasure, ch as DrillMeasureOp, ci as DrillMeasureWhereValue, cj as DrillPath, ak as DrillQuestion, ck as DrillRecords, am as DrillRowsPage, ai as DrillSource, cl as DrillView, cm as EnrichAlternate, ag as EnrichCell, ae as EnrichDeclared, af as EnrichDueRow, ah as EnrichRun, cn as EnrichSource, co as Enrichment, ad as EnrichmentSummary, cp as EntityBackLinkItem, v as EntityBackLinks, t as EntityFieldRights, cq as EntityFieldValue, s as EntityFieldsAcross, cr as EntityRecordMatch, u as EntityRecordRead, x as EntityRecordsFound, w as EntityRowWritten, E as EntityTableFacts, b2 as ExternalPrincipalCard, F as FieldDrift, cs as FieldDriftAspect, aw as FieldHistoryEntry, n as FieldRetyped, a2 as FormArchiveAnswer, b9 as FormulaParse, ba as FormulaPreview, b8 as GridLayout, ct as GridLayoutMode, cu as GridRowHeight, cv as HistoryActor, cw as HistoryActorKind, cx as HistoryChange, cy as Home, Y as ImportBatchResult, cz as ImportColumnPlan, X as ImportColumnsDeclared, Z as ImportFinished, W as ImportOpened, cA as ImportOutcome, U as ImportPlan, V as ImportPolicy, cB as ImportProposal, _ as ImportReport, $ as ImportRun, a1 as InboundAddress, a0 as InboundDeclared, aT as InboxCounts, aS as InboxStateChange, bl as IoExportPage, M as MigrationUndone, N as NewEntityFieldDeclaration, bt as OutsideShareAnswer, cC as PIPELINE_RULE_KINDS, P as Pipeline, y as PipelineColumn, I as PipelineDeclared, O as PipelineGate, Q as PipelineGatePreview, cD as PipelineMissingField, G as PipelineMoveMany, D as PipelineMoveManyItem, cE as PipelineMoveManyResult, B as PipelineMoveResult, cF as PipelineMoveVerdict, cG as PipelineRule, cH as PipelineRuleKind, H as PipelineSpec, cI as PipelineStage, z as PipelineVerdict, b3 as PublishBinding, cJ as PublishBindingKind, cK as ROW_WEB_NOT_READY, cL as RecordChangeAction, cM as RecordComment, bi as RecordEvent, bs as RecordHeader, as as RecordHistoryEntry, a8 as RecordRowControls, cN as RecordScopeComment, at as RecordScopeContext, cO as RecordScopeField, cP as RecordScopeHistoryEntry, cQ as RecordScopeRelation, cR as RecordScopeWithheld, R as RecordsMerged, cS as RegisteredTable, b4 as ResolvedPublishBinding, b5 as ResolvedPublishBindingKind, ax as RestorePreview, ay as RestoreResult, cT as RetypeBehaviour, cU as RetypePreview, bb as RowAction, cV as RowActionStep, a7 as RowDefaultsApplied, cW as SHOWN_TO_LABEL, cX as SHOWN_TO_VALUES, cY as SHOWN_TO_WHO_MAY_CHANGE, cZ as STAGE_RULE_ENFORCEMENT, c_ as STAGE_RULE_ON_FAIL, c$ as ShownTo, K as StagePending, L as StagePendingOnBoard, J as StageRuleEnforcement, S as StageRuleOnFail, d0 as StageRuleWarning, d1 as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, b7 as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, d2 as TableHomeDestination, d3 as TableLevel, d4 as TableLevelApproval, p as TableLevelFacts, r as TableLevelSet, bm as TableListEntry, h as TableMoved, d5 as TablePlacement, d6 as TablePlacementFact, q as TableReaderRule, d7 as TableRenderSchema, a as TableRestoreProgress, br as TableRowCount, a5 as TableRowDefaults, a6 as TableRowDefaultsPatch, d8 as TableSchemaMode, bq as TableSyncResult, d9 as TableSyncSource, bp as TableSyncSpec, bk as TableWebhook, bj as TableWebhookDeclared, da as TypedChoiceDecision, db as ViewLayout, bu as ViewOrderSet, a$ as WorkApprovalDecision, a_ as WorkApprovalFiled, dc as WorkApprovalState, aY as WorkApprover, aW as WorkAssignment, aO as WorkAssignmentField, aZ as WorkChange, b1 as WorkDecideMany, b0 as WorkDecideManyItem, dd as WorkDecideManyResult, de as WorkDecideVerdict, df as WorkDueState, aL as WorkGraph, aR as WorkInboxItem, dg as WorkInboxKind, aQ as WorkInboxView, aM as WorkInstantiation, aU as WorkListFlavour, aV as WorkListItem, dh as WorkOrigin, aX as WorkRecordState, aP as WorkSlotHold, aK as WorkState, di as WorkTemplateNode, dj as WorkTemplateRelation, aN as WorkTurn, dk as actionRefusals, dl as archivedByLine, dm as archivedWhen, dn as asChoiceNudge, dp as choiceSlug, dq as choiceValuesOf, dr as choicesOf, ds as decideTypedChoice, dt as declareDrillDefinition, du as drillAnswerOf, dv as drillFindingKnob, dw as emptyArchiveLine, dx as exportPageXlsx, dy as fieldKindOf, dz as holdsARetiredChoice, dA as isArchiveLane, dB as isFoundation, dC as isShownTo, dD as isTableKind, dE as isTheChosen, dF as keptGroups, dG as keptOutOfSight, dH as keptTableHref, dI as levelHasShownTo, dJ as looksLikeAnId, dK as mayDrag, dL as moveConsequence, dM as moveInOrder, dN as offeredAsContext, dO as optionKey, dP as optionLabel, dQ as parseFieldDrift, dR as parseTableCopiesInProgress, dS as parseTableDuplicateProgress, dT as parseTableDuplicated, dU as parseTableHome, dV as parseTableMoved, dW as previewRetype, dX as previewRuleChange, dY as recordChangeTrigger, dZ as recordSourceKey, d_ as recordSourceTable, d$ as recordsUseSentence, e0 as rehomeSentence, e1 as removedChoicesInUse, e2 as ruleThatRefuses, e3 as rulesWithTopStar, e4 as sameDocument, e5 as scopeChip, e6 as sheetSyncSpec, e7 as tableIdOf, e8 as tableJsonSchema, e9 as tableKindMapping, ea as tableKindSlug, eb as tableRenderSchema, ec as valueConverts, ed as withRowCounts, ee as withTablePlacement } from '../table-kind-CboiMJuE.cjs';
5
- import { d as RecordsDataSource } from '../ports-YIh9jrCZ.cjs';
6
- 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-YIh9jrCZ.cjs';
7
- import { F as Field } from '../field-DoVl2I9K.cjs';
8
- export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, p as CoercibleField, q as FIELD_KINDS, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, 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, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from '../field-DoVl2I9K.cjs';
9
- export { CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, MergeField, MergeFieldProvenance, MergeFieldResolution, MergeFieldTransform, MissingBehavior, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, REFUSALS_WORTH_REPEATING, ResolutionTriple, TypedDate, TypedMatchScore, TypedNumber, TypedTime, autonumberJoin, autonumberPrefixOf, autonumberSearchOf, autonumberWords, filterWithAutonumber, indexedDbStore, isAutonumberField, isDecided, localeDateOrder, memoryStore, mintClientKey, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.cjs';
10
- export { a as BookingAvailability, b as BookingDeclared, B as BookingSummary, e as BookingWindow, d as FormResults, c as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from '../rule-DQpC7WqT.cjs';
11
- export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, l as PORTAL_ACCENTS, m as PORTAL_ARCHIVE_FILTERS, k as PortalAccent, b as PortalArchiveAnswer, a as PortalArchiveFilter, d as PortalCard, n as PortalConfig, e as PortalConfigInput, o as PortalFooterLink, g as PortalFormAnswer, p as PortalFormInput, q as PortalFormRef, f as PortalFormSpec, h as PortalInvitation, j as PortalPreviewRow, r as PortalPrincipal, i as PortalRevocation, s as PortalStage, t as PortalStyle, u as PortalStyleInput, P as PortalSummary, v as PortalTableExposure, c as PortalTableRef, w as PublicPicture, x as emptyPortalArchiveLine, y as isPortalAccent, z as isPortalArchiveFilter, A as portalArchiveConsequence, B as portalConfirmLine, C as portalPath, E as portalTitleTypedBack } from '../portal-C4N9ByaY.cjs';
12
- export { A as AggregateBucket, g as AggregateCompare, q as AggregateCompareKind, r as AggregateCompareWindows, s as AggregateDelta, b as AggregateFilter, t as AggregateGroupValue, c as AggregateMeasure, a as AggregateOperation, j as AggregateRow, u as AggregateWindow, f as DashboardBlock, D as DashboardBlockKind, v as DashboardBlockResult, h as DashboardRunResult, e as DashboardSummary, w as DashboardTarget, x as DashboardTargetBase, y as DashboardTargetOp, z as DashboardTargetResult, B as DashboardTotals, m as DigestPreview, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, C as SavedViewColorBy, E as SavedViewDefinition, F as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, d as StoreFilter, i as StuckRow, k as Subscription, G as SubscriptionBlock, S as SubscriptionCadence, l as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from '../subscription-BVCn1PVe.cjs';
13
- export { g as EntityRef, E as EntityRefWithWords, h as EntityReferenceKind, i as REVERSE_LINKS_PAGE_MAX, j as REVERSE_LINKS_RECORDS_PER_CALL, k as Relation, l as RelationCarries, R as RelationCoordinate, b as RelationIcons, m as RelationProperties, n as RelationTarget, a as RelationWordsManyArgs, c as ReverseColumn, o as ReverseLink, e as ReverseLinks, f as ReverseLinksFieldsArgs, d as ReverseLinksManyArgs, S as SourceArchived, p as entityReferenceKinds, q as entityReferenceSearch, r as entityReferenceWords, s as entityRefsOf, t as entityRefsToWrite, u as isReverseField, v as sourceArchivedOf } from '../relation-DSGhM3tO.cjs';
14
- 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-CUa6jjhV.cjs';
15
- export { A as A_PERSONS_REFUSAL, a as AsOf, D as DEFAULT_PAGE_SIZE, P as PromotedPredicate, Q as QueryPlan, b as RecordQuery, R as RecordsClient, T as TableFact, c as TableLiveLocation, d as asWriteConflict, e as createRecordsClient, i as intersectIds, f as isAPersonsRefusal, p as planQuery, w as withTableFacts } from '../client-D2jAgJNn.cjs';
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-d-HxRmF0.cjs';
17
- import '../doors-Bx3Shs3z.cjs';
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-BrJNCmH1.cjs';
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 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, 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, S as StorageMode, ap as StoreDoorName, aq as StoreRefusalCode, ar as StoredRecord, as as TABLE_DISPLAYS, at as TABLE_ORIGINS, au as TABLE_TYPES, b as TableDisplay, av as TableOrigin, T as TableType, h as Timestamp, aw as VALUE_ALTERNATE_KEYS, ax as VALUE_ENVELOPE_KEYS, ay as ValueAlternate, az as ValueAlternateKey, aA as ValueEnvelope, aB as ValueEnvelopeKey, aC as ValueSource, aD as WriteConflict, aE as err, aF as isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows, aJ as unwrapRecords } from '../record-BrJNCmH1.cjs';
3
+ import { a as TableKindFacts } from '../client-9fzhCPD5.cjs';
4
+ export { A as ARCHIVE_LANES, b as ARCHIVE_LANE_LABEL, c as ARCHIVE_LANE_MEANS, d as A_PERSONS_REFUSAL, e as ActionRefusal, f as ActionRunResult, g as AdminTable, h as AnonTokenBinding, i as ArchiveLane, j as ArchivedChecklistTemplate, k as ArchivedDoorRow, l as ArchivedForm, m as ArchivedRow, n as AsOf, o as AutomationAction, p as AutomationDeclared, q as AutomationFilter, r as AutomationFlipped, s as AutomationItem, t as AutomationLastRun, u as AutomationList, v as AutomationRun, w as AutomationRunStatus, x as AutomationRuns, y as AutomationSpec, z as AutomationStep, B as AutomationTrigger, C as AutomationValue, D as AutomationValues, E as AutomationWeekday, G as BUILT_KIND_WORD, H as CHOICE_NUDGES, I as CaptureField, J as CaptureFileRef, K as CaptureOutcome, L as CaptureQuestion, M as CaptureSheetFace, N as CaptureSheetSummary, O as ChecklistDeclared, P as ChecklistRequirement, Q as ChecklistRequirementKind, S as ChecklistRoleSpec, U as ChecklistRunStarted, V as ChecklistRunStep, W as ChecklistRunSummary, X as ChecklistSpec, Y as ChecklistStepCompleted, Z as ChecklistStepSpec, _ as ChecklistTemplateShape, $ as ChecklistTemplateSummary, a0 as ChecklistTrigger, a1 as ChecklistTriggerKind, a2 as ChoiceCellBack, a3 as ChoiceLike, a4 as ChoiceNudge, a5 as ChoiceOption, a6 as ChoiceRehome, a7 as ChoiceUsage, a8 as ChoicesRehomed, a9 as CommentThreadRead, aa as CommentWritten, ab as ConversationScope, ac as ConversationScopeContext, ad as CustomFieldTableType, ae as DEFAULT_ARCHIVE_LANE, af as DEFAULT_PAGE_SIZE, ag as DRILL_CHART_TOKENS, ah as DRILL_DESCRIPTION_MAX, ai as DRILL_DOORS, aj as DRILL_SCHEMA, ak as DataHomeTable, al as DecorationColor, am as DecorationPath, an as DecorationRule, ao as DecorationRuleOp, ap as DecorationTarget, aq as DocRenderRow, ar as DocSignatureCheck, as as DocSignatureRow, at as DocTemplateRow, au as DocToken, av as DocUnresolvedToken, aw as DrillAdHocOp, ax as DrillAnswer, ay as DrillAnswerRow, az as DrillChartToken, aA as DrillDeclaration, aB as DrillDefinition, aC as DrillDimension, aD as DrillFinding, aE as DrillGrain, aF as DrillHaving, aG as DrillLane, aH as DrillLevel, aI as DrillMeasure, aJ as DrillMeasureOp, aK as DrillMeasureWhereValue, aL as DrillPath, aM as DrillQuestion, aN as DrillRecords, aO as DrillRowsPage, aP as DrillSource, aQ as DrillView, aR as EnrichAlternate, aS as EnrichCell, aT as EnrichDeclared, aU as EnrichDueRow, aV as EnrichRun, aW as EnrichSource, aX as Enrichment, aY as EnrichmentSummary, aZ as EntityBackLinkItem, a_ as EntityBackLinks, a$ as EntityFieldRights, b0 as EntityFieldValue, b1 as EntityFieldsAcross, b2 as EntityRecordMatch, b3 as EntityRecordRead, b4 as EntityRecordsFound, b5 as EntityRowWritten, b6 as EntityTableFacts, b7 as ExternalPrincipalCard, F as FieldDrift, b8 as FieldDriftAspect, b9 as FieldHistoryEntry, ba as FieldRetyped, bb as FormArchiveAnswer, bc as FormulaParse, bd as FormulaPreview, be as GridLayout, bf as GridLayoutMode, bg as GridRowHeight, bh as HistoryActor, bi as HistoryActorKind, bj as HistoryChange, bk as Home, bl as ImportBatchResult, bm as ImportColumnPlan, bn as ImportColumnsDeclared, bo as ImportFinished, bp as ImportOpened, bq as ImportOutcome, br as ImportPlan, bs as ImportPolicy, bt as ImportProposal, bu as ImportReport, bv as ImportRun, bw as InboundAddress, bx as InboundDeclared, by as InboxCounts, bz as InboxStateChange, bA as IoExportPage, bB as MigrationEntry, bC as MigrationUndone, bD as NewEntityFieldDeclaration, bE as OutsideShareAnswer, bF as PIPELINE_RULE_KINDS, bG as ParentExtracted, bH as Pipeline, bI as PipelineColumn, bJ as PipelineDeclared, bK as PipelineGate, bL as PipelineGatePreview, bM as PipelineMissingField, bN as PipelineMoveMany, bO as PipelineMoveManyItem, bP as PipelineMoveManyResult, bQ as PipelineMoveResult, bR as PipelineMoveVerdict, bS as PipelineRule, bT as PipelineRuleKind, bU as PipelineSpec, bV as PipelineStage, bW as PipelineVerdict, bX as PromotedPredicate, bY as PublishBinding, bZ as PublishBindingKind, b_ as QueryPlan, b$ as ROW_WEB_NOT_READY, c0 as RecordChangeAction, c1 as RecordComment, c2 as RecordEvent, c3 as RecordHeader, c4 as RecordHistoryEntry, c5 as RecordQuery, c6 as RecordRowControls, c7 as RecordScopeComment, c8 as RecordScopeContext, c9 as RecordScopeField, ca as RecordScopeHistoryEntry, cb as RecordScopeRelation, cc as RecordScopeWithheld, cd as RecordSplit, R as RecordsClient, ce as RecordsMerged, cf as RegisteredTable, cg as ResolvedPublishBinding, ch as ResolvedPublishBindingKind, ci as RestorePreview, cj as RestoreResult, ck as RetypeBehaviour, cl as RetypePreview, cm as RowAction, cn as RowActionStep, co as RowDefaultsApplied, cp as SHOWN_TO_LABEL, cq as SHOWN_TO_VALUES, cr as SHOWN_TO_WHO_MAY_CHANGE, cs as STAGE_RULE_ENFORCEMENT, ct as STAGE_RULE_ON_FAIL, cu as ShownTo, cv as StagePending, cw as StagePendingOnBoard, cx as StageRuleEnforcement, cy as StageRuleOnFail, cz as StageRuleWarning, cA as TABLE_KIND_PREFIX, cB as Table, T as TableArchiveProgress, cC as TableCapacity, cD as TableCopyInProgress, cE as TableDecorations, cF as TableDuplicateProgress, cG as TableDuplicated, cH as TableFact, cI as TableHome, cJ as TableHomeDestination, cK as TableLevel, cL as TableLevelApproval, cM as TableLevelFacts, cN as TableLevelSet, cO as TableListEntry, cP as TableLiveLocation, cQ as TableMoved, cR as TablePlacement, cS as TablePlacementFact, cT as TableReaderRule, cU as TableRenderSchema, cV as TableRestoreProgress, cW as TableRowCount, cX as TableRowDefaults, cY as TableRowDefaultsPatch, cZ as TableSchemaMode, c_ as TableSyncResult, c$ as TableSyncSource, d0 as TableSyncSpec, d1 as TableWebhook, d2 as TableWebhookDeclared, d3 as TypedChoiceDecision, d4 as ViewLayout, d5 as ViewOrderSet, d6 as WorkApprovalDecision, d7 as WorkApprovalFiled, d8 as WorkApprovalState, d9 as WorkApprover, da as WorkAssignment, db as WorkAssignmentField, dc as WorkChange, dd as WorkDecideMany, de as WorkDecideManyItem, df as WorkDecideManyResult, dg as WorkDecideVerdict, dh as WorkDueState, di as WorkGraph, dj as WorkInboxItem, dk as WorkInboxKind, dl as WorkInboxView, dm as WorkInstantiation, dn as WorkListFlavour, dp as WorkListItem, dq as WorkOrigin, dr as WorkRecordState, ds as WorkSlotHold, dt as WorkState, du as WorkTemplateNode, dv as WorkTemplateRelation, dw as WorkTurn, dx as actionRefusals, dy as archivedByLine, dz as archivedWhen, dA as asChoiceNudge, dB as asWriteConflict, dC as choiceSlug, dD as choiceValuesOf, dE as choicesOf, dF as createRecordsClient, dG as decideTypedChoice, dH as declareDrillDefinition, dI as drillAnswerOf, dJ as drillFindingKnob, dK as emptyArchiveLine, dL as exportPageXlsx, dM as fieldKindOf, dN as holdsARetiredChoice, dO as intersectIds, dP as isAPersonsRefusal, dQ as isArchiveLane, dR as isFoundation, dS as isShownTo, dT as isTableKind, dU as isTheChosen, dV as keptGroups, dW as keptOutOfSight, dX as keptTableHref, dY as levelHasShownTo, dZ as looksLikeAnId, d_ as mayDrag, d$ as moveConsequence, e0 as moveInOrder, e1 as offeredAsContext, e2 as optionKey, e3 as optionLabel, e4 as parseFieldDrift, e5 as parseTableCopiesInProgress, e6 as parseTableDuplicateProgress, e7 as parseTableDuplicated, e8 as parseTableHome, e9 as parseTableMoved, ea as planQuery, eb as previewRetype, ec as previewRuleChange, ed as recordChangeTrigger, ee as recordSourceKey, ef as recordSourceTable, eg as recordsUseSentence, eh as rehomeSentence, ei as removedChoicesInUse, ej as ruleThatRefuses, ek as rulesWithTopStar, el as sameDocument, em as scopeChip, en as sheetSyncSpec, eo as tableIdOf, ep as tableJsonSchema, eq as tableKindMapping, er as tableKindSlug, es as tableRenderSchema, et as valueConverts, eu as withRowCounts, ev as withTableFacts, ew as withTablePlacement } from '../client-9fzhCPD5.cjs';
5
+ import { d as RecordsDataSource } from '../ports-BIdYUS-C.cjs';
6
+ 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-BIdYUS-C.cjs';
7
+ import { F as Field } from '../field-BLy8drjM.cjs';
8
+ 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-BLy8drjM.cjs';
9
+ export { 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, chooseAlternate, filterWithAutonumber, indexedDbStore, isAutonumberField, isDecided, localeDateOrder, memoryStore, mintClientKey, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.cjs';
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-BGtYd6Pf.cjs';
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-C_LgvDeh.cjs';
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, M as MySubscription, Q as QuietHours, R as RecordFilter, v as RowTemplateRow, w as SavedViewColorBy, x as SavedViewDefinition, y as SavedViewLayout, d as SavedViewRow, z as SavedViewSpecIn, B as StoreFilter, C as StuckRow, E as Subscription, F as SubscriptionBlock, S as SubscriptionCadence, G as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from '../subscription-BEM4B4dR.cjs';
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-R10qQyQU.cjs';
14
+ 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-zgpoUAH1.cjs';
15
+ export { D as DEFAULT_FIELDS, a as DeclareResult, E as EnsureResult, N as NewFieldSpec, b as NewTableSpec, c as addFields, d as declareTable, e as ensureTable, f as fieldDeclarationFor, t as tokenFor } from '../declareTable-_GwN-ERY.cjs';
16
+ import '../doors-Dm5q9H8Y.cjs';
18
17
 
19
18
  declare function doorExists(name: string): boolean;
20
19
  /**
@@ -53,6 +52,9 @@ declare const DOORS: {
53
52
  readonly migrateRetype: "migrate_retype";
54
53
  readonly migrateMerge: "migrate_merge";
55
54
  readonly migrateUndo: "migrate_undo";
55
+ readonly migrateSplit: "migrate_split";
56
+ readonly migrateExtractParent: "migrate_extract_parent";
57
+ readonly migrations: "migrations";
56
58
  readonly recordValues: "record_values";
57
59
  readonly recordValuesVersioned: "record_values_versioned";
58
60
  readonly valueRead: "value_read";
@@ -1,20 +1,19 @@
1
- import { a as RecordsError, R as RecordsResult, P as PgError, z as StaleWriteDetail, l as RecordDocument, B as PredictedRefusal, w as ReadValue, U as Uuid } from '../record-CxGK1OEK.js';
2
- export { E as ABSENCE_REASONS, G as ACTOR_VOCABULARY, I as AbsenceReason, A as Actor, J as COMPUTE_ON, K as CONTEXT_POLICIES, C as ComputeOn, d as ContextPolicy, L as DECLARABLE_FIELD_KINDS, M as DELIVERIES, D as DeclarableFieldKind, N as Delivery, Q as ENTITY_TOKENS, V as EntityToken, X as FIELD_SENSITIVITIES, Y as FIELD_SOURCES, Z as FRESHNESS, x as FieldBehavior, c as FieldSensitivity, F as FieldSource, _ as ForbiddenEnvelopeWord, $ as Freshness, H as HiddenFieldNotice, a0 as KERNEL_TABLES, a1 as KernelTableName, a2 as KeysetRow, a3 as MERGE_FIELD_MODIFIERS, a4 as MERGE_FIELD_SEMANTIC_TYPES, a5 as MERGE_FIELD_SOURCES, a6 as MergeFieldModifier, a7 as MergeFieldSemanticType, a8 as MergeFieldSource, a9 as ON_DELETE, aa as OVERRIDE_POLICIES, O as OnDelete, ab as OverridePolicy, ac as PARITY_FIELD_TYPES, ad as PER_VALUE_ACCESS_WORDS, y as ParityFieldType, ae as PerValueAccessWord, af as ProvenancePointer, ag as RELATION_BINDINGS, ah as RELATION_CARDINALITIES, ai as RELATION_FLAVORS, aj as RETIRED_ACTOR_WORDS, ak as RULE_NODE_KINDS, al as RULE_USES, q as ReadRow, m as RecordChange, n as RecordChangeResult, o as RecordGraphWritten, t as RecordKeysetPage, s as RecordPage, r as RecordPageSort, p as RecordRead, v as RecordRevision, k as RecordsErrorCode, g as RelationBinding, f as RelationCardinality, e as RelationFlavor, am as RetiredActorWord, i as RuleNodeKind, j as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, u as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, 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, W as WriteConflict, aE as err, aF as isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows, aJ as unwrapRecords } from '../record-CxGK1OEK.js';
3
- import { o as TableKindFacts } from '../table-kind-B4sdlvHf.js';
4
- export { bv as ARCHIVE_LANES, bw as ARCHIVE_LANE_LABEL, bx as ARCHIVE_LANE_MEANS, by as ActionRefusal, bc as ActionRunResult, bo as AdminTable, aB as AnonTokenBinding, A as ArchiveLane, a4 as ArchivedChecklistTemplate, bz as ArchivedDoorRow, a3 as ArchivedForm, e as ArchivedRow, bA as AutomationAction, be as AutomationDeclared, bB as AutomationFilter, bg as AutomationFlipped, bC as AutomationItem, bD as AutomationLastRun, bf as AutomationList, bE as AutomationRun, bF as AutomationRunStatus, bh as AutomationRuns, bd as AutomationSpec, bG as AutomationStep, bH as AutomationTrigger, bI as AutomationValue, bJ as AutomationValues, bK as AutomationWeekday, bL as BUILT_KIND_WORD, bM as CHOICE_NUDGES, bN as CaptureField, ab as CaptureFileRef, ac as CaptureOutcome, bO as CaptureQuestion, aa as CaptureSheetFace, a9 as CaptureSheetSummary, aD as ChecklistDeclared, bP as ChecklistRequirement, bQ as ChecklistRequirementKind, bR as ChecklistRoleSpec, aG as ChecklistRunStarted, aH as ChecklistRunStep, aI as ChecklistRunSummary, aC as ChecklistSpec, aJ as ChecklistStepCompleted, bS as ChecklistStepSpec, aF as ChecklistTemplateShape, aE as ChecklistTemplateSummary, bT as ChecklistTrigger, bU as ChecklistTriggerKind, k as ChoiceCellBack, bV as ChoiceLike, C as ChoiceNudge, bW as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, az as CommentThreadRead, aA as CommentWritten, au as ConversationScope, av as ConversationScopeContext, bX as CustomFieldTableType, bY as DEFAULT_ARCHIVE_LANE, bZ as DRILL_CHART_TOKENS, b_ as DRILL_DESCRIPTION_MAX, b$ as DRILL_DOORS, c0 as DRILL_SCHEMA, bn as DataHomeTable, c1 as DecorationColor, b6 as DecorationPath, c2 as DecorationRule, c3 as DecorationRuleOp, c4 as DecorationTarget, aq as DocRenderRow, c5 as DocSignatureCheck, ar as DocSignatureRow, ap as DocTemplateRow, an as DocToken, ao as DocUnresolvedToken, c6 as DrillAdHocOp, al as DrillAnswer, c7 as DrillAnswerRow, c8 as DrillChartToken, c9 as DrillDeclaration, aj as DrillDefinition, ca as DrillDimension, cb as DrillFinding, cc as DrillGrain, cd as DrillHaving, ce as DrillLane, cf as DrillLevel, cg as DrillMeasure, ch as DrillMeasureOp, ci as DrillMeasureWhereValue, cj as DrillPath, ak as DrillQuestion, ck as DrillRecords, am as DrillRowsPage, ai as DrillSource, cl as DrillView, cm as EnrichAlternate, ag as EnrichCell, ae as EnrichDeclared, af as EnrichDueRow, ah as EnrichRun, cn as EnrichSource, co as Enrichment, ad as EnrichmentSummary, cp as EntityBackLinkItem, v as EntityBackLinks, t as EntityFieldRights, cq as EntityFieldValue, s as EntityFieldsAcross, cr as EntityRecordMatch, u as EntityRecordRead, x as EntityRecordsFound, w as EntityRowWritten, E as EntityTableFacts, b2 as ExternalPrincipalCard, F as FieldDrift, cs as FieldDriftAspect, aw as FieldHistoryEntry, n as FieldRetyped, a2 as FormArchiveAnswer, b9 as FormulaParse, ba as FormulaPreview, b8 as GridLayout, ct as GridLayoutMode, cu as GridRowHeight, cv as HistoryActor, cw as HistoryActorKind, cx as HistoryChange, cy as Home, Y as ImportBatchResult, cz as ImportColumnPlan, X as ImportColumnsDeclared, Z as ImportFinished, W as ImportOpened, cA as ImportOutcome, U as ImportPlan, V as ImportPolicy, cB as ImportProposal, _ as ImportReport, $ as ImportRun, a1 as InboundAddress, a0 as InboundDeclared, aT as InboxCounts, aS as InboxStateChange, bl as IoExportPage, M as MigrationUndone, N as NewEntityFieldDeclaration, bt as OutsideShareAnswer, cC as PIPELINE_RULE_KINDS, P as Pipeline, y as PipelineColumn, I as PipelineDeclared, O as PipelineGate, Q as PipelineGatePreview, cD as PipelineMissingField, G as PipelineMoveMany, D as PipelineMoveManyItem, cE as PipelineMoveManyResult, B as PipelineMoveResult, cF as PipelineMoveVerdict, cG as PipelineRule, cH as PipelineRuleKind, H as PipelineSpec, cI as PipelineStage, z as PipelineVerdict, b3 as PublishBinding, cJ as PublishBindingKind, cK as ROW_WEB_NOT_READY, cL as RecordChangeAction, cM as RecordComment, bi as RecordEvent, bs as RecordHeader, as as RecordHistoryEntry, a8 as RecordRowControls, cN as RecordScopeComment, at as RecordScopeContext, cO as RecordScopeField, cP as RecordScopeHistoryEntry, cQ as RecordScopeRelation, cR as RecordScopeWithheld, R as RecordsMerged, cS as RegisteredTable, b4 as ResolvedPublishBinding, b5 as ResolvedPublishBindingKind, ax as RestorePreview, ay as RestoreResult, cT as RetypeBehaviour, cU as RetypePreview, bb as RowAction, cV as RowActionStep, a7 as RowDefaultsApplied, cW as SHOWN_TO_LABEL, cX as SHOWN_TO_VALUES, cY as SHOWN_TO_WHO_MAY_CHANGE, cZ as STAGE_RULE_ENFORCEMENT, c_ as STAGE_RULE_ON_FAIL, c$ as ShownTo, K as StagePending, L as StagePendingOnBoard, J as StageRuleEnforcement, S as StageRuleOnFail, d0 as StageRuleWarning, d1 as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, b7 as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, d2 as TableHomeDestination, d3 as TableLevel, d4 as TableLevelApproval, p as TableLevelFacts, r as TableLevelSet, bm as TableListEntry, h as TableMoved, d5 as TablePlacement, d6 as TablePlacementFact, q as TableReaderRule, d7 as TableRenderSchema, a as TableRestoreProgress, br as TableRowCount, a5 as TableRowDefaults, a6 as TableRowDefaultsPatch, d8 as TableSchemaMode, bq as TableSyncResult, d9 as TableSyncSource, bp as TableSyncSpec, bk as TableWebhook, bj as TableWebhookDeclared, da as TypedChoiceDecision, db as ViewLayout, bu as ViewOrderSet, a$ as WorkApprovalDecision, a_ as WorkApprovalFiled, dc as WorkApprovalState, aY as WorkApprover, aW as WorkAssignment, aO as WorkAssignmentField, aZ as WorkChange, b1 as WorkDecideMany, b0 as WorkDecideManyItem, dd as WorkDecideManyResult, de as WorkDecideVerdict, df as WorkDueState, aL as WorkGraph, aR as WorkInboxItem, dg as WorkInboxKind, aQ as WorkInboxView, aM as WorkInstantiation, aU as WorkListFlavour, aV as WorkListItem, dh as WorkOrigin, aX as WorkRecordState, aP as WorkSlotHold, aK as WorkState, di as WorkTemplateNode, dj as WorkTemplateRelation, aN as WorkTurn, dk as actionRefusals, dl as archivedByLine, dm as archivedWhen, dn as asChoiceNudge, dp as choiceSlug, dq as choiceValuesOf, dr as choicesOf, ds as decideTypedChoice, dt as declareDrillDefinition, du as drillAnswerOf, dv as drillFindingKnob, dw as emptyArchiveLine, dx as exportPageXlsx, dy as fieldKindOf, dz as holdsARetiredChoice, dA as isArchiveLane, dB as isFoundation, dC as isShownTo, dD as isTableKind, dE as isTheChosen, dF as keptGroups, dG as keptOutOfSight, dH as keptTableHref, dI as levelHasShownTo, dJ as looksLikeAnId, dK as mayDrag, dL as moveConsequence, dM as moveInOrder, dN as offeredAsContext, dO as optionKey, dP as optionLabel, dQ as parseFieldDrift, dR as parseTableCopiesInProgress, dS as parseTableDuplicateProgress, dT as parseTableDuplicated, dU as parseTableHome, dV as parseTableMoved, dW as previewRetype, dX as previewRuleChange, dY as recordChangeTrigger, dZ as recordSourceKey, d_ as recordSourceTable, d$ as recordsUseSentence, e0 as rehomeSentence, e1 as removedChoicesInUse, e2 as ruleThatRefuses, e3 as rulesWithTopStar, e4 as sameDocument, e5 as scopeChip, e6 as sheetSyncSpec, e7 as tableIdOf, e8 as tableJsonSchema, e9 as tableKindMapping, ea as tableKindSlug, eb as tableRenderSchema, ec as valueConverts, ed as withRowCounts, ee as withTablePlacement } from '../table-kind-B4sdlvHf.js';
5
- import { d as RecordsDataSource } from '../ports-WwHHNwge.js';
6
- 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-WwHHNwge.js';
7
- import { F as Field } from '../field-CJtssH3q.js';
8
- export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, p as CoercibleField, q as FIELD_KINDS, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, 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, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from '../field-CJtssH3q.js';
9
- export { CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, MergeField, MergeFieldProvenance, MergeFieldResolution, MergeFieldTransform, MissingBehavior, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, REFUSALS_WORTH_REPEATING, ResolutionTriple, TypedDate, TypedMatchScore, TypedNumber, TypedTime, autonumberJoin, autonumberPrefixOf, autonumberSearchOf, autonumberWords, filterWithAutonumber, indexedDbStore, isAutonumberField, isDecided, localeDateOrder, memoryStore, mintClientKey, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.js';
10
- export { a as BookingAvailability, b as BookingDeclared, B as BookingSummary, e as BookingWindow, d as FormResults, c as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from '../rule-xNwJF6Qo.js';
11
- export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, l as PORTAL_ACCENTS, m as PORTAL_ARCHIVE_FILTERS, k as PortalAccent, b as PortalArchiveAnswer, a as PortalArchiveFilter, d as PortalCard, n as PortalConfig, e as PortalConfigInput, o as PortalFooterLink, g as PortalFormAnswer, p as PortalFormInput, q as PortalFormRef, f as PortalFormSpec, h as PortalInvitation, j as PortalPreviewRow, r as PortalPrincipal, i as PortalRevocation, s as PortalStage, t as PortalStyle, u as PortalStyleInput, P as PortalSummary, v as PortalTableExposure, c as PortalTableRef, w as PublicPicture, x as emptyPortalArchiveLine, y as isPortalAccent, z as isPortalArchiveFilter, A as portalArchiveConsequence, B as portalConfirmLine, C as portalPath, E as portalTitleTypedBack } from '../portal-DW5NGBT0.js';
12
- export { A as AggregateBucket, g as AggregateCompare, q as AggregateCompareKind, r as AggregateCompareWindows, s as AggregateDelta, b as AggregateFilter, t as AggregateGroupValue, c as AggregateMeasure, a as AggregateOperation, j as AggregateRow, u as AggregateWindow, f as DashboardBlock, D as DashboardBlockKind, v as DashboardBlockResult, h as DashboardRunResult, e as DashboardSummary, w as DashboardTarget, x as DashboardTargetBase, y as DashboardTargetOp, z as DashboardTargetResult, B as DashboardTotals, m as DigestPreview, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, C as SavedViewColorBy, E as SavedViewDefinition, F as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, d as StoreFilter, i as StuckRow, k as Subscription, G as SubscriptionBlock, S as SubscriptionCadence, l as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from '../subscription-DQzPVKBR.js';
13
- export { g as EntityRef, E as EntityRefWithWords, h as EntityReferenceKind, i as REVERSE_LINKS_PAGE_MAX, j as REVERSE_LINKS_RECORDS_PER_CALL, k as Relation, l as RelationCarries, R as RelationCoordinate, b as RelationIcons, m as RelationProperties, n as RelationTarget, a as RelationWordsManyArgs, c as ReverseColumn, o as ReverseLink, e as ReverseLinks, f as ReverseLinksFieldsArgs, d as ReverseLinksManyArgs, S as SourceArchived, p as entityReferenceKinds, q as entityReferenceSearch, r as entityReferenceWords, s as entityRefsOf, t as entityRefsToWrite, u as isReverseField, v as sourceArchivedOf } from '../relation-Dh-lCkkh.js';
14
- 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-Crk9gJUM.js';
15
- export { A as A_PERSONS_REFUSAL, a as AsOf, D as DEFAULT_PAGE_SIZE, P as PromotedPredicate, Q as QueryPlan, b as RecordQuery, R as RecordsClient, T as TableFact, c as TableLiveLocation, d as asWriteConflict, e as createRecordsClient, i as intersectIds, f as isAPersonsRefusal, p as planQuery, w as withTableFacts } from '../client-C1B-MNzb.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-BIuPJ3Vj.js';
17
- import '../doors-BTifsjNv.js';
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-BrJNCmH1.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 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, 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, S as StorageMode, ap as StoreDoorName, aq as StoreRefusalCode, ar as StoredRecord, as as TABLE_DISPLAYS, at as TABLE_ORIGINS, au as TABLE_TYPES, b as TableDisplay, av as TableOrigin, T as TableType, h as Timestamp, aw as VALUE_ALTERNATE_KEYS, ax as VALUE_ENVELOPE_KEYS, ay as ValueAlternate, az as ValueAlternateKey, aA as ValueEnvelope, aB as ValueEnvelopeKey, aC as ValueSource, aD as WriteConflict, aE as err, aF as isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows, aJ as unwrapRecords } from '../record-BrJNCmH1.js';
3
+ import { a as TableKindFacts } from '../client-DcWZjmg2.js';
4
+ export { A as ARCHIVE_LANES, b as ARCHIVE_LANE_LABEL, c as ARCHIVE_LANE_MEANS, d as A_PERSONS_REFUSAL, e as ActionRefusal, f as ActionRunResult, g as AdminTable, h as AnonTokenBinding, i as ArchiveLane, j as ArchivedChecklistTemplate, k as ArchivedDoorRow, l as ArchivedForm, m as ArchivedRow, n as AsOf, o as AutomationAction, p as AutomationDeclared, q as AutomationFilter, r as AutomationFlipped, s as AutomationItem, t as AutomationLastRun, u as AutomationList, v as AutomationRun, w as AutomationRunStatus, x as AutomationRuns, y as AutomationSpec, z as AutomationStep, B as AutomationTrigger, C as AutomationValue, D as AutomationValues, E as AutomationWeekday, G as BUILT_KIND_WORD, H as CHOICE_NUDGES, I as CaptureField, J as CaptureFileRef, K as CaptureOutcome, L as CaptureQuestion, M as CaptureSheetFace, N as CaptureSheetSummary, O as ChecklistDeclared, P as ChecklistRequirement, Q as ChecklistRequirementKind, S as ChecklistRoleSpec, U as ChecklistRunStarted, V as ChecklistRunStep, W as ChecklistRunSummary, X as ChecklistSpec, Y as ChecklistStepCompleted, Z as ChecklistStepSpec, _ as ChecklistTemplateShape, $ as ChecklistTemplateSummary, a0 as ChecklistTrigger, a1 as ChecklistTriggerKind, a2 as ChoiceCellBack, a3 as ChoiceLike, a4 as ChoiceNudge, a5 as ChoiceOption, a6 as ChoiceRehome, a7 as ChoiceUsage, a8 as ChoicesRehomed, a9 as CommentThreadRead, aa as CommentWritten, ab as ConversationScope, ac as ConversationScopeContext, ad as CustomFieldTableType, ae as DEFAULT_ARCHIVE_LANE, af as DEFAULT_PAGE_SIZE, ag as DRILL_CHART_TOKENS, ah as DRILL_DESCRIPTION_MAX, ai as DRILL_DOORS, aj as DRILL_SCHEMA, ak as DataHomeTable, al as DecorationColor, am as DecorationPath, an as DecorationRule, ao as DecorationRuleOp, ap as DecorationTarget, aq as DocRenderRow, ar as DocSignatureCheck, as as DocSignatureRow, at as DocTemplateRow, au as DocToken, av as DocUnresolvedToken, aw as DrillAdHocOp, ax as DrillAnswer, ay as DrillAnswerRow, az as DrillChartToken, aA as DrillDeclaration, aB as DrillDefinition, aC as DrillDimension, aD as DrillFinding, aE as DrillGrain, aF as DrillHaving, aG as DrillLane, aH as DrillLevel, aI as DrillMeasure, aJ as DrillMeasureOp, aK as DrillMeasureWhereValue, aL as DrillPath, aM as DrillQuestion, aN as DrillRecords, aO as DrillRowsPage, aP as DrillSource, aQ as DrillView, aR as EnrichAlternate, aS as EnrichCell, aT as EnrichDeclared, aU as EnrichDueRow, aV as EnrichRun, aW as EnrichSource, aX as Enrichment, aY as EnrichmentSummary, aZ as EntityBackLinkItem, a_ as EntityBackLinks, a$ as EntityFieldRights, b0 as EntityFieldValue, b1 as EntityFieldsAcross, b2 as EntityRecordMatch, b3 as EntityRecordRead, b4 as EntityRecordsFound, b5 as EntityRowWritten, b6 as EntityTableFacts, b7 as ExternalPrincipalCard, F as FieldDrift, b8 as FieldDriftAspect, b9 as FieldHistoryEntry, ba as FieldRetyped, bb as FormArchiveAnswer, bc as FormulaParse, bd as FormulaPreview, be as GridLayout, bf as GridLayoutMode, bg as GridRowHeight, bh as HistoryActor, bi as HistoryActorKind, bj as HistoryChange, bk as Home, bl as ImportBatchResult, bm as ImportColumnPlan, bn as ImportColumnsDeclared, bo as ImportFinished, bp as ImportOpened, bq as ImportOutcome, br as ImportPlan, bs as ImportPolicy, bt as ImportProposal, bu as ImportReport, bv as ImportRun, bw as InboundAddress, bx as InboundDeclared, by as InboxCounts, bz as InboxStateChange, bA as IoExportPage, bB as MigrationEntry, bC as MigrationUndone, bD as NewEntityFieldDeclaration, bE as OutsideShareAnswer, bF as PIPELINE_RULE_KINDS, bG as ParentExtracted, bH as Pipeline, bI as PipelineColumn, bJ as PipelineDeclared, bK as PipelineGate, bL as PipelineGatePreview, bM as PipelineMissingField, bN as PipelineMoveMany, bO as PipelineMoveManyItem, bP as PipelineMoveManyResult, bQ as PipelineMoveResult, bR as PipelineMoveVerdict, bS as PipelineRule, bT as PipelineRuleKind, bU as PipelineSpec, bV as PipelineStage, bW as PipelineVerdict, bX as PromotedPredicate, bY as PublishBinding, bZ as PublishBindingKind, b_ as QueryPlan, b$ as ROW_WEB_NOT_READY, c0 as RecordChangeAction, c1 as RecordComment, c2 as RecordEvent, c3 as RecordHeader, c4 as RecordHistoryEntry, c5 as RecordQuery, c6 as RecordRowControls, c7 as RecordScopeComment, c8 as RecordScopeContext, c9 as RecordScopeField, ca as RecordScopeHistoryEntry, cb as RecordScopeRelation, cc as RecordScopeWithheld, cd as RecordSplit, R as RecordsClient, ce as RecordsMerged, cf as RegisteredTable, cg as ResolvedPublishBinding, ch as ResolvedPublishBindingKind, ci as RestorePreview, cj as RestoreResult, ck as RetypeBehaviour, cl as RetypePreview, cm as RowAction, cn as RowActionStep, co as RowDefaultsApplied, cp as SHOWN_TO_LABEL, cq as SHOWN_TO_VALUES, cr as SHOWN_TO_WHO_MAY_CHANGE, cs as STAGE_RULE_ENFORCEMENT, ct as STAGE_RULE_ON_FAIL, cu as ShownTo, cv as StagePending, cw as StagePendingOnBoard, cx as StageRuleEnforcement, cy as StageRuleOnFail, cz as StageRuleWarning, cA as TABLE_KIND_PREFIX, cB as Table, T as TableArchiveProgress, cC as TableCapacity, cD as TableCopyInProgress, cE as TableDecorations, cF as TableDuplicateProgress, cG as TableDuplicated, cH as TableFact, cI as TableHome, cJ as TableHomeDestination, cK as TableLevel, cL as TableLevelApproval, cM as TableLevelFacts, cN as TableLevelSet, cO as TableListEntry, cP as TableLiveLocation, cQ as TableMoved, cR as TablePlacement, cS as TablePlacementFact, cT as TableReaderRule, cU as TableRenderSchema, cV as TableRestoreProgress, cW as TableRowCount, cX as TableRowDefaults, cY as TableRowDefaultsPatch, cZ as TableSchemaMode, c_ as TableSyncResult, c$ as TableSyncSource, d0 as TableSyncSpec, d1 as TableWebhook, d2 as TableWebhookDeclared, d3 as TypedChoiceDecision, d4 as ViewLayout, d5 as ViewOrderSet, d6 as WorkApprovalDecision, d7 as WorkApprovalFiled, d8 as WorkApprovalState, d9 as WorkApprover, da as WorkAssignment, db as WorkAssignmentField, dc as WorkChange, dd as WorkDecideMany, de as WorkDecideManyItem, df as WorkDecideManyResult, dg as WorkDecideVerdict, dh as WorkDueState, di as WorkGraph, dj as WorkInboxItem, dk as WorkInboxKind, dl as WorkInboxView, dm as WorkInstantiation, dn as WorkListFlavour, dp as WorkListItem, dq as WorkOrigin, dr as WorkRecordState, ds as WorkSlotHold, dt as WorkState, du as WorkTemplateNode, dv as WorkTemplateRelation, dw as WorkTurn, dx as actionRefusals, dy as archivedByLine, dz as archivedWhen, dA as asChoiceNudge, dB as asWriteConflict, dC as choiceSlug, dD as choiceValuesOf, dE as choicesOf, dF as createRecordsClient, dG as decideTypedChoice, dH as declareDrillDefinition, dI as drillAnswerOf, dJ as drillFindingKnob, dK as emptyArchiveLine, dL as exportPageXlsx, dM as fieldKindOf, dN as holdsARetiredChoice, dO as intersectIds, dP as isAPersonsRefusal, dQ as isArchiveLane, dR as isFoundation, dS as isShownTo, dT as isTableKind, dU as isTheChosen, dV as keptGroups, dW as keptOutOfSight, dX as keptTableHref, dY as levelHasShownTo, dZ as looksLikeAnId, d_ as mayDrag, d$ as moveConsequence, e0 as moveInOrder, e1 as offeredAsContext, e2 as optionKey, e3 as optionLabel, e4 as parseFieldDrift, e5 as parseTableCopiesInProgress, e6 as parseTableDuplicateProgress, e7 as parseTableDuplicated, e8 as parseTableHome, e9 as parseTableMoved, ea as planQuery, eb as previewRetype, ec as previewRuleChange, ed as recordChangeTrigger, ee as recordSourceKey, ef as recordSourceTable, eg as recordsUseSentence, eh as rehomeSentence, ei as removedChoicesInUse, ej as ruleThatRefuses, ek as rulesWithTopStar, el as sameDocument, em as scopeChip, en as sheetSyncSpec, eo as tableIdOf, ep as tableJsonSchema, eq as tableKindMapping, er as tableKindSlug, es as tableRenderSchema, et as valueConverts, eu as withRowCounts, ev as withTableFacts, ew as withTablePlacement } from '../client-DcWZjmg2.js';
5
+ import { d as RecordsDataSource } from '../ports-BE_5jz-c.js';
6
+ 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-BE_5jz-c.js';
7
+ import { F as Field } from '../field-BIRNApm1.js';
8
+ 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-BIRNApm1.js';
9
+ export { 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, chooseAlternate, filterWithAutonumber, indexedDbStore, isAutonumberField, isDecided, localeDateOrder, memoryStore, mintClientKey, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.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-BtjrE42J.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-B9HCNPTc.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, M as MySubscription, Q as QuietHours, R as RecordFilter, v as RowTemplateRow, w as SavedViewColorBy, x as SavedViewDefinition, y as SavedViewLayout, d as SavedViewRow, z as SavedViewSpecIn, B as StoreFilter, C as StuckRow, E as Subscription, F as SubscriptionBlock, S as SubscriptionCadence, G as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from '../subscription-Ca15Z7Gu.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-BxGXLRaG.js';
14
+ 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-D5Ytjah7.js';
15
+ export { D as DEFAULT_FIELDS, a as DeclareResult, E as EnsureResult, N as NewFieldSpec, b as NewTableSpec, c as addFields, d as declareTable, e as ensureTable, f as fieldDeclarationFor, t as tokenFor } from '../declareTable-B6ic3leL.js';
16
+ import '../doors-t-Oc2l9E.js';
18
17
 
19
18
  declare function doorExists(name: string): boolean;
20
19
  /**
@@ -53,6 +52,9 @@ declare const DOORS: {
53
52
  readonly migrateRetype: "migrate_retype";
54
53
  readonly migrateMerge: "migrate_merge";
55
54
  readonly migrateUndo: "migrate_undo";
55
+ readonly migrateSplit: "migrate_split";
56
+ readonly migrateExtractParent: "migrate_extract_parent";
57
+ readonly migrations: "migrations";
56
58
  readonly recordValues: "record_values";
57
59
  readonly recordValuesVersioned: "record_values_versioned";
58
60
  readonly valueRead: "value_read";
@@ -5127,6 +5127,49 @@ function tableRenderSchema(facts) {
5127
5127
  return { kind: slug, fields: out };
5128
5128
  }
5129
5129
 
5130
+ // src/alternates.ts
5131
+ function refuse(code, message, hint) {
5132
+ return { ok: false, error: { code, message, hint, ours: true } };
5133
+ }
5134
+ function alternatePatch(document, field_key, alternate_index) {
5135
+ const block = document._values ?? {};
5136
+ const envelope = block[field_key];
5137
+ const alternates = Array.isArray(envelope?.alternates) ? envelope.alternates : [];
5138
+ const chosen = alternates[alternate_index];
5139
+ if (!envelope || !chosen) return { ok: false, message: "That other value is no longer on this record." };
5140
+ const kept = alternates.filter((_, i) => i !== alternate_index);
5141
+ const current = document[field_key];
5142
+ const next = [...kept];
5143
+ if (current !== null && current !== void 0) {
5144
+ const taken = new Set(kept.map((a) => a.rank));
5145
+ let rank = 1;
5146
+ while (taken.has(rank)) rank += 1;
5147
+ next.push({ value: current, ...envelope.src ? { src: envelope.src } : {}, rank });
5148
+ }
5149
+ const { ver: _ver, actor: _actor, at: _at, on_behalf_of: _on, absent: _absent, alternates: _alts, src: _src, ...rest } = envelope;
5150
+ const changed = { ...rest, ...chosen.src ? { src: chosen.src } : {} };
5151
+ if (next.length > 0) changed["alternates"] = next;
5152
+ return {
5153
+ ok: true,
5154
+ patch: {
5155
+ [field_key]: chosen.value,
5156
+ // THE WHOLE BLOCK — every other field's envelope and alternates travel with it.
5157
+ _values: { ...block, [field_key]: changed }
5158
+ }
5159
+ };
5160
+ }
5161
+ async function chooseAlternate(client, { record_id, field_key, alternate_index }) {
5162
+ const read = await client.recordRead({ record_id, withVersion: true });
5163
+ if (!read.ok) return read;
5164
+ const version = read.data.version;
5165
+ if (version === null || version === void 0) {
5166
+ return refuse("stale_read", "Nothing was saved: this record's latest changes could not be checked.", "Reload, then try again.");
5167
+ }
5168
+ const built = alternatePatch(read.data.document, field_key, alternate_index);
5169
+ if (!built.ok) return refuse("not_found", built.message, "Reload, then look again.");
5170
+ return client.recordUpdate({ record_id, patch: built.patch, expectedVersion: version });
5171
+ }
5172
+
5130
5173
  // src/core/primedBundle.ts
5131
5174
  var PRIMED_TTL_MS = 15e3;
5132
5175
  var REGISTRY = /* @__PURE__ */ Symbol.for("@ai-matrx/records/primed-table-page-bundles");
@@ -6161,6 +6204,14 @@ var DOORS = {
6161
6204
  // archived and aliased), and put any recorded Migration back.
6162
6205
  migrateMerge: "migrate_merge",
6163
6206
  migrateUndo: "migrate_undo",
6207
+ // CORE-VISION (2026-10-10): the structural Migrations a person runs on ONE record from its menu.
6208
+ // Split moves the named values to a new record of the same Table (the original keeps its id);
6209
+ // extract parent copies the named values up into a new record of another Table and puts this
6210
+ // record under it. Both answer a `migration_id` that `migrateUndo` takes. `migrations` lists
6211
+ // the Migration log for one target, newest first.
6212
+ migrateSplit: "migrate_split",
6213
+ migrateExtractParent: "migrate_extract_parent",
6214
+ migrations: "migrations",
6164
6215
  recordValues: "record_values",
6165
6216
  recordValuesVersioned: "record_values_versioned",
6166
6217
  valueRead: "value_read",
@@ -6715,7 +6766,7 @@ function doorCensus() {
6715
6766
  }
6716
6767
 
6717
6768
  // src/core/supabase.ts
6718
- function refuse(code, message, hint) {
6769
+ function refuse2(code, message, hint) {
6719
6770
  return { data: null, error: { code, message, hint, details: "" } };
6720
6771
  }
6721
6772
  function supabaseDataSource(client) {
@@ -6728,7 +6779,7 @@ function supabaseDataSource(client) {
6728
6779
  rpc(fn, args, options) {
6729
6780
  if (!hasSchema) {
6730
6781
  return Promise.resolve(
6731
- refuse(
6782
+ refuse2(
6732
6783
  "data_source_unbound",
6733
6784
  `The records client was given something that is not a supabase client: it has no schema() method, so the door ${fn} cannot be called in the schema it lives in.`,
6734
6785
  "Pass a supabase-js v2 client (createClient(...)) to supabaseDataSource()."
@@ -6738,7 +6789,7 @@ function supabaseDataSource(client) {
6738
6789
  const name = options?.schema;
6739
6790
  if (!name) {
6740
6791
  return Promise.resolve(
6741
- refuse(
6792
+ refuse2(
6742
6793
  "schema_unsaid",
6743
6794
  `The door ${fn} was called without saying which schema it lives in. Every door of this store is custom.${fn} and every trust door is iam.${fn}; an unqualified call reaches PostgREST's default profile (public) and is refused there.`,
6744
6795
  "This is a bug in the caller, not in your data: /core says the schema on every call."
@@ -8089,6 +8140,49 @@ function createRecordsClient(given) {
8089
8140
  }
8090
8141
  return result;
8091
8142
  },
8143
+ async migrateSplit({ record_id, moved_keys, note }) {
8144
+ const result = await callDoor(
8145
+ DOORS.migrateSplit,
8146
+ { p_organization_id: org, p_record_id: record_id, p_moved_keys: moved_keys, p_note: note ?? null },
8147
+ "migrateSplit"
8148
+ );
8149
+ if (result.ok) {
8150
+ announceRecordChanged(record_id);
8151
+ announceRecordChanged(result.data.new_record);
8152
+ }
8153
+ return result;
8154
+ },
8155
+ async migrateExtractParent({ record_id, parent_table_id, moved_keys, note }) {
8156
+ const result = await callDoor(
8157
+ DOORS.migrateExtractParent,
8158
+ { p_organization_id: org, p_id: record_id, p_parent_table_id: parent_table_id, p_moved_keys: moved_keys, p_note: note ?? null },
8159
+ "migrateExtractParent"
8160
+ );
8161
+ if (result.ok) {
8162
+ announceRecordChanged(record_id);
8163
+ announceRecordChanged(result.data.parent);
8164
+ }
8165
+ return result;
8166
+ },
8167
+ async migrations({ target_id, limit }) {
8168
+ return callDoor(
8169
+ DOORS.migrations,
8170
+ { p_organization_id: org, p_target_id: target_id ?? null, p_limit: limit ?? 100 },
8171
+ "migrations"
8172
+ );
8173
+ },
8174
+ async recordAsOf({ record_id, recorded_at, world_on }) {
8175
+ return callDoor(
8176
+ DOORS.queryRecordAsOf,
8177
+ {
8178
+ p_organization_id: org,
8179
+ p_record_id: record_id,
8180
+ ...recorded_at ? { p_recorded_at: recorded_at } : {},
8181
+ ...world_on ? { p_world_on: world_on.slice(0, 10) } : {}
8182
+ },
8183
+ "recordAsOf"
8184
+ );
8185
+ },
8092
8186
  async migrateUndo({ migration_id }) {
8093
8187
  const result = await callDoor(
8094
8188
  DOORS.migrateUndo,
@@ -8096,6 +8190,7 @@ function createRecordsClient(given) {
8096
8190
  "migrateUndo"
8097
8191
  );
8098
8192
  if (result.ok && result.data.record_id) announceRecordChanged(result.data.record_id);
8193
+ if (result.ok && result.data.removed) announceRecordChanged(result.data.removed);
8099
8194
  return result;
8100
8195
  },
8101
8196
  async fieldUpdate({ field_id, patch }) {
@@ -11418,6 +11513,7 @@ export {
11418
11513
  addressMapUrl,
11419
11514
  addressText,
11420
11515
  allowsOtherValues,
11516
+ alternatePatch,
11421
11517
  announceRecordChanged,
11422
11518
  announceTableStructureChanged,
11423
11519
  archivedByLine,
@@ -11442,6 +11538,7 @@ export {
11442
11538
  choiceSlug,
11443
11539
  choiceValuesOf,
11444
11540
  choicesOf,
11541
+ chooseAlternate,
11445
11542
  coerceTypedAnswer,
11446
11543
  coerceTypedAnswers,
11447
11544
  coercionLabel,