@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
package/dist/index.d.cts CHANGED
@@ -1,14 +1,15 @@
1
- import { U as Uuid, a8 as MergeFieldSource, a7 as MergeFieldSemanticType, a6 as MergeFieldModifier, ab as OverridePolicy, N as Delivery, T as Timestamp, $ as Freshness } from './record-BwCf9wKW.cjs';
2
- export { E as ABSENCE_REASONS, G as ACTOR_VOCABULARY, I as AbsenceReason, A as Actor, J as COMPUTE_ON, K as CONTEXT_POLICIES, C as ComputeOn, j as ContextPolicy, L as DECLARABLE_FIELD_KINDS, M as DELIVERIES, D as DeclarableFieldKind, Q as ENTITY_TOKENS, V as EntityToken, X as FIELD_SENSITIVITIES, Y as FIELD_SOURCES, Z as FRESHNESS, x as FieldBehavior, i as FieldSensitivity, F as FieldSource, _ as ForbiddenEnvelopeWord, H as HiddenFieldNotice, a0 as KERNEL_TABLES, a1 as KernelTableName, a2 as KeysetRow, a3 as MERGE_FIELD_MODIFIERS, a4 as MERGE_FIELD_SEMANTIC_TYPES, a5 as MERGE_FIELD_SOURCES, a9 as ON_DELETE, aa as OVERRIDE_POLICIES, O as OnDelete, ac as PARITY_FIELD_TYPES, ad as PER_VALUE_ACCESS_WORDS, y as ParityFieldType, ae as PerValueAccessWord, P as PgError, B as PredictedRefusal, af as ProvenancePointer, ag as RELATION_BINDINGS, ah as RELATION_CARDINALITIES, ai as RELATION_FLAVORS, aj as RETIRED_ACTOR_WORDS, ak as RULE_NODE_KINDS, al as RULE_USES, q as ReadRow, w as ReadValue, m as RecordChange, n as RecordChangeResult, l as RecordDocument, o as RecordGraphWritten, t as RecordKeysetPage, s as RecordPage, r as RecordPageSort, p as RecordRead, v as RecordRevision, a as RecordsError, k as RecordsErrorCode, R as RecordsResult, c as RelationBinding, d as RelationCardinality, b as RelationFlavor, am as RetiredActorWord, e as RuleNodeKind, f as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, z as StaleWriteDetail, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, u as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, h as TableDisplay, aw as TableOrigin, g as TableType, ax as VALUE_ALTERNATE_KEYS, ay as VALUE_ENVELOPE_KEYS, az as ValueAlternate, aA as ValueAlternateKey, aB as ValueEnvelope, aC as ValueEnvelopeKey, aD as ValueSource, W as WriteConflict, aE as err, aF as isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows } from './record-BwCf9wKW.cjs';
3
- import { ab as CaptureFileRef, ac as CaptureOutcome } from './table-kind-DzctQ7dO.cjs';
4
- export { bv as ARCHIVE_LANES, bw as ARCHIVE_LANE_LABEL, bx as ARCHIVE_LANE_MEANS, by as ActionRefusal, bd as ActionRunResult, aB as AnonTokenBinding, A as ArchiveLane, a4 as ArchivedChecklistTemplate, bz as ArchivedDoorRow, a3 as ArchivedForm, e as ArchivedRow, bA as AutomationAction, bf as AutomationDeclared, bB as AutomationFilter, bh as AutomationFlipped, bC as AutomationItem, bD as AutomationLastRun, bg as AutomationList, bE as AutomationRun, bF as AutomationRunStatus, bi as AutomationRuns, be as AutomationSpec, bG as AutomationStep, bH as AutomationTrigger, bI as AutomationValue, bJ as AutomationValues, bK as BUILT_KIND_WORD, bL as CHOICE_NUDGES, bM as CaptureField, bN as CaptureQuestion, aa as CaptureSheetFace, a9 as CaptureSheetSummary, aD as ChecklistDeclared, bO as ChecklistRequirement, bP as ChecklistRequirementKind, bQ as ChecklistRoleSpec, aG as ChecklistRunStarted, aH as ChecklistRunStep, aI as ChecklistRunSummary, aC as ChecklistSpec, aJ as ChecklistStepCompleted, bR as ChecklistStepSpec, aF as ChecklistTemplateShape, aE as ChecklistTemplateSummary, bS as ChecklistTrigger, bT as ChecklistTriggerKind, k as ChoiceCellBack, bU as ChoiceLike, C as ChoiceNudge, bV as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, az as CommentThreadRead, aA as CommentWritten, au as ConversationScope, av as ConversationScopeContext, bW as CustomFieldTableType, bX as DEFAULT_ARCHIVE_LANE, bY as DRILL_CHART_TOKENS, bZ as DRILL_DESCRIPTION_MAX, b_ as DRILL_DOORS, b$ as DRILL_SCHEMA, bo as DataHomeTable, c0 as DecorationColor, b7 as DecorationPath, c1 as DecorationRule, c2 as DecorationRuleOp, c3 as DecorationTarget, aq as DocRenderRow, c4 as DocSignatureCheck, ar as DocSignatureRow, ap as DocTemplateRow, an as DocToken, ao as DocUnresolvedToken, c5 as DrillAdHocOp, al as DrillAnswer, c6 as DrillAnswerRow, c7 as DrillChartToken, c8 as DrillDeclaration, aj as DrillDefinition, c9 as DrillDimension, ca as DrillFinding, cb as DrillGrain, cc as DrillHaving, cd as DrillLane, ce as DrillLevel, cf as DrillMeasure, cg as DrillMeasureOp, ch as DrillMeasureWhereValue, ci as DrillPath, ak as DrillQuestion, cj as DrillRecords, am as DrillRowsPage, ai as DrillSource, ck as DrillView, cl as EnrichAlternate, ag as EnrichCell, ae as EnrichDeclared, af as EnrichDueRow, ah as EnrichRun, cm as EnrichSource, cn as Enrichment, ad as EnrichmentSummary, co as EntityBackLinkItem, v as EntityBackLinks, t as EntityFieldRights, cp as EntityFieldValue, s as EntityFieldsAcross, cq as EntityRecordMatch, u as EntityRecordRead, x as EntityRecordsFound, w as EntityRowWritten, E as EntityTableFacts, b2 as ExternalPrincipalCard, F as FieldDrift, cr as FieldDriftAspect, aw as FieldHistoryEntry, n as FieldRetyped, a2 as FormArchiveAnswer, ba as FormulaParse, bb as FormulaPreview, b9 as GridLayout, cs as GridLayoutMode, ct as GridRowHeight, cu as HistoryActor, cv as HistoryActorKind, cw as HistoryChange, cx as Home, Y as ImportBatchResult, cy as ImportColumnPlan, X as ImportColumnsDeclared, Z as ImportFinished, W as ImportOpened, cz as ImportOutcome, U as ImportPlan, V as ImportPolicy, cA as ImportProposal, _ as ImportReport, $ as ImportRun, a1 as InboundAddress, a0 as InboundDeclared, aT as InboxCounts, aS as InboxStateChange, bm as IoExportPage, M as MigrationUndone, b6 as MyLevel, N as NewEntityFieldDeclaration, bt as OutsideShareAnswer, cB as PERMISSION_LEVELS, cC as PIPELINE_RULE_KINDS, cD as PermissionLevel, P as Pipeline, y as PipelineColumn, I as PipelineDeclared, O as PipelineGate, Q as PipelineGatePreview, cE as PipelineMissingField, G as PipelineMoveMany, D as PipelineMoveManyItem, cF as PipelineMoveManyResult, B as PipelineMoveResult, cG as PipelineMoveVerdict, cH as PipelineRule, cI as PipelineRuleKind, H as PipelineSpec, cJ as PipelineStage, z as PipelineVerdict, b3 as PublishBinding, cK as PublishBindingKind, cL as ROW_WEB_NOT_READY, cM as RecordChangeAction, cN as RecordComment, bj as RecordEvent, bs as RecordHeader, as as RecordHistoryEntry, a8 as RecordRowControls, cO as RecordScopeComment, at as RecordScopeContext, cP as RecordScopeField, cQ as RecordScopeHistoryEntry, cR as RecordScopeRelation, cS as RecordScopeWithheld, R as RecordsMerged, cT as RegisteredTable, b4 as ResolvedPublishBinding, b5 as ResolvedPublishBindingKind, ax as RestorePreview, ay as RestoreResult, cU as RetypeBehaviour, cV as RetypePreview, bc as RowAction, cW as RowActionStep, a7 as RowDefaultsApplied, cX as SHOWN_TO_LABEL, cY as SHOWN_TO_VALUES, cZ as SHOWN_TO_WHO_MAY_CHANGE, c_ as STAGE_RULE_ENFORCEMENT, c$ as STAGE_RULE_ON_FAIL, d0 as ShownTo, K as StagePending, L as StagePendingOnBoard, J as StageRuleEnforcement, S as StageRuleOnFail, d1 as StageRuleWarning, d2 as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, b8 as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, d3 as TableHomeDestination, o as TableKindFacts, d4 as TableLevel, d5 as TableLevelApproval, p as TableLevelFacts, r as TableLevelSet, bn as TableListEntry, h as TableMoved, d6 as TablePlacement, d7 as TablePlacementFact, q as TableReaderRule, d8 as TableRenderSchema, a as TableRestoreProgress, br as TableRowCount, a5 as TableRowDefaults, a6 as TableRowDefaultsPatch, d9 as TableSchemaMode, bq as TableSyncResult, da as TableSyncSource, bp as TableSyncSpec, bl as TableWebhook, bk as TableWebhookDeclared, db as TypedChoiceDecision, dc as ViewLayout, bu as ViewOrderSet, a$ as WorkApprovalDecision, a_ as WorkApprovalFiled, dd as WorkApprovalState, aY as WorkApprover, aW as WorkAssignment, aO as WorkAssignmentField, aZ as WorkChange, b1 as WorkDecideMany, b0 as WorkDecideManyItem, de as WorkDecideManyResult, df as WorkDecideVerdict, dg as WorkDueState, aL as WorkGraph, aR as WorkInboxItem, dh as WorkInboxKind, aQ as WorkInboxView, aM as WorkInstantiation, aU as WorkListFlavour, aV as WorkListItem, di as WorkOrigin, aX as WorkRecordState, aP as WorkSlotHold, aK as WorkState, dj as WorkTemplateNode, dk as WorkTemplateRelation, aN as WorkTurn, dl as actionRefusals, dm as archivedByLine, dn as archivedWhen, dp as asChoiceNudge, dq as asPermissionLevel, dr as atLeast, ds as choiceSlug, dt as choiceValuesOf, du as choicesOf, dv as decideTypedChoice, dw as declareDrillDefinition, dx as drillAnswerOf, dy as drillFindingKnob, dz as emptyArchiveLine, dA as exportPageXlsx, dB as fieldKindOf, dC as highestLevel, dD as holdsARetiredChoice, dE as isArchiveLane, dF as isFoundation, dG as isShownTo, dH as isTableKind, dI as isTheChosen, dJ as keptGroups, dK as keptOutOfSight, dL as keptTableHref, dM as levelHasShownTo, dN as looksLikeAnId, dO as mayDrag, dP as moveConsequence, dQ as moveInOrder, dR as offeredAsContext, dS as optionKey, dT as optionLabel, dU as parseFieldDrift, dV as parseTableCopiesInProgress, dW as parseTableDuplicateProgress, dX as parseTableDuplicated, dY as parseTableHome, dZ as parseTableMoved, d_ as previewRetype, d$ as previewRuleChange, e0 as recordChangeTrigger, e1 as recordSourceKey, e2 as recordSourceTable, e3 as recordsUseSentence, e4 as rehomeSentence, e5 as removedChoicesInUse, e6 as ruleThatRefuses, e7 as rulesWithTopStar, e8 as sameDocument, e9 as scopeChip, ea as sheetSyncSpec, eb as tableIdOf, ec as tableJsonSchema, ed as tableKindMapping, ee as tableKindSlug, ef as tableRenderSchema, eg as valueConverts, eh as withRowCounts, ei as withTablePlacement } from './table-kind-DzctQ7dO.cjs';
5
- import { p as CoercibleField } from './field-CCY1rG9l.cjs';
6
- export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, q as FIELD_KINDS, b as Field, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, t as NEWER_FIELD_KINDS, u as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, v as NewerFieldKind, P as ParityFieldTypeDescriptor, w as PersonStamp, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from './field-CCY1rG9l.cjs';
7
- export { a as BookingAvailability, b as BookingDeclared, B as BookingSummary, e as BookingWindow, d as FormResults, c as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from './rule-wHI5B0Ka.cjs';
8
- export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, l as PORTAL_ACCENTS, m as PORTAL_ARCHIVE_FILTERS, k as PortalAccent, b as PortalArchiveAnswer, a as PortalArchiveFilter, d as PortalCard, n as PortalConfig, e as PortalConfigInput, o as PortalFooterLink, g as PortalFormAnswer, p as PortalFormInput, q as PortalFormRef, f as PortalFormSpec, h as PortalInvitation, j as PortalPreviewRow, r as PortalPrincipal, i as PortalRevocation, s as PortalStage, t as PortalStyle, u as PortalStyleInput, P as PortalSummary, v as PortalTableExposure, c as PortalTableRef, w as PublicPicture, x as emptyPortalArchiveLine, y as isPortalAccent, z as isPortalArchiveFilter, A as portalArchiveConsequence, B as portalConfirmLine, C as portalPath, E as portalTitleTypedBack } from './portal-DRdmZ-xv.cjs';
9
- export { c as AggregateBucket, g as AggregateCompare, q as AggregateCompareKind, r as AggregateCompareWindows, s as AggregateDelta, a as AggregateFilter, t as AggregateGroupValue, b as AggregateMeasure, A as AggregateOperation, j as AggregateRow, u as AggregateWindow, f as DashboardBlock, D as DashboardBlockKind, v as DashboardBlockResult, h as DashboardRunResult, e as DashboardSummary, w as DashboardTarget, x as DashboardTargetBase, y as DashboardTargetOp, z as DashboardTargetResult, B as DashboardTotals, m as DigestPreview, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, C as SavedViewColorBy, E as SavedViewDefinition, F as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, d as StoreFilter, i as StuckRow, k as Subscription, G as SubscriptionBlock, S as SubscriptionCadence, l as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from './subscription-CdoI-UaB.cjs';
10
- export { g as EntityRef, E as EntityRefWithWords, h as EntityReferenceKind, i as REVERSE_LINKS_PAGE_MAX, j as REVERSE_LINKS_RECORDS_PER_CALL, k as Relation, l as RelationCarries, R as RelationCoordinate, b as RelationIcons, m as RelationProperties, n as RelationTarget, a as RelationWordsManyArgs, c as ReverseColumn, o as ReverseLink, e as ReverseLinks, f as ReverseLinksFieldsArgs, d as ReverseLinksManyArgs, S as SourceArchived, p as entityReferenceKinds, q as entityReferenceSearch, r as entityReferenceWords, s as entityRefsOf, t as entityRefsToWrite, u as isReverseField, v as sourceArchivedOf } from './relation-8vAWCa67.cjs';
11
- export { e as RecordsActor, d as RecordsChangeSink, a as RecordsConfig, c as RecordsDataSource, b as RecordsErrorSink, f as RecordsFilter, R as RecordsRealtimePort, g as RecordsResolverPort, h as RecordsResponse, i as RecordsTableQuery } from './ports-s0D2jvqn.cjs';
1
+ import { U as Uuid, a8 as MergeFieldSource, a7 as MergeFieldSemanticType, a6 as MergeFieldModifier, ab as OverridePolicy, N as Delivery, h as Timestamp, $ as Freshness } from './record-DmmeuUrC.cjs';
2
+ export { E as ABSENCE_REASONS, G as ACTOR_VOCABULARY, I as AbsenceReason, A as Actor, J as COMPUTE_ON, K as CONTEXT_POLICIES, C as ComputeOn, d as ContextPolicy, L as DECLARABLE_FIELD_KINDS, M as DELIVERIES, D as DeclarableFieldKind, Q as ENTITY_TOKENS, V as EntityToken, X as FIELD_SENSITIVITIES, Y as FIELD_SOURCES, Z as FRESHNESS, x as FieldBehavior, c as FieldSensitivity, F as FieldSource, _ as ForbiddenEnvelopeWord, H as HiddenFieldNotice, a0 as KERNEL_TABLES, a1 as KernelTableName, a2 as KeysetRow, a3 as MERGE_FIELD_MODIFIERS, a4 as MERGE_FIELD_SEMANTIC_TYPES, a5 as MERGE_FIELD_SOURCES, a9 as ON_DELETE, aa as OVERRIDE_POLICIES, O as OnDelete, ac as PARITY_FIELD_TYPES, ad as PER_VALUE_ACCESS_WORDS, y as ParityFieldType, ae as PerValueAccessWord, P as PgError, B as PredictedRefusal, af as ProvenancePointer, ag as RELATION_BINDINGS, ah as RELATION_CARDINALITIES, ai as RELATION_FLAVORS, aj as RETIRED_ACTOR_WORDS, ak as RULE_NODE_KINDS, al as RULE_USES, q as ReadRow, w as ReadValue, m as RecordChange, n as RecordChangeResult, l as RecordDocument, o as RecordGraphWritten, t as RecordKeysetPage, s as RecordPage, r as RecordPageSort, p as RecordRead, v as RecordRevision, a as RecordsError, k as RecordsErrorCode, R as RecordsResult, g as RelationBinding, f as RelationCardinality, e as RelationFlavor, am as RetiredActorWord, i as RuleNodeKind, j as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, z as StaleWriteDetail, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, u as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, b as TableDisplay, aw as TableOrigin, T as TableType, ax as VALUE_ALTERNATE_KEYS, ay as VALUE_ENVELOPE_KEYS, az as ValueAlternate, aA as ValueAlternateKey, aB as ValueEnvelope, aC as ValueEnvelopeKey, aD as ValueSource, W as WriteConflict, aE as err, aF as isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows } from './record-DmmeuUrC.cjs';
3
+ import { ab as CaptureFileRef, ac as CaptureOutcome } from './table-kind-C-hZxDN7.cjs';
4
+ export { bu as ARCHIVE_LANES, bv as ARCHIVE_LANE_LABEL, bw as ARCHIVE_LANE_MEANS, bx as ActionRefusal, bc as ActionRunResult, aB as AnonTokenBinding, A as ArchiveLane, a4 as ArchivedChecklistTemplate, by as ArchivedDoorRow, a3 as ArchivedForm, e as ArchivedRow, bz as AutomationAction, be as AutomationDeclared, bA as AutomationFilter, bg as AutomationFlipped, bB as AutomationItem, bC as AutomationLastRun, bf as AutomationList, bD as AutomationRun, bE as AutomationRunStatus, bh as AutomationRuns, bd as AutomationSpec, bF as AutomationStep, bG as AutomationTrigger, bH as AutomationValue, bI as AutomationValues, bJ as BUILT_KIND_WORD, bK as CHOICE_NUDGES, bL as CaptureField, bM as CaptureQuestion, aa as CaptureSheetFace, a9 as CaptureSheetSummary, aD as ChecklistDeclared, bN as ChecklistRequirement, bO as ChecklistRequirementKind, bP as ChecklistRoleSpec, aG as ChecklistRunStarted, aH as ChecklistRunStep, aI as ChecklistRunSummary, aC as ChecklistSpec, aJ as ChecklistStepCompleted, bQ as ChecklistStepSpec, aF as ChecklistTemplateShape, aE as ChecklistTemplateSummary, bR as ChecklistTrigger, bS as ChecklistTriggerKind, k as ChoiceCellBack, bT as ChoiceLike, C as ChoiceNudge, bU as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, az as CommentThreadRead, aA as CommentWritten, au as ConversationScope, av as ConversationScopeContext, bV as CustomFieldTableType, bW as DEFAULT_ARCHIVE_LANE, bX as DRILL_CHART_TOKENS, bY as DRILL_DESCRIPTION_MAX, bZ as DRILL_DOORS, b_ as DRILL_SCHEMA, bn as DataHomeTable, b$ as DecorationColor, b6 as DecorationPath, c0 as DecorationRule, c1 as DecorationRuleOp, c2 as DecorationTarget, aq as DocRenderRow, c3 as DocSignatureCheck, ar as DocSignatureRow, ap as DocTemplateRow, an as DocToken, ao as DocUnresolvedToken, c4 as DrillAdHocOp, al as DrillAnswer, c5 as DrillAnswerRow, c6 as DrillChartToken, c7 as DrillDeclaration, aj as DrillDefinition, c8 as DrillDimension, c9 as DrillFinding, ca as DrillGrain, cb as DrillHaving, cc as DrillLane, cd as DrillLevel, ce as DrillMeasure, cf as DrillMeasureOp, cg as DrillMeasureWhereValue, ch as DrillPath, ak as DrillQuestion, ci as DrillRecords, am as DrillRowsPage, ai as DrillSource, cj as DrillView, ck as EnrichAlternate, ag as EnrichCell, ae as EnrichDeclared, af as EnrichDueRow, ah as EnrichRun, cl as EnrichSource, cm as Enrichment, ad as EnrichmentSummary, cn as EntityBackLinkItem, v as EntityBackLinks, t as EntityFieldRights, co as EntityFieldValue, s as EntityFieldsAcross, cp as EntityRecordMatch, u as EntityRecordRead, x as EntityRecordsFound, w as EntityRowWritten, E as EntityTableFacts, b2 as ExternalPrincipalCard, F as FieldDrift, cq as FieldDriftAspect, aw as FieldHistoryEntry, n as FieldRetyped, a2 as FormArchiveAnswer, b9 as FormulaParse, ba as FormulaPreview, b8 as GridLayout, cr as GridLayoutMode, cs as GridRowHeight, ct as HistoryActor, cu as HistoryActorKind, cv as HistoryChange, cw as Home, Y as ImportBatchResult, cx as ImportColumnPlan, X as ImportColumnsDeclared, Z as ImportFinished, W as ImportOpened, cy as ImportOutcome, U as ImportPlan, V as ImportPolicy, cz as ImportProposal, _ as ImportReport, $ as ImportRun, a1 as InboundAddress, a0 as InboundDeclared, aT as InboxCounts, aS as InboxStateChange, bl as IoExportPage, M as MigrationUndone, N as NewEntityFieldDeclaration, bs as OutsideShareAnswer, cA as PIPELINE_RULE_KINDS, P as Pipeline, y as PipelineColumn, I as PipelineDeclared, O as PipelineGate, Q as PipelineGatePreview, cB as PipelineMissingField, G as PipelineMoveMany, D as PipelineMoveManyItem, cC as PipelineMoveManyResult, B as PipelineMoveResult, cD as PipelineMoveVerdict, cE as PipelineRule, cF as PipelineRuleKind, H as PipelineSpec, cG as PipelineStage, z as PipelineVerdict, b3 as PublishBinding, cH as PublishBindingKind, cI as ROW_WEB_NOT_READY, cJ as RecordChangeAction, cK as RecordComment, bi as RecordEvent, br as RecordHeader, as as RecordHistoryEntry, a8 as RecordRowControls, cL as RecordScopeComment, at as RecordScopeContext, cM as RecordScopeField, cN as RecordScopeHistoryEntry, cO as RecordScopeRelation, cP as RecordScopeWithheld, R as RecordsMerged, cQ as RegisteredTable, b4 as ResolvedPublishBinding, b5 as ResolvedPublishBindingKind, ax as RestorePreview, ay as RestoreResult, cR as RetypeBehaviour, cS as RetypePreview, bb as RowAction, cT as RowActionStep, a7 as RowDefaultsApplied, cU as SHOWN_TO_LABEL, cV as SHOWN_TO_VALUES, cW as SHOWN_TO_WHO_MAY_CHANGE, cX as STAGE_RULE_ENFORCEMENT, cY as STAGE_RULE_ON_FAIL, cZ as ShownTo, K as StagePending, L as StagePendingOnBoard, J as StageRuleEnforcement, S as StageRuleOnFail, c_ as StageRuleWarning, c$ as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, b7 as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, d0 as TableHomeDestination, o as TableKindFacts, d1 as TableLevel, d2 as TableLevelApproval, p as TableLevelFacts, r as TableLevelSet, bm as TableListEntry, h as TableMoved, d3 as TablePlacement, d4 as TablePlacementFact, q as TableReaderRule, d5 as TableRenderSchema, a as TableRestoreProgress, bq as TableRowCount, a5 as TableRowDefaults, a6 as TableRowDefaultsPatch, d6 as TableSchemaMode, bp as TableSyncResult, d7 as TableSyncSource, bo as TableSyncSpec, bk as TableWebhook, bj as TableWebhookDeclared, d8 as TypedChoiceDecision, d9 as ViewLayout, bt as ViewOrderSet, a$ as WorkApprovalDecision, a_ as WorkApprovalFiled, da as WorkApprovalState, aY as WorkApprover, aW as WorkAssignment, aO as WorkAssignmentField, aZ as WorkChange, b1 as WorkDecideMany, b0 as WorkDecideManyItem, db as WorkDecideManyResult, dc as WorkDecideVerdict, dd as WorkDueState, aL as WorkGraph, aR as WorkInboxItem, de as WorkInboxKind, aQ as WorkInboxView, aM as WorkInstantiation, aU as WorkListFlavour, aV as WorkListItem, df as WorkOrigin, aX as WorkRecordState, aP as WorkSlotHold, aK as WorkState, dg as WorkTemplateNode, dh as WorkTemplateRelation, aN as WorkTurn, di as actionRefusals, dj as archivedByLine, dk as archivedWhen, dl as asChoiceNudge, dm as choiceSlug, dn as choiceValuesOf, dp as choicesOf, dq as decideTypedChoice, dr as declareDrillDefinition, ds as drillAnswerOf, dt as drillFindingKnob, du as emptyArchiveLine, dv as exportPageXlsx, dw as fieldKindOf, dx as holdsARetiredChoice, dy as isArchiveLane, dz as isFoundation, dA as isShownTo, dB as isTableKind, dC as isTheChosen, dD as keptGroups, dE as keptOutOfSight, dF as keptTableHref, dG as levelHasShownTo, dH as looksLikeAnId, dI as mayDrag, dJ as moveConsequence, dK as moveInOrder, dL as offeredAsContext, dM as optionKey, dN as optionLabel, dO as parseFieldDrift, dP as parseTableCopiesInProgress, dQ as parseTableDuplicateProgress, dR as parseTableDuplicated, dS as parseTableHome, dT as parseTableMoved, dU as previewRetype, dV as previewRuleChange, dW as recordChangeTrigger, dX as recordSourceKey, dY as recordSourceTable, dZ as recordsUseSentence, d_ as rehomeSentence, d$ as removedChoicesInUse, e0 as ruleThatRefuses, e1 as rulesWithTopStar, e2 as sameDocument, e3 as scopeChip, e4 as sheetSyncSpec, e5 as tableIdOf, e6 as tableJsonSchema, e7 as tableKindMapping, e8 as tableKindSlug, e9 as tableRenderSchema, ea as valueConverts, eb as withRowCounts, ec as withTablePlacement } from './table-kind-C-hZxDN7.cjs';
5
+ export { M as MyLevel, O as OpLedger, P as PERMISSION_LEVELS, g as PermissionLevel, h as RecordsActor, e as RecordsChangeSink, a as RecordsConfig, d as RecordsDataSource, c as RecordsErrorSink, i as RecordsFilter, R as RecordsRealtimePort, j as RecordsResolverPort, k as RecordsResponse, l as RecordsTableQuery, b as RowAgentPort, f as RowAgentTarget, m as asPermissionLevel, n as atLeast, o as createOpLedger, p as defaultOpLedger, q as forgetAllOps, r as highestLevel, s as isOwnOp, t as mintOpId, u as rememberedOpCount } from './ports-9BQ3zo2y.cjs';
6
+ import { p as CoercibleField } from './field-6rwt4ejZ.cjs';
7
+ export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, q as FIELD_KINDS, b as Field, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, t as NEWER_FIELD_KINDS, u as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, v as NewerFieldKind, P as ParityFieldTypeDescriptor, w as PersonStamp, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from './field-6rwt4ejZ.cjs';
8
+ export { a as BookingAvailability, b as BookingDeclared, B as BookingSummary, e as BookingWindow, d as FormResults, c as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from './rule-CeHg1sy1.cjs';
9
+ export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, l as PORTAL_ACCENTS, m as PORTAL_ARCHIVE_FILTERS, k as PortalAccent, b as PortalArchiveAnswer, a as PortalArchiveFilter, d as PortalCard, n as PortalConfig, e as PortalConfigInput, o as PortalFooterLink, g as PortalFormAnswer, p as PortalFormInput, q as PortalFormRef, f as PortalFormSpec, h as PortalInvitation, j as PortalPreviewRow, r as PortalPrincipal, i as PortalRevocation, s as PortalStage, t as PortalStyle, u as PortalStyleInput, P as PortalSummary, v as PortalTableExposure, c as PortalTableRef, w as PublicPicture, x as emptyPortalArchiveLine, y as isPortalAccent, z as isPortalArchiveFilter, A as portalArchiveConsequence, B as portalConfirmLine, C as portalPath, E as portalTitleTypedBack } from './portal-9sRr6cpG.cjs';
10
+ export { c as AggregateBucket, h as AggregateCompare, q as AggregateCompareKind, r as AggregateCompareWindows, s as AggregateDelta, a as AggregateFilter, t as AggregateGroupValue, b as AggregateMeasure, A as AggregateOperation, k as AggregateRow, u as AggregateWindow, g as DashboardBlock, D as DashboardBlockKind, v as DashboardBlockResult, i as DashboardRunResult, f as DashboardSummary, w as DashboardTarget, x as DashboardTargetBase, y as DashboardTargetOp, z as DashboardTargetResult, B as DashboardTotals, n as DigestPreview, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, C as SavedViewColorBy, E as SavedViewDefinition, F as SavedViewLayout, d as SavedViewRow, o as SavedViewSpecIn, e as StoreFilter, j as StuckRow, l as Subscription, G as SubscriptionBlock, S as SubscriptionCadence, m as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from './subscription-Drbxn-9Z.cjs';
11
+ export { g as EntityRef, E as EntityRefWithWords, h as EntityReferenceKind, i as REVERSE_LINKS_PAGE_MAX, j as REVERSE_LINKS_RECORDS_PER_CALL, k as Relation, l as RelationCarries, R as RelationCoordinate, b as RelationIcons, m as RelationProperties, n as RelationTarget, a as RelationWordsManyArgs, c as ReverseColumn, o as ReverseLink, e as ReverseLinks, f as ReverseLinksFieldsArgs, d as ReverseLinksManyArgs, S as SourceArchived, p as entityReferenceKinds, q as entityReferenceSearch, r as entityReferenceWords, s as entityRefsOf, t as entityRefsToWrite, u as isReverseField, v as sourceArchivedOf } from './relation-qrb2NbHf.cjs';
12
+ export { a as ObjectKind, O as ObjectOrganizationAnswer, R as RecordOrganizationPort, W as WHERE_ID_OPENS_DOOR, r as readObjectOrganizationAnswer, b as resolveObjectOrganization, w as whereIdOpensPort } from './objectOrganization-DfjDQtDb.cjs';
12
13
 
13
14
  type WithFormat = CoercibleField & {
14
15
  display_format?: unknown;
@@ -403,25 +404,4 @@ type MergeFieldResolution = {
403
404
  reason: string;
404
405
  };
405
406
 
406
- /**
407
- * Mint the id for one client operation and remember it as ours.
408
- *
409
- * ONE CALL IS ONE OPERATION. A fifty-row paste through `recordWriteMany` is ONE op id, because
410
- * the store announces one statement once — and it REFUSES a batch carrying two different ones
411
- * by name, for exactly that reason.
412
- */
413
- declare function mintOpId(): Uuid;
414
- /**
415
- * Is this notice the echo of a write this browser made?
416
- *
417
- * `undefined`/`null` is NOT ours and never has been: a notice with no `op_id` came from a
418
- * server-side write, an agent tool, another client, or a store older than this mechanism —
419
- * all of which are changes this browser has not seen and must read.
420
- */
421
- declare function isOwnOp(opId: string | null | undefined): boolean;
422
- /** Test seam: forget everything. Never called by product code. */
423
- declare function forgetAllOps(): void;
424
- /** Test seam: how many operations are currently remembered. */
425
- declare function rememberedOpCount(): number;
426
-
427
- export { CaptureFileRef, CaptureOutcome, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSyncReport, CoercibleField, Delivery, Freshness, type MergeField, MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, MergeFieldSemanticType, MergeFieldSource, type MergeFieldTransform, type MissingBehavior, OverridePolicy, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, REFUSALS_WORTH_REPEATING, type ResolutionTriple, Timestamp, type TypedDate, type TypedMatchScore, type TypedNumber, type TypedTime, Uuid, autonumberJoin, autonumberPrefixOf, autonumberSearchOf, autonumberWords, filterWithAutonumber, forgetAllOps, indexedDbStore, isAutonumberField, isDecided, isOwnOp, localeDateOrder, memoryStore, mintClientKey, mintOpId, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, rememberedOpCount, twoDigitYear, typedDateText, typedMatchScore, typedTimeText };
407
+ export { CaptureFileRef, CaptureOutcome, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSyncReport, CoercibleField, Delivery, Freshness, type MergeField, MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, MergeFieldSemanticType, MergeFieldSource, type MergeFieldTransform, type MissingBehavior, OverridePolicy, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, REFUSALS_WORTH_REPEATING, type ResolutionTriple, Timestamp, type TypedDate, type TypedMatchScore, type TypedNumber, type TypedTime, Uuid, autonumberJoin, autonumberPrefixOf, autonumberSearchOf, autonumberWords, filterWithAutonumber, indexedDbStore, isAutonumberField, isDecided, localeDateOrder, memoryStore, mintClientKey, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, twoDigitYear, typedDateText, typedMatchScore, typedTimeText };
package/dist/index.d.ts CHANGED
@@ -1,14 +1,15 @@
1
- import { U as Uuid, a8 as MergeFieldSource, a7 as MergeFieldSemanticType, a6 as MergeFieldModifier, ab as OverridePolicy, N as Delivery, T as Timestamp, $ as Freshness } from './record-BwCf9wKW.js';
2
- export { E as ABSENCE_REASONS, G as ACTOR_VOCABULARY, I as AbsenceReason, A as Actor, J as COMPUTE_ON, K as CONTEXT_POLICIES, C as ComputeOn, j as ContextPolicy, L as DECLARABLE_FIELD_KINDS, M as DELIVERIES, D as DeclarableFieldKind, Q as ENTITY_TOKENS, V as EntityToken, X as FIELD_SENSITIVITIES, Y as FIELD_SOURCES, Z as FRESHNESS, x as FieldBehavior, i as FieldSensitivity, F as FieldSource, _ as ForbiddenEnvelopeWord, H as HiddenFieldNotice, a0 as KERNEL_TABLES, a1 as KernelTableName, a2 as KeysetRow, a3 as MERGE_FIELD_MODIFIERS, a4 as MERGE_FIELD_SEMANTIC_TYPES, a5 as MERGE_FIELD_SOURCES, a9 as ON_DELETE, aa as OVERRIDE_POLICIES, O as OnDelete, ac as PARITY_FIELD_TYPES, ad as PER_VALUE_ACCESS_WORDS, y as ParityFieldType, ae as PerValueAccessWord, P as PgError, B as PredictedRefusal, af as ProvenancePointer, ag as RELATION_BINDINGS, ah as RELATION_CARDINALITIES, ai as RELATION_FLAVORS, aj as RETIRED_ACTOR_WORDS, ak as RULE_NODE_KINDS, al as RULE_USES, q as ReadRow, w as ReadValue, m as RecordChange, n as RecordChangeResult, l as RecordDocument, o as RecordGraphWritten, t as RecordKeysetPage, s as RecordPage, r as RecordPageSort, p as RecordRead, v as RecordRevision, a as RecordsError, k as RecordsErrorCode, R as RecordsResult, c as RelationBinding, d as RelationCardinality, b as RelationFlavor, am as RetiredActorWord, e as RuleNodeKind, f as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, z as StaleWriteDetail, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, u as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, h as TableDisplay, aw as TableOrigin, g as TableType, ax as VALUE_ALTERNATE_KEYS, ay as VALUE_ENVELOPE_KEYS, az as ValueAlternate, aA as ValueAlternateKey, aB as ValueEnvelope, aC as ValueEnvelopeKey, aD as ValueSource, W as WriteConflict, aE as err, aF as isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows } from './record-BwCf9wKW.js';
3
- import { ab as CaptureFileRef, ac as CaptureOutcome } from './table-kind-i3lZJa3f.js';
4
- export { bv as ARCHIVE_LANES, bw as ARCHIVE_LANE_LABEL, bx as ARCHIVE_LANE_MEANS, by as ActionRefusal, bd as ActionRunResult, aB as AnonTokenBinding, A as ArchiveLane, a4 as ArchivedChecklistTemplate, bz as ArchivedDoorRow, a3 as ArchivedForm, e as ArchivedRow, bA as AutomationAction, bf as AutomationDeclared, bB as AutomationFilter, bh as AutomationFlipped, bC as AutomationItem, bD as AutomationLastRun, bg as AutomationList, bE as AutomationRun, bF as AutomationRunStatus, bi as AutomationRuns, be as AutomationSpec, bG as AutomationStep, bH as AutomationTrigger, bI as AutomationValue, bJ as AutomationValues, bK as BUILT_KIND_WORD, bL as CHOICE_NUDGES, bM as CaptureField, bN as CaptureQuestion, aa as CaptureSheetFace, a9 as CaptureSheetSummary, aD as ChecklistDeclared, bO as ChecklistRequirement, bP as ChecklistRequirementKind, bQ as ChecklistRoleSpec, aG as ChecklistRunStarted, aH as ChecklistRunStep, aI as ChecklistRunSummary, aC as ChecklistSpec, aJ as ChecklistStepCompleted, bR as ChecklistStepSpec, aF as ChecklistTemplateShape, aE as ChecklistTemplateSummary, bS as ChecklistTrigger, bT as ChecklistTriggerKind, k as ChoiceCellBack, bU as ChoiceLike, C as ChoiceNudge, bV as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, az as CommentThreadRead, aA as CommentWritten, au as ConversationScope, av as ConversationScopeContext, bW as CustomFieldTableType, bX as DEFAULT_ARCHIVE_LANE, bY as DRILL_CHART_TOKENS, bZ as DRILL_DESCRIPTION_MAX, b_ as DRILL_DOORS, b$ as DRILL_SCHEMA, bo as DataHomeTable, c0 as DecorationColor, b7 as DecorationPath, c1 as DecorationRule, c2 as DecorationRuleOp, c3 as DecorationTarget, aq as DocRenderRow, c4 as DocSignatureCheck, ar as DocSignatureRow, ap as DocTemplateRow, an as DocToken, ao as DocUnresolvedToken, c5 as DrillAdHocOp, al as DrillAnswer, c6 as DrillAnswerRow, c7 as DrillChartToken, c8 as DrillDeclaration, aj as DrillDefinition, c9 as DrillDimension, ca as DrillFinding, cb as DrillGrain, cc as DrillHaving, cd as DrillLane, ce as DrillLevel, cf as DrillMeasure, cg as DrillMeasureOp, ch as DrillMeasureWhereValue, ci as DrillPath, ak as DrillQuestion, cj as DrillRecords, am as DrillRowsPage, ai as DrillSource, ck as DrillView, cl as EnrichAlternate, ag as EnrichCell, ae as EnrichDeclared, af as EnrichDueRow, ah as EnrichRun, cm as EnrichSource, cn as Enrichment, ad as EnrichmentSummary, co as EntityBackLinkItem, v as EntityBackLinks, t as EntityFieldRights, cp as EntityFieldValue, s as EntityFieldsAcross, cq as EntityRecordMatch, u as EntityRecordRead, x as EntityRecordsFound, w as EntityRowWritten, E as EntityTableFacts, b2 as ExternalPrincipalCard, F as FieldDrift, cr as FieldDriftAspect, aw as FieldHistoryEntry, n as FieldRetyped, a2 as FormArchiveAnswer, ba as FormulaParse, bb as FormulaPreview, b9 as GridLayout, cs as GridLayoutMode, ct as GridRowHeight, cu as HistoryActor, cv as HistoryActorKind, cw as HistoryChange, cx as Home, Y as ImportBatchResult, cy as ImportColumnPlan, X as ImportColumnsDeclared, Z as ImportFinished, W as ImportOpened, cz as ImportOutcome, U as ImportPlan, V as ImportPolicy, cA as ImportProposal, _ as ImportReport, $ as ImportRun, a1 as InboundAddress, a0 as InboundDeclared, aT as InboxCounts, aS as InboxStateChange, bm as IoExportPage, M as MigrationUndone, b6 as MyLevel, N as NewEntityFieldDeclaration, bt as OutsideShareAnswer, cB as PERMISSION_LEVELS, cC as PIPELINE_RULE_KINDS, cD as PermissionLevel, P as Pipeline, y as PipelineColumn, I as PipelineDeclared, O as PipelineGate, Q as PipelineGatePreview, cE as PipelineMissingField, G as PipelineMoveMany, D as PipelineMoveManyItem, cF as PipelineMoveManyResult, B as PipelineMoveResult, cG as PipelineMoveVerdict, cH as PipelineRule, cI as PipelineRuleKind, H as PipelineSpec, cJ as PipelineStage, z as PipelineVerdict, b3 as PublishBinding, cK as PublishBindingKind, cL as ROW_WEB_NOT_READY, cM as RecordChangeAction, cN as RecordComment, bj as RecordEvent, bs as RecordHeader, as as RecordHistoryEntry, a8 as RecordRowControls, cO as RecordScopeComment, at as RecordScopeContext, cP as RecordScopeField, cQ as RecordScopeHistoryEntry, cR as RecordScopeRelation, cS as RecordScopeWithheld, R as RecordsMerged, cT as RegisteredTable, b4 as ResolvedPublishBinding, b5 as ResolvedPublishBindingKind, ax as RestorePreview, ay as RestoreResult, cU as RetypeBehaviour, cV as RetypePreview, bc as RowAction, cW as RowActionStep, a7 as RowDefaultsApplied, cX as SHOWN_TO_LABEL, cY as SHOWN_TO_VALUES, cZ as SHOWN_TO_WHO_MAY_CHANGE, c_ as STAGE_RULE_ENFORCEMENT, c$ as STAGE_RULE_ON_FAIL, d0 as ShownTo, K as StagePending, L as StagePendingOnBoard, J as StageRuleEnforcement, S as StageRuleOnFail, d1 as StageRuleWarning, d2 as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, b8 as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, d3 as TableHomeDestination, o as TableKindFacts, d4 as TableLevel, d5 as TableLevelApproval, p as TableLevelFacts, r as TableLevelSet, bn as TableListEntry, h as TableMoved, d6 as TablePlacement, d7 as TablePlacementFact, q as TableReaderRule, d8 as TableRenderSchema, a as TableRestoreProgress, br as TableRowCount, a5 as TableRowDefaults, a6 as TableRowDefaultsPatch, d9 as TableSchemaMode, bq as TableSyncResult, da as TableSyncSource, bp as TableSyncSpec, bl as TableWebhook, bk as TableWebhookDeclared, db as TypedChoiceDecision, dc as ViewLayout, bu as ViewOrderSet, a$ as WorkApprovalDecision, a_ as WorkApprovalFiled, dd as WorkApprovalState, aY as WorkApprover, aW as WorkAssignment, aO as WorkAssignmentField, aZ as WorkChange, b1 as WorkDecideMany, b0 as WorkDecideManyItem, de as WorkDecideManyResult, df as WorkDecideVerdict, dg as WorkDueState, aL as WorkGraph, aR as WorkInboxItem, dh as WorkInboxKind, aQ as WorkInboxView, aM as WorkInstantiation, aU as WorkListFlavour, aV as WorkListItem, di as WorkOrigin, aX as WorkRecordState, aP as WorkSlotHold, aK as WorkState, dj as WorkTemplateNode, dk as WorkTemplateRelation, aN as WorkTurn, dl as actionRefusals, dm as archivedByLine, dn as archivedWhen, dp as asChoiceNudge, dq as asPermissionLevel, dr as atLeast, ds as choiceSlug, dt as choiceValuesOf, du as choicesOf, dv as decideTypedChoice, dw as declareDrillDefinition, dx as drillAnswerOf, dy as drillFindingKnob, dz as emptyArchiveLine, dA as exportPageXlsx, dB as fieldKindOf, dC as highestLevel, dD as holdsARetiredChoice, dE as isArchiveLane, dF as isFoundation, dG as isShownTo, dH as isTableKind, dI as isTheChosen, dJ as keptGroups, dK as keptOutOfSight, dL as keptTableHref, dM as levelHasShownTo, dN as looksLikeAnId, dO as mayDrag, dP as moveConsequence, dQ as moveInOrder, dR as offeredAsContext, dS as optionKey, dT as optionLabel, dU as parseFieldDrift, dV as parseTableCopiesInProgress, dW as parseTableDuplicateProgress, dX as parseTableDuplicated, dY as parseTableHome, dZ as parseTableMoved, d_ as previewRetype, d$ as previewRuleChange, e0 as recordChangeTrigger, e1 as recordSourceKey, e2 as recordSourceTable, e3 as recordsUseSentence, e4 as rehomeSentence, e5 as removedChoicesInUse, e6 as ruleThatRefuses, e7 as rulesWithTopStar, e8 as sameDocument, e9 as scopeChip, ea as sheetSyncSpec, eb as tableIdOf, ec as tableJsonSchema, ed as tableKindMapping, ee as tableKindSlug, ef as tableRenderSchema, eg as valueConverts, eh as withRowCounts, ei as withTablePlacement } from './table-kind-i3lZJa3f.js';
5
- import { p as CoercibleField } from './field-enufS5ry.js';
6
- export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, q as FIELD_KINDS, b as Field, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, t as NEWER_FIELD_KINDS, u as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, v as NewerFieldKind, P as ParityFieldTypeDescriptor, w as PersonStamp, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from './field-enufS5ry.js';
7
- export { a as BookingAvailability, b as BookingDeclared, B as BookingSummary, e as BookingWindow, d as FormResults, c as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from './rule-D9yNiorf.js';
8
- export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, l as PORTAL_ACCENTS, m as PORTAL_ARCHIVE_FILTERS, k as PortalAccent, b as PortalArchiveAnswer, a as PortalArchiveFilter, d as PortalCard, n as PortalConfig, e as PortalConfigInput, o as PortalFooterLink, g as PortalFormAnswer, p as PortalFormInput, q as PortalFormRef, f as PortalFormSpec, h as PortalInvitation, j as PortalPreviewRow, r as PortalPrincipal, i as PortalRevocation, s as PortalStage, t as PortalStyle, u as PortalStyleInput, P as PortalSummary, v as PortalTableExposure, c as PortalTableRef, w as PublicPicture, x as emptyPortalArchiveLine, y as isPortalAccent, z as isPortalArchiveFilter, A as portalArchiveConsequence, B as portalConfirmLine, C as portalPath, E as portalTitleTypedBack } from './portal-or_f7BkT.js';
9
- export { c as AggregateBucket, g as AggregateCompare, q as AggregateCompareKind, r as AggregateCompareWindows, s as AggregateDelta, a as AggregateFilter, t as AggregateGroupValue, b as AggregateMeasure, A as AggregateOperation, j as AggregateRow, u as AggregateWindow, f as DashboardBlock, D as DashboardBlockKind, v as DashboardBlockResult, h as DashboardRunResult, e as DashboardSummary, w as DashboardTarget, x as DashboardTargetBase, y as DashboardTargetOp, z as DashboardTargetResult, B as DashboardTotals, m as DigestPreview, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, C as SavedViewColorBy, E as SavedViewDefinition, F as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, d as StoreFilter, i as StuckRow, k as Subscription, G as SubscriptionBlock, S as SubscriptionCadence, l as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from './subscription-BynsG1K6.js';
10
- export { g as EntityRef, E as EntityRefWithWords, h as EntityReferenceKind, i as REVERSE_LINKS_PAGE_MAX, j as REVERSE_LINKS_RECORDS_PER_CALL, k as Relation, l as RelationCarries, R as RelationCoordinate, b as RelationIcons, m as RelationProperties, n as RelationTarget, a as RelationWordsManyArgs, c as ReverseColumn, o as ReverseLink, e as ReverseLinks, f as ReverseLinksFieldsArgs, d as ReverseLinksManyArgs, S as SourceArchived, p as entityReferenceKinds, q as entityReferenceSearch, r as entityReferenceWords, s as entityRefsOf, t as entityRefsToWrite, u as isReverseField, v as sourceArchivedOf } from './relation-eLMgv_dV.js';
11
- export { e as RecordsActor, d as RecordsChangeSink, a as RecordsConfig, c as RecordsDataSource, b as RecordsErrorSink, f as RecordsFilter, R as RecordsRealtimePort, g as RecordsResolverPort, h as RecordsResponse, i as RecordsTableQuery } from './ports-BeOgjwYl.js';
1
+ import { U as Uuid, a8 as MergeFieldSource, a7 as MergeFieldSemanticType, a6 as MergeFieldModifier, ab as OverridePolicy, N as Delivery, h as Timestamp, $ as Freshness } from './record-DmmeuUrC.js';
2
+ export { E as ABSENCE_REASONS, G as ACTOR_VOCABULARY, I as AbsenceReason, A as Actor, J as COMPUTE_ON, K as CONTEXT_POLICIES, C as ComputeOn, d as ContextPolicy, L as DECLARABLE_FIELD_KINDS, M as DELIVERIES, D as DeclarableFieldKind, Q as ENTITY_TOKENS, V as EntityToken, X as FIELD_SENSITIVITIES, Y as FIELD_SOURCES, Z as FRESHNESS, x as FieldBehavior, c as FieldSensitivity, F as FieldSource, _ as ForbiddenEnvelopeWord, H as HiddenFieldNotice, a0 as KERNEL_TABLES, a1 as KernelTableName, a2 as KeysetRow, a3 as MERGE_FIELD_MODIFIERS, a4 as MERGE_FIELD_SEMANTIC_TYPES, a5 as MERGE_FIELD_SOURCES, a9 as ON_DELETE, aa as OVERRIDE_POLICIES, O as OnDelete, ac as PARITY_FIELD_TYPES, ad as PER_VALUE_ACCESS_WORDS, y as ParityFieldType, ae as PerValueAccessWord, P as PgError, B as PredictedRefusal, af as ProvenancePointer, ag as RELATION_BINDINGS, ah as RELATION_CARDINALITIES, ai as RELATION_FLAVORS, aj as RETIRED_ACTOR_WORDS, ak as RULE_NODE_KINDS, al as RULE_USES, q as ReadRow, w as ReadValue, m as RecordChange, n as RecordChangeResult, l as RecordDocument, o as RecordGraphWritten, t as RecordKeysetPage, s as RecordPage, r as RecordPageSort, p as RecordRead, v as RecordRevision, a as RecordsError, k as RecordsErrorCode, R as RecordsResult, g as RelationBinding, f as RelationCardinality, e as RelationFlavor, am as RetiredActorWord, i as RuleNodeKind, j as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, z as StaleWriteDetail, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, u as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, b as TableDisplay, aw as TableOrigin, T as TableType, ax as VALUE_ALTERNATE_KEYS, ay as VALUE_ENVELOPE_KEYS, az as ValueAlternate, aA as ValueAlternateKey, aB as ValueEnvelope, aC as ValueEnvelopeKey, aD as ValueSource, W as WriteConflict, aE as err, aF as isLockedStub, aG as isRecordsErr, aH as ok, aI as splitLockedRows } from './record-DmmeuUrC.js';
3
+ import { ab as CaptureFileRef, ac as CaptureOutcome } from './table-kind-BZkvzBgc.js';
4
+ export { bu as ARCHIVE_LANES, bv as ARCHIVE_LANE_LABEL, bw as ARCHIVE_LANE_MEANS, bx as ActionRefusal, bc as ActionRunResult, aB as AnonTokenBinding, A as ArchiveLane, a4 as ArchivedChecklistTemplate, by as ArchivedDoorRow, a3 as ArchivedForm, e as ArchivedRow, bz as AutomationAction, be as AutomationDeclared, bA as AutomationFilter, bg as AutomationFlipped, bB as AutomationItem, bC as AutomationLastRun, bf as AutomationList, bD as AutomationRun, bE as AutomationRunStatus, bh as AutomationRuns, bd as AutomationSpec, bF as AutomationStep, bG as AutomationTrigger, bH as AutomationValue, bI as AutomationValues, bJ as BUILT_KIND_WORD, bK as CHOICE_NUDGES, bL as CaptureField, bM as CaptureQuestion, aa as CaptureSheetFace, a9 as CaptureSheetSummary, aD as ChecklistDeclared, bN as ChecklistRequirement, bO as ChecklistRequirementKind, bP as ChecklistRoleSpec, aG as ChecklistRunStarted, aH as ChecklistRunStep, aI as ChecklistRunSummary, aC as ChecklistSpec, aJ as ChecklistStepCompleted, bQ as ChecklistStepSpec, aF as ChecklistTemplateShape, aE as ChecklistTemplateSummary, bR as ChecklistTrigger, bS as ChecklistTriggerKind, k as ChoiceCellBack, bT as ChoiceLike, C as ChoiceNudge, bU as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, az as CommentThreadRead, aA as CommentWritten, au as ConversationScope, av as ConversationScopeContext, bV as CustomFieldTableType, bW as DEFAULT_ARCHIVE_LANE, bX as DRILL_CHART_TOKENS, bY as DRILL_DESCRIPTION_MAX, bZ as DRILL_DOORS, b_ as DRILL_SCHEMA, bn as DataHomeTable, b$ as DecorationColor, b6 as DecorationPath, c0 as DecorationRule, c1 as DecorationRuleOp, c2 as DecorationTarget, aq as DocRenderRow, c3 as DocSignatureCheck, ar as DocSignatureRow, ap as DocTemplateRow, an as DocToken, ao as DocUnresolvedToken, c4 as DrillAdHocOp, al as DrillAnswer, c5 as DrillAnswerRow, c6 as DrillChartToken, c7 as DrillDeclaration, aj as DrillDefinition, c8 as DrillDimension, c9 as DrillFinding, ca as DrillGrain, cb as DrillHaving, cc as DrillLane, cd as DrillLevel, ce as DrillMeasure, cf as DrillMeasureOp, cg as DrillMeasureWhereValue, ch as DrillPath, ak as DrillQuestion, ci as DrillRecords, am as DrillRowsPage, ai as DrillSource, cj as DrillView, ck as EnrichAlternate, ag as EnrichCell, ae as EnrichDeclared, af as EnrichDueRow, ah as EnrichRun, cl as EnrichSource, cm as Enrichment, ad as EnrichmentSummary, cn as EntityBackLinkItem, v as EntityBackLinks, t as EntityFieldRights, co as EntityFieldValue, s as EntityFieldsAcross, cp as EntityRecordMatch, u as EntityRecordRead, x as EntityRecordsFound, w as EntityRowWritten, E as EntityTableFacts, b2 as ExternalPrincipalCard, F as FieldDrift, cq as FieldDriftAspect, aw as FieldHistoryEntry, n as FieldRetyped, a2 as FormArchiveAnswer, b9 as FormulaParse, ba as FormulaPreview, b8 as GridLayout, cr as GridLayoutMode, cs as GridRowHeight, ct as HistoryActor, cu as HistoryActorKind, cv as HistoryChange, cw as Home, Y as ImportBatchResult, cx as ImportColumnPlan, X as ImportColumnsDeclared, Z as ImportFinished, W as ImportOpened, cy as ImportOutcome, U as ImportPlan, V as ImportPolicy, cz as ImportProposal, _ as ImportReport, $ as ImportRun, a1 as InboundAddress, a0 as InboundDeclared, aT as InboxCounts, aS as InboxStateChange, bl as IoExportPage, M as MigrationUndone, N as NewEntityFieldDeclaration, bs as OutsideShareAnswer, cA as PIPELINE_RULE_KINDS, P as Pipeline, y as PipelineColumn, I as PipelineDeclared, O as PipelineGate, Q as PipelineGatePreview, cB as PipelineMissingField, G as PipelineMoveMany, D as PipelineMoveManyItem, cC as PipelineMoveManyResult, B as PipelineMoveResult, cD as PipelineMoveVerdict, cE as PipelineRule, cF as PipelineRuleKind, H as PipelineSpec, cG as PipelineStage, z as PipelineVerdict, b3 as PublishBinding, cH as PublishBindingKind, cI as ROW_WEB_NOT_READY, cJ as RecordChangeAction, cK as RecordComment, bi as RecordEvent, br as RecordHeader, as as RecordHistoryEntry, a8 as RecordRowControls, cL as RecordScopeComment, at as RecordScopeContext, cM as RecordScopeField, cN as RecordScopeHistoryEntry, cO as RecordScopeRelation, cP as RecordScopeWithheld, R as RecordsMerged, cQ as RegisteredTable, b4 as ResolvedPublishBinding, b5 as ResolvedPublishBindingKind, ax as RestorePreview, ay as RestoreResult, cR as RetypeBehaviour, cS as RetypePreview, bb as RowAction, cT as RowActionStep, a7 as RowDefaultsApplied, cU as SHOWN_TO_LABEL, cV as SHOWN_TO_VALUES, cW as SHOWN_TO_WHO_MAY_CHANGE, cX as STAGE_RULE_ENFORCEMENT, cY as STAGE_RULE_ON_FAIL, cZ as ShownTo, K as StagePending, L as StagePendingOnBoard, J as StageRuleEnforcement, S as StageRuleOnFail, c_ as StageRuleWarning, c$ as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, b7 as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, d0 as TableHomeDestination, o as TableKindFacts, d1 as TableLevel, d2 as TableLevelApproval, p as TableLevelFacts, r as TableLevelSet, bm as TableListEntry, h as TableMoved, d3 as TablePlacement, d4 as TablePlacementFact, q as TableReaderRule, d5 as TableRenderSchema, a as TableRestoreProgress, bq as TableRowCount, a5 as TableRowDefaults, a6 as TableRowDefaultsPatch, d6 as TableSchemaMode, bp as TableSyncResult, d7 as TableSyncSource, bo as TableSyncSpec, bk as TableWebhook, bj as TableWebhookDeclared, d8 as TypedChoiceDecision, d9 as ViewLayout, bt as ViewOrderSet, a$ as WorkApprovalDecision, a_ as WorkApprovalFiled, da as WorkApprovalState, aY as WorkApprover, aW as WorkAssignment, aO as WorkAssignmentField, aZ as WorkChange, b1 as WorkDecideMany, b0 as WorkDecideManyItem, db as WorkDecideManyResult, dc as WorkDecideVerdict, dd as WorkDueState, aL as WorkGraph, aR as WorkInboxItem, de as WorkInboxKind, aQ as WorkInboxView, aM as WorkInstantiation, aU as WorkListFlavour, aV as WorkListItem, df as WorkOrigin, aX as WorkRecordState, aP as WorkSlotHold, aK as WorkState, dg as WorkTemplateNode, dh as WorkTemplateRelation, aN as WorkTurn, di as actionRefusals, dj as archivedByLine, dk as archivedWhen, dl as asChoiceNudge, dm as choiceSlug, dn as choiceValuesOf, dp as choicesOf, dq as decideTypedChoice, dr as declareDrillDefinition, ds as drillAnswerOf, dt as drillFindingKnob, du as emptyArchiveLine, dv as exportPageXlsx, dw as fieldKindOf, dx as holdsARetiredChoice, dy as isArchiveLane, dz as isFoundation, dA as isShownTo, dB as isTableKind, dC as isTheChosen, dD as keptGroups, dE as keptOutOfSight, dF as keptTableHref, dG as levelHasShownTo, dH as looksLikeAnId, dI as mayDrag, dJ as moveConsequence, dK as moveInOrder, dL as offeredAsContext, dM as optionKey, dN as optionLabel, dO as parseFieldDrift, dP as parseTableCopiesInProgress, dQ as parseTableDuplicateProgress, dR as parseTableDuplicated, dS as parseTableHome, dT as parseTableMoved, dU as previewRetype, dV as previewRuleChange, dW as recordChangeTrigger, dX as recordSourceKey, dY as recordSourceTable, dZ as recordsUseSentence, d_ as rehomeSentence, d$ as removedChoicesInUse, e0 as ruleThatRefuses, e1 as rulesWithTopStar, e2 as sameDocument, e3 as scopeChip, e4 as sheetSyncSpec, e5 as tableIdOf, e6 as tableJsonSchema, e7 as tableKindMapping, e8 as tableKindSlug, e9 as tableRenderSchema, ea as valueConverts, eb as withRowCounts, ec as withTablePlacement } from './table-kind-BZkvzBgc.js';
5
+ export { M as MyLevel, O as OpLedger, P as PERMISSION_LEVELS, g as PermissionLevel, h as RecordsActor, e as RecordsChangeSink, a as RecordsConfig, d as RecordsDataSource, c as RecordsErrorSink, i as RecordsFilter, R as RecordsRealtimePort, j as RecordsResolverPort, k as RecordsResponse, l as RecordsTableQuery, b as RowAgentPort, f as RowAgentTarget, m as asPermissionLevel, n as atLeast, o as createOpLedger, p as defaultOpLedger, q as forgetAllOps, r as highestLevel, s as isOwnOp, t as mintOpId, u as rememberedOpCount } from './ports-DYWE1ENo.js';
6
+ import { p as CoercibleField } from './field-B-WaVZnS.js';
7
+ export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, q as FIELD_KINDS, b as Field, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, t as NEWER_FIELD_KINDS, u as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, v as NewerFieldKind, P as ParityFieldTypeDescriptor, w as PersonStamp, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from './field-B-WaVZnS.js';
8
+ export { a as BookingAvailability, b as BookingDeclared, B as BookingSummary, e as BookingWindow, d as FormResults, c as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from './rule-tN2lxvJ1.js';
9
+ export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, l as PORTAL_ACCENTS, m as PORTAL_ARCHIVE_FILTERS, k as PortalAccent, b as PortalArchiveAnswer, a as PortalArchiveFilter, d as PortalCard, n as PortalConfig, e as PortalConfigInput, o as PortalFooterLink, g as PortalFormAnswer, p as PortalFormInput, q as PortalFormRef, f as PortalFormSpec, h as PortalInvitation, j as PortalPreviewRow, r as PortalPrincipal, i as PortalRevocation, s as PortalStage, t as PortalStyle, u as PortalStyleInput, P as PortalSummary, v as PortalTableExposure, c as PortalTableRef, w as PublicPicture, x as emptyPortalArchiveLine, y as isPortalAccent, z as isPortalArchiveFilter, A as portalArchiveConsequence, B as portalConfirmLine, C as portalPath, E as portalTitleTypedBack } from './portal-BDAqsGkg.js';
10
+ export { c as AggregateBucket, h as AggregateCompare, q as AggregateCompareKind, r as AggregateCompareWindows, s as AggregateDelta, a as AggregateFilter, t as AggregateGroupValue, b as AggregateMeasure, A as AggregateOperation, k as AggregateRow, u as AggregateWindow, g as DashboardBlock, D as DashboardBlockKind, v as DashboardBlockResult, i as DashboardRunResult, f as DashboardSummary, w as DashboardTarget, x as DashboardTargetBase, y as DashboardTargetOp, z as DashboardTargetResult, B as DashboardTotals, n as DigestPreview, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, C as SavedViewColorBy, E as SavedViewDefinition, F as SavedViewLayout, d as SavedViewRow, o as SavedViewSpecIn, e as StoreFilter, j as StuckRow, l as Subscription, G as SubscriptionBlock, S as SubscriptionCadence, m as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from './subscription-hdTaRrfK.js';
11
+ export { g as EntityRef, E as EntityRefWithWords, h as EntityReferenceKind, i as REVERSE_LINKS_PAGE_MAX, j as REVERSE_LINKS_RECORDS_PER_CALL, k as Relation, l as RelationCarries, R as RelationCoordinate, b as RelationIcons, m as RelationProperties, n as RelationTarget, a as RelationWordsManyArgs, c as ReverseColumn, o as ReverseLink, e as ReverseLinks, f as ReverseLinksFieldsArgs, d as ReverseLinksManyArgs, S as SourceArchived, p as entityReferenceKinds, q as entityReferenceSearch, r as entityReferenceWords, s as entityRefsOf, t as entityRefsToWrite, u as isReverseField, v as sourceArchivedOf } from './relation-Op1M67le.js';
12
+ export { a as ObjectKind, O as ObjectOrganizationAnswer, R as RecordOrganizationPort, W as WHERE_ID_OPENS_DOOR, r as readObjectOrganizationAnswer, b as resolveObjectOrganization, w as whereIdOpensPort } from './objectOrganization-BII_K3Gm.js';
12
13
 
13
14
  type WithFormat = CoercibleField & {
14
15
  display_format?: unknown;
@@ -403,25 +404,4 @@ type MergeFieldResolution = {
403
404
  reason: string;
404
405
  };
405
406
 
406
- /**
407
- * Mint the id for one client operation and remember it as ours.
408
- *
409
- * ONE CALL IS ONE OPERATION. A fifty-row paste through `recordWriteMany` is ONE op id, because
410
- * the store announces one statement once — and it REFUSES a batch carrying two different ones
411
- * by name, for exactly that reason.
412
- */
413
- declare function mintOpId(): Uuid;
414
- /**
415
- * Is this notice the echo of a write this browser made?
416
- *
417
- * `undefined`/`null` is NOT ours and never has been: a notice with no `op_id` came from a
418
- * server-side write, an agent tool, another client, or a store older than this mechanism —
419
- * all of which are changes this browser has not seen and must read.
420
- */
421
- declare function isOwnOp(opId: string | null | undefined): boolean;
422
- /** Test seam: forget everything. Never called by product code. */
423
- declare function forgetAllOps(): void;
424
- /** Test seam: how many operations are currently remembered. */
425
- declare function rememberedOpCount(): number;
426
-
427
- export { CaptureFileRef, CaptureOutcome, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSyncReport, CoercibleField, Delivery, Freshness, type MergeField, MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, MergeFieldSemanticType, MergeFieldSource, type MergeFieldTransform, type MissingBehavior, OverridePolicy, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, REFUSALS_WORTH_REPEATING, type ResolutionTriple, Timestamp, type TypedDate, type TypedMatchScore, type TypedNumber, type TypedTime, Uuid, autonumberJoin, autonumberPrefixOf, autonumberSearchOf, autonumberWords, filterWithAutonumber, forgetAllOps, indexedDbStore, isAutonumberField, isDecided, isOwnOp, localeDateOrder, memoryStore, mintClientKey, mintOpId, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, rememberedOpCount, twoDigitYear, typedDateText, typedMatchScore, typedTimeText };
407
+ export { CaptureFileRef, CaptureOutcome, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSyncReport, CoercibleField, Delivery, Freshness, type MergeField, MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, MergeFieldSemanticType, MergeFieldSource, type MergeFieldTransform, type MissingBehavior, OverridePolicy, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, REFUSALS_WORTH_REPEATING, type ResolutionTriple, Timestamp, type TypedDate, type TypedMatchScore, type TypedNumber, type TypedTime, Uuid, autonumberJoin, autonumberPrefixOf, autonumberSearchOf, autonumberWords, filterWithAutonumber, indexedDbStore, isAutonumberField, isDecided, localeDateOrder, memoryStore, mintClientKey, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, twoDigitYear, typedDateText, typedMatchScore, typedTimeText };
package/dist/index.js CHANGED
@@ -2231,44 +2231,105 @@ function sourceArchivedOf(value) {
2231
2231
  return out;
2232
2232
  }
2233
2233
 
2234
+ // src/objectOrganization.ts
2235
+ var WHERE_ID_OPENS_DOOR = "where_id_opens";
2236
+ function doorIsAbsent(error) {
2237
+ if (error.code === "PGRST202" || error.code === "42883") return true;
2238
+ return /could not find the function/i.test(error.message ?? "");
2239
+ }
2240
+ var DOOR_ABSENT_WHY = "custom.where_id_opens is missing from this database, so this page cannot tell which organization the record lives in and holds instead of guessing. Remedy: the chair applies migrations/campaign/openbyid_one_address_opens_any_id.sql and openbyid_the_resolver_can_be_reached.sql.";
2241
+ async function resolveObjectOrganization(dataSource, id) {
2242
+ let answered;
2243
+ try {
2244
+ answered = await dataSource.rpc(WHERE_ID_OPENS_DOOR, { p_id: id }, { schema: "custom" });
2245
+ } catch (thrown) {
2246
+ return { state: "unavailable", why: thrown instanceof Error ? thrown.message : "The record store did not answer." };
2247
+ }
2248
+ return readObjectOrganizationAnswer(answered, id);
2249
+ }
2250
+ function readObjectOrganizationAnswer(answered, id) {
2251
+ if (answered.error) {
2252
+ if (doorIsAbsent(answered.error)) {
2253
+ console.warn(`[@ai-matrx/records] ${DOOR_ABSENT_WHY}`);
2254
+ return { state: "unavailable", why: DOOR_ABSENT_WHY };
2255
+ }
2256
+ return { state: "unavailable", why: answered.error.message ?? "The record store refused to say where this is." };
2257
+ }
2258
+ const row = answered.data;
2259
+ if (row === null || row === void 0) return { state: "not-given" };
2260
+ if (typeof row !== "object" || typeof row.organization_id !== "string" || typeof row.kind !== "string") {
2261
+ return { state: "unavailable", why: "The record store answered something this page cannot read." };
2262
+ }
2263
+ return {
2264
+ state: "found",
2265
+ organizationId: row.organization_id,
2266
+ kind: row.kind,
2267
+ path: typeof row.path === "string" ? row.path : null,
2268
+ live: row.live !== false,
2269
+ resolvedId: typeof row.resolved_id === "string" ? row.resolved_id : id
2270
+ };
2271
+ }
2272
+ function whereIdOpensPort(dataSource) {
2273
+ return { organizationOf: (id) => resolveObjectOrganization(dataSource, id) };
2274
+ }
2275
+
2234
2276
  // src/ops.ts
2235
2277
  import { globalSlot } from "@ai-matrx/kit/global-slot";
2236
2278
  var REMEMBER_MS = 3e4;
2237
2279
  var REMEMBER_MAX = 500;
2238
- var ours = globalSlot("ai-matrx.records.op-ledger", () => /* @__PURE__ */ new Map());
2239
- function trim(now) {
2240
- for (const [id, at] of ours) {
2241
- if (now - at <= REMEMBER_MS) break;
2242
- ours.delete(id);
2243
- }
2244
- while (ours.size > REMEMBER_MAX) {
2245
- const oldest = ours.keys().next();
2246
- if (oldest.done === true) break;
2247
- ours.delete(oldest.value);
2280
+ function ledgerOver(ours) {
2281
+ function trim(now) {
2282
+ for (const [id, at] of ours) {
2283
+ if (now - at <= REMEMBER_MS) break;
2284
+ ours.delete(id);
2285
+ }
2286
+ while (ours.size > REMEMBER_MAX) {
2287
+ const oldest = ours.keys().next();
2288
+ if (oldest.done === true) break;
2289
+ ours.delete(oldest.value);
2290
+ }
2248
2291
  }
2292
+ return {
2293
+ mint() {
2294
+ const id = crypto.randomUUID();
2295
+ const now = Date.now();
2296
+ ours.set(id, now);
2297
+ trim(now);
2298
+ return id;
2299
+ },
2300
+ isOwn(opId) {
2301
+ if (!opId) return false;
2302
+ const at = ours.get(opId);
2303
+ if (at === void 0) return false;
2304
+ if (Date.now() - at > REMEMBER_MS) {
2305
+ ours.delete(opId);
2306
+ return false;
2307
+ }
2308
+ return true;
2309
+ },
2310
+ clear() {
2311
+ ours.clear();
2312
+ },
2313
+ get size() {
2314
+ return ours.size;
2315
+ }
2316
+ };
2317
+ }
2318
+ function createOpLedger() {
2319
+ return ledgerOver(/* @__PURE__ */ new Map());
2249
2320
  }
2321
+ var defaultOpLedger = ledgerOver(globalSlot("ai-matrx.records.op-ledger", () => /* @__PURE__ */ new Map()));
2250
2322
  function mintOpId() {
2251
- const id = crypto.randomUUID();
2252
- const now = Date.now();
2253
- ours.set(id, now);
2254
- trim(now);
2255
- return id;
2323
+ return defaultOpLedger.mint();
2256
2324
  }
2257
2325
  function isOwnOp(opId) {
2258
- if (!opId) return false;
2259
- const at = ours.get(opId);
2260
- if (at === void 0) return false;
2261
- if (Date.now() - at > REMEMBER_MS) {
2262
- ours.delete(opId);
2263
- return false;
2264
- }
2265
- return true;
2326
+ return defaultOpLedger.isOwn(opId);
2266
2327
  }
2267
2328
  function forgetAllOps() {
2268
- ours.clear();
2329
+ defaultOpLedger.clear();
2269
2330
  }
2270
2331
  function rememberedOpCount() {
2271
- return ours.size;
2332
+ return defaultOpLedger.size;
2272
2333
  }
2273
2334
 
2274
2335
  // src/store.generated.ts
@@ -5044,6 +5105,7 @@ export {
5044
5105
  TABLE_TYPES,
5045
5106
  VALUE_ALTERNATE_KEYS,
5046
5107
  VALUE_ENVELOPE_KEYS,
5108
+ WHERE_ID_OPENS_DOOR,
5047
5109
  actionRefusals,
5048
5110
  addressFromText,
5049
5111
  addressMapUrl,
@@ -5069,8 +5131,10 @@ export {
5069
5131
  coerceTypedAnswer,
5070
5132
  coerceTypedAnswers,
5071
5133
  coercionLabel,
5134
+ createOpLedger,
5072
5135
  decideTypedChoice,
5073
5136
  declareDrillDefinition,
5137
+ defaultOpLedger,
5074
5138
  drillAnswerOf,
5075
5139
  drillFindingKnob,
5076
5140
  durationText,
@@ -5148,6 +5212,7 @@ export {
5148
5212
  publicFormPath,
5149
5213
  rankTypedMatches,
5150
5214
  ratingMaxOf,
5215
+ readObjectOrganizationAnswer,
5151
5216
  readTypedDate,
5152
5217
  readTypedDuration,
5153
5218
  readTypedNumber,
@@ -5162,6 +5227,7 @@ export {
5162
5227
  relationNamesIn,
5163
5228
  rememberedOpCount,
5164
5229
  removedChoicesInUse,
5230
+ resolveObjectOrganization,
5165
5231
  richTextPlain,
5166
5232
  ruleThatRefuses,
5167
5233
  rulesWithTopStar,
@@ -5184,6 +5250,7 @@ export {
5184
5250
  typedMatchScore,
5185
5251
  typedTimeText,
5186
5252
  valueConverts,
5253
+ whereIdOpensPort,
5187
5254
  withCallersClock,
5188
5255
  withRowCounts,
5189
5256
  withTablePlacement