@ai-matrx/records 0.78.1 → 0.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/app-table/index.cjs +12 -0
- 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 +12 -0
- package/dist/app-table/index.js.map +1 -1
- package/dist/{client-BExNR0TK.d.cts → client-BKXt18rw.d.cts} +15 -5
- package/dist/{client-Byn_UthM.d.ts → client-SM21Erad.d.ts} +15 -5
- package/dist/core/index.cjs +17 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +12 -11
- package/dist/core/index.d.ts +12 -11
- package/dist/core/index.js +17 -3
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +12 -0
- 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 +12 -0
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-DWOh53eK.d.ts → declareTable-CRPC4uku.d.ts} +4 -4
- package/dist/{declareTable-CgrEusy8.d.cts → declareTable-DVbm7Rck.d.cts} +4 -4
- package/dist/{field-t9aefszx.d.cts → field-DCXU6k9i.d.cts} +14 -2
- package/dist/{field-B2bvpqcE.d.ts → field-DJAvDExi.d.ts} +14 -2
- package/dist/index.cjs +8 -3
- 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 +8 -3
- package/dist/index.js.map +1 -1
- package/dist/memory/index.cjs +3 -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 +3 -0
- package/dist/memory/index.js.map +1 -1
- package/dist/{ports-Cjl-IjFa.d.cts → ports-DaHUjVg7.d.cts} +1 -1
- package/dist/{ports-Ch4Ym0tj.d.ts → ports-Kpc-RihV.d.ts} +1 -1
- package/dist/react/index.cjs +17 -3
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +42 -5
- package/dist/react/index.d.ts +42 -5
- package/dist/react/index.js +17 -3
- 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-Ba1F1CNS.d.cts → record-DCaOJbhA.d.cts} +19 -4
- package/dist/{record-Ba1F1CNS.d.ts → record-DCaOJbhA.d.ts} +19 -4
- package/dist/{subscription-CccP6N93.d.ts → subscription-B9znK2dw.d.ts} +1 -1
- package/dist/{subscription-DGCrwwSR.d.cts → subscription-C_hNjbaR.d.cts} +1 -1
- package/dist/{table-kind-BMWi8G37.d.ts → table-kind-CJ_K3E1F.d.ts} +3 -3
- package/dist/{table-kind-BoelIMjr.d.cts → table-kind-DoSFfQDe.d.cts} +3 -3
- package/dist/templates/index.cjs +3 -0
- 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 -0
- package/dist/templates/index.js.map +1 -1
- package/dist/{types-euaQwxnB.d.cts → types-CD2HoaZt.d.cts} +2 -2
- package/dist/{types-CtyMwJvy.d.ts → types-CHEFgCu1.d.ts} +2 -2
- package/dist/{types-D-Mhiodh.d.cts → types-DuyBN2im.d.cts} +2 -2
- package/dist/{types-CiHdoATO.d.ts → types-b-VGi15H.d.ts} +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-B-p3YPgA.d.ts → validate-BEfYwBpA.d.ts} +1 -1
- package/dist/{validate-COvMcv8z.d.cts → validate-CubFFxpu.d.cts} +1 -1
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as RelationCoordinate, C as ChoiceNudge, T as TableArchiveProgress, a as TableRestoreProgress, b as TableDuplicateProgress, c as TableDuplicated, d as TableCopyInProgress, A as ArchiveLane, e as ArchivedRow, f as Table, g as TableHome, h as TableMoved, i as ChoiceUsage, j as ChoiceRehome, k as ChoiceCellBack, l as ChoicesRehomed, m as TableCapacity, F as FieldDrift, n as FieldRetyped, o as RecordsMerged, M as MigrationUndone, p as RelationWordsManyArgs, q as RelationIcons, r as ReverseColumn, s as ReverseLinksManyArgs, t as ReverseLinks, S as SourceArchived, u as TableKindFacts, E as EntityTableFacts, v as EntityFieldsAcross, N as NewEntityFieldDeclaration, w as EntityFieldRights, x as EntityRecordRead, y as EntityBackLinks, z as EntityRowWritten, B as EntityRecordsFound, P as Pipeline, D as PipelineColumn, G as PipelineVerdict, H as PipelineMoveResult, I as PipelineMoveManyItem, J as PipelineMoveMany, K as PipelineSpec, L as PipelineDeclared, O as StageRuleOnFail, Q as StageRuleEnforcement, U as StagePending, V as StagePendingOnBoard, W as PipelineGate, X as PipelineGatePreview, Y as FormLookOptions, Z as ImportPlan, _ as ImportPolicy, $ as ImportOpened, a0 as ImportColumnsDeclared, a1 as ImportBatchResult, a2 as ImportFinished, a3 as ImportReport, a4 as ImportRun, a5 as InboundDeclared, a6 as InboundAddress, a7 as PortalSummary, a8 as PortalArchiveFilter, a9 as PortalArchiveAnswer, aa as FormArchiveAnswer, ab as ArchivedForm, ac as ArchivedChecklistTemplate, ad as TableRowDefaults, ae as TableRowDefaultsPatch, af as RowDefaultsApplied, ag as RecordRowControls, ah as PortalTableRef, ai as PortalCard, aj as PortalConfigInput, ak as PortalFormSpec, al as PortalFormAnswer, am as PortalInvitation, an as PortalRevocation, ao as PortalPreviewRow, ap as CaptureSheetSummary, aq as CaptureSheetFace, ar as CaptureFileRef, as as CaptureOutcome, at as EnrichmentSummary, au as EnrichDeclared, av as EnrichDueRow, aw as EnrichCell, ax as EnrichRun, ay as DrillSource, az as DrillDefinition, aA as DrillQuestion, aB as DrillAnswer, aC as DrillRowsPage, aD as DocToken, aE as DocUnresolvedToken, aF as DocTemplateRow, aG as DocRenderRow, aH as DocSignatureRow, aI as RecordHistoryEntry, aJ as RecordScopeContext, aK as ConversationScope, aL as ConversationScopeContext, aM as FieldHistoryEntry, aN as RestorePreview, aO as RestoreResult, aP as CommentThreadRead, aQ as CommentWritten, aR as AnonTokenBinding, aS as ChecklistSpec, aT as ChecklistDeclared, aU as ChecklistTemplateSummary, aV as ChecklistTemplateShape, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aZ as ChecklistStepCompleted, a_ as WorkState, a$ as WorkGraph, b0 as WorkInstantiation, b1 as WorkTurn, b2 as WorkAssignmentField, b3 as WorkSlotHold, b4 as WorkInboxView, b5 as WorkInboxItem, b6 as InboxStateChange, b7 as InboxCounts, b8 as WorkListFlavour, b9 as WorkListItem, ba as WorkAssignment, bb as WorkRecordState, bc as WorkApprover, bd as WorkChange, be as WorkApprovalFiled, bf as WorkApprovalDecision, bg as WorkDecideManyItem, bh as WorkDecideMany, bi as ExternalPrincipalCard, bj as PublishBinding, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, bm as MyLevel, bn as DecorationPath, bo as TableDecorations, bp as GridLayout, bq as FormulaParse, br as RowAction, bs as ActionRunResult, bt as AutomationSpec, bu as AutomationDeclared, bv as AutomationList, bw as AutomationFlipped, bx as AutomationRuns, by as RecordEvent, bz as TableWebhookDeclared, bA as TableWebhook, bB as IoExportPage, bC as TableListEntry, bD as DataHomeTable, bE as TableSyncSpec, bF as TableSyncResult, bG as TableRowCount, bH as RecordHeader, bI as OutsideShareAnswer, bJ as ViewOrderSet } from './table-kind-
|
|
2
|
-
import { S as StoreFilter, F as FormSummary, B as BookingSummary, a as BookingAvailability, b as BookingDeclared, c as FormRoute, d as FormResults, D as DashboardSummary, e as DashboardBlock, R as RecordFilter, A as AggregateCompare, f as AggregateBucket, g as DashboardRunResult, h as StuckRow, i as AggregateMeasure, j as AggregateRow, k as Subscription, M as MySubscription, l as SubscriptionSpec, m as DigestPreview, n as SavedViewRow, o as SavedViewSpecIn, p as RowTemplateRow } from './subscription-
|
|
3
|
-
import { b as Field, c as FieldPatch, N as NewFieldDeclaration, R as RelationNamesAnswer, d as FieldProposal, T as TableProposal } from './field-
|
|
4
|
-
import { U as Uuid, f as Timestamp, g as RecordDocument, h as RecordsResult, i as RecordChange, j as RecordChangeResult, k as RecordGraphWritten, l as RecordRead, m as ReadRow, n as RecordPageSort, o as RecordPage, p as RecordKeysetPage, q as StoredRecord, r as RecordRevision, s as ReadValue, t as RecordsErrorCode, R as RecordsError, W as WriteConflict } from './record-
|
|
5
|
-
import { a as RecordsConfig } from './ports-
|
|
1
|
+
import { R as RelationCoordinate, C as ChoiceNudge, T as TableArchiveProgress, a as TableRestoreProgress, b as TableDuplicateProgress, c as TableDuplicated, d as TableCopyInProgress, A as ArchiveLane, e as ArchivedRow, f as Table, g as TableHome, h as TableMoved, i as ChoiceUsage, j as ChoiceRehome, k as ChoiceCellBack, l as ChoicesRehomed, m as TableCapacity, F as FieldDrift, n as FieldRetyped, o as RecordsMerged, M as MigrationUndone, p as RelationWordsManyArgs, q as RelationIcons, r as ReverseColumn, s as ReverseLinksManyArgs, t as ReverseLinks, S as SourceArchived, u as TableKindFacts, E as EntityTableFacts, v as EntityFieldsAcross, N as NewEntityFieldDeclaration, w as EntityFieldRights, x as EntityRecordRead, y as EntityBackLinks, z as EntityRowWritten, B as EntityRecordsFound, P as Pipeline, D as PipelineColumn, G as PipelineVerdict, H as PipelineMoveResult, I as PipelineMoveManyItem, J as PipelineMoveMany, K as PipelineSpec, L as PipelineDeclared, O as StageRuleOnFail, Q as StageRuleEnforcement, U as StagePending, V as StagePendingOnBoard, W as PipelineGate, X as PipelineGatePreview, Y as FormLookOptions, Z as ImportPlan, _ as ImportPolicy, $ as ImportOpened, a0 as ImportColumnsDeclared, a1 as ImportBatchResult, a2 as ImportFinished, a3 as ImportReport, a4 as ImportRun, a5 as InboundDeclared, a6 as InboundAddress, a7 as PortalSummary, a8 as PortalArchiveFilter, a9 as PortalArchiveAnswer, aa as FormArchiveAnswer, ab as ArchivedForm, ac as ArchivedChecklistTemplate, ad as TableRowDefaults, ae as TableRowDefaultsPatch, af as RowDefaultsApplied, ag as RecordRowControls, ah as PortalTableRef, ai as PortalCard, aj as PortalConfigInput, ak as PortalFormSpec, al as PortalFormAnswer, am as PortalInvitation, an as PortalRevocation, ao as PortalPreviewRow, ap as CaptureSheetSummary, aq as CaptureSheetFace, ar as CaptureFileRef, as as CaptureOutcome, at as EnrichmentSummary, au as EnrichDeclared, av as EnrichDueRow, aw as EnrichCell, ax as EnrichRun, ay as DrillSource, az as DrillDefinition, aA as DrillQuestion, aB as DrillAnswer, aC as DrillRowsPage, aD as DocToken, aE as DocUnresolvedToken, aF as DocTemplateRow, aG as DocRenderRow, aH as DocSignatureRow, aI as RecordHistoryEntry, aJ as RecordScopeContext, aK as ConversationScope, aL as ConversationScopeContext, aM as FieldHistoryEntry, aN as RestorePreview, aO as RestoreResult, aP as CommentThreadRead, aQ as CommentWritten, aR as AnonTokenBinding, aS as ChecklistSpec, aT as ChecklistDeclared, aU as ChecklistTemplateSummary, aV as ChecklistTemplateShape, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aZ as ChecklistStepCompleted, a_ as WorkState, a$ as WorkGraph, b0 as WorkInstantiation, b1 as WorkTurn, b2 as WorkAssignmentField, b3 as WorkSlotHold, b4 as WorkInboxView, b5 as WorkInboxItem, b6 as InboxStateChange, b7 as InboxCounts, b8 as WorkListFlavour, b9 as WorkListItem, ba as WorkAssignment, bb as WorkRecordState, bc as WorkApprover, bd as WorkChange, be as WorkApprovalFiled, bf as WorkApprovalDecision, bg as WorkDecideManyItem, bh as WorkDecideMany, bi as ExternalPrincipalCard, bj as PublishBinding, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, bm as MyLevel, bn as DecorationPath, bo as TableDecorations, bp as GridLayout, bq as FormulaParse, br as RowAction, bs as ActionRunResult, bt as AutomationSpec, bu as AutomationDeclared, bv as AutomationList, bw as AutomationFlipped, bx as AutomationRuns, by as RecordEvent, bz as TableWebhookDeclared, bA as TableWebhook, bB as IoExportPage, bC as TableListEntry, bD as DataHomeTable, bE as TableSyncSpec, bF as TableSyncResult, bG as TableRowCount, bH as RecordHeader, bI as OutsideShareAnswer, bJ as ViewOrderSet } from './table-kind-DoSFfQDe.cjs';
|
|
2
|
+
import { S as StoreFilter, F as FormSummary, B as BookingSummary, a as BookingAvailability, b as BookingDeclared, c as FormRoute, d as FormResults, D as DashboardSummary, e as DashboardBlock, R as RecordFilter, A as AggregateCompare, f as AggregateBucket, g as DashboardRunResult, h as StuckRow, i as AggregateMeasure, j as AggregateRow, k as Subscription, M as MySubscription, l as SubscriptionSpec, m as DigestPreview, n as SavedViewRow, o as SavedViewSpecIn, p as RowTemplateRow } from './subscription-C_hNjbaR.cjs';
|
|
3
|
+
import { b as Field, c as FieldPatch, N as NewFieldDeclaration, R as RelationNamesAnswer, d as FieldDuplicated, e as FieldProposal, T as TableProposal } from './field-DCXU6k9i.cjs';
|
|
4
|
+
import { U as Uuid, f as Timestamp, g as RecordDocument, h as RecordsResult, i as RecordChange, j as RecordChangeResult, k as RecordGraphWritten, l as RecordRead, m as ReadRow, n as RecordPageSort, o as RecordPage, p as RecordKeysetPage, q as StoredRecord, r as RecordRevision, s as ReadValue, t as RecordsErrorCode, R as RecordsError, W as WriteConflict } from './record-DCaOJbhA.cjs';
|
|
5
|
+
import { a as RecordsConfig } from './ports-DaHUjVg7.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* DOOR-8. As-of on EITHER clock, and they are different questions:
|
|
@@ -757,6 +757,16 @@ interface RecordsClient {
|
|
|
757
757
|
fieldRestore(args: {
|
|
758
758
|
field_id: Uuid;
|
|
759
759
|
}): Promise<RecordsResult<boolean>>;
|
|
760
|
+
/**
|
|
761
|
+
* DUPLICATE PROPERTY (Notion N5) — `custom.field_duplicate`: a new column right after this one, named
|
|
762
|
+
* "<name> (1)", the same kind (choices with their colours, unit, link, formula, rules, sensitivity), and
|
|
763
|
+
* every record's value copied into it in one statement. A link column copies its definition only (its
|
|
764
|
+
* values are links); a formula, lookup or roll-up works its answer out itself. Needs the table's
|
|
765
|
+
* add-a-column rung, the same as `fieldDeclare`.
|
|
766
|
+
*/
|
|
767
|
+
fieldDuplicate(args: {
|
|
768
|
+
field_id: Uuid;
|
|
769
|
+
}): Promise<RecordsResult<FieldDuplicated>>;
|
|
760
770
|
/**
|
|
761
771
|
* CHAIR-ROLLUP-HONEST. Is a column this lookup or roll-up reads archived — the link it reads
|
|
762
772
|
* through, a back-link's linking column, or the far column it totals (`custom.field_source_archived`)?
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as RelationCoordinate, C as ChoiceNudge, T as TableArchiveProgress, a as TableRestoreProgress, b as TableDuplicateProgress, c as TableDuplicated, d as TableCopyInProgress, A as ArchiveLane, e as ArchivedRow, f as Table, g as TableHome, h as TableMoved, i as ChoiceUsage, j as ChoiceRehome, k as ChoiceCellBack, l as ChoicesRehomed, m as TableCapacity, F as FieldDrift, n as FieldRetyped, o as RecordsMerged, M as MigrationUndone, p as RelationWordsManyArgs, q as RelationIcons, r as ReverseColumn, s as ReverseLinksManyArgs, t as ReverseLinks, S as SourceArchived, u as TableKindFacts, E as EntityTableFacts, v as EntityFieldsAcross, N as NewEntityFieldDeclaration, w as EntityFieldRights, x as EntityRecordRead, y as EntityBackLinks, z as EntityRowWritten, B as EntityRecordsFound, P as Pipeline, D as PipelineColumn, G as PipelineVerdict, H as PipelineMoveResult, I as PipelineMoveManyItem, J as PipelineMoveMany, K as PipelineSpec, L as PipelineDeclared, O as StageRuleOnFail, Q as StageRuleEnforcement, U as StagePending, V as StagePendingOnBoard, W as PipelineGate, X as PipelineGatePreview, Y as FormLookOptions, Z as ImportPlan, _ as ImportPolicy, $ as ImportOpened, a0 as ImportColumnsDeclared, a1 as ImportBatchResult, a2 as ImportFinished, a3 as ImportReport, a4 as ImportRun, a5 as InboundDeclared, a6 as InboundAddress, a7 as PortalSummary, a8 as PortalArchiveFilter, a9 as PortalArchiveAnswer, aa as FormArchiveAnswer, ab as ArchivedForm, ac as ArchivedChecklistTemplate, ad as TableRowDefaults, ae as TableRowDefaultsPatch, af as RowDefaultsApplied, ag as RecordRowControls, ah as PortalTableRef, ai as PortalCard, aj as PortalConfigInput, ak as PortalFormSpec, al as PortalFormAnswer, am as PortalInvitation, an as PortalRevocation, ao as PortalPreviewRow, ap as CaptureSheetSummary, aq as CaptureSheetFace, ar as CaptureFileRef, as as CaptureOutcome, at as EnrichmentSummary, au as EnrichDeclared, av as EnrichDueRow, aw as EnrichCell, ax as EnrichRun, ay as DrillSource, az as DrillDefinition, aA as DrillQuestion, aB as DrillAnswer, aC as DrillRowsPage, aD as DocToken, aE as DocUnresolvedToken, aF as DocTemplateRow, aG as DocRenderRow, aH as DocSignatureRow, aI as RecordHistoryEntry, aJ as RecordScopeContext, aK as ConversationScope, aL as ConversationScopeContext, aM as FieldHistoryEntry, aN as RestorePreview, aO as RestoreResult, aP as CommentThreadRead, aQ as CommentWritten, aR as AnonTokenBinding, aS as ChecklistSpec, aT as ChecklistDeclared, aU as ChecklistTemplateSummary, aV as ChecklistTemplateShape, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aZ as ChecklistStepCompleted, a_ as WorkState, a$ as WorkGraph, b0 as WorkInstantiation, b1 as WorkTurn, b2 as WorkAssignmentField, b3 as WorkSlotHold, b4 as WorkInboxView, b5 as WorkInboxItem, b6 as InboxStateChange, b7 as InboxCounts, b8 as WorkListFlavour, b9 as WorkListItem, ba as WorkAssignment, bb as WorkRecordState, bc as WorkApprover, bd as WorkChange, be as WorkApprovalFiled, bf as WorkApprovalDecision, bg as WorkDecideManyItem, bh as WorkDecideMany, bi as ExternalPrincipalCard, bj as PublishBinding, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, bm as MyLevel, bn as DecorationPath, bo as TableDecorations, bp as GridLayout, bq as FormulaParse, br as RowAction, bs as ActionRunResult, bt as AutomationSpec, bu as AutomationDeclared, bv as AutomationList, bw as AutomationFlipped, bx as AutomationRuns, by as RecordEvent, bz as TableWebhookDeclared, bA as TableWebhook, bB as IoExportPage, bC as TableListEntry, bD as DataHomeTable, bE as TableSyncSpec, bF as TableSyncResult, bG as TableRowCount, bH as RecordHeader, bI as OutsideShareAnswer, bJ as ViewOrderSet } from './table-kind-
|
|
2
|
-
import { S as StoreFilter, F as FormSummary, B as BookingSummary, a as BookingAvailability, b as BookingDeclared, c as FormRoute, d as FormResults, D as DashboardSummary, e as DashboardBlock, R as RecordFilter, A as AggregateCompare, f as AggregateBucket, g as DashboardRunResult, h as StuckRow, i as AggregateMeasure, j as AggregateRow, k as Subscription, M as MySubscription, l as SubscriptionSpec, m as DigestPreview, n as SavedViewRow, o as SavedViewSpecIn, p as RowTemplateRow } from './subscription-
|
|
3
|
-
import { b as Field, c as FieldPatch, N as NewFieldDeclaration, R as RelationNamesAnswer, d as FieldProposal, T as TableProposal } from './field-
|
|
4
|
-
import { U as Uuid, f as Timestamp, g as RecordDocument, h as RecordsResult, i as RecordChange, j as RecordChangeResult, k as RecordGraphWritten, l as RecordRead, m as ReadRow, n as RecordPageSort, o as RecordPage, p as RecordKeysetPage, q as StoredRecord, r as RecordRevision, s as ReadValue, t as RecordsErrorCode, R as RecordsError, W as WriteConflict } from './record-
|
|
5
|
-
import { a as RecordsConfig } from './ports-
|
|
1
|
+
import { R as RelationCoordinate, C as ChoiceNudge, T as TableArchiveProgress, a as TableRestoreProgress, b as TableDuplicateProgress, c as TableDuplicated, d as TableCopyInProgress, A as ArchiveLane, e as ArchivedRow, f as Table, g as TableHome, h as TableMoved, i as ChoiceUsage, j as ChoiceRehome, k as ChoiceCellBack, l as ChoicesRehomed, m as TableCapacity, F as FieldDrift, n as FieldRetyped, o as RecordsMerged, M as MigrationUndone, p as RelationWordsManyArgs, q as RelationIcons, r as ReverseColumn, s as ReverseLinksManyArgs, t as ReverseLinks, S as SourceArchived, u as TableKindFacts, E as EntityTableFacts, v as EntityFieldsAcross, N as NewEntityFieldDeclaration, w as EntityFieldRights, x as EntityRecordRead, y as EntityBackLinks, z as EntityRowWritten, B as EntityRecordsFound, P as Pipeline, D as PipelineColumn, G as PipelineVerdict, H as PipelineMoveResult, I as PipelineMoveManyItem, J as PipelineMoveMany, K as PipelineSpec, L as PipelineDeclared, O as StageRuleOnFail, Q as StageRuleEnforcement, U as StagePending, V as StagePendingOnBoard, W as PipelineGate, X as PipelineGatePreview, Y as FormLookOptions, Z as ImportPlan, _ as ImportPolicy, $ as ImportOpened, a0 as ImportColumnsDeclared, a1 as ImportBatchResult, a2 as ImportFinished, a3 as ImportReport, a4 as ImportRun, a5 as InboundDeclared, a6 as InboundAddress, a7 as PortalSummary, a8 as PortalArchiveFilter, a9 as PortalArchiveAnswer, aa as FormArchiveAnswer, ab as ArchivedForm, ac as ArchivedChecklistTemplate, ad as TableRowDefaults, ae as TableRowDefaultsPatch, af as RowDefaultsApplied, ag as RecordRowControls, ah as PortalTableRef, ai as PortalCard, aj as PortalConfigInput, ak as PortalFormSpec, al as PortalFormAnswer, am as PortalInvitation, an as PortalRevocation, ao as PortalPreviewRow, ap as CaptureSheetSummary, aq as CaptureSheetFace, ar as CaptureFileRef, as as CaptureOutcome, at as EnrichmentSummary, au as EnrichDeclared, av as EnrichDueRow, aw as EnrichCell, ax as EnrichRun, ay as DrillSource, az as DrillDefinition, aA as DrillQuestion, aB as DrillAnswer, aC as DrillRowsPage, aD as DocToken, aE as DocUnresolvedToken, aF as DocTemplateRow, aG as DocRenderRow, aH as DocSignatureRow, aI as RecordHistoryEntry, aJ as RecordScopeContext, aK as ConversationScope, aL as ConversationScopeContext, aM as FieldHistoryEntry, aN as RestorePreview, aO as RestoreResult, aP as CommentThreadRead, aQ as CommentWritten, aR as AnonTokenBinding, aS as ChecklistSpec, aT as ChecklistDeclared, aU as ChecklistTemplateSummary, aV as ChecklistTemplateShape, aW as ChecklistRunStarted, aX as ChecklistRunStep, aY as ChecklistRunSummary, aZ as ChecklistStepCompleted, a_ as WorkState, a$ as WorkGraph, b0 as WorkInstantiation, b1 as WorkTurn, b2 as WorkAssignmentField, b3 as WorkSlotHold, b4 as WorkInboxView, b5 as WorkInboxItem, b6 as InboxStateChange, b7 as InboxCounts, b8 as WorkListFlavour, b9 as WorkListItem, ba as WorkAssignment, bb as WorkRecordState, bc as WorkApprover, bd as WorkChange, be as WorkApprovalFiled, bf as WorkApprovalDecision, bg as WorkDecideManyItem, bh as WorkDecideMany, bi as ExternalPrincipalCard, bj as PublishBinding, bk as ResolvedPublishBinding, bl as ResolvedPublishBindingKind, bm as MyLevel, bn as DecorationPath, bo as TableDecorations, bp as GridLayout, bq as FormulaParse, br as RowAction, bs as ActionRunResult, bt as AutomationSpec, bu as AutomationDeclared, bv as AutomationList, bw as AutomationFlipped, bx as AutomationRuns, by as RecordEvent, bz as TableWebhookDeclared, bA as TableWebhook, bB as IoExportPage, bC as TableListEntry, bD as DataHomeTable, bE as TableSyncSpec, bF as TableSyncResult, bG as TableRowCount, bH as RecordHeader, bI as OutsideShareAnswer, bJ as ViewOrderSet } from './table-kind-CJ_K3E1F.js';
|
|
2
|
+
import { S as StoreFilter, F as FormSummary, B as BookingSummary, a as BookingAvailability, b as BookingDeclared, c as FormRoute, d as FormResults, D as DashboardSummary, e as DashboardBlock, R as RecordFilter, A as AggregateCompare, f as AggregateBucket, g as DashboardRunResult, h as StuckRow, i as AggregateMeasure, j as AggregateRow, k as Subscription, M as MySubscription, l as SubscriptionSpec, m as DigestPreview, n as SavedViewRow, o as SavedViewSpecIn, p as RowTemplateRow } from './subscription-B9znK2dw.js';
|
|
3
|
+
import { b as Field, c as FieldPatch, N as NewFieldDeclaration, R as RelationNamesAnswer, d as FieldDuplicated, e as FieldProposal, T as TableProposal } from './field-DJAvDExi.js';
|
|
4
|
+
import { U as Uuid, f as Timestamp, g as RecordDocument, h as RecordsResult, i as RecordChange, j as RecordChangeResult, k as RecordGraphWritten, l as RecordRead, m as ReadRow, n as RecordPageSort, o as RecordPage, p as RecordKeysetPage, q as StoredRecord, r as RecordRevision, s as ReadValue, t as RecordsErrorCode, R as RecordsError, W as WriteConflict } from './record-DCaOJbhA.js';
|
|
5
|
+
import { a as RecordsConfig } from './ports-Kpc-RihV.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* DOOR-8. As-of on EITHER clock, and they are different questions:
|
|
@@ -757,6 +757,16 @@ interface RecordsClient {
|
|
|
757
757
|
fieldRestore(args: {
|
|
758
758
|
field_id: Uuid;
|
|
759
759
|
}): Promise<RecordsResult<boolean>>;
|
|
760
|
+
/**
|
|
761
|
+
* DUPLICATE PROPERTY (Notion N5) — `custom.field_duplicate`: a new column right after this one, named
|
|
762
|
+
* "<name> (1)", the same kind (choices with their colours, unit, link, formula, rules, sensitivity), and
|
|
763
|
+
* every record's value copied into it in one statement. A link column copies its definition only (its
|
|
764
|
+
* values are links); a formula, lookup or roll-up works its answer out itself. Needs the table's
|
|
765
|
+
* add-a-column rung, the same as `fieldDeclare`.
|
|
766
|
+
*/
|
|
767
|
+
fieldDuplicate(args: {
|
|
768
|
+
field_id: Uuid;
|
|
769
|
+
}): Promise<RecordsResult<FieldDuplicated>>;
|
|
760
770
|
/**
|
|
761
771
|
* CHAIR-ROLLUP-HONEST. Is a column this lookup or roll-up reads archived — the link it reads
|
|
762
772
|
* through, a back-link's linking column, or the far column it totals (`custom.field_source_archived`)?
|
package/dist/core/index.cjs
CHANGED
|
@@ -2832,6 +2832,7 @@ var STORE_DOORS = [
|
|
|
2832
2832
|
{ name: "doors_refusing_in_another_doors_name", args: "", returns: "TABLE(function_name text, identity_args text, why text)", security: "invoker" },
|
|
2833
2833
|
{ name: "drill_resolve", args: "p_organization_id uuid, p_table_id uuid, p_group_by jsonb, p_measures jsonb, p_bucket jsonb", returns: "jsonb", security: "invoker" },
|
|
2834
2834
|
{ name: "effective_level", args: "p_user_id uuid, p_organization_id uuid, p_id uuid, p_type text DEFAULT 'record'::text", returns: "permission_level", security: "definer" },
|
|
2835
|
+
{ name: "effective_level_many", args: "p_user_id uuid, p_ids uuid[], p_type text DEFAULT 'record'::text", returns: "TABLE(id uuid, level permission_level)", security: "definer" },
|
|
2835
2836
|
{ name: "enrich_cells", args: "p_organization_id uuid, p_table_id uuid, p_field_keys text[] DEFAULT NULL::text[], p_record_ids uuid[] DEFAULT NULL::uuid[]", returns: "TABLE(record_id uuid, field_key text, agent_owned boolean, value jsonb, value_version integer, actor text, on_behalf_of text, written_at timestamp with time zone, source jsonb, absent_reason text, alternates jsonb, pinned boolean, stale boolean, due_at timestamp with time zone)", security: "definer" },
|
|
2836
2837
|
{ name: "enrich_declare", args: "p_organization_id uuid, p_field_id uuid, p_spec jsonb", returns: "jsonb", security: "definer" },
|
|
2837
2838
|
{ name: "enrich_due", args: "p_organization_id uuid, p_field_id uuid, p_limit integer DEFAULT 50, p_include_fresh boolean DEFAULT false, p_record_ids uuid[] DEFAULT NULL::uuid[]", returns: "TABLE(record_id uuid, title text, inputs jsonb, current_value jsonb, written_at timestamp with time zone, reason text, trimmed_to integer)", security: "definer" },
|
|
@@ -2887,6 +2888,7 @@ var STORE_DOORS = [
|
|
|
2887
2888
|
{ name: "field_cycle", args: "p_organization_id uuid, p_field_data jsonb, p_self uuid", returns: "text[]", security: "definer" },
|
|
2888
2889
|
{ name: "field_declare", args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb", returns: "uuid", security: "definer" },
|
|
2889
2890
|
{ name: "field_dependants", args: "p_organization_id uuid, p_field_id uuid", returns: "TABLE(kind text, dependant_id uuid, label text, how text)", security: "definer" },
|
|
2891
|
+
{ name: "field_duplicate", args: "p_organization_id uuid, p_field_id uuid", returns: "jsonb", security: "definer" },
|
|
2890
2892
|
{ name: "field_history", args: "p_organization_id uuid, p_table_id uuid, p_field_key text, p_limit integer DEFAULT 100, p_offset integer DEFAULT 0, p_record_id uuid DEFAULT NULL::uuid", returns: "TABLE(record_id uuid, record_title text, version integer, occurred_at timestamp with time zone, operation_label text, actor jsonb, before jsonb, after jsonb)", security: "definer" },
|
|
2891
2893
|
{ name: "field_input_closure", args: "p_organization_id uuid, p_field_data jsonb, p_self uuid DEFAULT NULL::uuid", returns: "TABLE(input_id uuid, input_key text, input_label text, input_table uuid, sensitivity text, retired boolean, depth integer)", security: "definer" },
|
|
2892
2894
|
{ name: "field_inputs_of", args: "p_organization_id uuid, p_field_data jsonb", returns: "TABLE(input_id uuid, input_key text, input_label text, input_table uuid, sensitivity text, retired boolean, how text)", security: "definer" },
|
|
@@ -3160,6 +3162,7 @@ var STORE_DOORS = [
|
|
|
3160
3162
|
{ name: "query_visible_ids", args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid, p_required text DEFAULT 'viewer'::text", returns: "SETOF uuid", security: "definer" },
|
|
3161
3163
|
{ name: "reachable_from", args: "p_organization_id uuid, p_roots uuid[]", returns: "TABLE(record_id uuid, depth integer, via text)", security: "invoker" },
|
|
3162
3164
|
{ name: "reaches_directly", args: "p_user_id uuid, p_type text, p_id uuid, p_required permission_level DEFAULT 'viewer'::permission_level", returns: "boolean", security: "definer" },
|
|
3165
|
+
{ name: "reaches_directly_many", args: "p_user_id uuid, p_targets uuid[], p_type text DEFAULT 'record'::text, p_required permission_level DEFAULT 'viewer'::permission_level", returns: "TABLE(target uuid, reaches boolean)", security: "definer" },
|
|
3163
3166
|
{ name: "read_door_carried_ids", args: "p_user uuid, p_organization_id uuid, p_table_id uuid, p_required permission_level, OUT o_ids uuid[], OUT o_containers integer", returns: "record", security: "definer" },
|
|
3164
3167
|
{ name: "read_door_granted_ids", args: "p_organization_id uuid, p_table_id uuid", returns: "uuid[]", security: "definer" },
|
|
3165
3168
|
{ name: "read_door_ladder_ceiling", args: "", returns: "integer", security: "invoker" },
|
|
@@ -3538,7 +3541,7 @@ var STORE_KNOBS = [
|
|
|
3538
3541
|
{ key: "example_rows_max", value: "500", type: "integer" },
|
|
3539
3542
|
{ key: "export_rows_ceiling", value: "100000", type: "integer" },
|
|
3540
3543
|
{ key: "external_principal_enabled", value: "true", type: "boolean" },
|
|
3541
|
-
{ key: "field_sensitivity_levels", value: '{"edit": {"public": "
|
|
3544
|
+
{ key: "field_sensitivity_levels", value: '{"edit": {"public": "edit_content", "internal": "edit_content", "restricted": "admin", "confidential": "admin"}, "read": {"public": "viewer", "internal": "viewer", "restricted": "admin", "confidential": "editor"}}', type: "json" },
|
|
3542
3545
|
{ key: "form_draft_days", value: "30", type: "integer" },
|
|
3543
3546
|
{ key: "form_draft_max_bytes", value: "65536", type: "integer" },
|
|
3544
3547
|
{ key: "form_draft_saves_per_hour", value: "240", type: "integer" },
|
|
@@ -3569,13 +3572,13 @@ var STORE_KNOBS = [
|
|
|
3569
3572
|
{ key: "world_publish_enabled", value: "false", type: "boolean" }
|
|
3570
3573
|
];
|
|
3571
3574
|
var STORE_REFUSAL_CODES = [
|
|
3572
|
-
{ code: "02000", raised_by: "_checklist_instantiate,_entity_change_file,_portal_config_judge,_portal_invite_payload,_read_record_with,_share_write_person,_table_share_invite_payload,checklist_declare,checklist_run,checklist_step_complete,checklist_step_refusal,checklist_template_shape,conversation_scope_bind,dashboard_delete,dashboard_restore,dashboard_run,doc_letterhead,doc_render_body,doc_render_document,doc_render_read,doc_sign,doc_signature_intact,doc_signature_read,doc_template_delete,doc_template_read,doc_template_restore,doc_template_save,enrich_pin,entity_back_links,entity_field_protect_arman_explicitly_approved,entity_field_retire,entity_field_update,entity_record_read,entity_row_propose,entity_row_write,entity_value_write,external_history_event,external_rows,external_stub_upsert,external_writes_set,field_choice_usage,field_restore,field_update_rehoming_choices,form_archive,form_restore,io_restore,migrate_delete,migrate_extract_parent,migrate_merge,migrate_reclass,migrate_rename,migrate_reparent,migrate_retype,migrate_split,migrate_undo,organization_clear,portal_archive,portal_card,portal_declare,portal_form,portal_form_submit,portal_invite,portal_invite_accept,portal_preview,portal_principal_bind,portal_restore,portal_revoke,record_change_many,record_delete,record_restore,record_restore_preview,record_row_controls,record_row_controls_set,record_table,record_update,record_write_graph_superseding,relation_halves_repair,relation_restore,relation_uncarry,rule_restore,set_table_confidential_arman_explicitly_approved,share_access,share_grant,share_lane_set,share_people,share_revoke,sign_request_cancel,sign_request_create,sign_request_remind,sign_request_unchanged,table_archive,table_archive_deliberately,table_restore,table_row_defaults,table_row_defaults_apply,table_row_defaults_set,table_share_outside_accept,table_share_outside_grant,table_share_outside_invite,table_share_outside_resend,table_share_outside_revoke,template_from_tables,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_assign,work_record_states,work_set_state" },
|
|
3575
|
+
{ code: "02000", raised_by: "_checklist_instantiate,_entity_change_file,_portal_config_judge,_portal_invite_payload,_read_record_with,_share_write_person,_table_share_invite_payload,checklist_declare,checklist_run,checklist_step_complete,checklist_step_refusal,checklist_template_shape,conversation_scope_bind,dashboard_delete,dashboard_restore,dashboard_run,doc_letterhead,doc_render_body,doc_render_document,doc_render_read,doc_sign,doc_signature_intact,doc_signature_read,doc_template_delete,doc_template_read,doc_template_restore,doc_template_save,enrich_pin,entity_back_links,entity_field_protect_arman_explicitly_approved,entity_field_retire,entity_field_update,entity_record_read,entity_row_propose,entity_row_write,entity_value_write,external_history_event,external_rows,external_stub_upsert,external_writes_set,field_choice_usage,field_duplicate,field_restore,field_update_rehoming_choices,form_archive,form_restore,io_restore,migrate_delete,migrate_extract_parent,migrate_merge,migrate_reclass,migrate_rename,migrate_reparent,migrate_retype,migrate_split,migrate_undo,organization_clear,portal_archive,portal_card,portal_declare,portal_form,portal_form_submit,portal_invite,portal_invite_accept,portal_preview,portal_principal_bind,portal_restore,portal_revoke,record_change_many,record_delete,record_restore,record_restore_preview,record_row_controls,record_row_controls_set,record_table,record_update,record_write_graph_superseding,relation_halves_repair,relation_restore,relation_uncarry,rule_restore,set_table_confidential_arman_explicitly_approved,share_access,share_grant,share_lane_set,share_people,share_revoke,sign_request_cancel,sign_request_create,sign_request_remind,sign_request_unchanged,table_archive,table_archive_deliberately,table_restore,table_row_defaults,table_row_defaults_apply,table_row_defaults_set,table_share_outside_accept,table_share_outside_grant,table_share_outside_invite,table_share_outside_resend,table_share_outside_revoke,template_from_tables,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_assign,work_record_states,work_set_state" },
|
|
3573
3576
|
{ code: "0A000", raised_by: "checklist_step_complete,entity_row_write,external_rows,external_source_declare,external_write_through,promote_field,promoted_index_expr,promoted_query_sql,promoted_read,read_records_keyset,read_records_page,rule_eval,rule_filter_node_sql,work_assign" },
|
|
3574
3577
|
{ code: "22003", raised_by: "context_resolve" },
|
|
3575
3578
|
{ code: "22004", raised_by: "_entity_change_file,_entity_custom_fields_guard,_io_outbox_claim,_portal_config_judge,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_compare_windows,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,assert_scope_door,booking_declare,capture_submit,checklist_declare,context_resolve,context_template_define,context_type_write,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,entity_field_protect_arman_explicitly_approved,entity_row_propose,entity_row_write,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_look_options,form_submit,home_add,inbox_snooze,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_outbox_release_claimed,io_outbox_subscribe,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_form_submit,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_aggregate_as_of,record_delete,record_reparent,record_resolve,record_restore,record_update,record_upsert,record_write,record_write_graph,record_write_graph_superseding,record_write_many,relation_carry,relation_halves_repair,relation_own,row_template_declare,rule_declare,set_table_confidential_arman_explicitly_approved,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_archive_deliberately,table_declare,table_duplicate,table_move,table_restore,table_share_outside_grant,table_share_outside_invite,template_declare,value_restore,view_declare,view_designate,view_look_read,view_look_set,whole_value_complete,work_approval_decide,work_approval_request,work_template_declare" },
|
|
3576
3579
|
{ code: "22007", raised_by: "_template_date,agg_parse_moment,dashboard_window_sql" },
|
|
3577
3580
|
{ code: "22012", raised_by: "formula_eval,rule_eval,rule_sql_op" },
|
|
3578
|
-
{ code: "22023", raised_by: "_action_check,_automation_fire,_booking_availability,_ctx_reference_value_holds,_ctx_store_scope,_ctx_table_template_field_holds,_ctx_tree_part,_decorations_check,_entity_change_file,_entity_custom_fields_guard,_form_flow_judge,_form_look_judge,_fx_date,_fx_num,_fx_regex,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_portal_config_judge,_rule_eval_seated,_table_dimensions_check,_take_op_id,_template_bind,_value_envelope,_view_field_key,_view_key_value,_work_shape_guard,_write_via_mark,action_run,actor_word,agent_change_trust,agg_assert_key,agg_calendar,agg_compare_windows,agg_sql,anon_token_issue,booking_declare,containment_parent,context_scope_write,context_scopes,context_template_define,context_type_write,context_values,count_records_archived,dashboard_block_normalize,dashboard_run,dashboard_target_field_assert,dashboard_window_sql,data_home,data_home_changed_by,doc_render_body,doc_render_write,doc_signature_write,drill_resolve,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_back_links,entity_fields_across,entity_read_mask,entity_reference_rows,entity_reference_search,entity_reference_words,entity_row_write,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_access,field_history,field_update,form_declare,form_draft_save,form_visit,formula_eval,formula_parse,grid_layout_check,hub_changed_by,inbound_domain,inbox_snooze,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,listed_predicate_sql,member_records_take_over,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pick_list_create,pin_agent_cells,pipeline_move,pipeline_move_many,portal_declare,portal_form_submit,provenance_write,publish_bind,query_by_coordinates,query_rollup,query_rollup_sum,read_records_archived,read_records_in_view_order,read_records_keyset,read_records_page,record_aggregate_as_of,record_change_many,record_filter_sql,record_row_controls_set,record_search_sql,record_update,record_upsert,record_write_graph,record_write_graph_superseding,record_write_many,records_search,relation_carry,relation_names_match,row_template_declare,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_sql_op,scope_table_provision,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_archive_deliberately,table_ensure,table_find,table_from_example,table_move,table_row_defaults_set,table_rules,table_share_outside_grant,table_sync,table_template_declare,table_transfer_owner,table_webhook_declare,template_declare,template_from_tables,template_install_claim,template_install_note,template_upgrade,templates,view_declare,view_keys_check,view_look_set,view_record_order_set,visibility_as_of,where_lists_live,where_tables_live,work_approval_request,work_decide_many,work_inbox,work_list,work_slot_hold" },
|
|
3581
|
+
{ code: "22023", raised_by: "_action_check,_automation_fire,_booking_availability,_ctx_reference_value_holds,_ctx_store_scope,_ctx_table_template_field_holds,_ctx_tree_part,_decorations_check,_entity_change_file,_entity_custom_fields_guard,_form_flow_judge,_form_look_judge,_fx_date,_fx_num,_fx_regex,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_portal_config_judge,_rule_eval_seated,_table_dimensions_check,_take_op_id,_template_bind,_value_envelope,_view_field_key,_view_key_value,_work_shape_guard,_write_via_mark,action_run,actor_word,agent_change_trust,agg_assert_key,agg_calendar,agg_compare_windows,agg_sql,anon_token_issue,booking_declare,containment_parent,context_scope_write,context_scopes,context_template_define,context_type_write,context_values,count_records_archived,dashboard_block_normalize,dashboard_run,dashboard_target_field_assert,dashboard_window_sql,data_home,data_home_changed_by,doc_render_body,doc_render_write,doc_signature_write,drill_resolve,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_back_links,entity_fields_across,entity_read_mask,entity_reference_rows,entity_reference_search,entity_reference_words,entity_row_write,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_access,field_duplicate,field_history,field_update,form_declare,form_draft_save,form_visit,formula_eval,formula_parse,grid_layout_check,hub_changed_by,inbound_domain,inbox_snooze,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,listed_predicate_sql,member_records_take_over,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pick_list_create,pin_agent_cells,pipeline_move,pipeline_move_many,portal_declare,portal_form_submit,provenance_write,publish_bind,query_by_coordinates,query_rollup,query_rollup_sum,read_records_archived,read_records_in_view_order,read_records_keyset,read_records_page,record_aggregate_as_of,record_change_many,record_filter_sql,record_row_controls_set,record_search_sql,record_update,record_upsert,record_write_graph,record_write_graph_superseding,record_write_many,records_search,relation_carry,relation_names_match,row_template_declare,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_sql_op,scope_table_provision,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_archive_deliberately,table_ensure,table_find,table_from_example,table_move,table_row_defaults_set,table_rules,table_share_outside_grant,table_sync,table_template_declare,table_transfer_owner,table_webhook_declare,template_declare,template_from_tables,template_install_claim,template_install_note,template_upgrade,templates,view_declare,view_keys_check,view_look_set,view_record_order_set,visibility_as_of,where_lists_live,where_tables_live,work_approval_request,work_decide_many,work_inbox,work_list,work_slot_hold" },
|
|
3579
3582
|
{ code: "23503", raised_by: "_action_check,_automation_fire,_automation_flip,_booking_availability,_checklist_instantiate,_containment_guard,_ctx_store_value,_decorations_check,_display_spec_for,_field_document_for,_field_type_parity_guard,_form_flow_judge,_pipeline_stage_key,_record_rule_uses,action_declare,action_run,agg_digest_assemble,anon_publish,anon_rate_take,anon_token_issue,anon_write,assert_organization_wall,automation_declare,automation_runs,automations,autonumber_backfill,booking_cancel,booking_confirm,booking_declare,booking_hold,booking_reschedule,capture_publish,checklist_declare,checklist_steps_table,comment_write,dashboard_declare,delete_rule,doc_sign,doc_template_save,enrich_declare,enrich_due,enrich_land,form_declare,form_draft_save,form_results,form_submit,grid_layout,home_add,inbound_declare,inbound_mail_land,inbound_set,io_comment_write,io_import_begin,io_import_finish,io_import_report,io_import_rows,io_proposal_accept,migrate_demote,migrate_promote,migrate_purge_hard,pipeline_board,pipeline_declare,pipeline_move,pipeline_read,pipeline_transition_refusal,promote_field,promote_table,read_records_in_view_order,read_records_page,record_applicability,record_reparent,record_write_graph_superseding,relation_carry,relation_own,resolve_first_match,row_template_declare,rule_applies,rule_declare,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_run,sign_request_create,subscription_mute,subscription_preview,table_decorate,table_dimensions_set,table_from_example,table_webhook_archive,table_webhook_declare,view_declare,view_designate,view_look_set,view_record_order_set,whole_value_complete,work_set_state,work_take_assignment,work_template_instantiate" },
|
|
3580
3583
|
{ code: "23505", raised_by: "_ctx_store_item,_ctx_store_scope,_ctx_store_type,_portal_config_judge,_share_write_person,_unique_rule_holds,doc_sign,doc_signature_write,entity_field_declare,field_declare,field_restore,field_update,form_restore,home_add,inbound_declare,io_proposal_accept,relation_carry,relation_own,relation_restore,sign_request_cancel,sign_request_create,table_share_outside_resend,work_approval_decide,work_slot_hold" },
|
|
3581
3584
|
{ code: "23514", raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_ctx_scope_parent_holds,_ctx_store_item,_ctx_table_template_field_holds,_ctx_value_fits_its_scope,_dated_values_guard,_derived_fields,_display_format_check,_display_spec_for,_entity_choice_keys,_entity_custom_fields_guard,_field_choices_save,_field_class_guard,_field_default_fitted,_field_document_for,_field_kind_shape_ok,_field_shape_guard,_field_type_parity_guard,_kind_value_ok,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_record_source_key_is_record,_relation_halves_agree,_relation_kernel_targets,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,action_run,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,dashboard_restore,doc_sign,doc_signature_write,doc_template_restore,doc_template_save,entity_field_protect_arman_explicitly_approved,entity_field_retire,entity_field_update,entity_records_find,entity_table,entity_value_write,field_declare,field_restore,field_retire,field_update,field_update_rehoming_choices,form_restore,home_add,io_comment_write,io_import_rows,migrate_merge,migrate_purge_hard,portal_archive,portal_restore,record_restore,record_update_adding_choices,record_upsert,record_write_graph,record_write_graph_superseding,relation_carry,relation_halves_repair,relation_own,relation_restore,rollup_value,row_template_declare,rule_restore,sign_request_create,sign_request_sign,status_groups_keyed,status_groups_of,table_from_example,table_restore,template_upgrade,validate_value_envelope,validate_values,whole_value_complete,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate" },
|
|
@@ -3600,6 +3603,7 @@ var ENTITY_TOKENS = [
|
|
|
3600
3603
|
"access_delta_probe",
|
|
3601
3604
|
"access_delta_run",
|
|
3602
3605
|
"access_request",
|
|
3606
|
+
"access_shadow_log",
|
|
3603
3607
|
"account_addon",
|
|
3604
3608
|
"account_closure",
|
|
3605
3609
|
"acquisition_block",
|
|
@@ -4579,6 +4583,7 @@ var ENTITY_TOKENS = [
|
|
|
4579
4583
|
"udt_structured_list_items",
|
|
4580
4584
|
"udt_workbook_snapshot",
|
|
4581
4585
|
"ui_client",
|
|
4586
|
+
"ui_decision_pick",
|
|
4582
4587
|
"ui_surface_action",
|
|
4583
4588
|
"ui_surface_agent_pref",
|
|
4584
4589
|
"ui_surface_agent_role",
|
|
@@ -5355,6 +5360,8 @@ var DOORS = {
|
|
|
5355
5360
|
// THE UNDO OF field_retire (lane STORE-RESTORE-DOORS): the set that went together comes back
|
|
5356
5361
|
// whole, the Table declares the columns again, and the values never left the records.
|
|
5357
5362
|
fieldRestore: "field_restore",
|
|
5363
|
+
// DUPLICATE PROPERTY (Notion N5): the copy declared and every record's value copied, in one door.
|
|
5364
|
+
fieldDuplicate: "field_duplicate",
|
|
5358
5365
|
// CHAIR-ROLLUP-HONEST: is a column a lookup or roll-up reads archived, and which.
|
|
5359
5366
|
fieldSourceArchived: "field_source_archived",
|
|
5360
5367
|
// KINDS-GLUE wave 3 N1: a Table as a kind — its Fields, choices and stamp, as the reader.
|
|
@@ -7143,6 +7150,13 @@ function createRecordsClient(given) {
|
|
|
7143
7150
|
"fieldRestore"
|
|
7144
7151
|
));
|
|
7145
7152
|
},
|
|
7153
|
+
async fieldDuplicate({ field_id }) {
|
|
7154
|
+
return structureMoved(null, await callDoor(
|
|
7155
|
+
DOORS.fieldDuplicate,
|
|
7156
|
+
{ p_organization_id: org, p_field_id: field_id },
|
|
7157
|
+
"fieldDuplicate"
|
|
7158
|
+
));
|
|
7159
|
+
},
|
|
7146
7160
|
async fieldSourceArchived({ field_id }) {
|
|
7147
7161
|
const result = await callDoor(
|
|
7148
7162
|
DOORS.fieldSourceArchived,
|