@ai-matrx/records 0.98.7 → 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 +12 -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 +154 -3
  5. package/dist/core/index.cjs.map +1 -1
  6. package/dist/core/index.d.cts +109 -18
  7. package/dist/core/index.d.ts +109 -18
  8. package/dist/core/index.js +154 -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 +2 -2
  91. package/dist/client-C1B-MNzb.d.ts +0 -2704
  92. package/dist/client-D2jAgJNn.d.cts +0 -2704
@@ -1,5 +1,5 @@
1
- import { H as HiddenFieldNotice, U as Uuid, h as Timestamp } from './record-CxGK1OEK.cjs';
2
- import { R as RuleExpression } from './rule-DQpC7WqT.cjs';
1
+ import { H as HiddenFieldNotice, U as Uuid, h as Timestamp } from './record-BrJNCmH1.cjs';
2
+ import { R as RuleExpression } from './rule-BGtYd6Pf.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 AggregateBucket 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 AggregateOperation as a, type AggregateFilter as b, type AggregateMeasure 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 AggregateBucket as A, type StoreFilter as B, type StuckRow as C, type DashboardBlockKind as D, type Subscription as E, type SubscriptionBlock as F, type SubscriptionSpec 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 AggregateOperation as a, type AggregateFilter as b, type AggregateMeasure as c, type SavedViewRow as d, type AggregateCompare as e, type AggregateCompareKind as f, type AggregateCompareWindows as g, type AggregateDelta as h, type AggregateGroupValue as i, type AggregateRow as j, type AggregateWindow as k, type DashboardBlock as l, type DashboardBlockResult as m, type DashboardRunResult as n, type DashboardSummary as o, type DashboardTarget as p, type DashboardTargetBase as q, type DashboardTargetOp as r, type DashboardTargetResult as s, type DashboardTotals as t, type DigestPreview as u, type RowTemplateRow as v, type SavedViewColorBy as w, type SavedViewDefinition as x, type SavedViewLayout as y, type SavedViewSpecIn as z };
@@ -1,5 +1,5 @@
1
- import { H as HiddenFieldNotice, U as Uuid, h as Timestamp } from './record-CxGK1OEK.js';
2
- import { R as RuleExpression } from './rule-xNwJF6Qo.js';
1
+ import { H as HiddenFieldNotice, U as Uuid, h as Timestamp } from './record-BrJNCmH1.js';
2
+ import { R as RuleExpression } from './rule-BtjrE42J.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 AggregateBucket 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 AggregateOperation as a, type AggregateFilter as b, type AggregateMeasure 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 AggregateBucket as A, type StoreFilter as B, type StuckRow as C, type DashboardBlockKind as D, type Subscription as E, type SubscriptionBlock as F, type SubscriptionSpec 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 AggregateOperation as a, type AggregateFilter as b, type AggregateMeasure as c, type SavedViewRow as d, type AggregateCompare as e, type AggregateCompareKind as f, type AggregateCompareWindows as g, type AggregateDelta as h, type AggregateGroupValue as i, type AggregateRow as j, type AggregateWindow as k, type DashboardBlock as l, type DashboardBlockResult as m, type DashboardRunResult as n, type DashboardSummary as o, type DashboardTarget as p, type DashboardTargetBase as q, type DashboardTargetOp as r, type DashboardTargetResult as s, type DashboardTotals as t, type DigestPreview as u, type RowTemplateRow as v, type SavedViewColorBy as w, type SavedViewDefinition as x, type SavedViewLayout as y, type SavedViewSpecIn 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-DKeGkHpE.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-DKeGkHpE.cjs';
3
- import { c as AggregateMeasure, b as AggregateFilter } from '../subscription-BVCn1PVe.cjs';
4
- import { U as UseCase, o as UseCaseRelationship } from '../types-DKJO83lQ.cjs';
5
- import { U as UseCaseProblem } from '../validate-BIJtP2KB.cjs';
6
- export { R as RESOLVABLE_FIELD_TYPE_WORDS } from '../validate-BIJtP2KB.cjs';
7
- import { d as RecordsDataSource } from '../ports-YIh9jrCZ.cjs';
8
- import '../record-CxGK1OEK.cjs';
9
- import '../rule-DQpC7WqT.cjs';
10
- import '../field-DoVl2I9K.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-DRMeL0uW.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-DRMeL0uW.cjs';
3
+ import { c as AggregateMeasure, b as AggregateFilter } from '../subscription-BEM4B4dR.cjs';
4
+ import { U as UseCase, o as UseCaseRelationship } from '../types-BhnjvJ8U.cjs';
5
+ import { U as UseCaseProblem } from '../validate-Cdtk0y18.cjs';
6
+ export { R as RESOLVABLE_FIELD_TYPE_WORDS } from '../validate-Cdtk0y18.cjs';
7
+ import { d as RecordsDataSource } from '../ports-BIdYUS-C.cjs';
8
+ import '../record-BrJNCmH1.cjs';
9
+ import '../rule-BGtYd6Pf.cjs';
10
+ import '../field-BLy8drjM.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-SUAmeBId.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-SUAmeBId.js';
3
- import { c as AggregateMeasure, b as AggregateFilter } from '../subscription-DQzPVKBR.js';
4
- import { U as UseCase, o as UseCaseRelationship } from '../types-DJVccwh0.js';
5
- import { U as UseCaseProblem } from '../validate--y-pPc-c.js';
6
- export { R as RESOLVABLE_FIELD_TYPE_WORDS } from '../validate--y-pPc-c.js';
7
- import { d as RecordsDataSource } from '../ports-WwHHNwge.js';
8
- import '../record-CxGK1OEK.js';
9
- import '../rule-xNwJF6Qo.js';
10
- import '../field-CJtssH3q.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-CURw95qc.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-CURw95qc.js';
3
+ import { c as AggregateMeasure, b as AggregateFilter } from '../subscription-Ca15Z7Gu.js';
4
+ import { U as UseCase, o as UseCaseRelationship } from '../types-_odOqLOe.js';
5
+ import { U as UseCaseProblem } from '../validate-ChibJPPI.js';
6
+ export { R as RESOLVABLE_FIELD_TYPE_WORDS } from '../validate-ChibJPPI.js';
7
+ import { d as RecordsDataSource } from '../ports-BE_5jz-c.js';
8
+ import '../record-BrJNCmH1.js';
9
+ import '../rule-BtjrE42J.js';
10
+ import '../field-BIRNApm1.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;
@@ -2954,6 +2954,14 @@ var DOORS = {
2954
2954
  // archived and aliased), and put any recorded Migration back.
2955
2955
  migrateMerge: "migrate_merge",
2956
2956
  migrateUndo: "migrate_undo",
2957
+ // CORE-VISION (2026-10-10): the structural Migrations a person runs on ONE record from its menu.
2958
+ // Split moves the named values to a new record of the same Table (the original keeps its id);
2959
+ // extract parent copies the named values up into a new record of another Table and puts this
2960
+ // record under it. Both answer a `migration_id` that `migrateUndo` takes. `migrations` lists
2961
+ // the Migration log for one target, newest first.
2962
+ migrateSplit: "migrate_split",
2963
+ migrateExtractParent: "migrate_extract_parent",
2964
+ migrations: "migrations",
2957
2965
  recordValues: "record_values",
2958
2966
  recordValuesVersioned: "record_values_versioned",
2959
2967
  valueRead: "value_read",
@@ -4876,6 +4884,49 @@ function createRecordsClient(given) {
4876
4884
  }
4877
4885
  return result;
4878
4886
  },
4887
+ async migrateSplit({ record_id, moved_keys, note }) {
4888
+ const result = await callDoor(
4889
+ DOORS.migrateSplit,
4890
+ { p_organization_id: org, p_record_id: record_id, p_moved_keys: moved_keys, p_note: note ?? null },
4891
+ "migrateSplit"
4892
+ );
4893
+ if (result.ok) {
4894
+ announceRecordChanged(record_id);
4895
+ announceRecordChanged(result.data.new_record);
4896
+ }
4897
+ return result;
4898
+ },
4899
+ async migrateExtractParent({ record_id, parent_table_id, moved_keys, note }) {
4900
+ const result = await callDoor(
4901
+ DOORS.migrateExtractParent,
4902
+ { p_organization_id: org, p_id: record_id, p_parent_table_id: parent_table_id, p_moved_keys: moved_keys, p_note: note ?? null },
4903
+ "migrateExtractParent"
4904
+ );
4905
+ if (result.ok) {
4906
+ announceRecordChanged(record_id);
4907
+ announceRecordChanged(result.data.parent);
4908
+ }
4909
+ return result;
4910
+ },
4911
+ async migrations({ target_id, limit }) {
4912
+ return callDoor(
4913
+ DOORS.migrations,
4914
+ { p_organization_id: org, p_target_id: target_id ?? null, p_limit: limit ?? 100 },
4915
+ "migrations"
4916
+ );
4917
+ },
4918
+ async recordAsOf({ record_id, recorded_at, world_on }) {
4919
+ return callDoor(
4920
+ DOORS.queryRecordAsOf,
4921
+ {
4922
+ p_organization_id: org,
4923
+ p_record_id: record_id,
4924
+ ...recorded_at ? { p_recorded_at: recorded_at } : {},
4925
+ ...world_on ? { p_world_on: world_on.slice(0, 10) } : {}
4926
+ },
4927
+ "recordAsOf"
4928
+ );
4929
+ },
4879
4930
  async migrateUndo({ migration_id }) {
4880
4931
  const result = await callDoor(
4881
4932
  DOORS.migrateUndo,
@@ -4883,6 +4934,7 @@ function createRecordsClient(given) {
4883
4934
  "migrateUndo"
4884
4935
  );
4885
4936
  if (result.ok && result.data.record_id) announceRecordChanged(result.data.record_id);
4937
+ if (result.ok && result.data.removed) announceRecordChanged(result.data.removed);
4886
4938
  return result;
4887
4939
  },
4888
4940
  async fieldUpdate({ field_id, patch }) {