@ai-matrx/records 0.92.2 → 0.93.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/{client-Dzd8gtAo.d.ts → client-DsPuWFp0.d.ts} +8 -8
  3. package/dist/{client-Cn3odIIB.d.cts → client-EyD3rS0T.d.cts} +8 -8
  4. package/dist/core/index.cjs +101 -32
  5. package/dist/core/index.cjs.map +1 -1
  6. package/dist/core/index.d.cts +16 -15
  7. package/dist/core/index.d.ts +16 -15
  8. package/dist/core/index.js +101 -32
  9. package/dist/core/index.js.map +1 -1
  10. package/dist/data/index.cjs +46 -24
  11. package/dist/data/index.cjs.map +1 -1
  12. package/dist/data/index.d.cts +11 -11
  13. package/dist/data/index.d.ts +11 -11
  14. package/dist/data/index.js +46 -24
  15. package/dist/data/index.js.map +1 -1
  16. package/dist/{declareTable-CrL6AZKB.d.cts → declareTable-Bkk_Ewib.d.cts} +4 -4
  17. package/dist/{declareTable-ZRW5EsTQ.d.ts → declareTable-kL5qZoTe.d.ts} +4 -4
  18. package/dist/entity/index.cjs +43 -29
  19. package/dist/entity/index.cjs.map +1 -1
  20. package/dist/entity/index.d.cts +7 -6
  21. package/dist/entity/index.d.ts +7 -6
  22. package/dist/entity/index.js +43 -29
  23. package/dist/entity/index.js.map +1 -1
  24. package/dist/entity/react.cjs +43 -29
  25. package/dist/entity/react.cjs.map +1 -1
  26. package/dist/entity/react.js +43 -29
  27. package/dist/entity/react.js.map +1 -1
  28. package/dist/{field-CCY1rG9l.d.cts → field-6rwt4ejZ.d.cts} +1 -1
  29. package/dist/{field-enufS5ry.d.ts → field-B-WaVZnS.d.ts} +1 -1
  30. package/dist/forms/index.d.cts +3 -3
  31. package/dist/forms/index.d.ts +3 -3
  32. package/dist/index.cjs +92 -25
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.cts +13 -33
  35. package/dist/index.d.ts +13 -33
  36. package/dist/index.js +92 -25
  37. package/dist/index.js.map +1 -1
  38. package/dist/memory/index.d.cts +7 -7
  39. package/dist/memory/index.d.ts +7 -7
  40. package/dist/objectOrganization-BII_K3Gm.d.ts +45 -0
  41. package/dist/objectOrganization-DfjDQtDb.d.cts +45 -0
  42. package/dist/{port-C54ykAOv.d.ts → port--acgmxh5.d.ts} +5 -2
  43. package/dist/{port-Drioh9al.d.cts → port-Cx76dq-X.d.cts} +5 -2
  44. package/dist/{portal-DRdmZ-xv.d.cts → portal-9sRr6cpG.d.cts} +1 -1
  45. package/dist/{portal-or_f7BkT.d.ts → portal-BDAqsGkg.d.ts} +1 -1
  46. package/dist/{ports-s0D2jvqn.d.cts → ports-9BQ3zo2y.d.cts} +108 -2
  47. package/dist/{ports-BeOgjwYl.d.ts → ports-DYWE1ENo.d.ts} +108 -2
  48. package/dist/react/index.cjs +101 -32
  49. package/dist/react/index.cjs.map +1 -1
  50. package/dist/react/index.d.cts +1463 -1363
  51. package/dist/react/index.d.ts +1463 -1363
  52. package/dist/react/index.js +101 -32
  53. package/dist/react/index.js.map +1 -1
  54. package/dist/realtime/index.cjs +43 -13
  55. package/dist/realtime/index.cjs.map +1 -1
  56. package/dist/realtime/index.d.cts +9 -3
  57. package/dist/realtime/index.d.ts +9 -3
  58. package/dist/realtime/index.js +43 -13
  59. package/dist/realtime/index.js.map +1 -1
  60. package/dist/{record-BwCf9wKW.d.cts → record-DmmeuUrC.d.cts} +1 -1
  61. package/dist/{record-BwCf9wKW.d.ts → record-DmmeuUrC.d.ts} +1 -1
  62. package/dist/{relation-eLMgv_dV.d.ts → relation-Op1M67le.d.ts} +2 -2
  63. package/dist/{relation-8vAWCa67.d.cts → relation-qrb2NbHf.d.cts} +2 -2
  64. package/dist/{rule-wHI5B0Ka.d.cts → rule-CeHg1sy1.d.cts} +1 -1
  65. package/dist/{rule-D9yNiorf.d.ts → rule-tN2lxvJ1.d.ts} +1 -1
  66. package/dist/search/index.d.cts +1 -1
  67. package/dist/search/index.d.ts +1 -1
  68. package/dist/setup/index.cjs +117 -42
  69. package/dist/setup/index.cjs.map +1 -1
  70. package/dist/setup/index.d.cts +25 -11
  71. package/dist/setup/index.d.ts +25 -11
  72. package/dist/setup/index.js +117 -42
  73. package/dist/setup/index.js.map +1 -1
  74. package/dist/{subscription-CdoI-UaB.d.cts → subscription-Drbxn-9Z.d.cts} +3 -3
  75. package/dist/{subscription-BynsG1K6.d.ts → subscription-hdTaRrfK.d.ts} +3 -3
  76. package/dist/{table-kind-i3lZJa3f.d.ts → table-kind-BZkvzBgc.d.ts} +4 -29
  77. package/dist/{table-kind-DzctQ7dO.d.cts → table-kind-C-hZxDN7.d.cts} +4 -29
  78. package/dist/templates/index.d.cts +10 -10
  79. package/dist/templates/index.d.ts +10 -10
  80. package/dist/typed-table/index.cjs +46 -24
  81. package/dist/typed-table/index.cjs.map +1 -1
  82. package/dist/typed-table/index.d.cts +10 -10
  83. package/dist/typed-table/index.d.ts +10 -10
  84. package/dist/typed-table/index.js +46 -24
  85. package/dist/typed-table/index.js.map +1 -1
  86. package/dist/{types-BvL_oKFl.d.ts → types-BauAeFW8.d.ts} +2 -2
  87. package/dist/{types-DAFP6XFe.d.cts → types-CBmUdBT0.d.cts} +2 -2
  88. package/dist/{types-BKYEeFt4.d.cts → types-Dek9owBe.d.cts} +2 -2
  89. package/dist/{types-D8qdG3Lg.d.cts → types-DsgXrESm.d.cts} +2 -2
  90. package/dist/{types-cpKY7Pjb.d.ts → types-HVgWcZDY.d.ts} +2 -2
  91. package/dist/{types-DYzXhD7j.d.ts → types-hrw-Eff1.d.ts} +2 -2
  92. package/dist/use-cases/index.d.cts +5 -5
  93. package/dist/use-cases/index.d.ts +5 -5
  94. package/dist/{validate-DfNMxjmU.d.cts → validate-B_iUeyh2.d.cts} +1 -1
  95. package/dist/{validate-DbvAParj.d.ts → validate-w-HGGTf-.d.ts} +1 -1
  96. package/dist/views/index.cjs +438 -0
  97. package/dist/views/index.cjs.map +1 -0
  98. package/dist/views/index.d.cts +401 -0
  99. package/dist/views/index.d.ts +401 -0
  100. package/dist/views/index.js +415 -0
  101. package/dist/views/index.js.map +1 -0
  102. package/package.json +13 -3
@@ -1,5 +1,5 @@
1
- import { H as HiddenFieldNotice, U as Uuid, T as Timestamp } from './record-BwCf9wKW.cjs';
2
- import { R as RuleExpression } from './rule-wHI5B0Ka.cjs';
1
+ import { H as HiddenFieldNotice, U as Uuid, h as Timestamp } from './record-DmmeuUrC.cjs';
2
+ import { R as RuleExpression } from './rule-CeHg1sy1.cjs';
3
3
 
4
4
  /** The measures the store offers. Asked of `custom.agg_operations()` at run time too. */
5
5
  type AggregateOperation = "count" | "sum" | "avg" | "min" | "max"
@@ -659,4 +659,4 @@ interface SubscriptionBlock {
659
659
  event_key?: string;
660
660
  }
661
661
 
662
- export { type AggregateOperation as A, type DashboardTotals as B, type SavedViewColorBy as C, type DashboardBlockKind as D, type SavedViewDefinition as E, type SavedViewLayout as F, type SubscriptionBlock as G, callersTimeZone as H, hasQuietHours as I, isRuleFilter as J, liftWithheld as K, measureKey as L, type MySubscription as M, stableFilterKey as N, withCallersClock as O, type QuietHours as Q, type RecordFilter as R, type SubscriptionCadence as S, type AggregateFilter as a, type AggregateMeasure as b, type AggregateBucket as c, type StoreFilter as d, type DashboardSummary as e, type DashboardBlock as f, type AggregateCompare as g, type DashboardRunResult as h, type StuckRow as i, type AggregateRow as j, type Subscription as k, type SubscriptionSpec as l, type DigestPreview as m, type SavedViewRow as n, type SavedViewSpecIn as o, type RowTemplateRow as p, type AggregateCompareKind as q, type AggregateCompareWindows as r, type AggregateDelta as s, type AggregateGroupValue as t, type AggregateWindow as u, type DashboardBlockResult as v, type DashboardTarget as w, type DashboardTargetBase as x, type DashboardTargetOp as y, type DashboardTargetResult as z };
662
+ export { type AggregateOperation as A, type DashboardTotals as B, type SavedViewColorBy as C, type DashboardBlockKind as D, type SavedViewDefinition as E, type SavedViewLayout as F, type SubscriptionBlock as G, callersTimeZone as H, hasQuietHours as I, isRuleFilter as J, liftWithheld as K, measureKey as L, type MySubscription as M, stableFilterKey as N, withCallersClock as O, type QuietHours as Q, type RecordFilter as R, type SubscriptionCadence as S, type AggregateFilter as a, type AggregateMeasure as b, type AggregateBucket as c, type SavedViewRow as d, type StoreFilter as e, type DashboardSummary as f, type DashboardBlock as g, type AggregateCompare as h, type DashboardRunResult as i, type StuckRow as j, type AggregateRow as k, type Subscription as l, type SubscriptionSpec as m, type DigestPreview as n, type SavedViewSpecIn as o, type RowTemplateRow as p, type AggregateCompareKind as q, type AggregateCompareWindows as r, type AggregateDelta as s, type AggregateGroupValue as t, type AggregateWindow as u, type DashboardBlockResult as v, type DashboardTarget as w, type DashboardTargetBase as x, type DashboardTargetOp as y, type DashboardTargetResult as z };
@@ -1,5 +1,5 @@
1
- import { H as HiddenFieldNotice, U as Uuid, T as Timestamp } from './record-BwCf9wKW.js';
2
- import { R as RuleExpression } from './rule-D9yNiorf.js';
1
+ import { H as HiddenFieldNotice, U as Uuid, h as Timestamp } from './record-DmmeuUrC.js';
2
+ import { R as RuleExpression } from './rule-tN2lxvJ1.js';
3
3
 
4
4
  /** The measures the store offers. Asked of `custom.agg_operations()` at run time too. */
5
5
  type AggregateOperation = "count" | "sum" | "avg" | "min" | "max"
@@ -659,4 +659,4 @@ interface SubscriptionBlock {
659
659
  event_key?: string;
660
660
  }
661
661
 
662
- export { type AggregateOperation as A, type DashboardTotals as B, type SavedViewColorBy as C, type DashboardBlockKind as D, type SavedViewDefinition as E, type SavedViewLayout as F, type SubscriptionBlock as G, callersTimeZone as H, hasQuietHours as I, isRuleFilter as J, liftWithheld as K, measureKey as L, type MySubscription as M, stableFilterKey as N, withCallersClock as O, type QuietHours as Q, type RecordFilter as R, type SubscriptionCadence as S, type AggregateFilter as a, type AggregateMeasure as b, type AggregateBucket as c, type StoreFilter as d, type DashboardSummary as e, type DashboardBlock as f, type AggregateCompare as g, type DashboardRunResult as h, type StuckRow as i, type AggregateRow as j, type Subscription as k, type SubscriptionSpec as l, type DigestPreview as m, type SavedViewRow as n, type SavedViewSpecIn as o, type RowTemplateRow as p, type AggregateCompareKind as q, type AggregateCompareWindows as r, type AggregateDelta as s, type AggregateGroupValue as t, type AggregateWindow as u, type DashboardBlockResult as v, type DashboardTarget as w, type DashboardTargetBase as x, type DashboardTargetOp as y, type DashboardTargetResult as z };
662
+ export { type AggregateOperation as A, type DashboardTotals as B, type SavedViewColorBy as C, type DashboardBlockKind as D, type SavedViewDefinition as E, type SavedViewLayout as F, type SubscriptionBlock as G, callersTimeZone as H, hasQuietHours as I, isRuleFilter as J, liftWithheld as K, measureKey as L, type MySubscription as M, stableFilterKey as N, withCallersClock as O, type QuietHours as Q, type RecordFilter as R, type SubscriptionCadence as S, type AggregateFilter as a, type AggregateMeasure as b, type AggregateBucket as c, type SavedViewRow as d, type StoreFilter as e, type DashboardSummary as f, type DashboardBlock as g, type AggregateCompare as h, type DashboardRunResult as i, type StuckRow as j, type AggregateRow as k, type Subscription as l, type SubscriptionSpec as m, type DigestPreview as n, type SavedViewSpecIn as o, type RowTemplateRow as p, type AggregateCompareKind as q, type AggregateCompareWindows as r, type AggregateDelta as s, type AggregateGroupValue as t, type AggregateWindow as u, type DashboardBlockResult as v, type DashboardTarget as w, type DashboardTargetBase as x, type DashboardTargetOp as y, type DashboardTargetResult as z };
@@ -1,5 +1,6 @@
1
- import { U as Uuid, T as Timestamp, q as ReadRow, l as RecordDocument, g as TableType, h as TableDisplay, S as StorageMode, aw as TableOrigin, u as StoredRecord, y as ParityFieldType, a as RecordsError } from './record-BwCf9wKW.js';
2
- import { b as Field } from './field-enufS5ry.js';
1
+ import { U as Uuid, h as Timestamp, q as ReadRow, l as RecordDocument, T as TableType, b as TableDisplay, S as StorageMode, aw as TableOrigin, u as StoredRecord, y as ParityFieldType, a as RecordsError } from './record-DmmeuUrC.js';
2
+ import { b as Field } from './field-B-WaVZnS.js';
3
+ import { g as PermissionLevel } from './ports-DYWE1ENo.js';
3
4
 
4
5
  /**
5
6
  * THE TWO LANES THE ARCHIVED-ITEMS LAW NAMES (Arman, 2026-09-09) — the same
@@ -69,32 +70,6 @@ declare function emptyArchiveLine(lane: ArchiveLane): string;
69
70
  /** A document that survived the round trip is the same document — used by the guard. */
70
71
  declare function sameDocument(a: RecordDocument, b: RecordDocument): boolean;
71
72
 
72
- /** `public.permission_level`, in the store's own order. */
73
- /**
74
- * `edit_content` (Notion's "Can edit content") sits between `commenter` and `editor`: it may change
75
- * the rows and page content of a thing, never its structure (columns, views, settings) or its
76
- * sharing — those stay with `editor` and `admin`.
77
- */
78
- type PermissionLevel = "viewer" | "commenter" | "edit_content" | "editor" | "admin";
79
- /** The order the store writes them in, lowest first. */
80
- declare const PERMISSION_LEVELS: readonly PermissionLevel[];
81
- /** Whether `held` is the same rung as `needed` or a higher one. Nothing held is never enough. */
82
- declare function atLeast(held: PermissionLevel | null | undefined, needed: PermissionLevel): boolean;
83
- /** A level word the store sent, or null when it sent something this package does not know. */
84
- declare function asPermissionLevel(word: unknown): PermissionLevel | null;
85
- /** The higher of two levels — what a person holds when two ways in both let them through. */
86
- declare function highestLevel(left: PermissionLevel | null | undefined, right: PermissionLevel | null | undefined): PermissionLevel | null;
87
- /**
88
- * What one subject's level is, as `custom.my_levels` answers it. `null` is an
89
- * ANSWER — "you hold nothing on this" — and never a missing row: a screen that
90
- * could not tell "no access" from "not asked yet" would draw one of them as the
91
- * other.
92
- */
93
- interface MyLevel {
94
- id: string;
95
- level: PermissionLevel | null;
96
- }
97
-
98
73
  /** The two levels a custom table can hold. */
99
74
  type TableLevel = "organization" | "confidential";
100
75
  /** One readers rule: `field` is one of the table's own fields that names a person or a team. */
@@ -3817,4 +3792,4 @@ declare function tableJsonSchema(facts: TableKindFacts, mode: TableSchemaMode):
3817
3792
  */
3818
3793
  declare function tableRenderSchema(facts: TableKindFacts): TableRenderSchema;
3819
3794
 
3820
- export { type ImportRun as $, type ArchiveLane as A, type PipelineMoveResult as B, type ChoiceNudge as C, type PipelineMoveManyItem as D, type EntityTableFacts as E, type FieldDrift as F, type PipelineMoveMany as G, type PipelineSpec as H, type PipelineDeclared as I, type StageRuleEnforcement as J, type StagePending as K, type StagePendingOnBoard as L, type MigrationUndone as M, type NewEntityFieldDeclaration as N, type PipelineGate as O, type Pipeline as P, type PipelineGatePreview as Q, type RecordsMerged as R, type StageRuleOnFail as S, type TableArchiveProgress as T, type ImportPlan as U, type ImportPolicy as V, type ImportOpened as W, type ImportColumnsDeclared as X, type ImportBatchResult as Y, type ImportFinished as Z, type ImportReport as _, type TableRestoreProgress as a, type WorkApprovalDecision as a$, type InboundDeclared as a0, type InboundAddress as a1, type FormArchiveAnswer as a2, type ArchivedForm as a3, type ArchivedChecklistTemplate as a4, type TableRowDefaults as a5, type TableRowDefaultsPatch as a6, type RowDefaultsApplied as a7, type RecordRowControls as a8, type CaptureSheetSummary as a9, type CommentWritten as aA, type AnonTokenBinding as aB, type ChecklistSpec as aC, type ChecklistDeclared as aD, type ChecklistTemplateSummary as aE, type ChecklistTemplateShape as aF, type ChecklistRunStarted as aG, type ChecklistRunStep as aH, type ChecklistRunSummary as aI, type ChecklistStepCompleted as aJ, type WorkState as aK, type WorkGraph as aL, type WorkInstantiation as aM, type WorkTurn as aN, type WorkAssignmentField as aO, type WorkSlotHold as aP, type WorkInboxView as aQ, type WorkInboxItem as aR, type InboxStateChange as aS, type InboxCounts as aT, type WorkListFlavour as aU, type WorkListItem as aV, type WorkAssignment as aW, type WorkRecordState as aX, type WorkApprover as aY, type WorkChange as aZ, type WorkApprovalFiled as a_, type CaptureSheetFace as aa, type CaptureFileRef as ab, type CaptureOutcome as ac, type EnrichmentSummary as ad, type EnrichDeclared as ae, type EnrichDueRow as af, type EnrichCell as ag, type EnrichRun as ah, type DrillSource as ai, type DrillDefinition as aj, type DrillQuestion as ak, type DrillAnswer as al, type DrillRowsPage as am, type DocToken as an, type DocUnresolvedToken as ao, type DocTemplateRow as ap, type DocRenderRow as aq, type DocSignatureRow as ar, type RecordHistoryEntry as as, type RecordScopeContext as at, type ConversationScope as au, type ConversationScopeContext as av, type FieldHistoryEntry as aw, type RestorePreview as ax, type RestoreResult as ay, type CommentThreadRead as az, type TableDuplicateProgress as b, DRILL_SCHEMA as b$, type WorkDecideManyItem as b0, type WorkDecideMany as b1, type ExternalPrincipalCard as b2, type PublishBinding as b3, type ResolvedPublishBinding as b4, type ResolvedPublishBindingKind as b5, type MyLevel as b6, type DecorationPath as b7, type TableDecorations as b8, type GridLayout as b9, type AutomationAction as bA, type AutomationFilter as bB, type AutomationItem as bC, type AutomationLastRun as bD, type AutomationRun as bE, type AutomationRunStatus as bF, type AutomationStep as bG, type AutomationTrigger as bH, type AutomationValue as bI, type AutomationValues as bJ, BUILT_KIND_WORD as bK, CHOICE_NUDGES as bL, type CaptureField as bM, type CaptureQuestion as bN, type ChecklistRequirement as bO, type ChecklistRequirementKind as bP, type ChecklistRoleSpec as bQ, type ChecklistStepSpec as bR, type ChecklistTrigger as bS, type ChecklistTriggerKind as bT, type ChoiceLike as bU, type ChoiceOption as bV, type CustomFieldTableType as bW, DEFAULT_ARCHIVE_LANE as bX, DRILL_CHART_TOKENS as bY, DRILL_DESCRIPTION_MAX as bZ, DRILL_DOORS as b_, type FormulaParse as ba, type FormulaPreview as bb, type RowAction as bc, type ActionRunResult as bd, type AutomationSpec as be, type AutomationDeclared as bf, type AutomationList as bg, type AutomationFlipped as bh, type AutomationRuns as bi, type RecordEvent as bj, type TableWebhookDeclared as bk, type TableWebhook as bl, type IoExportPage as bm, type TableListEntry as bn, type DataHomeTable as bo, type TableSyncSpec as bp, type TableSyncResult as bq, type TableRowCount as br, type RecordHeader as bs, type OutsideShareAnswer as bt, type ViewOrderSet as bu, ARCHIVE_LANES as bv, ARCHIVE_LANE_LABEL as bw, ARCHIVE_LANE_MEANS as bx, type ActionRefusal as by, type ArchivedDoorRow as bz, type TableDuplicated as c, STAGE_RULE_ON_FAIL as c$, type DecorationColor as c0, type DecorationRule as c1, type DecorationRuleOp as c2, type DecorationTarget as c3, type DocSignatureCheck as c4, type DrillAdHocOp as c5, type DrillAnswerRow as c6, type DrillChartToken as c7, type DrillDeclaration as c8, type DrillDimension as c9, type ImportProposal as cA, PERMISSION_LEVELS as cB, PIPELINE_RULE_KINDS as cC, type PermissionLevel as cD, type PipelineMissingField as cE, type PipelineMoveManyResult as cF, type PipelineMoveVerdict as cG, type PipelineRule as cH, type PipelineRuleKind as cI, type PipelineStage as cJ, type PublishBindingKind as cK, ROW_WEB_NOT_READY as cL, type RecordChangeAction as cM, type RecordComment as cN, type RecordScopeComment as cO, type RecordScopeField as cP, type RecordScopeHistoryEntry as cQ, type RecordScopeRelation as cR, type RecordScopeWithheld as cS, type RegisteredTable as cT, type RetypeBehaviour as cU, type RetypePreview as cV, type RowActionStep as cW, SHOWN_TO_LABEL as cX, SHOWN_TO_VALUES as cY, SHOWN_TO_WHO_MAY_CHANGE as cZ, STAGE_RULE_ENFORCEMENT as c_, type DrillFinding as ca, type DrillGrain as cb, type DrillHaving as cc, type DrillLane as cd, type DrillLevel as ce, type DrillMeasure as cf, type DrillMeasureOp as cg, type DrillMeasureWhereValue as ch, type DrillPath as ci, type DrillRecords as cj, type DrillView as ck, type EnrichAlternate as cl, type EnrichSource as cm, type Enrichment as cn, type EntityBackLinkItem as co, type EntityFieldValue as cp, type EntityRecordMatch as cq, type FieldDriftAspect as cr, type GridLayoutMode as cs, type GridRowHeight as ct, type HistoryActor as cu, type HistoryActorKind as cv, type HistoryChange as cw, type Home as cx, type ImportColumnPlan as cy, type ImportOutcome as cz, type TableCopyInProgress as d, previewRuleChange as d$, type ShownTo as d0, type StageRuleWarning as d1, TABLE_KIND_PREFIX as d2, type TableHomeDestination as d3, type TableLevel as d4, type TableLevelApproval as d5, type TablePlacement as d6, type TablePlacementFact as d7, type TableRenderSchema as d8, type TableSchemaMode as d9, exportPageXlsx as dA, fieldKindOf as dB, highestLevel as dC, holdsARetiredChoice as dD, isArchiveLane as dE, isFoundation as dF, isShownTo as dG, isTableKind as dH, isTheChosen as dI, keptGroups as dJ, keptOutOfSight as dK, keptTableHref as dL, levelHasShownTo as dM, looksLikeAnId as dN, mayDrag as dO, moveConsequence as dP, moveInOrder as dQ, offeredAsContext as dR, optionKey as dS, optionLabel as dT, parseFieldDrift as dU, parseTableCopiesInProgress as dV, parseTableDuplicateProgress as dW, parseTableDuplicated as dX, parseTableHome as dY, parseTableMoved as dZ, previewRetype as d_, type TableSyncSource as da, type TypedChoiceDecision as db, type ViewLayout as dc, type WorkApprovalState as dd, type WorkDecideManyResult as de, type WorkDecideVerdict as df, type WorkDueState as dg, type WorkInboxKind as dh, type WorkOrigin as di, type WorkTemplateNode as dj, type WorkTemplateRelation as dk, actionRefusals as dl, archivedByLine as dm, archivedWhen as dn, asChoiceNudge as dp, asPermissionLevel as dq, atLeast as dr, choiceSlug as ds, choiceValuesOf as dt, choicesOf as du, decideTypedChoice as dv, declareDrillDefinition as dw, drillAnswerOf as dx, drillFindingKnob as dy, emptyArchiveLine as dz, type ArchivedRow as e, recordChangeTrigger as e0, recordSourceKey as e1, recordSourceTable as e2, recordsUseSentence as e3, rehomeSentence as e4, removedChoicesInUse as e5, ruleThatRefuses as e6, rulesWithTopStar as e7, sameDocument as e8, scopeChip as e9, sheetSyncSpec as ea, tableIdOf as eb, tableJsonSchema as ec, tableKindMapping as ed, tableKindSlug as ee, tableRenderSchema as ef, valueConverts as eg, withRowCounts as eh, withTablePlacement as ei, type Table as f, type TableHome as g, type TableMoved as h, type ChoiceUsage as i, type ChoiceRehome as j, type ChoiceCellBack as k, type ChoicesRehomed as l, type TableCapacity as m, type FieldRetyped as n, type TableKindFacts as o, type TableLevelFacts as p, type TableReaderRule as q, type TableLevelSet as r, type EntityFieldsAcross as s, type EntityFieldRights as t, type EntityRecordRead as u, type EntityBackLinks as v, type EntityRowWritten as w, type EntityRecordsFound as x, type PipelineColumn as y, type PipelineVerdict as z };
3795
+ export { type ImportRun as $, type ArchiveLane as A, type PipelineMoveResult as B, type ChoiceNudge as C, type PipelineMoveManyItem as D, type EntityTableFacts as E, type FieldDrift as F, type PipelineMoveMany as G, type PipelineSpec as H, type PipelineDeclared as I, type StageRuleEnforcement as J, type StagePending as K, type StagePendingOnBoard as L, type MigrationUndone as M, type NewEntityFieldDeclaration as N, type PipelineGate as O, type Pipeline as P, type PipelineGatePreview as Q, type RecordsMerged as R, type StageRuleOnFail as S, type TableArchiveProgress as T, type ImportPlan as U, type ImportPolicy as V, type ImportOpened as W, type ImportColumnsDeclared as X, type ImportBatchResult as Y, type ImportFinished as Z, type ImportReport as _, type TableRestoreProgress as a, type WorkApprovalDecision as a$, type InboundDeclared as a0, type InboundAddress as a1, type FormArchiveAnswer as a2, type ArchivedForm as a3, type ArchivedChecklistTemplate as a4, type TableRowDefaults as a5, type TableRowDefaultsPatch as a6, type RowDefaultsApplied as a7, type RecordRowControls as a8, type CaptureSheetSummary as a9, type CommentWritten as aA, type AnonTokenBinding as aB, type ChecklistSpec as aC, type ChecklistDeclared as aD, type ChecklistTemplateSummary as aE, type ChecklistTemplateShape as aF, type ChecklistRunStarted as aG, type ChecklistRunStep as aH, type ChecklistRunSummary as aI, type ChecklistStepCompleted as aJ, type WorkState as aK, type WorkGraph as aL, type WorkInstantiation as aM, type WorkTurn as aN, type WorkAssignmentField as aO, type WorkSlotHold as aP, type WorkInboxView as aQ, type WorkInboxItem as aR, type InboxStateChange as aS, type InboxCounts as aT, type WorkListFlavour as aU, type WorkListItem as aV, type WorkAssignment as aW, type WorkRecordState as aX, type WorkApprover as aY, type WorkChange as aZ, type WorkApprovalFiled as a_, type CaptureSheetFace as aa, type CaptureFileRef as ab, type CaptureOutcome as ac, type EnrichmentSummary as ad, type EnrichDeclared as ae, type EnrichDueRow as af, type EnrichCell as ag, type EnrichRun as ah, type DrillSource as ai, type DrillDefinition as aj, type DrillQuestion as ak, type DrillAnswer as al, type DrillRowsPage as am, type DocToken as an, type DocUnresolvedToken as ao, type DocTemplateRow as ap, type DocRenderRow as aq, type DocSignatureRow as ar, type RecordHistoryEntry as as, type RecordScopeContext as at, type ConversationScope as au, type ConversationScopeContext as av, type FieldHistoryEntry as aw, type RestorePreview as ax, type RestoreResult as ay, type CommentThreadRead as az, type TableDuplicateProgress as b, type DecorationColor as b$, type WorkDecideManyItem as b0, type WorkDecideMany as b1, type ExternalPrincipalCard as b2, type PublishBinding as b3, type ResolvedPublishBinding as b4, type ResolvedPublishBindingKind as b5, type DecorationPath as b6, type TableDecorations as b7, type GridLayout as b8, type FormulaParse as b9, type AutomationFilter as bA, type AutomationItem as bB, type AutomationLastRun as bC, type AutomationRun as bD, type AutomationRunStatus as bE, type AutomationStep as bF, type AutomationTrigger as bG, type AutomationValue as bH, type AutomationValues as bI, BUILT_KIND_WORD as bJ, CHOICE_NUDGES as bK, type CaptureField as bL, type CaptureQuestion as bM, type ChecklistRequirement as bN, type ChecklistRequirementKind as bO, type ChecklistRoleSpec as bP, type ChecklistStepSpec as bQ, type ChecklistTrigger as bR, type ChecklistTriggerKind as bS, type ChoiceLike as bT, type ChoiceOption as bU, type CustomFieldTableType as bV, DEFAULT_ARCHIVE_LANE as bW, DRILL_CHART_TOKENS as bX, DRILL_DESCRIPTION_MAX as bY, DRILL_DOORS as bZ, DRILL_SCHEMA as b_, type FormulaPreview as ba, type RowAction as bb, type ActionRunResult as bc, type AutomationSpec as bd, type AutomationDeclared as be, type AutomationList as bf, type AutomationFlipped as bg, type AutomationRuns as bh, type RecordEvent as bi, type TableWebhookDeclared as bj, type TableWebhook as bk, type IoExportPage as bl, type TableListEntry as bm, type DataHomeTable as bn, type TableSyncSpec as bo, type TableSyncResult as bp, type TableRowCount as bq, type RecordHeader as br, type OutsideShareAnswer as bs, type ViewOrderSet as bt, ARCHIVE_LANES as bu, ARCHIVE_LANE_LABEL as bv, ARCHIVE_LANE_MEANS as bw, type ActionRefusal as bx, type ArchivedDoorRow as by, type AutomationAction as bz, type TableDuplicated as c, TABLE_KIND_PREFIX as c$, type DecorationRule as c0, type DecorationRuleOp as c1, type DecorationTarget as c2, type DocSignatureCheck as c3, type DrillAdHocOp as c4, type DrillAnswerRow as c5, type DrillChartToken as c6, type DrillDeclaration as c7, type DrillDimension as c8, type DrillFinding as c9, PIPELINE_RULE_KINDS as cA, type PipelineMissingField as cB, type PipelineMoveManyResult as cC, type PipelineMoveVerdict as cD, type PipelineRule as cE, type PipelineRuleKind as cF, type PipelineStage as cG, type PublishBindingKind as cH, ROW_WEB_NOT_READY as cI, type RecordChangeAction as cJ, type RecordComment as cK, type RecordScopeComment as cL, type RecordScopeField as cM, type RecordScopeHistoryEntry as cN, type RecordScopeRelation as cO, type RecordScopeWithheld as cP, type RegisteredTable as cQ, type RetypeBehaviour as cR, type RetypePreview as cS, type RowActionStep as cT, SHOWN_TO_LABEL as cU, SHOWN_TO_VALUES as cV, SHOWN_TO_WHO_MAY_CHANGE as cW, STAGE_RULE_ENFORCEMENT as cX, STAGE_RULE_ON_FAIL as cY, type ShownTo as cZ, type StageRuleWarning as c_, type DrillGrain as ca, type DrillHaving as cb, type DrillLane as cc, type DrillLevel as cd, type DrillMeasure as ce, type DrillMeasureOp as cf, type DrillMeasureWhereValue as cg, type DrillPath as ch, type DrillRecords as ci, type DrillView as cj, type EnrichAlternate as ck, type EnrichSource as cl, type Enrichment as cm, type EntityBackLinkItem as cn, type EntityFieldValue as co, type EntityRecordMatch as cp, type FieldDriftAspect as cq, type GridLayoutMode as cr, type GridRowHeight as cs, type HistoryActor as ct, type HistoryActorKind as cu, type HistoryChange as cv, type Home as cw, type ImportColumnPlan as cx, type ImportOutcome as cy, type ImportProposal as cz, type TableCopyInProgress as d, removedChoicesInUse as d$, type TableHomeDestination as d0, type TableLevel as d1, type TableLevelApproval as d2, type TablePlacement as d3, type TablePlacementFact as d4, type TableRenderSchema as d5, type TableSchemaMode as d6, type TableSyncSource as d7, type TypedChoiceDecision as d8, type ViewLayout as d9, isShownTo as dA, isTableKind as dB, isTheChosen as dC, keptGroups as dD, keptOutOfSight as dE, keptTableHref as dF, levelHasShownTo as dG, looksLikeAnId as dH, mayDrag as dI, moveConsequence as dJ, moveInOrder as dK, offeredAsContext as dL, optionKey as dM, optionLabel as dN, parseFieldDrift as dO, parseTableCopiesInProgress as dP, parseTableDuplicateProgress as dQ, parseTableDuplicated as dR, parseTableHome as dS, parseTableMoved as dT, previewRetype as dU, previewRuleChange as dV, recordChangeTrigger as dW, recordSourceKey as dX, recordSourceTable as dY, recordsUseSentence as dZ, rehomeSentence as d_, type WorkApprovalState as da, type WorkDecideManyResult as db, type WorkDecideVerdict as dc, type WorkDueState as dd, type WorkInboxKind as de, type WorkOrigin as df, type WorkTemplateNode as dg, type WorkTemplateRelation as dh, actionRefusals as di, archivedByLine as dj, archivedWhen as dk, asChoiceNudge as dl, choiceSlug as dm, choiceValuesOf as dn, choicesOf as dp, decideTypedChoice as dq, declareDrillDefinition as dr, drillAnswerOf as ds, drillFindingKnob as dt, emptyArchiveLine as du, exportPageXlsx as dv, fieldKindOf as dw, holdsARetiredChoice as dx, isArchiveLane as dy, isFoundation as dz, type ArchivedRow as e, ruleThatRefuses as e0, rulesWithTopStar as e1, sameDocument as e2, scopeChip as e3, sheetSyncSpec as e4, tableIdOf as e5, tableJsonSchema as e6, tableKindMapping as e7, tableKindSlug as e8, tableRenderSchema as e9, valueConverts as ea, withRowCounts as eb, withTablePlacement as ec, type Table as f, type TableHome as g, type TableMoved as h, type ChoiceUsage as i, type ChoiceRehome as j, type ChoiceCellBack as k, type ChoicesRehomed as l, type TableCapacity as m, type FieldRetyped as n, type TableKindFacts as o, type TableLevelFacts as p, type TableReaderRule as q, type TableLevelSet as r, type EntityFieldsAcross as s, type EntityFieldRights as t, type EntityRecordRead as u, type EntityBackLinks as v, type EntityRowWritten as w, type EntityRecordsFound as x, type PipelineColumn as y, type PipelineVerdict as z };
@@ -1,5 +1,6 @@
1
- import { U as Uuid, T as Timestamp, q as ReadRow, l as RecordDocument, g as TableType, h as TableDisplay, S as StorageMode, aw as TableOrigin, u as StoredRecord, y as ParityFieldType, a as RecordsError } from './record-BwCf9wKW.cjs';
2
- import { b as Field } from './field-CCY1rG9l.cjs';
1
+ import { U as Uuid, h as Timestamp, q as ReadRow, l as RecordDocument, T as TableType, b as TableDisplay, S as StorageMode, aw as TableOrigin, u as StoredRecord, y as ParityFieldType, a as RecordsError } from './record-DmmeuUrC.cjs';
2
+ import { b as Field } from './field-6rwt4ejZ.cjs';
3
+ import { g as PermissionLevel } from './ports-9BQ3zo2y.cjs';
3
4
 
4
5
  /**
5
6
  * THE TWO LANES THE ARCHIVED-ITEMS LAW NAMES (Arman, 2026-09-09) — the same
@@ -69,32 +70,6 @@ declare function emptyArchiveLine(lane: ArchiveLane): string;
69
70
  /** A document that survived the round trip is the same document — used by the guard. */
70
71
  declare function sameDocument(a: RecordDocument, b: RecordDocument): boolean;
71
72
 
72
- /** `public.permission_level`, in the store's own order. */
73
- /**
74
- * `edit_content` (Notion's "Can edit content") sits between `commenter` and `editor`: it may change
75
- * the rows and page content of a thing, never its structure (columns, views, settings) or its
76
- * sharing — those stay with `editor` and `admin`.
77
- */
78
- type PermissionLevel = "viewer" | "commenter" | "edit_content" | "editor" | "admin";
79
- /** The order the store writes them in, lowest first. */
80
- declare const PERMISSION_LEVELS: readonly PermissionLevel[];
81
- /** Whether `held` is the same rung as `needed` or a higher one. Nothing held is never enough. */
82
- declare function atLeast(held: PermissionLevel | null | undefined, needed: PermissionLevel): boolean;
83
- /** A level word the store sent, or null when it sent something this package does not know. */
84
- declare function asPermissionLevel(word: unknown): PermissionLevel | null;
85
- /** The higher of two levels — what a person holds when two ways in both let them through. */
86
- declare function highestLevel(left: PermissionLevel | null | undefined, right: PermissionLevel | null | undefined): PermissionLevel | null;
87
- /**
88
- * What one subject's level is, as `custom.my_levels` answers it. `null` is an
89
- * ANSWER — "you hold nothing on this" — and never a missing row: a screen that
90
- * could not tell "no access" from "not asked yet" would draw one of them as the
91
- * other.
92
- */
93
- interface MyLevel {
94
- id: string;
95
- level: PermissionLevel | null;
96
- }
97
-
98
73
  /** The two levels a custom table can hold. */
99
74
  type TableLevel = "organization" | "confidential";
100
75
  /** One readers rule: `field` is one of the table's own fields that names a person or a team. */
@@ -3817,4 +3792,4 @@ declare function tableJsonSchema(facts: TableKindFacts, mode: TableSchemaMode):
3817
3792
  */
3818
3793
  declare function tableRenderSchema(facts: TableKindFacts): TableRenderSchema;
3819
3794
 
3820
- export { type ImportRun as $, type ArchiveLane as A, type PipelineMoveResult as B, type ChoiceNudge as C, type PipelineMoveManyItem as D, type EntityTableFacts as E, type FieldDrift as F, type PipelineMoveMany as G, type PipelineSpec as H, type PipelineDeclared as I, type StageRuleEnforcement as J, type StagePending as K, type StagePendingOnBoard as L, type MigrationUndone as M, type NewEntityFieldDeclaration as N, type PipelineGate as O, type Pipeline as P, type PipelineGatePreview as Q, type RecordsMerged as R, type StageRuleOnFail as S, type TableArchiveProgress as T, type ImportPlan as U, type ImportPolicy as V, type ImportOpened as W, type ImportColumnsDeclared as X, type ImportBatchResult as Y, type ImportFinished as Z, type ImportReport as _, type TableRestoreProgress as a, type WorkApprovalDecision as a$, type InboundDeclared as a0, type InboundAddress as a1, type FormArchiveAnswer as a2, type ArchivedForm as a3, type ArchivedChecklistTemplate as a4, type TableRowDefaults as a5, type TableRowDefaultsPatch as a6, type RowDefaultsApplied as a7, type RecordRowControls as a8, type CaptureSheetSummary as a9, type CommentWritten as aA, type AnonTokenBinding as aB, type ChecklistSpec as aC, type ChecklistDeclared as aD, type ChecklistTemplateSummary as aE, type ChecklistTemplateShape as aF, type ChecklistRunStarted as aG, type ChecklistRunStep as aH, type ChecklistRunSummary as aI, type ChecklistStepCompleted as aJ, type WorkState as aK, type WorkGraph as aL, type WorkInstantiation as aM, type WorkTurn as aN, type WorkAssignmentField as aO, type WorkSlotHold as aP, type WorkInboxView as aQ, type WorkInboxItem as aR, type InboxStateChange as aS, type InboxCounts as aT, type WorkListFlavour as aU, type WorkListItem as aV, type WorkAssignment as aW, type WorkRecordState as aX, type WorkApprover as aY, type WorkChange as aZ, type WorkApprovalFiled as a_, type CaptureSheetFace as aa, type CaptureFileRef as ab, type CaptureOutcome as ac, type EnrichmentSummary as ad, type EnrichDeclared as ae, type EnrichDueRow as af, type EnrichCell as ag, type EnrichRun as ah, type DrillSource as ai, type DrillDefinition as aj, type DrillQuestion as ak, type DrillAnswer as al, type DrillRowsPage as am, type DocToken as an, type DocUnresolvedToken as ao, type DocTemplateRow as ap, type DocRenderRow as aq, type DocSignatureRow as ar, type RecordHistoryEntry as as, type RecordScopeContext as at, type ConversationScope as au, type ConversationScopeContext as av, type FieldHistoryEntry as aw, type RestorePreview as ax, type RestoreResult as ay, type CommentThreadRead as az, type TableDuplicateProgress as b, DRILL_SCHEMA as b$, type WorkDecideManyItem as b0, type WorkDecideMany as b1, type ExternalPrincipalCard as b2, type PublishBinding as b3, type ResolvedPublishBinding as b4, type ResolvedPublishBindingKind as b5, type MyLevel as b6, type DecorationPath as b7, type TableDecorations as b8, type GridLayout as b9, type AutomationAction as bA, type AutomationFilter as bB, type AutomationItem as bC, type AutomationLastRun as bD, type AutomationRun as bE, type AutomationRunStatus as bF, type AutomationStep as bG, type AutomationTrigger as bH, type AutomationValue as bI, type AutomationValues as bJ, BUILT_KIND_WORD as bK, CHOICE_NUDGES as bL, type CaptureField as bM, type CaptureQuestion as bN, type ChecklistRequirement as bO, type ChecklistRequirementKind as bP, type ChecklistRoleSpec as bQ, type ChecklistStepSpec as bR, type ChecklistTrigger as bS, type ChecklistTriggerKind as bT, type ChoiceLike as bU, type ChoiceOption as bV, type CustomFieldTableType as bW, DEFAULT_ARCHIVE_LANE as bX, DRILL_CHART_TOKENS as bY, DRILL_DESCRIPTION_MAX as bZ, DRILL_DOORS as b_, type FormulaParse as ba, type FormulaPreview as bb, type RowAction as bc, type ActionRunResult as bd, type AutomationSpec as be, type AutomationDeclared as bf, type AutomationList as bg, type AutomationFlipped as bh, type AutomationRuns as bi, type RecordEvent as bj, type TableWebhookDeclared as bk, type TableWebhook as bl, type IoExportPage as bm, type TableListEntry as bn, type DataHomeTable as bo, type TableSyncSpec as bp, type TableSyncResult as bq, type TableRowCount as br, type RecordHeader as bs, type OutsideShareAnswer as bt, type ViewOrderSet as bu, ARCHIVE_LANES as bv, ARCHIVE_LANE_LABEL as bw, ARCHIVE_LANE_MEANS as bx, type ActionRefusal as by, type ArchivedDoorRow as bz, type TableDuplicated as c, STAGE_RULE_ON_FAIL as c$, type DecorationColor as c0, type DecorationRule as c1, type DecorationRuleOp as c2, type DecorationTarget as c3, type DocSignatureCheck as c4, type DrillAdHocOp as c5, type DrillAnswerRow as c6, type DrillChartToken as c7, type DrillDeclaration as c8, type DrillDimension as c9, type ImportProposal as cA, PERMISSION_LEVELS as cB, PIPELINE_RULE_KINDS as cC, type PermissionLevel as cD, type PipelineMissingField as cE, type PipelineMoveManyResult as cF, type PipelineMoveVerdict as cG, type PipelineRule as cH, type PipelineRuleKind as cI, type PipelineStage as cJ, type PublishBindingKind as cK, ROW_WEB_NOT_READY as cL, type RecordChangeAction as cM, type RecordComment as cN, type RecordScopeComment as cO, type RecordScopeField as cP, type RecordScopeHistoryEntry as cQ, type RecordScopeRelation as cR, type RecordScopeWithheld as cS, type RegisteredTable as cT, type RetypeBehaviour as cU, type RetypePreview as cV, type RowActionStep as cW, SHOWN_TO_LABEL as cX, SHOWN_TO_VALUES as cY, SHOWN_TO_WHO_MAY_CHANGE as cZ, STAGE_RULE_ENFORCEMENT as c_, type DrillFinding as ca, type DrillGrain as cb, type DrillHaving as cc, type DrillLane as cd, type DrillLevel as ce, type DrillMeasure as cf, type DrillMeasureOp as cg, type DrillMeasureWhereValue as ch, type DrillPath as ci, type DrillRecords as cj, type DrillView as ck, type EnrichAlternate as cl, type EnrichSource as cm, type Enrichment as cn, type EntityBackLinkItem as co, type EntityFieldValue as cp, type EntityRecordMatch as cq, type FieldDriftAspect as cr, type GridLayoutMode as cs, type GridRowHeight as ct, type HistoryActor as cu, type HistoryActorKind as cv, type HistoryChange as cw, type Home as cx, type ImportColumnPlan as cy, type ImportOutcome as cz, type TableCopyInProgress as d, previewRuleChange as d$, type ShownTo as d0, type StageRuleWarning as d1, TABLE_KIND_PREFIX as d2, type TableHomeDestination as d3, type TableLevel as d4, type TableLevelApproval as d5, type TablePlacement as d6, type TablePlacementFact as d7, type TableRenderSchema as d8, type TableSchemaMode as d9, exportPageXlsx as dA, fieldKindOf as dB, highestLevel as dC, holdsARetiredChoice as dD, isArchiveLane as dE, isFoundation as dF, isShownTo as dG, isTableKind as dH, isTheChosen as dI, keptGroups as dJ, keptOutOfSight as dK, keptTableHref as dL, levelHasShownTo as dM, looksLikeAnId as dN, mayDrag as dO, moveConsequence as dP, moveInOrder as dQ, offeredAsContext as dR, optionKey as dS, optionLabel as dT, parseFieldDrift as dU, parseTableCopiesInProgress as dV, parseTableDuplicateProgress as dW, parseTableDuplicated as dX, parseTableHome as dY, parseTableMoved as dZ, previewRetype as d_, type TableSyncSource as da, type TypedChoiceDecision as db, type ViewLayout as dc, type WorkApprovalState as dd, type WorkDecideManyResult as de, type WorkDecideVerdict as df, type WorkDueState as dg, type WorkInboxKind as dh, type WorkOrigin as di, type WorkTemplateNode as dj, type WorkTemplateRelation as dk, actionRefusals as dl, archivedByLine as dm, archivedWhen as dn, asChoiceNudge as dp, asPermissionLevel as dq, atLeast as dr, choiceSlug as ds, choiceValuesOf as dt, choicesOf as du, decideTypedChoice as dv, declareDrillDefinition as dw, drillAnswerOf as dx, drillFindingKnob as dy, emptyArchiveLine as dz, type ArchivedRow as e, recordChangeTrigger as e0, recordSourceKey as e1, recordSourceTable as e2, recordsUseSentence as e3, rehomeSentence as e4, removedChoicesInUse as e5, ruleThatRefuses as e6, rulesWithTopStar as e7, sameDocument as e8, scopeChip as e9, sheetSyncSpec as ea, tableIdOf as eb, tableJsonSchema as ec, tableKindMapping as ed, tableKindSlug as ee, tableRenderSchema as ef, valueConverts as eg, withRowCounts as eh, withTablePlacement as ei, type Table as f, type TableHome as g, type TableMoved as h, type ChoiceUsage as i, type ChoiceRehome as j, type ChoiceCellBack as k, type ChoicesRehomed as l, type TableCapacity as m, type FieldRetyped as n, type TableKindFacts as o, type TableLevelFacts as p, type TableReaderRule as q, type TableLevelSet as r, type EntityFieldsAcross as s, type EntityFieldRights as t, type EntityRecordRead as u, type EntityBackLinks as v, type EntityRowWritten as w, type EntityRecordsFound as x, type PipelineColumn as y, type PipelineVerdict as z };
3795
+ export { type ImportRun as $, type ArchiveLane as A, type PipelineMoveResult as B, type ChoiceNudge as C, type PipelineMoveManyItem as D, type EntityTableFacts as E, type FieldDrift as F, type PipelineMoveMany as G, type PipelineSpec as H, type PipelineDeclared as I, type StageRuleEnforcement as J, type StagePending as K, type StagePendingOnBoard as L, type MigrationUndone as M, type NewEntityFieldDeclaration as N, type PipelineGate as O, type Pipeline as P, type PipelineGatePreview as Q, type RecordsMerged as R, type StageRuleOnFail as S, type TableArchiveProgress as T, type ImportPlan as U, type ImportPolicy as V, type ImportOpened as W, type ImportColumnsDeclared as X, type ImportBatchResult as Y, type ImportFinished as Z, type ImportReport as _, type TableRestoreProgress as a, type WorkApprovalDecision as a$, type InboundDeclared as a0, type InboundAddress as a1, type FormArchiveAnswer as a2, type ArchivedForm as a3, type ArchivedChecklistTemplate as a4, type TableRowDefaults as a5, type TableRowDefaultsPatch as a6, type RowDefaultsApplied as a7, type RecordRowControls as a8, type CaptureSheetSummary as a9, type CommentWritten as aA, type AnonTokenBinding as aB, type ChecklistSpec as aC, type ChecklistDeclared as aD, type ChecklistTemplateSummary as aE, type ChecklistTemplateShape as aF, type ChecklistRunStarted as aG, type ChecklistRunStep as aH, type ChecklistRunSummary as aI, type ChecklistStepCompleted as aJ, type WorkState as aK, type WorkGraph as aL, type WorkInstantiation as aM, type WorkTurn as aN, type WorkAssignmentField as aO, type WorkSlotHold as aP, type WorkInboxView as aQ, type WorkInboxItem as aR, type InboxStateChange as aS, type InboxCounts as aT, type WorkListFlavour as aU, type WorkListItem as aV, type WorkAssignment as aW, type WorkRecordState as aX, type WorkApprover as aY, type WorkChange as aZ, type WorkApprovalFiled as a_, type CaptureSheetFace as aa, type CaptureFileRef as ab, type CaptureOutcome as ac, type EnrichmentSummary as ad, type EnrichDeclared as ae, type EnrichDueRow as af, type EnrichCell as ag, type EnrichRun as ah, type DrillSource as ai, type DrillDefinition as aj, type DrillQuestion as ak, type DrillAnswer as al, type DrillRowsPage as am, type DocToken as an, type DocUnresolvedToken as ao, type DocTemplateRow as ap, type DocRenderRow as aq, type DocSignatureRow as ar, type RecordHistoryEntry as as, type RecordScopeContext as at, type ConversationScope as au, type ConversationScopeContext as av, type FieldHistoryEntry as aw, type RestorePreview as ax, type RestoreResult as ay, type CommentThreadRead as az, type TableDuplicateProgress as b, type DecorationColor as b$, type WorkDecideManyItem as b0, type WorkDecideMany as b1, type ExternalPrincipalCard as b2, type PublishBinding as b3, type ResolvedPublishBinding as b4, type ResolvedPublishBindingKind as b5, type DecorationPath as b6, type TableDecorations as b7, type GridLayout as b8, type FormulaParse as b9, type AutomationFilter as bA, type AutomationItem as bB, type AutomationLastRun as bC, type AutomationRun as bD, type AutomationRunStatus as bE, type AutomationStep as bF, type AutomationTrigger as bG, type AutomationValue as bH, type AutomationValues as bI, BUILT_KIND_WORD as bJ, CHOICE_NUDGES as bK, type CaptureField as bL, type CaptureQuestion as bM, type ChecklistRequirement as bN, type ChecklistRequirementKind as bO, type ChecklistRoleSpec as bP, type ChecklistStepSpec as bQ, type ChecklistTrigger as bR, type ChecklistTriggerKind as bS, type ChoiceLike as bT, type ChoiceOption as bU, type CustomFieldTableType as bV, DEFAULT_ARCHIVE_LANE as bW, DRILL_CHART_TOKENS as bX, DRILL_DESCRIPTION_MAX as bY, DRILL_DOORS as bZ, DRILL_SCHEMA as b_, type FormulaPreview as ba, type RowAction as bb, type ActionRunResult as bc, type AutomationSpec as bd, type AutomationDeclared as be, type AutomationList as bf, type AutomationFlipped as bg, type AutomationRuns as bh, type RecordEvent as bi, type TableWebhookDeclared as bj, type TableWebhook as bk, type IoExportPage as bl, type TableListEntry as bm, type DataHomeTable as bn, type TableSyncSpec as bo, type TableSyncResult as bp, type TableRowCount as bq, type RecordHeader as br, type OutsideShareAnswer as bs, type ViewOrderSet as bt, ARCHIVE_LANES as bu, ARCHIVE_LANE_LABEL as bv, ARCHIVE_LANE_MEANS as bw, type ActionRefusal as bx, type ArchivedDoorRow as by, type AutomationAction as bz, type TableDuplicated as c, TABLE_KIND_PREFIX as c$, type DecorationRule as c0, type DecorationRuleOp as c1, type DecorationTarget as c2, type DocSignatureCheck as c3, type DrillAdHocOp as c4, type DrillAnswerRow as c5, type DrillChartToken as c6, type DrillDeclaration as c7, type DrillDimension as c8, type DrillFinding as c9, PIPELINE_RULE_KINDS as cA, type PipelineMissingField as cB, type PipelineMoveManyResult as cC, type PipelineMoveVerdict as cD, type PipelineRule as cE, type PipelineRuleKind as cF, type PipelineStage as cG, type PublishBindingKind as cH, ROW_WEB_NOT_READY as cI, type RecordChangeAction as cJ, type RecordComment as cK, type RecordScopeComment as cL, type RecordScopeField as cM, type RecordScopeHistoryEntry as cN, type RecordScopeRelation as cO, type RecordScopeWithheld as cP, type RegisteredTable as cQ, type RetypeBehaviour as cR, type RetypePreview as cS, type RowActionStep as cT, SHOWN_TO_LABEL as cU, SHOWN_TO_VALUES as cV, SHOWN_TO_WHO_MAY_CHANGE as cW, STAGE_RULE_ENFORCEMENT as cX, STAGE_RULE_ON_FAIL as cY, type ShownTo as cZ, type StageRuleWarning as c_, type DrillGrain as ca, type DrillHaving as cb, type DrillLane as cc, type DrillLevel as cd, type DrillMeasure as ce, type DrillMeasureOp as cf, type DrillMeasureWhereValue as cg, type DrillPath as ch, type DrillRecords as ci, type DrillView as cj, type EnrichAlternate as ck, type EnrichSource as cl, type Enrichment as cm, type EntityBackLinkItem as cn, type EntityFieldValue as co, type EntityRecordMatch as cp, type FieldDriftAspect as cq, type GridLayoutMode as cr, type GridRowHeight as cs, type HistoryActor as ct, type HistoryActorKind as cu, type HistoryChange as cv, type Home as cw, type ImportColumnPlan as cx, type ImportOutcome as cy, type ImportProposal as cz, type TableCopyInProgress as d, removedChoicesInUse as d$, type TableHomeDestination as d0, type TableLevel as d1, type TableLevelApproval as d2, type TablePlacement as d3, type TablePlacementFact as d4, type TableRenderSchema as d5, type TableSchemaMode as d6, type TableSyncSource as d7, type TypedChoiceDecision as d8, type ViewLayout as d9, isShownTo as dA, isTableKind as dB, isTheChosen as dC, keptGroups as dD, keptOutOfSight as dE, keptTableHref as dF, levelHasShownTo as dG, looksLikeAnId as dH, mayDrag as dI, moveConsequence as dJ, moveInOrder as dK, offeredAsContext as dL, optionKey as dM, optionLabel as dN, parseFieldDrift as dO, parseTableCopiesInProgress as dP, parseTableDuplicateProgress as dQ, parseTableDuplicated as dR, parseTableHome as dS, parseTableMoved as dT, previewRetype as dU, previewRuleChange as dV, recordChangeTrigger as dW, recordSourceKey as dX, recordSourceTable as dY, recordsUseSentence as dZ, rehomeSentence as d_, type WorkApprovalState as da, type WorkDecideManyResult as db, type WorkDecideVerdict as dc, type WorkDueState as dd, type WorkInboxKind as de, type WorkOrigin as df, type WorkTemplateNode as dg, type WorkTemplateRelation as dh, actionRefusals as di, archivedByLine as dj, archivedWhen as dk, asChoiceNudge as dl, choiceSlug as dm, choiceValuesOf as dn, choicesOf as dp, decideTypedChoice as dq, declareDrillDefinition as dr, drillAnswerOf as ds, drillFindingKnob as dt, emptyArchiveLine as du, exportPageXlsx as dv, fieldKindOf as dw, holdsARetiredChoice as dx, isArchiveLane as dy, isFoundation as dz, type ArchivedRow as e, ruleThatRefuses as e0, rulesWithTopStar as e1, sameDocument as e2, scopeChip as e3, sheetSyncSpec as e4, tableIdOf as e5, tableJsonSchema as e6, tableKindMapping as e7, tableKindSlug as e8, tableRenderSchema as e9, valueConverts as ea, withRowCounts as eb, withTablePlacement as ec, type Table as f, type TableHome as g, type TableMoved as h, type ChoiceUsage as i, type ChoiceRehome as j, type ChoiceCellBack as k, type ChoicesRehomed as l, type TableCapacity as m, type FieldRetyped as n, type TableKindFacts as o, type TableLevelFacts as p, type TableReaderRule as q, type TableLevelSet as r, type EntityFieldsAcross as s, type EntityFieldRights as t, type EntityRecordRead as u, type EntityBackLinks as v, type EntityRowWritten as w, type EntityRecordsFound as x, type PipelineColumn as y, type PipelineVerdict as z };
@@ -1,13 +1,13 @@
1
- import { A as AgentSnapshotRow, T as TemplateSpec, a as TemplateTable, S as SharedBlockId, C as CapabilityWord, b as TemplateField, c as TemplateAgent, d as TemplateAutomation, e as TemplateBooking, f as TemplateChecklist, g as TemplateDashboard, h as TemplateDigest, i as TemplateDocument, j as TemplateDrillDown, k as TemplateDimensions, l as TemplateForm, m as TemplateNotification, n as TemplatePortal, o as TemplateRowAction, p as TemplateStageRules, q as TemplateView, r as TemplateMergeBinding, s as TemplateTryIt, t as TemplateWorkflow, u as TemplateFootprint, I as IndustryGroup, v as TemplateJob, w as TeachesFeature, x as TemplateViewKind, y as TemplateBookingWindow } from '../types-D8qdG3Lg.cjs';
2
- export { z as CAPABILITY_WORDS, B as CATALOGUE_QUOTAS, D as CATALOGUE_STATUSES, E as CHOICE_COLORS, F as CHOICE_COLORS_DISTINCT_UP_TO, G as CatalogueRow, H as CatalogueStatus, J as ChoiceColor, K as ConfidentialLevel, L as ConfidentialRequest, M as DEFAULT_TEMPLATE_AGENT, N as ENTITY_REFERENCE_KINDS, O as INDUSTRY_GROUPS, R as RELATIVE_DATE, P as RetiredId, Q as SHARED_BLOCKS, U as SHARED_BLOCK_IDS, V as STRENGTHS, W as SharedBlock, X as SharedBlockField, Y as SharedBlockUse, Z as Strength, _ as TABLE_KERNEL_ID, $ as TEACHES_FEATURES, a0 as TEMPLATE_AUDIENCES, a1 as TEMPLATE_EXTRA_KINDS, a2 as TEMPLATE_JOBS, a3 as TEMPLATE_REFERENCE_DATE, a4 as TEMPLATE_SPEC_VERSION, a5 as TEMPLATE_VIEW_KINDS, a6 as TemplateAgentQuestion, a7 as TemplateAgentVariable, a8 as TemplateAudience, a9 as TemplateCalendarView, aa as TemplateChecklistStep, ab as TemplateConfidential, ac as TemplateConfidentialReader, ad as TemplateDashboardBlock, ae as TemplateDimensionOverride, af as TemplateDrillPath, ag as TemplateExtra, ah as TemplateExtraAgent, ai as TemplateExtraAgentVariable, aj as TemplateExtraKind, ak as TemplateFormField, al as TemplateFoundation, am as TemplateGalleryView, an as TemplateGridView, ao as TemplateGuideStep, ap as TemplateKanbanView, aq as TemplateMeasureOverride, ar as TemplatePortalTable, as as TemplateProvenance, at as TemplateSource, au as TemplateTableSettings, av as TemplateTimelineView, aw as TemplateViewSort, ax as UseCaseSingulars, ay as WalkAction, az as WalkAssertion, aA as WalkImport, aB as WalkMove, aC as WalkStep, aD as confidentialPending, aE as confidentialRequests, aF as footprintOf, aG as membersAddRowsSteps, aH as tableSettingsProblems, aI as whenRule } from '../types-D8qdG3Lg.cjs';
3
- import { b as AggregateMeasure, a as AggregateFilter } from '../subscription-CdoI-UaB.cjs';
4
- import { U as UseCase, o as UseCaseRelationship } from '../types-DAFP6XFe.cjs';
5
- import { U as UseCaseProblem } from '../validate-DfNMxjmU.cjs';
6
- export { R as RESOLVABLE_FIELD_TYPE_WORDS } from '../validate-DfNMxjmU.cjs';
7
- import { c as RecordsDataSource } from '../ports-s0D2jvqn.cjs';
8
- import '../record-BwCf9wKW.cjs';
9
- import '../rule-wHI5B0Ka.cjs';
10
- import '../field-CCY1rG9l.cjs';
1
+ import { A as AgentSnapshotRow, T as TemplateSpec, a as TemplateTable, S as SharedBlockId, C as CapabilityWord, b as TemplateField, c as TemplateAgent, d as TemplateAutomation, e as TemplateBooking, f as TemplateChecklist, g as TemplateDashboard, h as TemplateDigest, i as TemplateDocument, j as TemplateDrillDown, k as TemplateDimensions, l as TemplateForm, m as TemplateNotification, n as TemplatePortal, o as TemplateRowAction, p as TemplateStageRules, q as TemplateView, r as TemplateMergeBinding, s as TemplateTryIt, t as TemplateWorkflow, u as TemplateFootprint, I as IndustryGroup, v as TemplateJob, w as TeachesFeature, x as TemplateViewKind, y as TemplateBookingWindow } from '../types-DsgXrESm.cjs';
2
+ export { z as CAPABILITY_WORDS, B as CATALOGUE_QUOTAS, D as CATALOGUE_STATUSES, E as CHOICE_COLORS, F as CHOICE_COLORS_DISTINCT_UP_TO, G as CatalogueRow, H as CatalogueStatus, J as ChoiceColor, K as ConfidentialLevel, L as ConfidentialRequest, M as DEFAULT_TEMPLATE_AGENT, N as ENTITY_REFERENCE_KINDS, O as INDUSTRY_GROUPS, R as RELATIVE_DATE, P as RetiredId, Q as SHARED_BLOCKS, U as SHARED_BLOCK_IDS, V as STRENGTHS, W as SharedBlock, X as SharedBlockField, Y as SharedBlockUse, Z as Strength, _ as TABLE_KERNEL_ID, $ as TEACHES_FEATURES, a0 as TEMPLATE_AUDIENCES, a1 as TEMPLATE_EXTRA_KINDS, a2 as TEMPLATE_JOBS, a3 as TEMPLATE_REFERENCE_DATE, a4 as TEMPLATE_SPEC_VERSION, a5 as TEMPLATE_VIEW_KINDS, a6 as TemplateAgentQuestion, a7 as TemplateAgentVariable, a8 as TemplateAudience, a9 as TemplateCalendarView, aa as TemplateChecklistStep, ab as TemplateConfidential, ac as TemplateConfidentialReader, ad as TemplateDashboardBlock, ae as TemplateDimensionOverride, af as TemplateDrillPath, ag as TemplateExtra, ah as TemplateExtraAgent, ai as TemplateExtraAgentVariable, aj as TemplateExtraKind, ak as TemplateFormField, al as TemplateFoundation, am as TemplateGalleryView, an as TemplateGridView, ao as TemplateGuideStep, ap as TemplateKanbanView, aq as TemplateMeasureOverride, ar as TemplatePortalTable, as as TemplateProvenance, at as TemplateSource, au as TemplateTableSettings, av as TemplateTimelineView, aw as TemplateViewSort, ax as UseCaseSingulars, ay as WalkAction, az as WalkAssertion, aA as WalkImport, aB as WalkMove, aC as WalkStep, aD as confidentialPending, aE as confidentialRequests, aF as footprintOf, aG as membersAddRowsSteps, aH as tableSettingsProblems, aI as whenRule } from '../types-DsgXrESm.cjs';
3
+ import { b as AggregateMeasure, a as AggregateFilter } from '../subscription-Drbxn-9Z.cjs';
4
+ import { U as UseCase, o as UseCaseRelationship } from '../types-CBmUdBT0.cjs';
5
+ import { U as UseCaseProblem } from '../validate-B_iUeyh2.cjs';
6
+ export { R as RESOLVABLE_FIELD_TYPE_WORDS } from '../validate-B_iUeyh2.cjs';
7
+ import { d as RecordsDataSource } from '../ports-9BQ3zo2y.cjs';
8
+ import '../record-DmmeuUrC.cjs';
9
+ import '../rule-CeHg1sy1.cjs';
10
+ import '../field-6rwt4ejZ.cjs';
11
11
 
12
12
  /** The UTC offset ("-04:00") of a local wall-clock moment in an IANA zone. */
13
13
  declare function zoneOffset(localIso: string, timeZone: string): string;
@@ -1,13 +1,13 @@
1
- import { A as AgentSnapshotRow, T as TemplateSpec, a as TemplateTable, S as SharedBlockId, C as CapabilityWord, b as TemplateField, c as TemplateAgent, d as TemplateAutomation, e as TemplateBooking, f as TemplateChecklist, g as TemplateDashboard, h as TemplateDigest, i as TemplateDocument, j as TemplateDrillDown, k as TemplateDimensions, l as TemplateForm, m as TemplateNotification, n as TemplatePortal, o as TemplateRowAction, p as TemplateStageRules, q as TemplateView, r as TemplateMergeBinding, s as TemplateTryIt, t as TemplateWorkflow, u as TemplateFootprint, I as IndustryGroup, v as TemplateJob, w as TeachesFeature, x as TemplateViewKind, y as TemplateBookingWindow } from '../types-DYzXhD7j.js';
2
- export { z as CAPABILITY_WORDS, B as CATALOGUE_QUOTAS, D as CATALOGUE_STATUSES, E as CHOICE_COLORS, F as CHOICE_COLORS_DISTINCT_UP_TO, G as CatalogueRow, H as CatalogueStatus, J as ChoiceColor, K as ConfidentialLevel, L as ConfidentialRequest, M as DEFAULT_TEMPLATE_AGENT, N as ENTITY_REFERENCE_KINDS, O as INDUSTRY_GROUPS, R as RELATIVE_DATE, P as RetiredId, Q as SHARED_BLOCKS, U as SHARED_BLOCK_IDS, V as STRENGTHS, W as SharedBlock, X as SharedBlockField, Y as SharedBlockUse, Z as Strength, _ as TABLE_KERNEL_ID, $ as TEACHES_FEATURES, a0 as TEMPLATE_AUDIENCES, a1 as TEMPLATE_EXTRA_KINDS, a2 as TEMPLATE_JOBS, a3 as TEMPLATE_REFERENCE_DATE, a4 as TEMPLATE_SPEC_VERSION, a5 as TEMPLATE_VIEW_KINDS, a6 as TemplateAgentQuestion, a7 as TemplateAgentVariable, a8 as TemplateAudience, a9 as TemplateCalendarView, aa as TemplateChecklistStep, ab as TemplateConfidential, ac as TemplateConfidentialReader, ad as TemplateDashboardBlock, ae as TemplateDimensionOverride, af as TemplateDrillPath, ag as TemplateExtra, ah as TemplateExtraAgent, ai as TemplateExtraAgentVariable, aj as TemplateExtraKind, ak as TemplateFormField, al as TemplateFoundation, am as TemplateGalleryView, an as TemplateGridView, ao as TemplateGuideStep, ap as TemplateKanbanView, aq as TemplateMeasureOverride, ar as TemplatePortalTable, as as TemplateProvenance, at as TemplateSource, au as TemplateTableSettings, av as TemplateTimelineView, aw as TemplateViewSort, ax as UseCaseSingulars, ay as WalkAction, az as WalkAssertion, aA as WalkImport, aB as WalkMove, aC as WalkStep, aD as confidentialPending, aE as confidentialRequests, aF as footprintOf, aG as membersAddRowsSteps, aH as tableSettingsProblems, aI as whenRule } from '../types-DYzXhD7j.js';
3
- import { b as AggregateMeasure, a as AggregateFilter } from '../subscription-BynsG1K6.js';
4
- import { U as UseCase, o as UseCaseRelationship } from '../types-BvL_oKFl.js';
5
- import { U as UseCaseProblem } from '../validate-DbvAParj.js';
6
- export { R as RESOLVABLE_FIELD_TYPE_WORDS } from '../validate-DbvAParj.js';
7
- import { c as RecordsDataSource } from '../ports-BeOgjwYl.js';
8
- import '../record-BwCf9wKW.js';
9
- import '../rule-D9yNiorf.js';
10
- import '../field-enufS5ry.js';
1
+ import { A as AgentSnapshotRow, T as TemplateSpec, a as TemplateTable, S as SharedBlockId, C as CapabilityWord, b as TemplateField, c as TemplateAgent, d as TemplateAutomation, e as TemplateBooking, f as TemplateChecklist, g as TemplateDashboard, h as TemplateDigest, i as TemplateDocument, j as TemplateDrillDown, k as TemplateDimensions, l as TemplateForm, m as TemplateNotification, n as TemplatePortal, o as TemplateRowAction, p as TemplateStageRules, q as TemplateView, r as TemplateMergeBinding, s as TemplateTryIt, t as TemplateWorkflow, u as TemplateFootprint, I as IndustryGroup, v as TemplateJob, w as TeachesFeature, x as TemplateViewKind, y as TemplateBookingWindow } from '../types-hrw-Eff1.js';
2
+ export { z as CAPABILITY_WORDS, B as CATALOGUE_QUOTAS, D as CATALOGUE_STATUSES, E as CHOICE_COLORS, F as CHOICE_COLORS_DISTINCT_UP_TO, G as CatalogueRow, H as CatalogueStatus, J as ChoiceColor, K as ConfidentialLevel, L as ConfidentialRequest, M as DEFAULT_TEMPLATE_AGENT, N as ENTITY_REFERENCE_KINDS, O as INDUSTRY_GROUPS, R as RELATIVE_DATE, P as RetiredId, Q as SHARED_BLOCKS, U as SHARED_BLOCK_IDS, V as STRENGTHS, W as SharedBlock, X as SharedBlockField, Y as SharedBlockUse, Z as Strength, _ as TABLE_KERNEL_ID, $ as TEACHES_FEATURES, a0 as TEMPLATE_AUDIENCES, a1 as TEMPLATE_EXTRA_KINDS, a2 as TEMPLATE_JOBS, a3 as TEMPLATE_REFERENCE_DATE, a4 as TEMPLATE_SPEC_VERSION, a5 as TEMPLATE_VIEW_KINDS, a6 as TemplateAgentQuestion, a7 as TemplateAgentVariable, a8 as TemplateAudience, a9 as TemplateCalendarView, aa as TemplateChecklistStep, ab as TemplateConfidential, ac as TemplateConfidentialReader, ad as TemplateDashboardBlock, ae as TemplateDimensionOverride, af as TemplateDrillPath, ag as TemplateExtra, ah as TemplateExtraAgent, ai as TemplateExtraAgentVariable, aj as TemplateExtraKind, ak as TemplateFormField, al as TemplateFoundation, am as TemplateGalleryView, an as TemplateGridView, ao as TemplateGuideStep, ap as TemplateKanbanView, aq as TemplateMeasureOverride, ar as TemplatePortalTable, as as TemplateProvenance, at as TemplateSource, au as TemplateTableSettings, av as TemplateTimelineView, aw as TemplateViewSort, ax as UseCaseSingulars, ay as WalkAction, az as WalkAssertion, aA as WalkImport, aB as WalkMove, aC as WalkStep, aD as confidentialPending, aE as confidentialRequests, aF as footprintOf, aG as membersAddRowsSteps, aH as tableSettingsProblems, aI as whenRule } from '../types-hrw-Eff1.js';
3
+ import { b as AggregateMeasure, a as AggregateFilter } from '../subscription-hdTaRrfK.js';
4
+ import { U as UseCase, o as UseCaseRelationship } from '../types-BauAeFW8.js';
5
+ import { U as UseCaseProblem } from '../validate-w-HGGTf-.js';
6
+ export { R as RESOLVABLE_FIELD_TYPE_WORDS } from '../validate-w-HGGTf-.js';
7
+ import { d as RecordsDataSource } from '../ports-DYWE1ENo.js';
8
+ import '../record-DmmeuUrC.js';
9
+ import '../rule-tN2lxvJ1.js';
10
+ import '../field-B-WaVZnS.js';
11
11
 
12
12
  /** The UTC offset ("-04:00") of a local wall-clock moment in an IANA zone. */
13
13
  declare function zoneOffset(localIso: string, timeZone: string): string;
@@ -824,25 +824,45 @@ function sourceArchivedOf(value) {
824
824
  var import_global_slot2 = require("@ai-matrx/kit/global-slot");
825
825
  var REMEMBER_MS = 3e4;
826
826
  var REMEMBER_MAX = 500;
827
- var ours = (0, import_global_slot2.globalSlot)("ai-matrx.records.op-ledger", () => /* @__PURE__ */ new Map());
828
- function trim(now) {
829
- for (const [id, at] of ours) {
830
- if (now - at <= REMEMBER_MS) break;
831
- ours.delete(id);
832
- }
833
- while (ours.size > REMEMBER_MAX) {
834
- const oldest = ours.keys().next();
835
- if (oldest.done === true) break;
836
- ours.delete(oldest.value);
827
+ function ledgerOver(ours) {
828
+ function trim(now) {
829
+ for (const [id, at] of ours) {
830
+ if (now - at <= REMEMBER_MS) break;
831
+ ours.delete(id);
832
+ }
833
+ while (ours.size > REMEMBER_MAX) {
834
+ const oldest = ours.keys().next();
835
+ if (oldest.done === true) break;
836
+ ours.delete(oldest.value);
837
+ }
837
838
  }
839
+ return {
840
+ mint() {
841
+ const id = crypto.randomUUID();
842
+ const now = Date.now();
843
+ ours.set(id, now);
844
+ trim(now);
845
+ return id;
846
+ },
847
+ isOwn(opId) {
848
+ if (!opId) return false;
849
+ const at = ours.get(opId);
850
+ if (at === void 0) return false;
851
+ if (Date.now() - at > REMEMBER_MS) {
852
+ ours.delete(opId);
853
+ return false;
854
+ }
855
+ return true;
856
+ },
857
+ clear() {
858
+ ours.clear();
859
+ },
860
+ get size() {
861
+ return ours.size;
862
+ }
863
+ };
838
864
  }
839
- function mintOpId() {
840
- const id = crypto.randomUUID();
841
- const now = Date.now();
842
- ours.set(id, now);
843
- trim(now);
844
- return id;
845
- }
865
+ var defaultOpLedger = ledgerOver((0, import_global_slot2.globalSlot)("ai-matrx.records.op-ledger", () => /* @__PURE__ */ new Map()));
846
866
 
847
867
  // src/choice.ts
848
868
  var import_uuid3 = require("@ai-matrx/kit/uuid");
@@ -2901,6 +2921,8 @@ function createRecordsClient(given) {
2901
2921
  const config = { ...given, dataSource: asRecordsDataSource(given.dataSource) };
2902
2922
  const schema = config.schema ?? DEFAULT_SCHEMA;
2903
2923
  const org = config.organizationId;
2924
+ const ledger = config.opLedger ?? defaultOpLedger;
2925
+ const mintOp = () => ledger.mint();
2904
2926
  const scream = sink(config);
2905
2927
  const BUNDLE_TTL_MS = 1e4;
2906
2928
  const BUNDLE_OPENERS = /* @__PURE__ */ new Set(["applicable_fields", "views", "view_look_read", "table_decorations", "row_actions", "reverse_columns", "record_change_actions", "grid_layout", "io_imports"]);
@@ -3287,14 +3309,14 @@ function createRecordsClient(given) {
3287
3309
  async recordWrite({ table_id, data }) {
3288
3310
  const result = await callDoor(
3289
3311
  DOORS.recordWrite,
3290
- { p_organization_id: org, p_table_id: table_id, p_data: { ...data, _op_id: mintOpId() } },
3312
+ { p_organization_id: org, p_table_id: table_id, p_data: { ...data, _op_id: mintOp() } },
3291
3313
  "recordWrite"
3292
3314
  );
3293
3315
  if (result.ok && typeof result.data === "string") announceRecordChanged(result.data);
3294
3316
  return result;
3295
3317
  },
3296
3318
  async recordWriteMany({ table_id, rows, ids }) {
3297
- const opId = mintOpId();
3319
+ const opId = mintOp();
3298
3320
  return callDoor(
3299
3321
  DOORS.recordWriteMany,
3300
3322
  {
@@ -3307,7 +3329,7 @@ function createRecordsClient(given) {
3307
3329
  );
3308
3330
  },
3309
3331
  async recordChangeMany({ table_id, changes }) {
3310
- const opId = mintOpId();
3332
+ const opId = mintOp();
3311
3333
  const result = await callDoor(
3312
3334
  DOORS.recordChangeMany,
3313
3335
  {
@@ -3330,7 +3352,7 @@ function createRecordsClient(given) {
3330
3352
  return result;
3331
3353
  },
3332
3354
  async recordWriteGraph({ table_id, parent, children, edges }) {
3333
- const opId = mintOpId();
3355
+ const opId = mintOp();
3334
3356
  return callDoor(
3335
3357
  DOORS.recordWriteGraph,
3336
3358
  {
@@ -3354,7 +3376,7 @@ function createRecordsClient(given) {
3354
3376
  {
3355
3377
  p_organization_id: org,
3356
3378
  p_record_id: record_id,
3357
- p_patch: { ...patch, _op_id: mintOpId() },
3379
+ p_patch: { ...patch, _op_id: mintOp() },
3358
3380
  ...expectedVersion === void 0 ? {} : { p_expected_version: expectedVersion }
3359
3381
  },
3360
3382
  "recordUpdate"
@@ -3368,7 +3390,7 @@ function createRecordsClient(given) {
3368
3390
  {
3369
3391
  p_organization_id: org,
3370
3392
  p_record_id: record_id,
3371
- p_patch: { ...patch, _op_id: mintOpId() },
3393
+ p_patch: { ...patch, _op_id: mintOp() },
3372
3394
  p_add: add,
3373
3395
  ...expectedVersion === void 0 ? {} : { p_expected_version: expectedVersion }
3374
3396
  },
@@ -4393,7 +4415,7 @@ function createRecordsClient(given) {
4393
4415
  p_table_id: table_id,
4394
4416
  p_key: keys,
4395
4417
  // The op id rides the envelope, as `recordWrite` / `recordUpdate` send it; each door takes it off.
4396
- p_data: { ...data, _op_id: mintOpId() },
4418
+ p_data: { ...data, _op_id: mintOp() },
4397
4419
  ...expectedVersion === void 0 ? {} : { p_expected_version: expectedVersion }
4398
4420
  },
4399
4421
  "recordUpsert"