@ai-matrx/records 0.80.2 → 0.80.7

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 (71) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +19 -0
  3. package/dist/app-table/index.cjs +100 -23
  4. package/dist/app-table/index.cjs.map +1 -1
  5. package/dist/app-table/index.d.cts +7 -7
  6. package/dist/app-table/index.d.ts +7 -7
  7. package/dist/app-table/index.js +100 -23
  8. package/dist/app-table/index.js.map +1 -1
  9. package/dist/{client-DKKRZKNw.d.ts → client-D1LTezMZ.d.ts} +10 -5
  10. package/dist/{client-BfNJEpar.d.cts → client-DLIKeBWF.d.cts} +10 -5
  11. package/dist/core/index.cjs +115 -31
  12. package/dist/core/index.cjs.map +1 -1
  13. package/dist/core/index.d.cts +22 -12
  14. package/dist/core/index.d.ts +22 -12
  15. package/dist/core/index.js +115 -31
  16. package/dist/core/index.js.map +1 -1
  17. package/dist/data/index.cjs +100 -23
  18. package/dist/data/index.cjs.map +1 -1
  19. package/dist/data/index.d.cts +7 -7
  20. package/dist/data/index.d.ts +7 -7
  21. package/dist/data/index.js +100 -23
  22. package/dist/data/index.js.map +1 -1
  23. package/dist/{declareTable-CzLMdOSy.d.cts → declareTable-02uao-5n.d.cts} +4 -4
  24. package/dist/{declareTable-Cg522Sk0.d.ts → declareTable-C5FlIS0z.d.ts} +4 -4
  25. package/dist/{field-DJAvDExi.d.ts → field-BIJiFPc0.d.ts} +1 -1
  26. package/dist/{field-DCXU6k9i.d.cts → field-snQG2jMq.d.cts} +1 -1
  27. package/dist/index.cjs +12 -0
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +7 -7
  30. package/dist/index.d.ts +7 -7
  31. package/dist/index.js +12 -0
  32. package/dist/index.js.map +1 -1
  33. package/dist/memory/index.cjs +5 -0
  34. package/dist/memory/index.cjs.map +1 -1
  35. package/dist/memory/index.d.cts +6 -6
  36. package/dist/memory/index.d.ts +6 -6
  37. package/dist/memory/index.js +5 -0
  38. package/dist/memory/index.js.map +1 -1
  39. package/dist/{ports-Kpc-RihV.d.ts → ports-Y5gLbCXe.d.ts} +1 -1
  40. package/dist/{ports-DaHUjVg7.d.cts → ports-y1QNfM80.d.cts} +1 -1
  41. package/dist/react/index.cjs +107 -27
  42. package/dist/react/index.cjs.map +1 -1
  43. package/dist/react/index.d.cts +31 -1
  44. package/dist/react/index.d.ts +31 -1
  45. package/dist/react/index.js +107 -27
  46. package/dist/react/index.js.map +1 -1
  47. package/dist/realtime/index.d.cts +2 -2
  48. package/dist/realtime/index.d.ts +2 -2
  49. package/dist/{record-DCaOJbhA.d.cts → record-1yDCn169.d.cts} +26 -1
  50. package/dist/{record-DCaOJbhA.d.ts → record-1yDCn169.d.ts} +26 -1
  51. package/dist/{subscription-C_hNjbaR.d.cts → subscription-B_WaT-kr.d.cts} +1 -1
  52. package/dist/{subscription-B9znK2dw.d.ts → subscription-CUok1vAm.d.ts} +1 -1
  53. package/dist/{table-kind-B9RBUmSb.d.ts → table-kind-COmkYYkc.d.ts} +3 -3
  54. package/dist/{table-kind-DXktQGzR.d.cts → table-kind-LodkBhCZ.d.cts} +3 -3
  55. package/dist/templates/index.cjs +70 -6
  56. package/dist/templates/index.cjs.map +1 -1
  57. package/dist/templates/index.d.cts +26 -10
  58. package/dist/templates/index.d.ts +26 -10
  59. package/dist/templates/index.js +70 -6
  60. package/dist/templates/index.js.map +1 -1
  61. package/dist/{types-DuyBN2im.d.cts → types-BJGTxu3Y.d.cts} +2 -2
  62. package/dist/{types-b-VGi15H.d.ts → types-C5-AaPa6.d.ts} +2 -2
  63. package/dist/{types-CHEFgCu1.d.ts → types-CU_Tn2Np.d.ts} +2 -2
  64. package/dist/{types-CD2HoaZt.d.cts → types-yBZLtxrZ.d.cts} +2 -2
  65. package/dist/use-cases/index.cjs.map +1 -1
  66. package/dist/use-cases/index.d.cts +5 -5
  67. package/dist/use-cases/index.d.ts +5 -5
  68. package/dist/use-cases/index.js.map +1 -1
  69. package/dist/{validate-CubFFxpu.d.cts → validate-CE6qpJIb.d.cts} +1 -1
  70. package/dist/{validate-BEfYwBpA.d.ts → validate-Rz9djP6H.d.ts} +1 -1
  71. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
- import { R as RecordsError, h as RecordsResult, P as PgError, y as StaleWriteDetail, g as RecordDocument, z as PredictedRefusal, s as ReadValue, U as Uuid } from '../record-DCaOJbhA.cjs';
2
- export { B as ABSENCE_REASONS, E as ACTOR_VOCABULARY, G as AbsenceReason, A as Actor, I as COMPUTE_ON, J as CONTEXT_POLICIES, C as ComputeOn, c as ContextPolicy, K as DECLARABLE_FIELD_KINDS, L as DELIVERIES, D as DeclarableFieldKind, M as Delivery, N as ENTITY_TOKENS, Q as EntityToken, V as FIELD_SENSITIVITIES, X as FIELD_SOURCES, Y as FRESHNESS, u as FieldBehavior, b as FieldSensitivity, F as FieldSource, Z as ForbiddenEnvelopeWord, _ as Freshness, H as HiddenFieldNotice, $ as KERNEL_TABLES, a0 as KernelTableName, a1 as KeysetRow, a2 as MERGE_FIELD_MODIFIERS, a3 as MERGE_FIELD_SEMANTIC_TYPES, a4 as MERGE_FIELD_SOURCES, a5 as MergeFieldModifier, a6 as MergeFieldSemanticType, a7 as MergeFieldSource, a8 as ON_DELETE, a9 as OVERRIDE_POLICIES, O as OnDelete, aa as OverridePolicy, ab as PARITY_FIELD_TYPES, ac as PER_VALUE_ACCESS_WORDS, v as ParityFieldType, ad as PerValueAccessWord, ae as ProvenancePointer, af as RELATION_BINDINGS, ag as RELATION_CARDINALITIES, ah as RELATION_FLAVORS, ai as RETIRED_ACTOR_WORDS, aj as RULE_NODE_KINDS, ak as RULE_USES, m as ReadRow, i as RecordChange, j as RecordChangeResult, k as RecordGraphWritten, p as RecordKeysetPage, o as RecordPage, n as RecordPageSort, l as RecordRead, r as RecordRevision, t as RecordsErrorCode, al as RelationBinding, e as RelationCardinality, d as RelationFlavor, am as RetiredActorWord, w as RuleNodeKind, x as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, q as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, a as TableDisplay, aw as TableOrigin, T as TableType, f as Timestamp, ax as VALUE_ALTERNATE_KEYS, ay as VALUE_ENVELOPE_KEYS, az as ValueAlternate, aA as ValueAlternateKey, aB as ValueEnvelope, aC as ValueEnvelopeKey, aD as ValueSource, W as WriteConflict, aE as err, aF as isRecordsErr, aG as ok } from '../record-DCaOJbhA.cjs';
3
- import { u as TableKindFacts } from '../table-kind-DXktQGzR.cjs';
4
- export { bL as ARCHIVE_LANES, bM as ARCHIVE_LANE_LABEL, bN as ARCHIVE_LANE_MEANS, bO as ActionRefusal, bs as ActionRunResult, aR as AnonTokenBinding, A as ArchiveLane, ac as ArchivedChecklistTemplate, bP as ArchivedDoorRow, ab as ArchivedForm, e as ArchivedRow, bQ as AutomationAction, bu as AutomationDeclared, bR as AutomationFilter, bw as AutomationFlipped, bS as AutomationItem, bT as AutomationLastRun, bv as AutomationList, bU as AutomationRun, bV as AutomationRunStatus, bx as AutomationRuns, bt as AutomationSpec, bW as AutomationStep, bX as AutomationTrigger, bY as AutomationValue, bZ as AutomationValues, b_ as BUILT_KIND_WORD, b$ as CHOICE_NUDGES, c0 as CaptureField, ar as CaptureFileRef, as as CaptureOutcome, c1 as CaptureQuestion, aq as CaptureSheetFace, ap as CaptureSheetSummary, aT as ChecklistDeclared, c2 as ChecklistRequirement, c3 as ChecklistRequirementKind, c4 as ChecklistRoleSpec, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aS as ChecklistSpec, aZ as ChecklistStepCompleted, c5 as ChecklistStepSpec, aV as ChecklistTemplateShape, aU as ChecklistTemplateSummary, c6 as ChecklistTrigger, c7 as ChecklistTriggerKind, k as ChoiceCellBack, c8 as ChoiceLike, C as ChoiceNudge, c9 as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aP as CommentThreadRead, aQ as CommentWritten, aK as ConversationScope, aL as ConversationScopeContext, ca as CustomFieldTableType, cb as DEFAULT_ARCHIVE_LANE, cc as DEFAULT_PORTAL_ARCHIVE_FILTER, cd as DRILL_CHART_TOKENS, ce as DRILL_DESCRIPTION_MAX, cf as DRILL_DOORS, cg as DRILL_SCHEMA, bD as DataHomeTable, ch as DecorationColor, bn as DecorationPath, ci as DecorationRule, cj as DecorationRuleOp, ck as DecorationTarget, aG as DocRenderRow, cl as DocSignatureCheck, aH as DocSignatureRow, aF as DocTemplateRow, aD as DocToken, aE as DocUnresolvedToken, cm as DrillAdHocOp, aB as DrillAnswer, cn as DrillAnswerRow, co as DrillChartToken, cp as DrillDeclaration, az as DrillDefinition, cq as DrillDimension, cr as DrillFinding, cs as DrillGrain, ct as DrillHaving, cu as DrillLane, cv as DrillLevel, cw as DrillMeasure, cx as DrillMeasureOp, cy as DrillMeasureWhereValue, cz as DrillPath, aA as DrillQuestion, cA as DrillRecords, aC as DrillRowsPage, ay as DrillSource, cB as DrillView, cC as EnrichAlternate, aw as EnrichCell, au as EnrichDeclared, av as EnrichDueRow, ax as EnrichRun, cD as EnrichSource, cE as Enrichment, at as EnrichmentSummary, cF as EntityBackLinkItem, y as EntityBackLinks, w as EntityFieldRights, cG as EntityFieldValue, v as EntityFieldsAcross, cH as EntityRecordMatch, x as EntityRecordRead, B as EntityRecordsFound, cI as EntityRef, bK as EntityRefWithWords, cJ as EntityReferenceKind, z as EntityRowWritten, E as EntityTableFacts, bi as ExternalPrincipalCard, F as FieldDrift, cK as FieldDriftAspect, aM as FieldHistoryEntry, n as FieldRetyped, aa as FormArchiveAnswer, Y as FormLookOptions, bq as FormulaParse, bp as GridLayout, cL as GridLayoutMode, cM as GridRowHeight, cN as HistoryActor, cO as HistoryActorKind, cP as HistoryChange, cQ as Home, a1 as ImportBatchResult, cR as ImportColumnPlan, a0 as ImportColumnsDeclared, a2 as ImportFinished, $ as ImportOpened, cS as ImportOutcome, Z as ImportPlan, _ as ImportPolicy, cT as ImportProposal, a3 as ImportReport, a4 as ImportRun, a6 as InboundAddress, a5 as InboundDeclared, b7 as InboxCounts, b6 as InboxStateChange, bB as IoExportPage, M as MigrationUndone, bm as MyLevel, N as NewEntityFieldDeclaration, bI as OutsideShareAnswer, cU as PERMISSION_LEVELS, cV as PIPELINE_RULE_KINDS, cW as PORTAL_ACCENTS, cX as PORTAL_ARCHIVE_FILTERS, cY as PermissionLevel, P as Pipeline, D as PipelineColumn, L as PipelineDeclared, W as PipelineGate, X as PipelineGatePreview, cZ as PipelineMissingField, J as PipelineMoveMany, I as PipelineMoveManyItem, c_ as PipelineMoveManyResult, H as PipelineMoveResult, c$ as PipelineMoveVerdict, d0 as PipelineRule, d1 as PipelineRuleKind, K as PipelineSpec, d2 as PipelineStage, G as PipelineVerdict, d3 as PortalAccent, a9 as PortalArchiveAnswer, a8 as PortalArchiveFilter, ai as PortalCard, d4 as PortalConfig, aj as PortalConfigInput, d5 as PortalFooterLink, al as PortalFormAnswer, d6 as PortalFormInput, d7 as PortalFormRef, ak as PortalFormSpec, am as PortalInvitation, ao as PortalPreviewRow, d8 as PortalPrincipal, an as PortalRevocation, d9 as PortalStage, da as PortalStyle, db as PortalStyleInput, a7 as PortalSummary, dc as PortalTableExposure, ah as PortalTableRef, dd as PublicPicture, bj as PublishBinding, de as PublishBindingKind, df as REVERSE_LINKS_PAGE_MAX, dg as REVERSE_LINKS_RECORDS_PER_CALL, dh as ROW_WEB_NOT_READY, di as RecordChangeAction, dj as RecordComment, by as RecordEvent, bH as RecordHeader, aI as RecordHistoryEntry, ag as RecordRowControls, dk as RecordScopeComment, aJ as RecordScopeContext, dl as RecordScopeField, dm as RecordScopeHistoryEntry, dn as RecordScopeRelation, dp as RecordScopeWithheld, o as RecordsMerged, dq as RegisteredTable, dr as Relation, ds as RelationCarries, R as RelationCoordinate, q as RelationIcons, dt as RelationProperties, du as RelationTarget, p as RelationWordsManyArgs, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, aN as RestorePreview, aO as RestoreResult, dv as RetypeBehaviour, dw as RetypePreview, r as ReverseColumn, dx as ReverseLink, t as ReverseLinks, s as ReverseLinksManyArgs, br as RowAction, dy as RowActionStep, af as RowDefaultsApplied, dz as SHOWN_TO_LABEL, dA as SHOWN_TO_VALUES, dB as SHOWN_TO_WHO_MAY_CHANGE, dC as STAGE_RULE_ENFORCEMENT, dD as STAGE_RULE_ON_FAIL, dE as ShownTo, S as SourceArchived, U as StagePending, V as StagePendingOnBoard, Q as StageRuleEnforcement, O as StageRuleOnFail, dF as StageRuleWarning, dG as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bo as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dH as TableHomeDestination, bC as TableListEntry, h as TableMoved, dI as TablePlacement, dJ as TablePlacementFact, dK as TableRenderSchema, a as TableRestoreProgress, bG as TableRowCount, ad as TableRowDefaults, ae as TableRowDefaultsPatch, dL as TableSchemaMode, bF as TableSyncResult, dM as TableSyncSource, bE as TableSyncSpec, bA as TableWebhook, bz as TableWebhookDeclared, dN as TypedChoiceDecision, dO as ViewLayout, bJ as ViewOrderSet, bf as WorkApprovalDecision, be as WorkApprovalFiled, dP as WorkApprovalState, bc as WorkApprover, ba as WorkAssignment, b2 as WorkAssignmentField, bd as WorkChange, bh as WorkDecideMany, bg as WorkDecideManyItem, dQ as WorkDecideManyResult, dR as WorkDecideVerdict, dS as WorkDueState, a$ as WorkGraph, b5 as WorkInboxItem, dT as WorkInboxKind, b4 as WorkInboxView, b0 as WorkInstantiation, b8 as WorkListFlavour, b9 as WorkListItem, dU as WorkOrigin, bb as WorkRecordState, b3 as WorkSlotHold, a_ as WorkState, dV as WorkTemplateNode, dW as WorkTemplateRelation, b1 as WorkTurn, dX as actionRefusals, dY as archivedByLine, dZ as archivedWhen, d_ as asChoiceNudge, d$ as asPermissionLevel, e0 as atLeast, e1 as choiceSlug, e2 as choiceValuesOf, e3 as choicesOf, e4 as decideTypedChoice, e5 as declareDrillDefinition, e6 as drillAnswerOf, e7 as drillFindingKnob, e8 as emptyArchiveLine, e9 as emptyPortalArchiveLine, ea as entityReferenceKinds, eb as entityReferenceSearch, ec as entityReferenceWords, ed as entityRefsOf, ee as entityRefsToWrite, ef as exportPageXlsx, eg as fieldKindOf, eh as highestLevel, ei as holdsARetiredChoice, ej as isArchiveLane, ek as isFoundation, el as isPortalAccent, em as isPortalArchiveFilter, en as isShownTo, eo as isTableKind, ep as isTheChosen, eq as keptGroups, er as keptOutOfSight, es as keptTableHref, et as looksLikeAnId, eu as mayDrag, ev as moveConsequence, ew as moveInOrder, ex as offeredAsContext, ey as optionKey, ez as optionLabel, eA as parseFieldDrift, eB as parseTableCopiesInProgress, eC as parseTableDuplicateProgress, eD as parseTableDuplicated, eE as parseTableHome, eF as parseTableMoved, eG as portalArchiveConsequence, eH as portalConfirmLine, eI as portalPath, eJ as portalTitleTypedBack, eK as previewRetype, eL as previewRuleChange, eM as recordChangeTrigger, eN as recordSourceKey, eO as recordSourceTable, eP as recordsUseSentence, eQ as rehomeSentence, eR as removedChoicesInUse, eS as ruleThatRefuses, eT as rulesWithTopStar, eU as sameDocument, eV as scopeChip, eW as sheetSyncSpec, eX as sourceArchivedOf, eY as tableIdOf, eZ as tableJsonSchema, e_ as tableKindMapping, e$ as tableKindSlug, f0 as tableRenderSchema, f1 as valueConverts, f2 as withRowCounts, f3 as withTablePlacement } from '../table-kind-DXktQGzR.cjs';
5
- import { b as Field } from '../field-DCXU6k9i.cjs';
6
- export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, B as BARCODE_SYMBOLOGIES, C as ChoiceOptions, i as CoerceOptions, j as Coerced, k as CoercedAnswers, l as CoercibleField, m as FIELD_KINDS, d as FieldDuplicated, n as FieldKind, o as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, p as NEWER_FIELD_KINDS, q as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, r as NewerFieldKind, P as ParityFieldTypeDescriptor, s as PersonStamp, t as RelationDisplay, u as RelationNameIndex, v as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, w as STATUS_GROUP_WORDS, x as SYSTEM_WRITER_WORDS, y as StatusGroup, T as TableProposal, z as addressFromText, D as addressMapUrl, E as addressText, G as allowsOtherValues, H as coerceTypedAnswer, I as coerceTypedAnswers, J as coercionLabel, L as durationText, M as entityReferenceKindsOf, O as fieldKindFor, Q as isAddressValue, U as isEntityReferenceConfig, V as isPersonStamp, W as newerKindExportWords, X as newerKindOf, Y as newerKindWords, Z as personStampText, _ as ratingMaxOf, $ as readTypedDuration, a0 as relationNameIndexOf, a1 as relationNameKey, a2 as relationNamesIn, a3 as richTextPlain, a4 as safeLinkHref, a5 as splitListCell, a6 as statusGroupOf } from '../field-DCXU6k9i.cjs';
1
+ import { R as RecordsError, h as RecordsResult, P as PgError, y as StaleWriteDetail, g as RecordDocument, z as PredictedRefusal, s as ReadValue, U as Uuid } from '../record-1yDCn169.cjs';
2
+ export { B as ABSENCE_REASONS, E as ACTOR_VOCABULARY, G as AbsenceReason, A as Actor, I as COMPUTE_ON, J as CONTEXT_POLICIES, C as ComputeOn, c as ContextPolicy, K as DECLARABLE_FIELD_KINDS, L as DELIVERIES, D as DeclarableFieldKind, M as Delivery, N as ENTITY_TOKENS, Q as EntityToken, V as FIELD_SENSITIVITIES, X as FIELD_SOURCES, Y as FRESHNESS, u as FieldBehavior, b as FieldSensitivity, F as FieldSource, Z as ForbiddenEnvelopeWord, _ as Freshness, H as HiddenFieldNotice, $ as KERNEL_TABLES, a0 as KernelTableName, a1 as KeysetRow, a2 as MERGE_FIELD_MODIFIERS, a3 as MERGE_FIELD_SEMANTIC_TYPES, a4 as MERGE_FIELD_SOURCES, a5 as MergeFieldModifier, a6 as MergeFieldSemanticType, a7 as MergeFieldSource, a8 as ON_DELETE, a9 as OVERRIDE_POLICIES, O as OnDelete, aa as OverridePolicy, ab as PARITY_FIELD_TYPES, ac as PER_VALUE_ACCESS_WORDS, v as ParityFieldType, ad as PerValueAccessWord, ae as ProvenancePointer, af as RELATION_BINDINGS, ag as RELATION_CARDINALITIES, ah as RELATION_FLAVORS, ai as RETIRED_ACTOR_WORDS, aj as RULE_NODE_KINDS, ak as RULE_USES, m as ReadRow, i as RecordChange, j as RecordChangeResult, k as RecordGraphWritten, p as RecordKeysetPage, o as RecordPage, n as RecordPageSort, l as RecordRead, r as RecordRevision, t as RecordsErrorCode, al as RelationBinding, e as RelationCardinality, d as RelationFlavor, am as RetiredActorWord, w as RuleNodeKind, x as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, q as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, a as TableDisplay, aw as TableOrigin, T as TableType, f as Timestamp, ax as VALUE_ALTERNATE_KEYS, ay as VALUE_ENVELOPE_KEYS, az as ValueAlternate, aA as ValueAlternateKey, aB as ValueEnvelope, aC as ValueEnvelopeKey, aD as ValueSource, W as WriteConflict, aE as err, aF as isRecordsErr, aG as ok } from '../record-1yDCn169.cjs';
3
+ import { u as TableKindFacts } from '../table-kind-LodkBhCZ.cjs';
4
+ export { bL as ARCHIVE_LANES, bM as ARCHIVE_LANE_LABEL, bN as ARCHIVE_LANE_MEANS, bO as ActionRefusal, bs as ActionRunResult, aR as AnonTokenBinding, A as ArchiveLane, ac as ArchivedChecklistTemplate, bP as ArchivedDoorRow, ab as ArchivedForm, e as ArchivedRow, bQ as AutomationAction, bu as AutomationDeclared, bR as AutomationFilter, bw as AutomationFlipped, bS as AutomationItem, bT as AutomationLastRun, bv as AutomationList, bU as AutomationRun, bV as AutomationRunStatus, bx as AutomationRuns, bt as AutomationSpec, bW as AutomationStep, bX as AutomationTrigger, bY as AutomationValue, bZ as AutomationValues, b_ as BUILT_KIND_WORD, b$ as CHOICE_NUDGES, c0 as CaptureField, ar as CaptureFileRef, as as CaptureOutcome, c1 as CaptureQuestion, aq as CaptureSheetFace, ap as CaptureSheetSummary, aT as ChecklistDeclared, c2 as ChecklistRequirement, c3 as ChecklistRequirementKind, c4 as ChecklistRoleSpec, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aS as ChecklistSpec, aZ as ChecklistStepCompleted, c5 as ChecklistStepSpec, aV as ChecklistTemplateShape, aU as ChecklistTemplateSummary, c6 as ChecklistTrigger, c7 as ChecklistTriggerKind, k as ChoiceCellBack, c8 as ChoiceLike, C as ChoiceNudge, c9 as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aP as CommentThreadRead, aQ as CommentWritten, aK as ConversationScope, aL as ConversationScopeContext, ca as CustomFieldTableType, cb as DEFAULT_ARCHIVE_LANE, cc as DEFAULT_PORTAL_ARCHIVE_FILTER, cd as DRILL_CHART_TOKENS, ce as DRILL_DESCRIPTION_MAX, cf as DRILL_DOORS, cg as DRILL_SCHEMA, bD as DataHomeTable, ch as DecorationColor, bn as DecorationPath, ci as DecorationRule, cj as DecorationRuleOp, ck as DecorationTarget, aG as DocRenderRow, cl as DocSignatureCheck, aH as DocSignatureRow, aF as DocTemplateRow, aD as DocToken, aE as DocUnresolvedToken, cm as DrillAdHocOp, aB as DrillAnswer, cn as DrillAnswerRow, co as DrillChartToken, cp as DrillDeclaration, az as DrillDefinition, cq as DrillDimension, cr as DrillFinding, cs as DrillGrain, ct as DrillHaving, cu as DrillLane, cv as DrillLevel, cw as DrillMeasure, cx as DrillMeasureOp, cy as DrillMeasureWhereValue, cz as DrillPath, aA as DrillQuestion, cA as DrillRecords, aC as DrillRowsPage, ay as DrillSource, cB as DrillView, cC as EnrichAlternate, aw as EnrichCell, au as EnrichDeclared, av as EnrichDueRow, ax as EnrichRun, cD as EnrichSource, cE as Enrichment, at as EnrichmentSummary, cF as EntityBackLinkItem, y as EntityBackLinks, w as EntityFieldRights, cG as EntityFieldValue, v as EntityFieldsAcross, cH as EntityRecordMatch, x as EntityRecordRead, B as EntityRecordsFound, cI as EntityRef, bK as EntityRefWithWords, cJ as EntityReferenceKind, z as EntityRowWritten, E as EntityTableFacts, bi as ExternalPrincipalCard, F as FieldDrift, cK as FieldDriftAspect, aM as FieldHistoryEntry, n as FieldRetyped, aa as FormArchiveAnswer, Y as FormLookOptions, bq as FormulaParse, bp as GridLayout, cL as GridLayoutMode, cM as GridRowHeight, cN as HistoryActor, cO as HistoryActorKind, cP as HistoryChange, cQ as Home, a1 as ImportBatchResult, cR as ImportColumnPlan, a0 as ImportColumnsDeclared, a2 as ImportFinished, $ as ImportOpened, cS as ImportOutcome, Z as ImportPlan, _ as ImportPolicy, cT as ImportProposal, a3 as ImportReport, a4 as ImportRun, a6 as InboundAddress, a5 as InboundDeclared, b7 as InboxCounts, b6 as InboxStateChange, bB as IoExportPage, M as MigrationUndone, bm as MyLevel, N as NewEntityFieldDeclaration, bI as OutsideShareAnswer, cU as PERMISSION_LEVELS, cV as PIPELINE_RULE_KINDS, cW as PORTAL_ACCENTS, cX as PORTAL_ARCHIVE_FILTERS, cY as PermissionLevel, P as Pipeline, D as PipelineColumn, L as PipelineDeclared, W as PipelineGate, X as PipelineGatePreview, cZ as PipelineMissingField, J as PipelineMoveMany, I as PipelineMoveManyItem, c_ as PipelineMoveManyResult, H as PipelineMoveResult, c$ as PipelineMoveVerdict, d0 as PipelineRule, d1 as PipelineRuleKind, K as PipelineSpec, d2 as PipelineStage, G as PipelineVerdict, d3 as PortalAccent, a9 as PortalArchiveAnswer, a8 as PortalArchiveFilter, ai as PortalCard, d4 as PortalConfig, aj as PortalConfigInput, d5 as PortalFooterLink, al as PortalFormAnswer, d6 as PortalFormInput, d7 as PortalFormRef, ak as PortalFormSpec, am as PortalInvitation, ao as PortalPreviewRow, d8 as PortalPrincipal, an as PortalRevocation, d9 as PortalStage, da as PortalStyle, db as PortalStyleInput, a7 as PortalSummary, dc as PortalTableExposure, ah as PortalTableRef, dd as PublicPicture, bj as PublishBinding, de as PublishBindingKind, df as REVERSE_LINKS_PAGE_MAX, dg as REVERSE_LINKS_RECORDS_PER_CALL, dh as ROW_WEB_NOT_READY, di as RecordChangeAction, dj as RecordComment, by as RecordEvent, bH as RecordHeader, aI as RecordHistoryEntry, ag as RecordRowControls, dk as RecordScopeComment, aJ as RecordScopeContext, dl as RecordScopeField, dm as RecordScopeHistoryEntry, dn as RecordScopeRelation, dp as RecordScopeWithheld, o as RecordsMerged, dq as RegisteredTable, dr as Relation, ds as RelationCarries, R as RelationCoordinate, q as RelationIcons, dt as RelationProperties, du as RelationTarget, p as RelationWordsManyArgs, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, aN as RestorePreview, aO as RestoreResult, dv as RetypeBehaviour, dw as RetypePreview, r as ReverseColumn, dx as ReverseLink, t as ReverseLinks, s as ReverseLinksManyArgs, br as RowAction, dy as RowActionStep, af as RowDefaultsApplied, dz as SHOWN_TO_LABEL, dA as SHOWN_TO_VALUES, dB as SHOWN_TO_WHO_MAY_CHANGE, dC as STAGE_RULE_ENFORCEMENT, dD as STAGE_RULE_ON_FAIL, dE as ShownTo, S as SourceArchived, U as StagePending, V as StagePendingOnBoard, Q as StageRuleEnforcement, O as StageRuleOnFail, dF as StageRuleWarning, dG as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bo as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dH as TableHomeDestination, bC as TableListEntry, h as TableMoved, dI as TablePlacement, dJ as TablePlacementFact, dK as TableRenderSchema, a as TableRestoreProgress, bG as TableRowCount, ad as TableRowDefaults, ae as TableRowDefaultsPatch, dL as TableSchemaMode, bF as TableSyncResult, dM as TableSyncSource, bE as TableSyncSpec, bA as TableWebhook, bz as TableWebhookDeclared, dN as TypedChoiceDecision, dO as ViewLayout, bJ as ViewOrderSet, bf as WorkApprovalDecision, be as WorkApprovalFiled, dP as WorkApprovalState, bc as WorkApprover, ba as WorkAssignment, b2 as WorkAssignmentField, bd as WorkChange, bh as WorkDecideMany, bg as WorkDecideManyItem, dQ as WorkDecideManyResult, dR as WorkDecideVerdict, dS as WorkDueState, a$ as WorkGraph, b5 as WorkInboxItem, dT as WorkInboxKind, b4 as WorkInboxView, b0 as WorkInstantiation, b8 as WorkListFlavour, b9 as WorkListItem, dU as WorkOrigin, bb as WorkRecordState, b3 as WorkSlotHold, a_ as WorkState, dV as WorkTemplateNode, dW as WorkTemplateRelation, b1 as WorkTurn, dX as actionRefusals, dY as archivedByLine, dZ as archivedWhen, d_ as asChoiceNudge, d$ as asPermissionLevel, e0 as atLeast, e1 as choiceSlug, e2 as choiceValuesOf, e3 as choicesOf, e4 as decideTypedChoice, e5 as declareDrillDefinition, e6 as drillAnswerOf, e7 as drillFindingKnob, e8 as emptyArchiveLine, e9 as emptyPortalArchiveLine, ea as entityReferenceKinds, eb as entityReferenceSearch, ec as entityReferenceWords, ed as entityRefsOf, ee as entityRefsToWrite, ef as exportPageXlsx, eg as fieldKindOf, eh as highestLevel, ei as holdsARetiredChoice, ej as isArchiveLane, ek as isFoundation, el as isPortalAccent, em as isPortalArchiveFilter, en as isShownTo, eo as isTableKind, ep as isTheChosen, eq as keptGroups, er as keptOutOfSight, es as keptTableHref, et as looksLikeAnId, eu as mayDrag, ev as moveConsequence, ew as moveInOrder, ex as offeredAsContext, ey as optionKey, ez as optionLabel, eA as parseFieldDrift, eB as parseTableCopiesInProgress, eC as parseTableDuplicateProgress, eD as parseTableDuplicated, eE as parseTableHome, eF as parseTableMoved, eG as portalArchiveConsequence, eH as portalConfirmLine, eI as portalPath, eJ as portalTitleTypedBack, eK as previewRetype, eL as previewRuleChange, eM as recordChangeTrigger, eN as recordSourceKey, eO as recordSourceTable, eP as recordsUseSentence, eQ as rehomeSentence, eR as removedChoicesInUse, eS as ruleThatRefuses, eT as rulesWithTopStar, eU as sameDocument, eV as scopeChip, eW as sheetSyncSpec, eX as sourceArchivedOf, eY as tableIdOf, eZ as tableJsonSchema, e_ as tableKindMapping, e$ as tableKindSlug, f0 as tableRenderSchema, f1 as valueConverts, f2 as withRowCounts, f3 as withTablePlacement } from '../table-kind-LodkBhCZ.cjs';
5
+ import { b as Field } from '../field-snQG2jMq.cjs';
6
+ export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, B as BARCODE_SYMBOLOGIES, C as ChoiceOptions, i as CoerceOptions, j as Coerced, k as CoercedAnswers, l as CoercibleField, m as FIELD_KINDS, d as FieldDuplicated, n as FieldKind, o as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, p as NEWER_FIELD_KINDS, q as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, r as NewerFieldKind, P as ParityFieldTypeDescriptor, s as PersonStamp, t as RelationDisplay, u as RelationNameIndex, v as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, w as STATUS_GROUP_WORDS, x as SYSTEM_WRITER_WORDS, y as StatusGroup, T as TableProposal, z as addressFromText, D as addressMapUrl, E as addressText, G as allowsOtherValues, H as coerceTypedAnswer, I as coerceTypedAnswers, J as coercionLabel, L as durationText, M as entityReferenceKindsOf, O as fieldKindFor, Q as isAddressValue, U as isEntityReferenceConfig, V as isPersonStamp, W as newerKindExportWords, X as newerKindOf, Y as newerKindWords, Z as personStampText, _ as ratingMaxOf, $ as readTypedDuration, a0 as relationNameIndexOf, a1 as relationNameKey, a2 as relationNamesIn, a3 as richTextPlain, a4 as safeLinkHref, a5 as splitListCell, a6 as statusGroupOf } from '../field-snQG2jMq.cjs';
7
7
  export { CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, MergeField, MergeFieldProvenance, MergeFieldResolution, MergeFieldTransform, MissingBehavior, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, REFUSALS_WORTH_REPEATING, ResolutionTriple, TypedDate, TypedMatchScore, TypedNumber, TypedTime, forgetAllOps, indexedDbStore, isDecided, isOwnOp, localeDateOrder, memoryStore, mintClientKey, mintOpId, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, rememberedOpCount, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.cjs';
8
- export { f as AggregateBucket, A as AggregateCompare, v as AggregateCompareKind, w as AggregateCompareWindows, x as AggregateDelta, r as AggregateFilter, y as AggregateGroupValue, i as AggregateMeasure, q as AggregateOperation, j as AggregateRow, z as AggregateWindow, a as BookingAvailability, b as BookingDeclared, B as BookingSummary, C as BookingWindow, e as DashboardBlock, s as DashboardBlockKind, E as DashboardBlockResult, g as DashboardRunResult, D as DashboardSummary, G as DashboardTarget, H as DashboardTargetBase, I as DashboardTargetOp, J as DashboardTargetResult, K as DashboardTotals, m as DigestPreview, d as FormResults, c as FormRoute, F as FormSummary, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, L as Rule, N as RuleAnswer, u as RuleExpression, O as SavedViewColorBy, P as SavedViewDefinition, T as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, S as StoreFilter, h as StuckRow, k as Subscription, U as SubscriptionBlock, t as SubscriptionCadence, l as SubscriptionSpec, V as bookingPath, W as callersTimeZone, X as hasQuietHours, Y as isRuleFilter, Z as liftWithheld, _ as measureKey, $ as publicFormPath, a0 as stableFilterKey, a1 as withCallersClock } from '../subscription-C_hNjbaR.cjs';
9
- import { b as RecordsDataSource } from '../ports-DaHUjVg7.cjs';
10
- export { c as RecordsActor, d as RecordsChangeSink, a as RecordsConfig, e as RecordsErrorSink, f as RecordsFilter, R as RecordsRealtimePort, g as RecordsResolverPort, h as RecordsResponse, i as RecordsTableQuery } from '../ports-DaHUjVg7.cjs';
11
- export { A as A_PERSONS_REFUSAL, a as AsOf, D as DEFAULT_PAGE_SIZE, P as PromotedPredicate, Q as QueryPlan, b as RecordQuery, R as RecordsClient, T as TableFact, c as TableLiveLocation, d as asWriteConflict, e as createRecordsClient, i as intersectIds, f as isAPersonsRefusal, p as planQuery, w as withTableFacts } from '../client-BfNJEpar.cjs';
12
- export { D as DEFAULT_FIELDS, a as DeclareResult, E as EnsureResult, N as NewFieldSpec, b as NewTableSpec, c as addFields, d as declareTable, e as ensureTable, f as fieldDeclarationFor, t as tokenFor } from '../declareTable-CzLMdOSy.cjs';
8
+ export { f as AggregateBucket, A as AggregateCompare, v as AggregateCompareKind, w as AggregateCompareWindows, x as AggregateDelta, r as AggregateFilter, y as AggregateGroupValue, i as AggregateMeasure, q as AggregateOperation, j as AggregateRow, z as AggregateWindow, a as BookingAvailability, b as BookingDeclared, B as BookingSummary, C as BookingWindow, e as DashboardBlock, s as DashboardBlockKind, E as DashboardBlockResult, g as DashboardRunResult, D as DashboardSummary, G as DashboardTarget, H as DashboardTargetBase, I as DashboardTargetOp, J as DashboardTargetResult, K as DashboardTotals, m as DigestPreview, d as FormResults, c as FormRoute, F as FormSummary, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, L as Rule, N as RuleAnswer, u as RuleExpression, O as SavedViewColorBy, P as SavedViewDefinition, T as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, S as StoreFilter, h as StuckRow, k as Subscription, U as SubscriptionBlock, t as SubscriptionCadence, l as SubscriptionSpec, V as bookingPath, W as callersTimeZone, X as hasQuietHours, Y as isRuleFilter, Z as liftWithheld, _ as measureKey, $ as publicFormPath, a0 as stableFilterKey, a1 as withCallersClock } from '../subscription-B_WaT-kr.cjs';
9
+ import { b as RecordsDataSource } from '../ports-y1QNfM80.cjs';
10
+ export { c as RecordsActor, d as RecordsChangeSink, a as RecordsConfig, e as RecordsErrorSink, f as RecordsFilter, R as RecordsRealtimePort, g as RecordsResolverPort, h as RecordsResponse, i as RecordsTableQuery } from '../ports-y1QNfM80.cjs';
11
+ export { A as A_PERSONS_REFUSAL, a as AsOf, D as DEFAULT_PAGE_SIZE, P as PromotedPredicate, Q as QueryPlan, b as RecordQuery, R as RecordsClient, T as TableFact, c as TableLiveLocation, d as asWriteConflict, e as createRecordsClient, i as intersectIds, f as isAPersonsRefusal, p as planQuery, w as withTableFacts } from '../client-DLIKeBWF.cjs';
12
+ export { D as DEFAULT_FIELDS, a as DeclareResult, E as EnsureResult, N as NewFieldSpec, b as NewTableSpec, c as addFields, d as declareTable, e as ensureTable, f as fieldDeclarationFor, t as tokenFor } from '../declareTable-02uao-5n.cjs';
13
13
 
14
14
  declare function doorExists(name: string): boolean;
15
15
  /**
@@ -133,6 +133,7 @@ declare const DOORS: {
133
133
  readonly formPreviewRoute: "form_preview_route";
134
134
  /** TYPEFORM-DUP: views, starts, completions, drop-off and answers per question. */
135
135
  readonly formResults: "form_results";
136
+ readonly formKnobs: "form_knobs";
136
137
  readonly formLookOptions: "form_look_options";
137
138
  readonly bookings: "bookings";
138
139
  readonly bookingDeclare: "booking_declare";
@@ -488,6 +489,15 @@ declare function primeTablePageBundle(input: {
488
489
  declare function takePrimedTablePageBundle(organizationId: string | null | undefined, tableId: string, viewId: string | null | undefined): Promise<PrimedBundleAnswer> | null;
489
490
  /** Tests only: forget every primed answer. */
490
491
  declare function forgetPrimedTablePageBundles(): void;
492
+ /**
493
+ * A RECORD PAGE'S BUNDLE (`custom.record_page_bundle`), asked elsewhere as the same person — the
494
+ * record-page twin of `primeTablePageBundle`, held in the same registry, used once, while fresh.
495
+ */
496
+ declare function primeRecordPageBundle(input: {
497
+ organizationId: string;
498
+ recordId: string;
499
+ answer: Promise<PrimedBundleAnswer> | PrimedBundleAnswer;
500
+ }): void;
491
501
 
492
502
  /**
493
503
  * The structural shape of the supabase client this adapter needs. Deliberately
@@ -669,4 +679,4 @@ type ReadFileText = (fileId: Uuid) => Promise<string>;
669
679
  */
670
680
  declare function withWholeValues(rows: ExportRow[], read?: ReadFileText | null): Promise<ExportRow[]>;
671
681
 
672
- export { type BlockOutcome, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_VALUE_MAX_BYTES, DOORS, type DoorKey, type ExportRow, Field, LANDING_SOURCE_TYPE, LANDING_TARGET_TYPES, type Landing, type LandingBlock, type LandingOutcomes, type LandingState, type LandingStore, MAPPED_SQLSTATES, type MirrorLimits, OUTPUT_KEPT_KEY, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, exportCellText, exportCsv, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, landingOutcomesFor, mapPgError, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeTablePageBundle, staleWriteDetail, supabaseDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
682
+ export { type BlockOutcome, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_VALUE_MAX_BYTES, DOORS, type DoorKey, type ExportRow, Field, LANDING_SOURCE_TYPE, LANDING_TARGET_TYPES, type Landing, type LandingBlock, type LandingOutcomes, type LandingState, type LandingStore, MAPPED_SQLSTATES, type MirrorLimits, OUTPUT_KEPT_KEY, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, exportCellText, exportCsv, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, landingOutcomesFor, mapPgError, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeRecordPageBundle, primeTablePageBundle, staleWriteDetail, supabaseDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
@@ -1,15 +1,15 @@
1
- import { R as RecordsError, h as RecordsResult, P as PgError, y as StaleWriteDetail, g as RecordDocument, z as PredictedRefusal, s as ReadValue, U as Uuid } from '../record-DCaOJbhA.js';
2
- export { B as ABSENCE_REASONS, E as ACTOR_VOCABULARY, G as AbsenceReason, A as Actor, I as COMPUTE_ON, J as CONTEXT_POLICIES, C as ComputeOn, c as ContextPolicy, K as DECLARABLE_FIELD_KINDS, L as DELIVERIES, D as DeclarableFieldKind, M as Delivery, N as ENTITY_TOKENS, Q as EntityToken, V as FIELD_SENSITIVITIES, X as FIELD_SOURCES, Y as FRESHNESS, u as FieldBehavior, b as FieldSensitivity, F as FieldSource, Z as ForbiddenEnvelopeWord, _ as Freshness, H as HiddenFieldNotice, $ as KERNEL_TABLES, a0 as KernelTableName, a1 as KeysetRow, a2 as MERGE_FIELD_MODIFIERS, a3 as MERGE_FIELD_SEMANTIC_TYPES, a4 as MERGE_FIELD_SOURCES, a5 as MergeFieldModifier, a6 as MergeFieldSemanticType, a7 as MergeFieldSource, a8 as ON_DELETE, a9 as OVERRIDE_POLICIES, O as OnDelete, aa as OverridePolicy, ab as PARITY_FIELD_TYPES, ac as PER_VALUE_ACCESS_WORDS, v as ParityFieldType, ad as PerValueAccessWord, ae as ProvenancePointer, af as RELATION_BINDINGS, ag as RELATION_CARDINALITIES, ah as RELATION_FLAVORS, ai as RETIRED_ACTOR_WORDS, aj as RULE_NODE_KINDS, ak as RULE_USES, m as ReadRow, i as RecordChange, j as RecordChangeResult, k as RecordGraphWritten, p as RecordKeysetPage, o as RecordPage, n as RecordPageSort, l as RecordRead, r as RecordRevision, t as RecordsErrorCode, al as RelationBinding, e as RelationCardinality, d as RelationFlavor, am as RetiredActorWord, w as RuleNodeKind, x as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, q as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, a as TableDisplay, aw as TableOrigin, T as TableType, f as Timestamp, ax as VALUE_ALTERNATE_KEYS, ay as VALUE_ENVELOPE_KEYS, az as ValueAlternate, aA as ValueAlternateKey, aB as ValueEnvelope, aC as ValueEnvelopeKey, aD as ValueSource, W as WriteConflict, aE as err, aF as isRecordsErr, aG as ok } from '../record-DCaOJbhA.js';
3
- import { u as TableKindFacts } from '../table-kind-B9RBUmSb.js';
4
- export { bL as ARCHIVE_LANES, bM as ARCHIVE_LANE_LABEL, bN as ARCHIVE_LANE_MEANS, bO as ActionRefusal, bs as ActionRunResult, aR as AnonTokenBinding, A as ArchiveLane, ac as ArchivedChecklistTemplate, bP as ArchivedDoorRow, ab as ArchivedForm, e as ArchivedRow, bQ as AutomationAction, bu as AutomationDeclared, bR as AutomationFilter, bw as AutomationFlipped, bS as AutomationItem, bT as AutomationLastRun, bv as AutomationList, bU as AutomationRun, bV as AutomationRunStatus, bx as AutomationRuns, bt as AutomationSpec, bW as AutomationStep, bX as AutomationTrigger, bY as AutomationValue, bZ as AutomationValues, b_ as BUILT_KIND_WORD, b$ as CHOICE_NUDGES, c0 as CaptureField, ar as CaptureFileRef, as as CaptureOutcome, c1 as CaptureQuestion, aq as CaptureSheetFace, ap as CaptureSheetSummary, aT as ChecklistDeclared, c2 as ChecklistRequirement, c3 as ChecklistRequirementKind, c4 as ChecklistRoleSpec, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aS as ChecklistSpec, aZ as ChecklistStepCompleted, c5 as ChecklistStepSpec, aV as ChecklistTemplateShape, aU as ChecklistTemplateSummary, c6 as ChecklistTrigger, c7 as ChecklistTriggerKind, k as ChoiceCellBack, c8 as ChoiceLike, C as ChoiceNudge, c9 as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aP as CommentThreadRead, aQ as CommentWritten, aK as ConversationScope, aL as ConversationScopeContext, ca as CustomFieldTableType, cb as DEFAULT_ARCHIVE_LANE, cc as DEFAULT_PORTAL_ARCHIVE_FILTER, cd as DRILL_CHART_TOKENS, ce as DRILL_DESCRIPTION_MAX, cf as DRILL_DOORS, cg as DRILL_SCHEMA, bD as DataHomeTable, ch as DecorationColor, bn as DecorationPath, ci as DecorationRule, cj as DecorationRuleOp, ck as DecorationTarget, aG as DocRenderRow, cl as DocSignatureCheck, aH as DocSignatureRow, aF as DocTemplateRow, aD as DocToken, aE as DocUnresolvedToken, cm as DrillAdHocOp, aB as DrillAnswer, cn as DrillAnswerRow, co as DrillChartToken, cp as DrillDeclaration, az as DrillDefinition, cq as DrillDimension, cr as DrillFinding, cs as DrillGrain, ct as DrillHaving, cu as DrillLane, cv as DrillLevel, cw as DrillMeasure, cx as DrillMeasureOp, cy as DrillMeasureWhereValue, cz as DrillPath, aA as DrillQuestion, cA as DrillRecords, aC as DrillRowsPage, ay as DrillSource, cB as DrillView, cC as EnrichAlternate, aw as EnrichCell, au as EnrichDeclared, av as EnrichDueRow, ax as EnrichRun, cD as EnrichSource, cE as Enrichment, at as EnrichmentSummary, cF as EntityBackLinkItem, y as EntityBackLinks, w as EntityFieldRights, cG as EntityFieldValue, v as EntityFieldsAcross, cH as EntityRecordMatch, x as EntityRecordRead, B as EntityRecordsFound, cI as EntityRef, bK as EntityRefWithWords, cJ as EntityReferenceKind, z as EntityRowWritten, E as EntityTableFacts, bi as ExternalPrincipalCard, F as FieldDrift, cK as FieldDriftAspect, aM as FieldHistoryEntry, n as FieldRetyped, aa as FormArchiveAnswer, Y as FormLookOptions, bq as FormulaParse, bp as GridLayout, cL as GridLayoutMode, cM as GridRowHeight, cN as HistoryActor, cO as HistoryActorKind, cP as HistoryChange, cQ as Home, a1 as ImportBatchResult, cR as ImportColumnPlan, a0 as ImportColumnsDeclared, a2 as ImportFinished, $ as ImportOpened, cS as ImportOutcome, Z as ImportPlan, _ as ImportPolicy, cT as ImportProposal, a3 as ImportReport, a4 as ImportRun, a6 as InboundAddress, a5 as InboundDeclared, b7 as InboxCounts, b6 as InboxStateChange, bB as IoExportPage, M as MigrationUndone, bm as MyLevel, N as NewEntityFieldDeclaration, bI as OutsideShareAnswer, cU as PERMISSION_LEVELS, cV as PIPELINE_RULE_KINDS, cW as PORTAL_ACCENTS, cX as PORTAL_ARCHIVE_FILTERS, cY as PermissionLevel, P as Pipeline, D as PipelineColumn, L as PipelineDeclared, W as PipelineGate, X as PipelineGatePreview, cZ as PipelineMissingField, J as PipelineMoveMany, I as PipelineMoveManyItem, c_ as PipelineMoveManyResult, H as PipelineMoveResult, c$ as PipelineMoveVerdict, d0 as PipelineRule, d1 as PipelineRuleKind, K as PipelineSpec, d2 as PipelineStage, G as PipelineVerdict, d3 as PortalAccent, a9 as PortalArchiveAnswer, a8 as PortalArchiveFilter, ai as PortalCard, d4 as PortalConfig, aj as PortalConfigInput, d5 as PortalFooterLink, al as PortalFormAnswer, d6 as PortalFormInput, d7 as PortalFormRef, ak as PortalFormSpec, am as PortalInvitation, ao as PortalPreviewRow, d8 as PortalPrincipal, an as PortalRevocation, d9 as PortalStage, da as PortalStyle, db as PortalStyleInput, a7 as PortalSummary, dc as PortalTableExposure, ah as PortalTableRef, dd as PublicPicture, bj as PublishBinding, de as PublishBindingKind, df as REVERSE_LINKS_PAGE_MAX, dg as REVERSE_LINKS_RECORDS_PER_CALL, dh as ROW_WEB_NOT_READY, di as RecordChangeAction, dj as RecordComment, by as RecordEvent, bH as RecordHeader, aI as RecordHistoryEntry, ag as RecordRowControls, dk as RecordScopeComment, aJ as RecordScopeContext, dl as RecordScopeField, dm as RecordScopeHistoryEntry, dn as RecordScopeRelation, dp as RecordScopeWithheld, o as RecordsMerged, dq as RegisteredTable, dr as Relation, ds as RelationCarries, R as RelationCoordinate, q as RelationIcons, dt as RelationProperties, du as RelationTarget, p as RelationWordsManyArgs, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, aN as RestorePreview, aO as RestoreResult, dv as RetypeBehaviour, dw as RetypePreview, r as ReverseColumn, dx as ReverseLink, t as ReverseLinks, s as ReverseLinksManyArgs, br as RowAction, dy as RowActionStep, af as RowDefaultsApplied, dz as SHOWN_TO_LABEL, dA as SHOWN_TO_VALUES, dB as SHOWN_TO_WHO_MAY_CHANGE, dC as STAGE_RULE_ENFORCEMENT, dD as STAGE_RULE_ON_FAIL, dE as ShownTo, S as SourceArchived, U as StagePending, V as StagePendingOnBoard, Q as StageRuleEnforcement, O as StageRuleOnFail, dF as StageRuleWarning, dG as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bo as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dH as TableHomeDestination, bC as TableListEntry, h as TableMoved, dI as TablePlacement, dJ as TablePlacementFact, dK as TableRenderSchema, a as TableRestoreProgress, bG as TableRowCount, ad as TableRowDefaults, ae as TableRowDefaultsPatch, dL as TableSchemaMode, bF as TableSyncResult, dM as TableSyncSource, bE as TableSyncSpec, bA as TableWebhook, bz as TableWebhookDeclared, dN as TypedChoiceDecision, dO as ViewLayout, bJ as ViewOrderSet, bf as WorkApprovalDecision, be as WorkApprovalFiled, dP as WorkApprovalState, bc as WorkApprover, ba as WorkAssignment, b2 as WorkAssignmentField, bd as WorkChange, bh as WorkDecideMany, bg as WorkDecideManyItem, dQ as WorkDecideManyResult, dR as WorkDecideVerdict, dS as WorkDueState, a$ as WorkGraph, b5 as WorkInboxItem, dT as WorkInboxKind, b4 as WorkInboxView, b0 as WorkInstantiation, b8 as WorkListFlavour, b9 as WorkListItem, dU as WorkOrigin, bb as WorkRecordState, b3 as WorkSlotHold, a_ as WorkState, dV as WorkTemplateNode, dW as WorkTemplateRelation, b1 as WorkTurn, dX as actionRefusals, dY as archivedByLine, dZ as archivedWhen, d_ as asChoiceNudge, d$ as asPermissionLevel, e0 as atLeast, e1 as choiceSlug, e2 as choiceValuesOf, e3 as choicesOf, e4 as decideTypedChoice, e5 as declareDrillDefinition, e6 as drillAnswerOf, e7 as drillFindingKnob, e8 as emptyArchiveLine, e9 as emptyPortalArchiveLine, ea as entityReferenceKinds, eb as entityReferenceSearch, ec as entityReferenceWords, ed as entityRefsOf, ee as entityRefsToWrite, ef as exportPageXlsx, eg as fieldKindOf, eh as highestLevel, ei as holdsARetiredChoice, ej as isArchiveLane, ek as isFoundation, el as isPortalAccent, em as isPortalArchiveFilter, en as isShownTo, eo as isTableKind, ep as isTheChosen, eq as keptGroups, er as keptOutOfSight, es as keptTableHref, et as looksLikeAnId, eu as mayDrag, ev as moveConsequence, ew as moveInOrder, ex as offeredAsContext, ey as optionKey, ez as optionLabel, eA as parseFieldDrift, eB as parseTableCopiesInProgress, eC as parseTableDuplicateProgress, eD as parseTableDuplicated, eE as parseTableHome, eF as parseTableMoved, eG as portalArchiveConsequence, eH as portalConfirmLine, eI as portalPath, eJ as portalTitleTypedBack, eK as previewRetype, eL as previewRuleChange, eM as recordChangeTrigger, eN as recordSourceKey, eO as recordSourceTable, eP as recordsUseSentence, eQ as rehomeSentence, eR as removedChoicesInUse, eS as ruleThatRefuses, eT as rulesWithTopStar, eU as sameDocument, eV as scopeChip, eW as sheetSyncSpec, eX as sourceArchivedOf, eY as tableIdOf, eZ as tableJsonSchema, e_ as tableKindMapping, e$ as tableKindSlug, f0 as tableRenderSchema, f1 as valueConverts, f2 as withRowCounts, f3 as withTablePlacement } from '../table-kind-B9RBUmSb.js';
5
- import { b as Field } from '../field-DJAvDExi.js';
6
- export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, B as BARCODE_SYMBOLOGIES, C as ChoiceOptions, i as CoerceOptions, j as Coerced, k as CoercedAnswers, l as CoercibleField, m as FIELD_KINDS, d as FieldDuplicated, n as FieldKind, o as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, p as NEWER_FIELD_KINDS, q as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, r as NewerFieldKind, P as ParityFieldTypeDescriptor, s as PersonStamp, t as RelationDisplay, u as RelationNameIndex, v as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, w as STATUS_GROUP_WORDS, x as SYSTEM_WRITER_WORDS, y as StatusGroup, T as TableProposal, z as addressFromText, D as addressMapUrl, E as addressText, G as allowsOtherValues, H as coerceTypedAnswer, I as coerceTypedAnswers, J as coercionLabel, L as durationText, M as entityReferenceKindsOf, O as fieldKindFor, Q as isAddressValue, U as isEntityReferenceConfig, V as isPersonStamp, W as newerKindExportWords, X as newerKindOf, Y as newerKindWords, Z as personStampText, _ as ratingMaxOf, $ as readTypedDuration, a0 as relationNameIndexOf, a1 as relationNameKey, a2 as relationNamesIn, a3 as richTextPlain, a4 as safeLinkHref, a5 as splitListCell, a6 as statusGroupOf } from '../field-DJAvDExi.js';
1
+ import { R as RecordsError, h as RecordsResult, P as PgError, y as StaleWriteDetail, g as RecordDocument, z as PredictedRefusal, s as ReadValue, U as Uuid } from '../record-1yDCn169.js';
2
+ export { B as ABSENCE_REASONS, E as ACTOR_VOCABULARY, G as AbsenceReason, A as Actor, I as COMPUTE_ON, J as CONTEXT_POLICIES, C as ComputeOn, c as ContextPolicy, K as DECLARABLE_FIELD_KINDS, L as DELIVERIES, D as DeclarableFieldKind, M as Delivery, N as ENTITY_TOKENS, Q as EntityToken, V as FIELD_SENSITIVITIES, X as FIELD_SOURCES, Y as FRESHNESS, u as FieldBehavior, b as FieldSensitivity, F as FieldSource, Z as ForbiddenEnvelopeWord, _ as Freshness, H as HiddenFieldNotice, $ as KERNEL_TABLES, a0 as KernelTableName, a1 as KeysetRow, a2 as MERGE_FIELD_MODIFIERS, a3 as MERGE_FIELD_SEMANTIC_TYPES, a4 as MERGE_FIELD_SOURCES, a5 as MergeFieldModifier, a6 as MergeFieldSemanticType, a7 as MergeFieldSource, a8 as ON_DELETE, a9 as OVERRIDE_POLICIES, O as OnDelete, aa as OverridePolicy, ab as PARITY_FIELD_TYPES, ac as PER_VALUE_ACCESS_WORDS, v as ParityFieldType, ad as PerValueAccessWord, ae as ProvenancePointer, af as RELATION_BINDINGS, ag as RELATION_CARDINALITIES, ah as RELATION_FLAVORS, ai as RETIRED_ACTOR_WORDS, aj as RULE_NODE_KINDS, ak as RULE_USES, m as ReadRow, i as RecordChange, j as RecordChangeResult, k as RecordGraphWritten, p as RecordKeysetPage, o as RecordPage, n as RecordPageSort, l as RecordRead, r as RecordRevision, t as RecordsErrorCode, al as RelationBinding, e as RelationCardinality, d as RelationFlavor, am as RetiredActorWord, w as RuleNodeKind, x as RuleUse, an as STORAGE_MODES, ao as STORE_DOORS, ap as STORE_KNOBS, aq as STORE_REFUSAL_CODES, S as StorageMode, ar as StoreDoorName, as as StoreRefusalCode, q as StoredRecord, at as TABLE_DISPLAYS, au as TABLE_ORIGINS, av as TABLE_TYPES, a as TableDisplay, aw as TableOrigin, T as TableType, f as Timestamp, ax as VALUE_ALTERNATE_KEYS, ay as VALUE_ENVELOPE_KEYS, az as ValueAlternate, aA as ValueAlternateKey, aB as ValueEnvelope, aC as ValueEnvelopeKey, aD as ValueSource, W as WriteConflict, aE as err, aF as isRecordsErr, aG as ok } from '../record-1yDCn169.js';
3
+ import { u as TableKindFacts } from '../table-kind-COmkYYkc.js';
4
+ export { bL as ARCHIVE_LANES, bM as ARCHIVE_LANE_LABEL, bN as ARCHIVE_LANE_MEANS, bO as ActionRefusal, bs as ActionRunResult, aR as AnonTokenBinding, A as ArchiveLane, ac as ArchivedChecklistTemplate, bP as ArchivedDoorRow, ab as ArchivedForm, e as ArchivedRow, bQ as AutomationAction, bu as AutomationDeclared, bR as AutomationFilter, bw as AutomationFlipped, bS as AutomationItem, bT as AutomationLastRun, bv as AutomationList, bU as AutomationRun, bV as AutomationRunStatus, bx as AutomationRuns, bt as AutomationSpec, bW as AutomationStep, bX as AutomationTrigger, bY as AutomationValue, bZ as AutomationValues, b_ as BUILT_KIND_WORD, b$ as CHOICE_NUDGES, c0 as CaptureField, ar as CaptureFileRef, as as CaptureOutcome, c1 as CaptureQuestion, aq as CaptureSheetFace, ap as CaptureSheetSummary, aT as ChecklistDeclared, c2 as ChecklistRequirement, c3 as ChecklistRequirementKind, c4 as ChecklistRoleSpec, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aS as ChecklistSpec, aZ as ChecklistStepCompleted, c5 as ChecklistStepSpec, aV as ChecklistTemplateShape, aU as ChecklistTemplateSummary, c6 as ChecklistTrigger, c7 as ChecklistTriggerKind, k as ChoiceCellBack, c8 as ChoiceLike, C as ChoiceNudge, c9 as ChoiceOption, j as ChoiceRehome, i as ChoiceUsage, l as ChoicesRehomed, aP as CommentThreadRead, aQ as CommentWritten, aK as ConversationScope, aL as ConversationScopeContext, ca as CustomFieldTableType, cb as DEFAULT_ARCHIVE_LANE, cc as DEFAULT_PORTAL_ARCHIVE_FILTER, cd as DRILL_CHART_TOKENS, ce as DRILL_DESCRIPTION_MAX, cf as DRILL_DOORS, cg as DRILL_SCHEMA, bD as DataHomeTable, ch as DecorationColor, bn as DecorationPath, ci as DecorationRule, cj as DecorationRuleOp, ck as DecorationTarget, aG as DocRenderRow, cl as DocSignatureCheck, aH as DocSignatureRow, aF as DocTemplateRow, aD as DocToken, aE as DocUnresolvedToken, cm as DrillAdHocOp, aB as DrillAnswer, cn as DrillAnswerRow, co as DrillChartToken, cp as DrillDeclaration, az as DrillDefinition, cq as DrillDimension, cr as DrillFinding, cs as DrillGrain, ct as DrillHaving, cu as DrillLane, cv as DrillLevel, cw as DrillMeasure, cx as DrillMeasureOp, cy as DrillMeasureWhereValue, cz as DrillPath, aA as DrillQuestion, cA as DrillRecords, aC as DrillRowsPage, ay as DrillSource, cB as DrillView, cC as EnrichAlternate, aw as EnrichCell, au as EnrichDeclared, av as EnrichDueRow, ax as EnrichRun, cD as EnrichSource, cE as Enrichment, at as EnrichmentSummary, cF as EntityBackLinkItem, y as EntityBackLinks, w as EntityFieldRights, cG as EntityFieldValue, v as EntityFieldsAcross, cH as EntityRecordMatch, x as EntityRecordRead, B as EntityRecordsFound, cI as EntityRef, bK as EntityRefWithWords, cJ as EntityReferenceKind, z as EntityRowWritten, E as EntityTableFacts, bi as ExternalPrincipalCard, F as FieldDrift, cK as FieldDriftAspect, aM as FieldHistoryEntry, n as FieldRetyped, aa as FormArchiveAnswer, Y as FormLookOptions, bq as FormulaParse, bp as GridLayout, cL as GridLayoutMode, cM as GridRowHeight, cN as HistoryActor, cO as HistoryActorKind, cP as HistoryChange, cQ as Home, a1 as ImportBatchResult, cR as ImportColumnPlan, a0 as ImportColumnsDeclared, a2 as ImportFinished, $ as ImportOpened, cS as ImportOutcome, Z as ImportPlan, _ as ImportPolicy, cT as ImportProposal, a3 as ImportReport, a4 as ImportRun, a6 as InboundAddress, a5 as InboundDeclared, b7 as InboxCounts, b6 as InboxStateChange, bB as IoExportPage, M as MigrationUndone, bm as MyLevel, N as NewEntityFieldDeclaration, bI as OutsideShareAnswer, cU as PERMISSION_LEVELS, cV as PIPELINE_RULE_KINDS, cW as PORTAL_ACCENTS, cX as PORTAL_ARCHIVE_FILTERS, cY as PermissionLevel, P as Pipeline, D as PipelineColumn, L as PipelineDeclared, W as PipelineGate, X as PipelineGatePreview, cZ as PipelineMissingField, J as PipelineMoveMany, I as PipelineMoveManyItem, c_ as PipelineMoveManyResult, H as PipelineMoveResult, c$ as PipelineMoveVerdict, d0 as PipelineRule, d1 as PipelineRuleKind, K as PipelineSpec, d2 as PipelineStage, G as PipelineVerdict, d3 as PortalAccent, a9 as PortalArchiveAnswer, a8 as PortalArchiveFilter, ai as PortalCard, d4 as PortalConfig, aj as PortalConfigInput, d5 as PortalFooterLink, al as PortalFormAnswer, d6 as PortalFormInput, d7 as PortalFormRef, ak as PortalFormSpec, am as PortalInvitation, ao as PortalPreviewRow, d8 as PortalPrincipal, an as PortalRevocation, d9 as PortalStage, da as PortalStyle, db as PortalStyleInput, a7 as PortalSummary, dc as PortalTableExposure, ah as PortalTableRef, dd as PublicPicture, bj as PublishBinding, de as PublishBindingKind, df as REVERSE_LINKS_PAGE_MAX, dg as REVERSE_LINKS_RECORDS_PER_CALL, dh as ROW_WEB_NOT_READY, di as RecordChangeAction, dj as RecordComment, by as RecordEvent, bH as RecordHeader, aI as RecordHistoryEntry, ag as RecordRowControls, dk as RecordScopeComment, aJ as RecordScopeContext, dl as RecordScopeField, dm as RecordScopeHistoryEntry, dn as RecordScopeRelation, dp as RecordScopeWithheld, o as RecordsMerged, dq as RegisteredTable, dr as Relation, ds as RelationCarries, R as RelationCoordinate, q as RelationIcons, dt as RelationProperties, du as RelationTarget, p as RelationWordsManyArgs, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, aN as RestorePreview, aO as RestoreResult, dv as RetypeBehaviour, dw as RetypePreview, r as ReverseColumn, dx as ReverseLink, t as ReverseLinks, s as ReverseLinksManyArgs, br as RowAction, dy as RowActionStep, af as RowDefaultsApplied, dz as SHOWN_TO_LABEL, dA as SHOWN_TO_VALUES, dB as SHOWN_TO_WHO_MAY_CHANGE, dC as STAGE_RULE_ENFORCEMENT, dD as STAGE_RULE_ON_FAIL, dE as ShownTo, S as SourceArchived, U as StagePending, V as StagePendingOnBoard, Q as StageRuleEnforcement, O as StageRuleOnFail, dF as StageRuleWarning, dG as TABLE_KIND_PREFIX, f as Table, T as TableArchiveProgress, m as TableCapacity, d as TableCopyInProgress, bo as TableDecorations, b as TableDuplicateProgress, c as TableDuplicated, g as TableHome, dH as TableHomeDestination, bC as TableListEntry, h as TableMoved, dI as TablePlacement, dJ as TablePlacementFact, dK as TableRenderSchema, a as TableRestoreProgress, bG as TableRowCount, ad as TableRowDefaults, ae as TableRowDefaultsPatch, dL as TableSchemaMode, bF as TableSyncResult, dM as TableSyncSource, bE as TableSyncSpec, bA as TableWebhook, bz as TableWebhookDeclared, dN as TypedChoiceDecision, dO as ViewLayout, bJ as ViewOrderSet, bf as WorkApprovalDecision, be as WorkApprovalFiled, dP as WorkApprovalState, bc as WorkApprover, ba as WorkAssignment, b2 as WorkAssignmentField, bd as WorkChange, bh as WorkDecideMany, bg as WorkDecideManyItem, dQ as WorkDecideManyResult, dR as WorkDecideVerdict, dS as WorkDueState, a$ as WorkGraph, b5 as WorkInboxItem, dT as WorkInboxKind, b4 as WorkInboxView, b0 as WorkInstantiation, b8 as WorkListFlavour, b9 as WorkListItem, dU as WorkOrigin, bb as WorkRecordState, b3 as WorkSlotHold, a_ as WorkState, dV as WorkTemplateNode, dW as WorkTemplateRelation, b1 as WorkTurn, dX as actionRefusals, dY as archivedByLine, dZ as archivedWhen, d_ as asChoiceNudge, d$ as asPermissionLevel, e0 as atLeast, e1 as choiceSlug, e2 as choiceValuesOf, e3 as choicesOf, e4 as decideTypedChoice, e5 as declareDrillDefinition, e6 as drillAnswerOf, e7 as drillFindingKnob, e8 as emptyArchiveLine, e9 as emptyPortalArchiveLine, ea as entityReferenceKinds, eb as entityReferenceSearch, ec as entityReferenceWords, ed as entityRefsOf, ee as entityRefsToWrite, ef as exportPageXlsx, eg as fieldKindOf, eh as highestLevel, ei as holdsARetiredChoice, ej as isArchiveLane, ek as isFoundation, el as isPortalAccent, em as isPortalArchiveFilter, en as isShownTo, eo as isTableKind, ep as isTheChosen, eq as keptGroups, er as keptOutOfSight, es as keptTableHref, et as looksLikeAnId, eu as mayDrag, ev as moveConsequence, ew as moveInOrder, ex as offeredAsContext, ey as optionKey, ez as optionLabel, eA as parseFieldDrift, eB as parseTableCopiesInProgress, eC as parseTableDuplicateProgress, eD as parseTableDuplicated, eE as parseTableHome, eF as parseTableMoved, eG as portalArchiveConsequence, eH as portalConfirmLine, eI as portalPath, eJ as portalTitleTypedBack, eK as previewRetype, eL as previewRuleChange, eM as recordChangeTrigger, eN as recordSourceKey, eO as recordSourceTable, eP as recordsUseSentence, eQ as rehomeSentence, eR as removedChoicesInUse, eS as ruleThatRefuses, eT as rulesWithTopStar, eU as sameDocument, eV as scopeChip, eW as sheetSyncSpec, eX as sourceArchivedOf, eY as tableIdOf, eZ as tableJsonSchema, e_ as tableKindMapping, e$ as tableKindSlug, f0 as tableRenderSchema, f1 as valueConverts, f2 as withRowCounts, f3 as withTablePlacement } from '../table-kind-COmkYYkc.js';
5
+ import { b as Field } from '../field-BIJiFPc0.js';
6
+ export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, B as BARCODE_SYMBOLOGIES, C as ChoiceOptions, i as CoerceOptions, j as Coerced, k as CoercedAnswers, l as CoercibleField, m as FIELD_KINDS, d as FieldDuplicated, n as FieldKind, o as FieldOptionEdit, c as FieldPatch, e as FieldProposal, a as FieldRule, F as FieldTypeWord, K as KernelTargets, p as NEWER_FIELD_KINDS, q as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, r as NewerFieldKind, P as ParityFieldTypeDescriptor, s as PersonStamp, t as RelationDisplay, u as RelationNameIndex, v as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, w as STATUS_GROUP_WORDS, x as SYSTEM_WRITER_WORDS, y as StatusGroup, T as TableProposal, z as addressFromText, D as addressMapUrl, E as addressText, G as allowsOtherValues, H as coerceTypedAnswer, I as coerceTypedAnswers, J as coercionLabel, L as durationText, M as entityReferenceKindsOf, O as fieldKindFor, Q as isAddressValue, U as isEntityReferenceConfig, V as isPersonStamp, W as newerKindExportWords, X as newerKindOf, Y as newerKindWords, Z as personStampText, _ as ratingMaxOf, $ as readTypedDuration, a0 as relationNameIndexOf, a1 as relationNameKey, a2 as relationNamesIn, a3 as richTextPlain, a4 as safeLinkHref, a5 as splitListCell, a6 as statusGroupOf } from '../field-BIJiFPc0.js';
7
7
  export { CaptureQueue, CaptureQueueCounts, CaptureQueueOptions, CaptureQueuePorts, CaptureQueueStore, CaptureSyncReport, MergeField, MergeFieldProvenance, MergeFieldResolution, MergeFieldTransform, MissingBehavior, QueuedCapture, QueuedCaptureFile, QueuedCaptureState, REFUSALS_WORTH_REPEATING, ResolutionTriple, TypedDate, TypedMatchScore, TypedNumber, TypedTime, forgetAllOps, indexedDbStore, isDecided, isOwnOp, localeDateOrder, memoryStore, mintClientKey, mintOpId, openCaptureQueue, rankTypedMatches, readTypedDate, readTypedNumber, readTypedTime, rememberedOpCount, twoDigitYear, typedDateText, typedMatchScore, typedTimeText } from '../index.js';
8
- export { f as AggregateBucket, A as AggregateCompare, v as AggregateCompareKind, w as AggregateCompareWindows, x as AggregateDelta, r as AggregateFilter, y as AggregateGroupValue, i as AggregateMeasure, q as AggregateOperation, j as AggregateRow, z as AggregateWindow, a as BookingAvailability, b as BookingDeclared, B as BookingSummary, C as BookingWindow, e as DashboardBlock, s as DashboardBlockKind, E as DashboardBlockResult, g as DashboardRunResult, D as DashboardSummary, G as DashboardTarget, H as DashboardTargetBase, I as DashboardTargetOp, J as DashboardTargetResult, K as DashboardTotals, m as DigestPreview, d as FormResults, c as FormRoute, F as FormSummary, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, L as Rule, N as RuleAnswer, u as RuleExpression, O as SavedViewColorBy, P as SavedViewDefinition, T as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, S as StoreFilter, h as StuckRow, k as Subscription, U as SubscriptionBlock, t as SubscriptionCadence, l as SubscriptionSpec, V as bookingPath, W as callersTimeZone, X as hasQuietHours, Y as isRuleFilter, Z as liftWithheld, _ as measureKey, $ as publicFormPath, a0 as stableFilterKey, a1 as withCallersClock } from '../subscription-B9znK2dw.js';
9
- import { b as RecordsDataSource } from '../ports-Kpc-RihV.js';
10
- export { c as RecordsActor, d as RecordsChangeSink, a as RecordsConfig, e as RecordsErrorSink, f as RecordsFilter, R as RecordsRealtimePort, g as RecordsResolverPort, h as RecordsResponse, i as RecordsTableQuery } from '../ports-Kpc-RihV.js';
11
- export { A as A_PERSONS_REFUSAL, a as AsOf, D as DEFAULT_PAGE_SIZE, P as PromotedPredicate, Q as QueryPlan, b as RecordQuery, R as RecordsClient, T as TableFact, c as TableLiveLocation, d as asWriteConflict, e as createRecordsClient, i as intersectIds, f as isAPersonsRefusal, p as planQuery, w as withTableFacts } from '../client-DKKRZKNw.js';
12
- export { D as DEFAULT_FIELDS, a as DeclareResult, E as EnsureResult, N as NewFieldSpec, b as NewTableSpec, c as addFields, d as declareTable, e as ensureTable, f as fieldDeclarationFor, t as tokenFor } from '../declareTable-Cg522Sk0.js';
8
+ export { f as AggregateBucket, A as AggregateCompare, v as AggregateCompareKind, w as AggregateCompareWindows, x as AggregateDelta, r as AggregateFilter, y as AggregateGroupValue, i as AggregateMeasure, q as AggregateOperation, j as AggregateRow, z as AggregateWindow, a as BookingAvailability, b as BookingDeclared, B as BookingSummary, C as BookingWindow, e as DashboardBlock, s as DashboardBlockKind, E as DashboardBlockResult, g as DashboardRunResult, D as DashboardSummary, G as DashboardTarget, H as DashboardTargetBase, I as DashboardTargetOp, J as DashboardTargetResult, K as DashboardTotals, m as DigestPreview, d as FormResults, c as FormRoute, F as FormSummary, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, L as Rule, N as RuleAnswer, u as RuleExpression, O as SavedViewColorBy, P as SavedViewDefinition, T as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, S as StoreFilter, h as StuckRow, k as Subscription, U as SubscriptionBlock, t as SubscriptionCadence, l as SubscriptionSpec, V as bookingPath, W as callersTimeZone, X as hasQuietHours, Y as isRuleFilter, Z as liftWithheld, _ as measureKey, $ as publicFormPath, a0 as stableFilterKey, a1 as withCallersClock } from '../subscription-CUok1vAm.js';
9
+ import { b as RecordsDataSource } from '../ports-Y5gLbCXe.js';
10
+ export { c as RecordsActor, d as RecordsChangeSink, a as RecordsConfig, e as RecordsErrorSink, f as RecordsFilter, R as RecordsRealtimePort, g as RecordsResolverPort, h as RecordsResponse, i as RecordsTableQuery } from '../ports-Y5gLbCXe.js';
11
+ export { A as A_PERSONS_REFUSAL, a as AsOf, D as DEFAULT_PAGE_SIZE, P as PromotedPredicate, Q as QueryPlan, b as RecordQuery, R as RecordsClient, T as TableFact, c as TableLiveLocation, d as asWriteConflict, e as createRecordsClient, i as intersectIds, f as isAPersonsRefusal, p as planQuery, w as withTableFacts } from '../client-D1LTezMZ.js';
12
+ export { D as DEFAULT_FIELDS, a as DeclareResult, E as EnsureResult, N as NewFieldSpec, b as NewTableSpec, c as addFields, d as declareTable, e as ensureTable, f as fieldDeclarationFor, t as tokenFor } from '../declareTable-C5FlIS0z.js';
13
13
 
14
14
  declare function doorExists(name: string): boolean;
15
15
  /**
@@ -133,6 +133,7 @@ declare const DOORS: {
133
133
  readonly formPreviewRoute: "form_preview_route";
134
134
  /** TYPEFORM-DUP: views, starts, completions, drop-off and answers per question. */
135
135
  readonly formResults: "form_results";
136
+ readonly formKnobs: "form_knobs";
136
137
  readonly formLookOptions: "form_look_options";
137
138
  readonly bookings: "bookings";
138
139
  readonly bookingDeclare: "booking_declare";
@@ -488,6 +489,15 @@ declare function primeTablePageBundle(input: {
488
489
  declare function takePrimedTablePageBundle(organizationId: string | null | undefined, tableId: string, viewId: string | null | undefined): Promise<PrimedBundleAnswer> | null;
489
490
  /** Tests only: forget every primed answer. */
490
491
  declare function forgetPrimedTablePageBundles(): void;
492
+ /**
493
+ * A RECORD PAGE'S BUNDLE (`custom.record_page_bundle`), asked elsewhere as the same person — the
494
+ * record-page twin of `primeTablePageBundle`, held in the same registry, used once, while fresh.
495
+ */
496
+ declare function primeRecordPageBundle(input: {
497
+ organizationId: string;
498
+ recordId: string;
499
+ answer: Promise<PrimedBundleAnswer> | PrimedBundleAnswer;
500
+ }): void;
491
501
 
492
502
  /**
493
503
  * The structural shape of the supabase client this adapter needs. Deliberately
@@ -669,4 +679,4 @@ type ReadFileText = (fileId: Uuid) => Promise<string>;
669
679
  */
670
680
  declare function withWholeValues(rows: ExportRow[], read?: ReadFileText | null): Promise<ExportRow[]>;
671
681
 
672
- export { type BlockOutcome, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_VALUE_MAX_BYTES, DOORS, type DoorKey, type ExportRow, Field, LANDING_SOURCE_TYPE, LANDING_TARGET_TYPES, type Landing, type LandingBlock, type LandingOutcomes, type LandingState, type LandingStore, MAPPED_SQLSTATES, type MirrorLimits, OUTPUT_KEPT_KEY, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, exportCellText, exportCsv, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, landingOutcomesFor, mapPgError, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeTablePageBundle, staleWriteDetail, supabaseDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
682
+ export { type BlockOutcome, DEFAULT_DOCUMENT_MAX_BYTES, DEFAULT_VALUE_MAX_BYTES, DOORS, type DoorKey, type ExportRow, Field, LANDING_SOURCE_TYPE, LANDING_TARGET_TYPES, type Landing, type LandingBlock, type LandingOutcomes, type LandingState, type LandingStore, MAPPED_SQLSTATES, type MirrorLimits, OUTPUT_KEPT_KEY, PRODUCED_BY_LABEL, type ParsedImport, PgError, PredictedRefusal, type PrimedBundleAnswer, type ReadFileText, ReadValue, RecordDocument, RecordsDataSource, RecordsError, RecordsResult, StaleWriteDetail, type SupabaseLike, TableKindFacts, Uuid, WHOLE_VALUE_SOURCE_KIND, type WholeValuePointer, announceRecordChanged, announceTableStructureChanged, asRecordsDataSource, blockLandedInStore, cellText, doorAbsent, doorCensus, doorExists, doorReady, exportCellText, exportCsv, exportXlsx, forgetPrimedTablePageBundles, importCsv, importXlsx, landingOutcomesFor, mapPgError, onRecordChanged, onTableStructureChanged, outcomeForBlock, outputIsKept, parseCsv, predictEnvelopeRefusal, predictSizeRefusal, predictValueRefusals, predictWriteRefusals, primeRecordPageBundle, primeTablePageBundle, staleWriteDetail, supabaseDataSource, tableKindFacts, takePrimedTablePageBundle, toAoa, valuesAreUnconfirmed, wholeValueNotRead, wholeValueOf, wholeValueOfRead, wholeValueSize, withWholeValues };
@@ -2625,21 +2625,25 @@ var STORE_DOORS = [
2625
2625
  { name: "form_declare", args: "p_organization_id uuid, p_table_id uuid, p_title text, p_questions jsonb, p_presentation jsonb DEFAULT '{}'::jsonb, p_submission_cap integer DEFAULT NULL::integer, p_quarantine_rule_id uuid DEFAULT NULL::uuid, p_notify_rule_id uuid DEFAULT NULL::uuid, p_form_id uuid DEFAULT NULL::uuid, p_slug text DEFAULT NULL::text", returns: "uuid", security: "definer" },
2626
2626
  { name: "form_draft_read", args: "p_form_id uuid, p_secret text", returns: "TABLE(answers jsonb, saved_at timestamp with time zone, expires_at timestamp with time zone, state text, message text)", security: "definer" },
2627
2627
  { name: "form_draft_save", args: "p_form_id uuid, p_answers jsonb, p_secret text DEFAULT NULL::text, p_bucket text DEFAULT NULL::text, p_origin text DEFAULT NULL::text", returns: "TABLE(draft_secret text, saved_at timestamp with time zone, expires_at timestamp with time zone, state text, message text)", security: "definer" },
2628
+ { name: "form_knobs", args: "p_organization_id uuid", returns: "jsonb", security: "definer" },
2628
2629
  { name: "form_look_options", args: "p_organization_id uuid, p_presentation jsonb DEFAULT '{}'::jsonb", returns: "jsonb", security: "definer" },
2629
2630
  { name: "form_notify", args: "p_organization_id uuid, p_form_id uuid, p_record_id uuid, p_submission_id uuid", returns: "uuid", security: "invoker" },
2630
2631
  { name: "form_preview_asks", args: "p_organization_id uuid, p_table_id uuid, p_questions jsonb, p_values jsonb", returns: "TABLE(field_key text, asked boolean, decided boolean, said text)", security: "definer" },
2631
2632
  { name: "form_preview_route", args: "p_organization_id uuid, p_table_id uuid, p_questions jsonb, p_endings jsonb, p_values jsonb", returns: "jsonb", security: "definer" },
2632
2633
  { name: "form_public", args: "p_form_id uuid", returns: "TABLE(form_id uuid, organization_id uuid, table_id uuid, title text, presentation jsonb, fields jsonb, honeypot_key text, state text, message text)", security: "definer" },
2633
2634
  { name: "form_public_asks", args: "p_form_id uuid, p_values jsonb, p_secret text DEFAULT NULL::text, p_origin text DEFAULT NULL::text", returns: "TABLE(field_key text, asked boolean, decided boolean, said text)", security: "definer" },
2635
+ { name: "form_public_options", args: "p_form_id uuid", returns: "jsonb", security: "definer" },
2634
2636
  { name: "form_public_route", args: "p_form_id uuid, p_values jsonb", returns: "jsonb", security: "definer" },
2635
2637
  { name: "form_redirect_domains", args: "p_organization_id uuid", returns: "text[]", security: "invoker" },
2636
2638
  { name: "form_redirect_refusal", args: "p_organization_id uuid, p_url text", returns: "text", security: "invoker" },
2639
+ { name: "form_respondent_copy", args: "p_organization_id uuid, p_form_id uuid, p_record_id uuid, p_submission_id uuid", returns: "jsonb", security: "definer" },
2637
2640
  { name: "form_restore", args: "p_organization_id uuid, p_form_id uuid", returns: "jsonb", security: "definer" },
2638
2641
  { name: "form_results", args: "p_organization_id uuid, p_form_id uuid", returns: "jsonb", security: "definer" },
2639
2642
  { name: "form_slug", args: "p_organization_id uuid, p_title text, p_form_id uuid DEFAULT NULL::uuid", returns: "text", security: "invoker" },
2640
2643
  { name: "form_submit", args: "p_form_id uuid, p_origin text, p_payload jsonb, p_bucket text, p_honeypot text DEFAULT NULL::text, p_client_key text DEFAULT NULL::text", returns: "TABLE(submission_id uuid, record_id uuid, state text, message text)", security: "definer" },
2641
2644
  { name: "form_theme_options", args: "", returns: "jsonb", security: "invoker" },
2642
2645
  { name: "form_visit", args: "p_form_id uuid, p_visit text, p_event text, p_field text DEFAULT NULL::text", returns: "text", security: "definer" },
2646
+ { name: "form_visit_admit", args: "p_form_id uuid, p_bucket text", returns: "boolean", security: "definer" },
2643
2647
  { name: "forms", args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid", returns: "TABLE(form_id uuid, table_id uuid, title text, slug text, published_at timestamp with time zone, closed_at timestamp with time zone, submission_cap integer, responses bigint, in_table bigint, held bigint, rejected bigint, state text, quarantine_rule_id uuid, notify_rule_id uuid, presentation jsonb)", security: "definer" },
2644
2648
  { name: "forms_archived", args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid, p_limit integer DEFAULT 100", returns: "TABLE(form_id uuid, table_id uuid, table_name text, kind text, title text, slug text, archived_at timestamp with time zone, archived_by uuid, table_archived boolean, can_restore boolean)", security: "definer" },
2645
2649
  { name: "formula_compile_sql", args: "p_organization_id uuid, p_expr jsonb, p_values_sql text", returns: "text", security: "invoker" },
@@ -2907,6 +2911,7 @@ var STORE_DOORS = [
2907
2911
  { name: "record_filter_sql", args: "p_organization_id uuid, p_table_id uuid, p_filter jsonb", returns: "text", security: "invoker" },
2908
2912
  { name: "record_headers", args: "p_organization_id uuid, p_ids uuid[]", returns: "TABLE(id uuid, table_id uuid, created_at timestamp with time zone, updated_at timestamp with time zone, version integer, deleted_at timestamp with time zone, mine boolean, created_by uuid)", security: "definer" },
2909
2913
  { name: "record_history", args: "p_organization_id uuid, p_record_id uuid, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0", returns: "TABLE(version integer, occurred_at timestamp with time zone, operation text, operation_label text, actor jsonb, changes jsonb, migration_id uuid, undoable boolean)", security: "definer" },
2914
+ { name: "record_page_bundle", args: "p_organization_id uuid, p_record_id uuid", returns: "jsonb", security: "invoker" },
2910
2915
  { name: "record_platform_keys", args: "", returns: "text[]", security: "invoker" },
2911
2916
  { name: "record_relation_edges", args: "p_organization_id uuid, p_id uuid, p_table_id uuid, p_data_class text, p_data jsonb, p_deleted_at timestamp with time zone", returns: "TABLE(target_id uuid, edge_role text, field_id uuid, ord integer)", security: "invoker" },
2912
2917
  { name: "record_reparent", args: "p_organization_id uuid, p_record_id uuid, p_parent_id uuid", returns: "void", security: "definer" },
@@ -3317,6 +3322,7 @@ var ENTITY_TOKENS = [
3317
3322
  "access_shadow_log",
3318
3323
  "account_addon",
3319
3324
  "account_closure",
3325
+ "account_facts",
3320
3326
  "acquisition_block",
3321
3327
  "activity",
3322
3328
  "admin_audit_log",
@@ -3607,6 +3613,7 @@ var ENTITY_TOKENS = [
3607
3613
  "deprecated_relation",
3608
3614
  "derive_run",
3609
3615
  "dev_login_audit",
3616
+ "device_handoff",
3610
3617
  "dict_entry",
3611
3618
  "dict_provider_publication",
3612
3619
  "dict_setting",
@@ -3642,12 +3649,15 @@ var ENTITY_TOKENS = [
3642
3649
  "esign_envelope",
3643
3650
  "esign_envelope_certificate",
3644
3651
  "esign_envelope_document",
3652
+ "esign_envelope_draft",
3645
3653
  "esign_envelope_event",
3646
3654
  "esign_envelope_external_ref",
3647
3655
  "esign_envelope_signer",
3648
3656
  "esign_provider",
3649
3657
  "esign_provider_binding",
3658
+ "esign_saved_signature",
3650
3659
  "esign_signing_key",
3660
+ "esign_template",
3651
3661
  "execution_event_cursor",
3652
3662
  "extension_auth_code",
3653
3663
  "external_link",
@@ -4274,6 +4284,7 @@ var ENTITY_TOKENS = [
4274
4284
  "tool_binding",
4275
4285
  "tool_bundle",
4276
4286
  "tool_call",
4287
+ "tool_call_facts",
4277
4288
  "tool_definition_version",
4278
4289
  "tool_executor",
4279
4290
  "tool_surface_defaults",
@@ -4308,6 +4319,7 @@ var ENTITY_TOKENS = [
4308
4319
  "uploads_inflight",
4309
4320
  "user",
4310
4321
  "user_achievement",
4322
+ "user_acquisition_facts",
4311
4323
  "user_active_context",
4312
4324
  "user_analysis_preference",
4313
4325
  "user_email_preference",
@@ -4836,6 +4848,39 @@ function takePrimedTablePageBundle(organizationId, tableId, viewId) {
4836
4848
  function forgetPrimedTablePageBundles() {
4837
4849
  registry().clear();
4838
4850
  }
4851
+ function primeRecordPageBundle(input) {
4852
+ primeTablePageBundle({ organizationId: input.organizationId, tableId: `record:${input.recordId}`, answer: input.answer });
4853
+ }
4854
+
4855
+ // src/core/recordChanges.ts
4856
+ var listeners = /* @__PURE__ */ new Set();
4857
+ function announceRecordChanged(recordId) {
4858
+ for (const listener of [...listeners]) {
4859
+ try {
4860
+ listener(recordId);
4861
+ } catch (thrown) {
4862
+ console.error("[@ai-matrx/records] a record-change listener threw", thrown);
4863
+ }
4864
+ }
4865
+ }
4866
+ function onRecordChanged(listener) {
4867
+ listeners.add(listener);
4868
+ return () => listeners.delete(listener);
4869
+ }
4870
+ var tableListeners = /* @__PURE__ */ new Set();
4871
+ function announceTableStructureChanged(tableId) {
4872
+ for (const listener of [...tableListeners]) {
4873
+ try {
4874
+ listener(tableId);
4875
+ } catch (thrown) {
4876
+ console.error("[@ai-matrx/records] a table-structure listener threw", thrown);
4877
+ }
4878
+ }
4879
+ }
4880
+ function onTableStructureChanged(listener) {
4881
+ tableListeners.add(listener);
4882
+ return () => tableListeners.delete(listener);
4883
+ }
4839
4884
 
4840
4885
  // src/core/keysetCursor.ts
4841
4886
  function utf8ToBinary(text2) {
@@ -5223,6 +5268,7 @@ var DOORS = {
5223
5268
  formPreviewRoute: "form_preview_route",
5224
5269
  /** TYPEFORM-DUP: views, starts, completions, drop-off and answers per question. */
5225
5270
  formResults: "form_results",
5271
+ formKnobs: "form_knobs",
5226
5272
  formLookOptions: "form_look_options",
5227
5273
  // PRODUCTS row 14 — "let clients book a 30-minute consult". A booking page IS an
5228
5274
  // `anon_form`, so it is opened and closed by `anonPublish` like any other; this is
@@ -5645,36 +5691,6 @@ function asRecordsDataSource(source) {
5645
5691
  return source;
5646
5692
  }
5647
5693
 
5648
- // src/core/recordChanges.ts
5649
- var listeners = /* @__PURE__ */ new Set();
5650
- function announceRecordChanged(recordId) {
5651
- for (const listener of [...listeners]) {
5652
- try {
5653
- listener(recordId);
5654
- } catch (thrown) {
5655
- console.error("[@ai-matrx/records] a record-change listener threw", thrown);
5656
- }
5657
- }
5658
- }
5659
- function onRecordChanged(listener) {
5660
- listeners.add(listener);
5661
- return () => listeners.delete(listener);
5662
- }
5663
- var tableListeners = /* @__PURE__ */ new Set();
5664
- function announceTableStructureChanged(tableId) {
5665
- for (const listener of [...tableListeners]) {
5666
- try {
5667
- listener(tableId);
5668
- } catch (thrown) {
5669
- console.error("[@ai-matrx/records] a table-structure listener threw", thrown);
5670
- }
5671
- }
5672
- }
5673
- function onTableStructureChanged(listener) {
5674
- tableListeners.add(listener);
5675
- return () => tableListeners.delete(listener);
5676
- }
5677
-
5678
5694
  // src/core/query.ts
5679
5695
  var DEFAULT_PAGE_SIZE = 50;
5680
5696
  function planQuery(query) {
@@ -5809,8 +5825,68 @@ function createRecordsClient(given) {
5809
5825
  } catch {
5810
5826
  }
5811
5827
  }
5828
+ const RECORD_OPENERS = /* @__PURE__ */ new Set(["read_record", "record_row_controls", "record_history", "comment_thread", "computed_provenance"]);
5829
+ const recordFlights = /* @__PURE__ */ new Map();
5830
+ const recordAsked = /* @__PURE__ */ new Map();
5831
+ let recordChangesHeard = false;
5832
+ function bundleRecordOf(door, args) {
5833
+ if (RECORD_OPENERS.has(door)) return typeof args["p_record_id"] === "string" ? args["p_record_id"] : null;
5834
+ const ids = args["p_ids"];
5835
+ const one = Array.isArray(ids) && ids.length === 1 && typeof ids[0] === "string" ? ids[0] : null;
5836
+ if (door === "record_headers") return one;
5837
+ if (door === "my_levels" && args["p_type"] === "record") return one;
5838
+ return null;
5839
+ }
5840
+ async function fillRecordBundle(recordId) {
5841
+ if (!recordChangesHeard) {
5842
+ recordChangesHeard = true;
5843
+ onRecordChanged((changed) => {
5844
+ recordAsked.delete(changed);
5845
+ for (const key of [...bundleParts.keys()]) if (key.includes(changed)) bundleParts.delete(key);
5846
+ });
5847
+ }
5848
+ try {
5849
+ const usable = (r) => r !== null && !r.error && r.data !== null && typeof r.data === "object" && Array.isArray(r.data.parts);
5850
+ const primedAnswer = takePrimedTablePageBundle(org, `record:${recordId}`, null);
5851
+ let response = primedAnswer ? await primedAnswer : null;
5852
+ if (!usable(response)) {
5853
+ response = await config.dataSource.rpc("record_page_bundle", { p_organization_id: org, p_record_id: recordId }, { schema });
5854
+ }
5855
+ if (!usable(response)) return;
5856
+ const now = Date.now();
5857
+ for (const part of response.data.parts) {
5858
+ if (part.error !== void 0 || part.data === void 0) continue;
5859
+ bundleParts.set(bundleKey(part.door, part.args), { data: part.data, at: now });
5860
+ }
5861
+ } catch {
5862
+ }
5863
+ }
5864
+ async function fromRecordBundle(door, args) {
5865
+ if (!doorReady(config, "record_page_bundle")) return void 0;
5866
+ const recordId = bundleRecordOf(door, args);
5867
+ if (!recordId) return void 0;
5868
+ const opener = RECORD_OPENERS.has(door);
5869
+ if (!opener && !recordFlights.has(recordId) && !recordAsked.has(recordId)) return void 0;
5870
+ const asked = recordAsked.get(recordId);
5871
+ const fresh = asked !== void 0 && Date.now() - asked < BUNDLE_TTL_MS;
5872
+ if (!fresh && opener) {
5873
+ recordAsked.set(recordId, Date.now());
5874
+ const flight2 = fillRecordBundle(recordId).finally(() => recordFlights.delete(recordId));
5875
+ recordFlights.set(recordId, flight2);
5876
+ }
5877
+ const flight = recordFlights.get(recordId);
5878
+ if (flight) await flight;
5879
+ const key = bundleKey(door, args);
5880
+ const held = bundleParts.get(key);
5881
+ if (!held) return opener ? null : void 0;
5882
+ bundleParts.delete(key);
5883
+ return Date.now() - held.at < BUNDLE_TTL_MS ? { data: held.data } : null;
5884
+ }
5812
5885
  async function fromBundle(door, args) {
5813
- if (!config.dataSource.opensInOneCall || !doorReady(config, "table_page_bundle")) return null;
5886
+ if (!config.dataSource.opensInOneCall) return null;
5887
+ const fromRecord = await fromRecordBundle(door, args);
5888
+ if (fromRecord !== void 0) return fromRecord;
5889
+ if (!doorReady(config, "table_page_bundle")) return null;
5814
5890
  const tableId = bundleTableOf(door, args);
5815
5891
  if (tableId) {
5816
5892
  const asked = bundleAsked.get(tableId);
@@ -7255,6 +7331,13 @@ function createRecordsClient(given) {
7255
7331
  "formResults"
7256
7332
  );
7257
7333
  },
7334
+ async formKnobs() {
7335
+ return callDoor(
7336
+ DOORS.formKnobs,
7337
+ { p_organization_id: org },
7338
+ "formKnobs"
7339
+ );
7340
+ },
7258
7341
  async formLookOptions(args) {
7259
7342
  return callDoor(
7260
7343
  DOORS.formLookOptions,
@@ -10068,6 +10151,7 @@ export {
10068
10151
  predictWriteRefusals,
10069
10152
  previewRetype,
10070
10153
  previewRuleChange,
10154
+ primeRecordPageBundle,
10071
10155
  primeTablePageBundle,
10072
10156
  publicFormPath,
10073
10157
  rankTypedMatches,