@ai-matrx/records 0.80.4 → 0.80.8
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.
- package/CHANGELOG.md +24 -0
- package/README.md +19 -0
- package/dist/app-table/index.cjs +88 -23
- package/dist/app-table/index.cjs.map +1 -1
- package/dist/app-table/index.d.cts +7 -7
- package/dist/app-table/index.d.ts +7 -7
- package/dist/app-table/index.js +88 -23
- package/dist/app-table/index.js.map +1 -1
- package/dist/{client-CB_Klj1P.d.ts → client-D1LTezMZ.d.ts} +5 -5
- package/dist/{client-D0yGEof4.d.cts → client-DLIKeBWF.d.cts} +5 -5
- package/dist/core/index.cjs +97 -31
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +21 -12
- package/dist/core/index.d.ts +21 -12
- package/dist/core/index.js +97 -31
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +88 -23
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +6 -6
- package/dist/data/index.d.ts +6 -6
- package/dist/data/index.js +88 -23
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-l7ktxN6p.d.cts → declareTable-02uao-5n.d.cts} +4 -4
- package/dist/{declareTable-DoYVueVF.d.ts → declareTable-C5FlIS0z.d.ts} +4 -4
- package/dist/{field-6UtYgFeu.d.ts → field-BIJiFPc0.d.ts} +1 -1
- package/dist/{field-DpJR_5Pe.d.cts → field-snQG2jMq.d.cts} +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/memory/index.cjs +1 -0
- package/dist/memory/index.cjs.map +1 -1
- package/dist/memory/index.d.cts +6 -6
- package/dist/memory/index.d.ts +6 -6
- package/dist/memory/index.js +1 -0
- package/dist/memory/index.js.map +1 -1
- package/dist/{ports-CiEYhwi5.d.ts → ports-Y5gLbCXe.d.ts} +1 -1
- package/dist/{ports-CE7umTp-.d.cts → ports-y1QNfM80.d.cts} +1 -1
- package/dist/react/index.cjs +89 -27
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +6 -1
- package/dist/react/index.d.ts +6 -1
- package/dist/react/index.js +89 -27
- package/dist/react/index.js.map +1 -1
- package/dist/realtime/index.d.cts +2 -2
- package/dist/realtime/index.d.ts +2 -2
- package/dist/{record-CvqV8wyO.d.cts → record-1yDCn169.d.cts} +6 -1
- package/dist/{record-CvqV8wyO.d.ts → record-1yDCn169.d.ts} +6 -1
- package/dist/{subscription-CC0kgkwa.d.cts → subscription-B_WaT-kr.d.cts} +1 -1
- package/dist/{subscription-DjkuDMcX.d.ts → subscription-CUok1vAm.d.ts} +1 -1
- package/dist/{table-kind-FMYq3nCr.d.ts → table-kind-COmkYYkc.d.ts} +3 -3
- package/dist/{table-kind-DHpMEOHd.d.cts → table-kind-LodkBhCZ.d.cts} +3 -3
- package/dist/templates/index.cjs +3 -2
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.d.cts +9 -9
- package/dist/templates/index.d.ts +9 -9
- package/dist/templates/index.js +3 -2
- package/dist/templates/index.js.map +1 -1
- package/dist/{types-DuceX7js.d.cts → types-BJGTxu3Y.d.cts} +2 -2
- package/dist/{types-BbCZJh1C.d.ts → types-C5-AaPa6.d.ts} +2 -2
- package/dist/{types-B4LF3sFx.d.ts → types-CU_Tn2Np.d.ts} +2 -2
- package/dist/{types-Flsf_KU5.d.cts → types-yBZLtxrZ.d.cts} +2 -2
- package/dist/use-cases/index.cjs.map +1 -1
- package/dist/use-cases/index.d.cts +5 -5
- package/dist/use-cases/index.d.ts +5 -5
- package/dist/use-cases/index.js.map +1 -1
- package/dist/{validate-EvZGkD96.d.cts → validate-CE6qpJIb.d.cts} +1 -1
- package/dist/{validate-DyVwSD74.d.ts → validate-Rz9djP6H.d.ts} +1 -1
- package/package.json +1 -1
package/dist/core/index.d.cts
CHANGED
|
@@ -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-
|
|
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-
|
|
3
|
-
import { u as TableKindFacts } from '../table-kind-
|
|
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-
|
|
5
|
-
import { b as Field } from '../field-
|
|
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-
|
|
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-
|
|
9
|
-
import { b as RecordsDataSource } from '../ports-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
/**
|
|
@@ -489,6 +489,15 @@ declare function primeTablePageBundle(input: {
|
|
|
489
489
|
declare function takePrimedTablePageBundle(organizationId: string | null | undefined, tableId: string, viewId: string | null | undefined): Promise<PrimedBundleAnswer> | null;
|
|
490
490
|
/** Tests only: forget every primed answer. */
|
|
491
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;
|
|
492
501
|
|
|
493
502
|
/**
|
|
494
503
|
* The structural shape of the supabase client this adapter needs. Deliberately
|
|
@@ -670,4 +679,4 @@ type ReadFileText = (fileId: Uuid) => Promise<string>;
|
|
|
670
679
|
*/
|
|
671
680
|
declare function withWholeValues(rows: ExportRow[], read?: ReadFileText | null): Promise<ExportRow[]>;
|
|
672
681
|
|
|
673
|
-
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 };
|
package/dist/core/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
3
|
-
import { u as TableKindFacts } from '../table-kind-
|
|
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-
|
|
5
|
-
import { b as Field } from '../field-
|
|
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-
|
|
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-
|
|
9
|
-
import { b as RecordsDataSource } from '../ports-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
/**
|
|
@@ -489,6 +489,15 @@ declare function primeTablePageBundle(input: {
|
|
|
489
489
|
declare function takePrimedTablePageBundle(organizationId: string | null | undefined, tableId: string, viewId: string | null | undefined): Promise<PrimedBundleAnswer> | null;
|
|
490
490
|
/** Tests only: forget every primed answer. */
|
|
491
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;
|
|
492
501
|
|
|
493
502
|
/**
|
|
494
503
|
* The structural shape of the supabase client this adapter needs. Deliberately
|
|
@@ -670,4 +679,4 @@ type ReadFileText = (fileId: Uuid) => Promise<string>;
|
|
|
670
679
|
*/
|
|
671
680
|
declare function withWholeValues(rows: ExportRow[], read?: ReadFileText | null): Promise<ExportRow[]>;
|
|
672
681
|
|
|
673
|
-
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 };
|
package/dist/core/index.js
CHANGED
|
@@ -2911,6 +2911,7 @@ var STORE_DOORS = [
|
|
|
2911
2911
|
{ name: "record_filter_sql", args: "p_organization_id uuid, p_table_id uuid, p_filter jsonb", returns: "text", security: "invoker" },
|
|
2912
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" },
|
|
2913
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" },
|
|
2914
2915
|
{ name: "record_platform_keys", args: "", returns: "text[]", security: "invoker" },
|
|
2915
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" },
|
|
2916
2917
|
{ name: "record_reparent", args: "p_organization_id uuid, p_record_id uuid, p_parent_id uuid", returns: "void", security: "definer" },
|
|
@@ -3321,6 +3322,7 @@ var ENTITY_TOKENS = [
|
|
|
3321
3322
|
"access_shadow_log",
|
|
3322
3323
|
"account_addon",
|
|
3323
3324
|
"account_closure",
|
|
3325
|
+
"account_facts",
|
|
3324
3326
|
"acquisition_block",
|
|
3325
3327
|
"activity",
|
|
3326
3328
|
"admin_audit_log",
|
|
@@ -4846,6 +4848,39 @@ function takePrimedTablePageBundle(organizationId, tableId, viewId) {
|
|
|
4846
4848
|
function forgetPrimedTablePageBundles() {
|
|
4847
4849
|
registry().clear();
|
|
4848
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
|
+
}
|
|
4849
4884
|
|
|
4850
4885
|
// src/core/keysetCursor.ts
|
|
4851
4886
|
function utf8ToBinary(text2) {
|
|
@@ -5656,36 +5691,6 @@ function asRecordsDataSource(source) {
|
|
|
5656
5691
|
return source;
|
|
5657
5692
|
}
|
|
5658
5693
|
|
|
5659
|
-
// src/core/recordChanges.ts
|
|
5660
|
-
var listeners = /* @__PURE__ */ new Set();
|
|
5661
|
-
function announceRecordChanged(recordId) {
|
|
5662
|
-
for (const listener of [...listeners]) {
|
|
5663
|
-
try {
|
|
5664
|
-
listener(recordId);
|
|
5665
|
-
} catch (thrown) {
|
|
5666
|
-
console.error("[@ai-matrx/records] a record-change listener threw", thrown);
|
|
5667
|
-
}
|
|
5668
|
-
}
|
|
5669
|
-
}
|
|
5670
|
-
function onRecordChanged(listener) {
|
|
5671
|
-
listeners.add(listener);
|
|
5672
|
-
return () => listeners.delete(listener);
|
|
5673
|
-
}
|
|
5674
|
-
var tableListeners = /* @__PURE__ */ new Set();
|
|
5675
|
-
function announceTableStructureChanged(tableId) {
|
|
5676
|
-
for (const listener of [...tableListeners]) {
|
|
5677
|
-
try {
|
|
5678
|
-
listener(tableId);
|
|
5679
|
-
} catch (thrown) {
|
|
5680
|
-
console.error("[@ai-matrx/records] a table-structure listener threw", thrown);
|
|
5681
|
-
}
|
|
5682
|
-
}
|
|
5683
|
-
}
|
|
5684
|
-
function onTableStructureChanged(listener) {
|
|
5685
|
-
tableListeners.add(listener);
|
|
5686
|
-
return () => tableListeners.delete(listener);
|
|
5687
|
-
}
|
|
5688
|
-
|
|
5689
5694
|
// src/core/query.ts
|
|
5690
5695
|
var DEFAULT_PAGE_SIZE = 50;
|
|
5691
5696
|
function planQuery(query) {
|
|
@@ -5820,8 +5825,68 @@ function createRecordsClient(given) {
|
|
|
5820
5825
|
} catch {
|
|
5821
5826
|
}
|
|
5822
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
|
+
}
|
|
5823
5885
|
async function fromBundle(door, args) {
|
|
5824
|
-
if (!config.dataSource.opensInOneCall
|
|
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;
|
|
5825
5890
|
const tableId = bundleTableOf(door, args);
|
|
5826
5891
|
if (tableId) {
|
|
5827
5892
|
const asked = bundleAsked.get(tableId);
|
|
@@ -10086,6 +10151,7 @@ export {
|
|
|
10086
10151
|
predictWriteRefusals,
|
|
10087
10152
|
previewRetype,
|
|
10088
10153
|
previewRuleChange,
|
|
10154
|
+
primeRecordPageBundle,
|
|
10089
10155
|
primeTablePageBundle,
|
|
10090
10156
|
publicFormPath,
|
|
10091
10157
|
rankTypedMatches,
|