@stndrds/schema 1.0.0-alpha.348 → 1.0.0-alpha.350

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/{all-DjK6Qyn7.d.ts → all-CPMOHYla.d.ts} +8 -8
  2. package/dist/{all-CpdLgGJS.d.mts → all-Dk8PLu1y.d.mts} +8 -8
  3. package/dist/attributes-C2gm0hUJ.d.ts +684 -0
  4. package/dist/attributes-mMmH-WOx.d.mts +684 -0
  5. package/dist/{checkbox-BLcG591z.d.mts → checkbox-Ce8gAyQf.d.ts} +2 -2
  6. package/dist/{checkbox-DZM_nCHU.d.ts → checkbox-DO6Mkloc.d.mts} +2 -2
  7. package/dist/{date-DFpmksL8.d.mts → date-CMS-GYRM.d.mts} +2 -2
  8. package/dist/{date-DdaRGJ6k.d.ts → date-DikDGfre.d.ts} +2 -2
  9. package/dist/exceptions-DxzT8POW.d.mts +554 -0
  10. package/dist/exceptions-DxzT8POW.d.ts +554 -0
  11. package/dist/exceptions.d.mts +2 -2
  12. package/dist/exceptions.d.ts +2 -2
  13. package/dist/exceptions.js +1 -2
  14. package/dist/exceptions.mjs +1 -2
  15. package/dist/{index-C2P7eGBD.d.ts → index-B-mUjnh9.d.mts} +3 -6
  16. package/dist/{index-TBK4s5wH.d.ts → index-BL7EA39F.d.ts} +1 -1
  17. package/dist/{index-DkmrYLFg.d.mts → index-BV4yNsr7.d.mts} +1 -1
  18. package/dist/{index-BT6-WMrI.d.ts → index-CRtiKFTH.d.ts} +1 -1
  19. package/dist/{index-BCihfYR9.d.mts → index-D26ob_vF.d.mts} +1 -1
  20. package/dist/{index-wvMnaDN-.d.mts → index-D9OhYX-t.d.ts} +3 -6
  21. package/dist/index.d.mts +283 -100
  22. package/dist/index.d.ts +283 -100
  23. package/dist/index.js +9 -9
  24. package/dist/index.mjs +9 -9
  25. package/dist/{number-Bo9vQnrk.d.mts → number-Ck0PPSkK.d.ts} +2 -2
  26. package/dist/{number-CL8uftq2.d.ts → number-r6bOZ9jd.d.mts} +2 -2
  27. package/dist/{text-ClvAbA62.d.mts → text-B1Vwj7fS.d.mts} +2 -2
  28. package/dist/{text-BUJ5u8t4.d.ts → text-DHg2cmFd.d.ts} +2 -2
  29. package/dist/utils-Du-He6Ct.d.ts +163 -0
  30. package/dist/utils-r53z9KnF.d.mts +163 -0
  31. package/dist/utils.d.mts +1 -1
  32. package/dist/utils.d.ts +1 -1
  33. package/dist/validation/all.d.mts +4 -4
  34. package/dist/validation/all.d.ts +4 -4
  35. package/dist/validation/all.js +1 -1
  36. package/dist/validation/all.mjs +1 -1
  37. package/dist/validation/complex/currency.d.mts +2 -2
  38. package/dist/validation/complex/currency.d.ts +2 -2
  39. package/dist/validation/complex/location.d.mts +2 -2
  40. package/dist/validation/complex/location.d.ts +2 -2
  41. package/dist/validation/complex/phone.d.mts +2 -2
  42. package/dist/validation/complex/phone.d.ts +2 -2
  43. package/dist/validation/complex/relation.d.mts +2 -2
  44. package/dist/validation/complex/relation.d.ts +2 -2
  45. package/dist/validation/complex/richtext.d.mts +2 -2
  46. package/dist/validation/complex/richtext.d.ts +2 -2
  47. package/dist/validation/complex/select.d.mts +2 -2
  48. package/dist/validation/complex/select.d.ts +2 -2
  49. package/dist/validation/complex/user.d.mts +2 -2
  50. package/dist/validation/complex/user.d.ts +2 -2
  51. package/dist/validation/computed/formula.d.mts +2 -2
  52. package/dist/validation/computed/formula.d.ts +2 -2
  53. package/dist/validation/computed/rollup.d.mts +2 -2
  54. package/dist/validation/computed/rollup.d.ts +2 -2
  55. package/dist/validation/config/index.d.mts +1 -1
  56. package/dist/validation/config/index.d.ts +1 -1
  57. package/dist/validation/core/index.d.mts +1 -1
  58. package/dist/validation/core/index.d.ts +1 -1
  59. package/dist/validation/object/index.d.mts +1 -1
  60. package/dist/validation/object/index.d.ts +1 -1
  61. package/dist/validation/primitives/checkbox.d.mts +1 -1
  62. package/dist/validation/primitives/checkbox.d.ts +1 -1
  63. package/dist/validation/primitives/date.d.mts +1 -1
  64. package/dist/validation/primitives/date.d.ts +1 -1
  65. package/dist/validation/primitives/number.d.mts +1 -1
  66. package/dist/validation/primitives/number.d.ts +1 -1
  67. package/dist/validation/primitives/text.d.mts +1 -1
  68. package/dist/validation/primitives/text.d.ts +1 -1
  69. package/dist/view-config.schema-QmnihdGp.js +2 -0
  70. package/dist/view-config.schema-c8LvH8WE.mjs +2 -0
  71. package/package.json +178 -68
  72. package/dist/exceptions-S2lmNz74.d.mts +0 -1455
  73. package/dist/exceptions-S2lmNz74.d.ts +0 -1455
  74. package/dist/view-config.schema-PCAznd98.mjs +0 -2
  75. package/dist/view-config.schema-VEoY_VAd.js +0 -2
package/dist/index.d.ts CHANGED
@@ -1,13 +1,15 @@
1
1
 
2
- import { $ as AttributeGroup, $t as asUserId, A as SchemaErrorCode, An as ComputedFunctionName, At as SelectAttribute, B as ValidationErrorDetail, Bn as ComputedFormulaBinaryNode, Bt as isBilateralRelation, C as RecordReference, Cn as ComputedCompileSchema, Ct as RELATION_TARGET_ANY, D as ReservedObjectNameError, Dn as compileComputedFormula, Dt as RichtextAttribute, E as RepositoryOperation, En as assertAcyclicComputedDependencies, Et as RichTextAttribute, F as SyncCascadeError, Fn as ComputedOptionsSource, Ft as TimeFormat, G as isRecordReferencedError, Gn as ComputedFormulaPathNode, Gt as PropertySchema, H as isNotFoundError, Hn as ComputedFormulaCallNode, Ht as relationTargetsOf, I as SyncConflictError, In as ComputedPlan, It as UserAttribute, J as BuiltInTransform, Jt as resolvePropertyDefinitions, K as isSchemaError, Kn as parseComputedFormula, Kt as PropertyType, L as SyncError, Ln as ComputedReturnType, Lt as UserReferenceType, M as SearchBackendError, Mn as isComputedFunctionName, Mt as StatusAttribute, N as StorageError, Nn as ComputedDependency, Nt as StatusGroup, O as RoleNotFoundError, On as COMPUTED_FUNCTIONS, Ot as RollupAttribute, P as StorageOperation, Pn as ComputedFieldKind, Pt as TextAttribute, Q as Attribute, Qt as asTenantId, R as SystemEntityImmutableError, Rn as ComputedValueType, Rt as inferInverseCardinality, S as RecordNotFoundError, Sn as ComputedCompileObject, St as PhoneAttribute, T as RepositoryError, Tn as ComputedFormulaCompileError, Tt as RelationTarget, U as isObjectReferencedError, Un as ComputedFormulaLiteralNode, Ut as OptionPropertyAttribute, V as isAttributeInUseError, Vn as ComputedFormulaBinaryOperator, Vt as isUniversalRelation, W as isProtectedResourceError, Wn as ComputedFormulaParseError, Wt as PropertyAttribute, X as SchemaOperation, Xt as UserId, Y as MigrationDefinition, Yt as TenantId, Z as ATTRIBUTE_TYPES, Zt as Uuid, _ as ProtectedResourceError, _n as compileRollupAttribute, _t as MultiselectAttribute, a as ChangeTypeNotSupportedError, an as sameStableValue, at as CurrencyAttribute, b as RealtimeRateLimitedError, bn as CompileComputedFormulaInput, bt as Option, c as DuplicateError, cn as COMPUTED_FUNCTION_METADATA, ct as DateRangeValue, d as MigrationTimeoutError, dn as ComputedFormulaResult, dt as FormulaAttribute, en as deepEqual, et as AttributeType, f as NotFoundError, fn as evaluateComputedAst, ft as FormulaReturnType, g as OrphanSystemAttributeError, gn as isPlainRecord, gt as MultiRelationAttribute, h as ObjectReferencedError, hn as formatComputedResult, ht as LocationGranularity, i as AttributeUsage, in as canonicalStringify, it as Currency, j as SchemaPlanNotFoundError, jn as ComputedFunctionSignature, jt as SingleRelationAttribute, k as SchemaError, kn as COMPUTED_FUNCTION_NAMES, kt as RollupFunction, l as ForbiddenError, ln as ComputedFunctionCategory, lt as DateValue, m as ObjectNotFoundError, mn as evaluateComputedFormulaWithResult, mt as LocationAttribute, n as AttributeInUseError, nn as indexBy, nt as BilateralConfig, o as ConcurrentModificationError, on as serializeCanonicalJson, ot as DateAttribute, p as NotImplementedError, pn as evaluateComputedFormula, pt as Location, q as isValidationError, qt as hasOptions, r as AttributeNotFoundError, rn as NonJsonValueError, rt as CheckboxAttribute, s as DestructiveSyncNotAllowedError, sn as serializeStableJson, st as DateFormat, t as AccessDeniedError, tn as generateId, tt as BaseAttribute, u as MemoryNotFoundError, un as ComputedFunctionMetadata, ut as DocumentAttribute, v as ProtectedRoleError, vn as inferRollupReturnType, vt as NumberAttribute, w as RecordReferencedError, wn as ComputedDependencyGraphNode, wt as RelationAttribute, x as RealtimeSubscriptionError, xn as ComputedCompileAttribute, xt as Phone, y as RealtimeDeliveryError, yn as rollupToFormulaExpression, yt as NumberUnit, z as ValidationError, zn as ComputedFormulaAstNode, zt as isAttributeSortable } from "./exceptions-S2lmNz74.js";
3
- import { $ as RelativeDateValue, A as FormDensity, B as DynamicValue, C as ContentPlacement, D as DocumentsContentDefinition, E as CustomContentDefinition, F as RichtextContentDefinition, G as FilterRule, H as ExtendedFilterRule, I as ViewContentDefinition, J as NO_VALUE_OPERATORS, K as FilterState, L as ViewRead, M as KanbanCollectionContentDefinition, N as ListViewLayout, O as EmailsContentDefinition, P as MeetingsContentDefinition, Q as QueryState, R as CurrencyFilterValue, S as ContentOpenMode, T as ContentViewDefinition, U as FilterCombinator, V as EdgeQuantifier, W as FilterOperator, X as OPERATORS_BY_TYPE, Y as NoValueOperator, Z as PhoneFilterValue, _ as CollectionContentSource, a as displayAttributesSchema, b as ContentField, c as filterStateSchema, d as colorIdSchema, et as SortDirection, f as iconNameSchema, g as CollectionContentDefinition, h as CollectionAction, i as contentViewDefinitionSchemaFor, it as isNoValueOperator, j as FormsContentDefinition, k as FormContentDefinition, l as publishedViewContentDefinitionSchema, m as ActivityContentDefinition, n as columnsSchema, nt as filterOperatorsByTypeForGeneration, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, q as FilterValue, r as contentViewDefinitionSchema, rt as getRollupFilterOperators, s as draftContentViewDefinitionSchemaFor, t as collectionContentSourceSchema, tt as SortRule, u as sortsSchema, v as ColumnReference, w as ContentViewContext, x as ContentFieldGroup, y as ContentCreateMode, z as DayMonthValue } from "./all-DjK6Qyn7.js";
4
- import { A as FolderPreset, C as ResourceVisibility, D as parseResourceVisibility, E as Timestamps, M as PresetNode, O as DocumentLayout, S as ReservedObjectName, T as SystemFieldName, _ as ObjectRecord, a as validateDraft, b as RESOURCE_VISIBILITIES, c as validateObjectOrThrow, f as createFormAttributeValidator, g as ObjectDefinition, h as ObjectAttribute, j as MAX_PRESET_DEPTH, k as DocumentLayoutVariant, m as ListViewTabVisibility, o as validateDraftOrThrow, p as LIST_VIEW_TAB_VISIBILITIES, r as rejectUnknownAttributesOrThrow, s as validateObject, v as RESERVED_ATTRIBUTE_NAMES, w as SYSTEM_FIELD_NAMES, x as ReservedAttributeName, y as RESERVED_OBJECT_NAMES } from "./index-C2P7eGBD.js";
5
- import { S as UpdateObjectInput, _ as statusOptionWriteSchema, b as RelationOption, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema, v as AddAttributeInput, x as RelationOptionsResponse, y as CreateCustomObjectInput } from "./index-BT6-WMrI.js";
6
- import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-TBK4s5wH.js";
7
- import { t as createTextValidator } from "./text-BUJ5u8t4.js";
8
- import { t as createNumberValidator } from "./number-CL8uftq2.js";
9
- import { t as createCheckboxValidator } from "./checkbox-DZM_nCHU.js";
10
- import { t as createDateValidator } from "./date-DdaRGJ6k.js";
2
+ import { A as SearchBackendError, B as isNotFoundError, C as RepositoryError, D as SchemaError, E as RoleNotFoundError, F as SyncError, G as isValidationError, H as isProtectedResourceError, I as SystemEntityImmutableError, L as ValidationError, M as StorageOperation, N as SyncCascadeError, O as SchemaErrorCode, P as SyncConflictError, R as ValidationErrorDetail, S as RecordReferencedError, T as ReservedObjectNameError, U as isRecordReferencedError, V as isObjectReferencedError, W as isSchemaError, _ as RealtimeDeliveryError, a as AttributeUsage, b as RecordNotFoundError, c as ForbiddenError, d as NotImplementedError, f as ObjectNotFoundError, g as ProtectedRoleError, h as ProtectedResourceError, i as AttributeNotFoundError, j as StorageError, k as SchemaPlanNotFoundError, l as MemoryNotFoundError, m as OrphanSystemAttributeError, n as AmbiguousSchemaChangeError, o as ConcurrentModificationError, p as ObjectReferencedError, r as AttributeInUseError, s as DuplicateError, t as AccessDeniedError, u as NotFoundError, v as RealtimeRateLimitedError, w as RepositoryOperation, x as RecordReference, y as RealtimeSubscriptionError, z as isAttributeInUseError } from "./exceptions-DxzT8POW.js";
3
+ import { $ as COMPUTED_FUNCTION_METADATA, A as RichTextAttribute, At as ComputedFormulaAstNode, B as UserAttribute, C as NumberUnit, Ct as isComputedFunctionName, D as RELATION_TARGET_ANY, Dt as ComputedPlan, E as PhoneAttribute, Et as ComputedOptionsSource, F as SingleRelationAttribute, Ft as ComputedFormulaParseError, G as isUniversalRelation, H as inferInverseCardinality, I as StatusAttribute, It as ComputedFormulaPathNode, J as PropertyAttribute, K as relationTargetsOf, L as StatusGroup, Lt as parseComputedFormula, M as RollupAttribute, Mt as ComputedFormulaBinaryOperator, N as RollupFunction, Nt as ComputedFormulaCallNode, O as RelationAttribute, Ot as ComputedReturnType, P as SelectAttribute, Pt as ComputedFormulaLiteralNode, Q as resolvePropertyDefinitions, R as TextAttribute, S as NumberAttribute, St as ComputedFunctionSignature, T as Phone, Tt as ComputedFieldKind, U as isAttributeSortable, V as UserReferenceType, W as isBilateralRelation, X as PropertyType, Y as PropertySchema, Z as hasOptions, _ as Location, _t as assertAcyclicComputedDependencies, a as BaseAttribute, at as evaluateComputedFormulaWithResult, b as MultiRelationAttribute, bt as COMPUTED_FUNCTION_NAMES, c as Currency, ct as compileRollupAttribute, d as DateFormat, dt as CompileComputedFormulaInput, et as ComputedFunctionCategory, f as DateRangeValue, ft as ComputedCompileAttribute, g as FormulaReturnType, gt as ComputedFormulaCompileError, h as FormulaAttribute, ht as ComputedDependencyGraphNode, i as AttributeType, it as evaluateComputedFormula, j as RichtextAttribute, jt as ComputedFormulaBinaryNode, k as RelationTarget, kt as ComputedValueType, l as CurrencyAttribute, lt as inferRollupReturnType, m as DocumentAttribute, mt as ComputedCompileSchema, n as Attribute, nt as ComputedFormulaResult, o as BilateralConfig, ot as formatComputedResult, p as DateValue, pt as ComputedCompileObject, q as OptionPropertyAttribute, r as AttributeGroup, rt as evaluateComputedAst, s as CheckboxAttribute, st as isPlainRecord, t as ATTRIBUTE_TYPES, tt as ComputedFunctionMetadata, u as DateAttribute, ut as rollupToFormulaExpression, v as LocationAttribute, vt as compileComputedFormula, w as Option, wt as ComputedDependency, x as MultiselectAttribute, xt as ComputedFunctionName, y as LocationGranularity, yt as COMPUTED_FUNCTIONS, z as TimeFormat } from "./attributes-C2gm0hUJ.js";
4
+ import { a as asUserId, c as indexBy, d as sameStableValue, f as serializeCanonicalJson, i as asTenantId, l as NonJsonValueError, n as UserId, o as deepEqual, p as serializeStableJson, r as Uuid, s as generateId, t as TenantId, u as canonicalStringify } from "./utils-Du-He6Ct.js";
5
+ import { $ as RelativeDateValue, A as FormDensity, B as DynamicValue, C as ContentPlacement, D as DocumentsContentDefinition, E as CustomContentDefinition, F as RichtextContentDefinition, G as FilterRule, H as ExtendedFilterRule, I as ViewContentDefinition, J as NO_VALUE_OPERATORS, K as FilterState, L as ViewRead, M as KanbanCollectionContentDefinition, N as ListViewLayout, O as EmailsContentDefinition, P as MeetingsContentDefinition, Q as QueryState, R as CurrencyFilterValue, S as ContentOpenMode, T as ContentViewDefinition, U as FilterCombinator, V as EdgeQuantifier, W as FilterOperator, X as OPERATORS_BY_TYPE, Y as NoValueOperator, Z as PhoneFilterValue, _ as CollectionContentSource, a as displayAttributesSchema, b as ContentField, c as filterStateSchema, d as colorIdSchema, et as SortDirection, f as iconNameSchema, g as CollectionContentDefinition, h as CollectionAction, i as contentViewDefinitionSchemaFor, it as isNoValueOperator, j as FormsContentDefinition, k as FormContentDefinition, l as publishedViewContentDefinitionSchema, m as ActivityContentDefinition, n as columnsSchema, nt as filterOperatorsByTypeForGeneration, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, q as FilterValue, r as contentViewDefinitionSchema, rt as getRollupFilterOperators, s as draftContentViewDefinitionSchemaFor, t as collectionContentSourceSchema, tt as SortRule, u as sortsSchema, v as ColumnReference, w as ContentViewContext, x as ContentFieldGroup, y as ContentCreateMode, z as DayMonthValue } from "./all-CPMOHYla.js";
6
+ import { A as FolderPreset, C as ResourceVisibility, D as parseResourceVisibility, E as Timestamps, M as PresetNode, O as DocumentLayout, S as ReservedObjectName, T as SystemFieldName, _ as ObjectRecord, a as validateDraft, b as RESOURCE_VISIBILITIES, c as validateObjectOrThrow, f as createFormAttributeValidator, g as ObjectDefinition, h as ObjectAttribute, j as MAX_PRESET_DEPTH, k as DocumentLayoutVariant, m as ListViewTabVisibility, o as validateDraftOrThrow, p as LIST_VIEW_TAB_VISIBILITIES, r as rejectUnknownAttributesOrThrow, s as validateObject, v as RESERVED_ATTRIBUTE_NAMES, w as SYSTEM_FIELD_NAMES, x as ReservedAttributeName, y as RESERVED_OBJECT_NAMES } from "./index-D9OhYX-t.js";
7
+ import { S as UpdateObjectInput, _ as statusOptionWriteSchema, b as RelationOption, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema, v as AddAttributeInput, x as RelationOptionsResponse, y as CreateCustomObjectInput } from "./index-CRtiKFTH.js";
8
+ import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-BL7EA39F.js";
9
+ import { t as createTextValidator } from "./text-DHg2cmFd.js";
10
+ import { t as createNumberValidator } from "./number-Ck0PPSkK.js";
11
+ import { t as createCheckboxValidator } from "./checkbox-Ce8gAyQf.js";
12
+ import { t as createDateValidator } from "./date-DikDGfre.js";
11
13
  import z, { z as z$1 } from "zod";
12
14
  import { ColorId, CountryIso3, CurrencyCode, IconName, MimeType } from "@stndrds/constants";
13
15
  import { StandardSchemaV1, StandardSchemaV1 as StandardSchemaV1$1 } from "@standard-schema/spec";
@@ -27,6 +29,13 @@ export declare function findRelationAttribute(object: {
27
29
  * matches on target id however many targets are declared.
28
30
  */
29
31
  export declare function relationAcceptsObject(attribute: RelationAttribute, objectName: string): boolean;
32
+ /**
33
+ * The one object a relation lists, or `undefined` when it has several targets
34
+ * or the polymorphic `*`: only a single concrete target can source a
35
+ * collection. The predicate behind `requireSingleRelationTarget`, for callers
36
+ * that offer choices rather than validate one.
37
+ */
38
+ export declare function singleRelationTarget(attribute: RelationAttribute): string | undefined;
30
39
  export declare function requireSingleRelationTarget(attribute: RelationAttribute, path?: string[]): string;
31
40
  //#endregion
32
41
  //#region src/types/common.d.ts
@@ -1665,6 +1674,16 @@ type ArchitectProjection = {
1665
1674
  //#endregion
1666
1675
  //#region src/architect/proposal-targets.d.ts
1667
1676
  export declare function proposalTargetKey(focus: DraftFocus): string | null;
1677
+ /**
1678
+ * The attribute a `rename_draft_attribute` renames FROM. Its focus names the
1679
+ * new attribute; the old one is a target too — a concurrent edit to it must
1680
+ * conflict, exactly like the view `rename_view` renames from. Shared with the
1681
+ * runtime's changed targets so the two read one rule.
1682
+ */
1683
+ export declare function renamedFromTarget(op: ViewOperation): {
1684
+ objectId: string;
1685
+ attributeName: string;
1686
+ } | null;
1668
1687
  export declare function requiredTargetKeys(state: DraftableState, operations: readonly ViewOperation[]): readonly string[];
1669
1688
  /**
1670
1689
  * The token minted for one snapshot — the single place the version prefix is
@@ -1714,10 +1733,161 @@ export declare function architectFocusCandidates(focus: ArchitectFocus): string[
1714
1733
  //#region src/architect/operations/schema.d.ts
1715
1734
  /** Every attribute type: formulas and rollups compile against the drafted state at append. */
1716
1735
  export declare const DRAFTABLE_ATTRIBUTE_TYPES: readonly ["text", "richtext", "number", "checkbox", "date", "phone", "currency", "status", "location", "select", "multiselect", "user", "relation", "formula", "rollup", "document"];
1736
+ declare const renameDraftAttributeSchema: z$1.ZodObject<{
1737
+ type: z$1.ZodLiteral<"rename_draft_attribute">;
1738
+ name: z$1.ZodString;
1739
+ attribute: z$1.ZodString;
1740
+ objectId: z$1.ZodString;
1741
+ id: z$1.ZodString;
1742
+ note: z$1.ZodOptional<z$1.ZodString>;
1743
+ }, z$1.core.$strip>;
1744
+ type RenameDraftAttributeOperation = z$1.infer<typeof renameDraftAttributeSchema>;
1717
1745
  /** The record ids a relation value carries: a bare uuid, an `{ id }`, or a list of either. */
1718
1746
  export declare function relationValueIds(value: unknown): string[];
1719
1747
  export declare const SCHEMA_OPERATIONS: OperationDef[];
1720
1748
  //#endregion
1749
+ //#region src/architect/attribute-rename.d.ts
1750
+ /**
1751
+ * Whether a content definition names `attributeName` ANYWHERE — every place
1752
+ * the rename rewrites and every place it refuses — without knowing which
1753
+ * object it lists, so it answers for every part. Takes an unvalidated payload
1754
+ * (a stored operation's `definition` or `content`): anything that is not a
1755
+ * content, or a field of the wrong shape, reads as naming nothing.
1756
+ */
1757
+ export declare function contentNamesAttribute(definition: unknown, attributeName: string): boolean;
1758
+ /**
1759
+ * Whether renaming `objectName`'s attribute `name` rewrites `view` — the very
1760
+ * walk `renameAttributeInView` runs, over both authoring definitions of every
1761
+ * content, suppressed ones included. A derived view names nothing: it is
1762
+ * regenerated instead.
1763
+ */
1764
+ export declare function viewNamesAttribute(state: DraftableState, view: DraftableView, objectName: string, name: string): boolean;
1765
+ //#endregion
1766
+ //#region src/views/attribute-removal.d.ts
1767
+ /**
1768
+ * Removes exactly the reported paths and nothing else: display fields, and
1769
+ * the filter rules and sort entries a direct attribute delete scrubs (#4284).
1770
+ * The whole-catalogue plan never reports the latter — it marks every business
1771
+ * reference `repairRequired` — so this stays a single definition of how a
1772
+ * reference leaves a content, whichever plan reported it.
1773
+ *
1774
+ * Only `path` is read, and the parameter says so: a caller that has paths and
1775
+ * no reference to attach them to passes the paths, rather than inventing an
1776
+ * owner and a target for a function that never looks at either.
1777
+ */
1778
+ export declare function cleanContent(content: ViewContentDefinition, references: readonly {
1779
+ readonly path: readonly string[];
1780
+ }[]): ViewContentDefinition;
1781
+ /** One attribute being removed, addressed by the object that owns it. */
1782
+ interface RemovedAttribute {
1783
+ object: string;
1784
+ attribute: string;
1785
+ }
1786
+ /**
1787
+ * What the planner reads of a view: its object, its name and its effective
1788
+ * contents. A `ContentViewDefinition` (runtime, composed from rows) and a
1789
+ * `DraftableView` (Architect, whose `contents` are resolved from `authoring`)
1790
+ * both are one.
1791
+ */
1792
+ type AttributeRemovalView = Pick<ContentViewDefinition, "object" | "name" | "contents">;
1793
+ /** A content, addressed as the catalogue addresses it. */
1794
+ interface AttributeRemovalContentAddress {
1795
+ object: string;
1796
+ view: string;
1797
+ content: string;
1798
+ }
1799
+ /** One retained content the removal rewrites, with its cleaned definition. */
1800
+ interface ScrubbedContent extends AttributeRemovalContentAddress {
1801
+ definition: ViewContentDefinition;
1802
+ }
1803
+ /**
1804
+ * One content whose SOURCE is a removed attribute — a `{relation}` or
1805
+ * `relatedFrom` collection listing through it, a richtext editing it. With
1806
+ * the attribute gone the content has nothing to show, so it leaves whole.
1807
+ *
1808
+ * `attribute` is the removed attribute's name: on the view's own object for a
1809
+ * `{relation}` collection and a richtext, on the source's `object` for a
1810
+ * `relatedFrom` collection.
1811
+ */
1812
+ interface DroppedContent extends AttributeRemovalContentAddress {
1813
+ attribute: string;
1814
+ }
1815
+ /**
1816
+ * Why a removal cannot proceed as planned — data, not a throw: each caller
1817
+ * maps it to its own error.
1818
+ *
1819
+ * - `kanban-grouping`: a retained kanban groups by the attribute. The content
1820
+ * schema requires `groupByAttribute`, and a board grouped by a phantom
1821
+ * attribute drops every card into "no value" with nothing on screen to say
1822
+ * why (#4284).
1823
+ * - `last-main-content`: the drops would leave a view that had a main content
1824
+ * with none, which a published view may not be. `content` names the first
1825
+ * dropped main content of the view, `attribute` what sourced it.
1826
+ */
1827
+ interface BlockedContent extends AttributeRemovalContentAddress {
1828
+ attribute: string;
1829
+ reason: "kanban-grouping" | "last-main-content";
1830
+ }
1831
+ interface AttributeRemovalPlan {
1832
+ scrubbed: ScrubbedContent[];
1833
+ dropped: DroppedContent[];
1834
+ blocked: BlockedContent[];
1835
+ }
1836
+ /**
1837
+ * Which object's attributes a content displays, or `undefined` when that is
1838
+ * not known — then nothing in the content is scrubbed.
1839
+ */
1840
+ type ListedObjectResolver = (view: AttributeRemovalView, content: ViewContentDefinition) => string | undefined;
1841
+ /**
1842
+ * The catalogue-free reading the runtime delete uses.
1843
+ *
1844
+ * `related` names a relation and not an object, so the records it lists
1845
+ * belong to that relation's target — which only the catalogue knows. It reads
1846
+ * as unknown rather than as the host object: guessing there would strip a
1847
+ * column that names a different object's attribute (#3736). The Architect,
1848
+ * which holds the draft's attributes, injects a resolver that knows.
1849
+ */
1850
+ export declare function listedObjectWithoutCatalogue(view: AttributeRemovalView, content: ViewContentDefinition): string | undefined;
1851
+ /**
1852
+ * What removing attributes owes the view contents that name them — the one
1853
+ * plan the runtime delete and the Architect `remove_attribute` fold share
1854
+ * (#4226).
1855
+ *
1856
+ * - `dropped`: a content whose SOURCE is a removed attribute. It is dropped
1857
+ * whole and never also scrubbed.
1858
+ * - `scrubbed`: a retained content whose display fields, filter rules or sort
1859
+ * entries name a removed attribute of the object it lists, with its cleaned
1860
+ * definition (#4158, #4284). A content whose cleaned definition is identical
1861
+ * to the one it came from is left out: "a path was emitted" and "the
1862
+ * definition changed" are not the same statement, and a caller must not be
1863
+ * handed a write that would bump a revision for nothing.
1864
+ * - `blocked`: see {@link BlockedContent}. A kanban both sourced on and
1865
+ * grouped by removed attributes is dropped, not blocked — the drop wins.
1866
+ *
1867
+ * This deliberately does NOT go through `collectSchemaReferences`. That
1868
+ * collector validates the entire catalogue and rejects any reference it
1869
+ * cannot resolve, so routing a single-attribute delete through it would make
1870
+ * deleting one attribute fail whenever any view in the tenant names something
1871
+ * the catalogue does not list — which is the state the tenants #4158 fixed
1872
+ * are already in. Deriving everything per content needs no catalogue, and
1873
+ * cannot refuse a delete over an unrelated view. Business references
1874
+ * (`documents.relations`, `emails`/`meetings.emailAttributes`) stay out.
1875
+ *
1876
+ * `listedObjectOf` says which object a retained content's display fields
1877
+ * name; it is never asked about a dropped one.
1878
+ */
1879
+ export declare function planAttributeRemoval(views: readonly AttributeRemovalView[], attributes: readonly RemovedAttribute[], listedObjectOf?: ListedObjectResolver): AttributeRemovalPlan;
1880
+ //#endregion
1881
+ //#region src/architect/attribute-removal-fold.d.ts
1882
+ /**
1883
+ * Which object a content's display fields name, resolved through the draft:
1884
+ * a `{relation}` collection lists that relation's target. The fold's reading
1885
+ * of `planAttributeRemoval`'s `listedObjectOf`, and the one Architect publish
1886
+ * passes to `deleteAttribute`, so the runtime cascade strips a `{relation}`
1887
+ * collection exactly as the fold did (#4226).
1888
+ */
1889
+ export declare function draftListedObjectResolver(state: DraftableState): ListedObjectResolver;
1890
+ //#endregion
1721
1891
  //#region src/architect/operations/content-view.d.ts
1722
1892
  export declare const canonicalViewOperationSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
1723
1893
  type: z$1.ZodLiteral<"replace_view_content">;
@@ -2899,8 +3069,26 @@ export interface CreateMeetingInput {
2899
3069
  startsAt: string;
2900
3070
  endsAt: string;
2901
3071
  isAllDay?: boolean;
3072
+ /** Guests to invite, by email. The organizer is the connection's account and is never listed. */
3073
+ attendees?: string[];
3074
+ /** Plain text; blank is no description. */
3075
+ description?: string;
3076
+ /** Free text; a pasted `https://` Meet / Teams / Zoom link reads back as the join URL. */
3077
+ location?: string;
2902
3078
  notifyAttendees?: boolean;
2903
3079
  }
3080
+ /**
3081
+ * `PATCH /meetings/:id/details` body. Each field left out stays as the
3082
+ * provider holds it; `null` or blank clears description and location.
3083
+ * `attendees` replaces the whole guest list — the organizer is never in it.
3084
+ */
3085
+ export interface MeetingDetailsInput {
3086
+ attendees?: string[];
3087
+ description?: string | null;
3088
+ location?: string | null;
3089
+ /** Google honours it (`sendUpdates=all|none`); Graph always notifies the attendees. */
3090
+ notifyAttendees: boolean;
3091
+ }
2904
3092
  /** `DELETE /meetings/:id` body. */
2905
3093
  export interface DeleteMeetingBody {
2906
3094
  notifyAttendees: boolean;
@@ -5770,6 +5958,20 @@ export interface UpdateFile {
5770
5958
  //#region src/types/artifacts.d.ts
5771
5959
  export declare const ARTIFACT_KINDS: readonly ["web", "presentation", "document", "spreadsheet", "image", "code", "other"];
5772
5960
  export type ArtifactKind = (typeof ARTIFACT_KINDS)[number];
5961
+ /**
5962
+ * An artifact kind as it reads BACK, which is not the same question as what may
5963
+ * be published.
5964
+ *
5965
+ * A newer server can publish a kind a client has not shipped yet. Refusing such
5966
+ * a value made the artifact render as nothing at all — the reader was told an
5967
+ * artifact existed and saw no artifact (#4075). Karl's ruling of 2026-09-21:
5968
+ * visible and degraded, so history is read with an open vocabulary while
5969
+ * `ArtifactKind` stays closed for everything that WRITES one.
5970
+ *
5971
+ * `(string & {})` rather than a bare `string`: the known kinds keep their
5972
+ * autocomplete, so a reader still sees what the vocabulary is.
5973
+ */
5974
+ export type StoredArtifactKind = ArtifactKind | (string & {});
5773
5975
  export declare const ARTIFACT_RETENTIONS: readonly ["ephemeral", "conversation", "persistent"];
5774
5976
  export type ArtifactRetention = (typeof ARTIFACT_RETENTIONS)[number];
5775
5977
  export declare const ARTIFACT_FILE_ROLES: readonly ["source", "preview", "entrypoint", "asset"];
@@ -7479,10 +7681,6 @@ export interface SchemaStateDiff {
7479
7681
  }
7480
7682
  //#endregion
7481
7683
  //#region src/types/ai-generation.d.ts
7482
- /**
7483
- * Contracts for the AI generation module (regex, formula, …).
7484
- * Client-safe: no prompts or server logic here.
7485
- */
7486
7684
  /** Supported generator types in V1. */
7487
7685
  export type AIGenerationType = "regex" | "formula" | "filter";
7488
7686
  /** Request payload for a regex generation. */
@@ -7517,6 +7715,21 @@ export interface FilterGenerationAttribute {
7517
7715
  type: string;
7518
7716
  /** Select/multi-select option values, when the type has them. */
7519
7717
  options?: string[];
7718
+ /**
7719
+ * Narrows what a rule on this attribute may use, below what its type
7720
+ * carries. Absent means "whatever the type carries", which is every caller
7721
+ * that has nothing special to say.
7722
+ *
7723
+ * It exists because a type is not always the whole truth. A location's
7724
+ * country part is a `select` over ISO3 codes, yet the records API filters a
7725
+ * location part as text and refuses a set operator on it — so the prompt
7726
+ * offered `any_of` and the client threw the answer away whole (#4207). The
7727
+ * caller already knows which operators its own chip offers; this is where it
7728
+ * says so, rather than the generator learning what a location part is.
7729
+ *
7730
+ * It can only narrow: an operator the type does not carry stays absent.
7731
+ */
7732
+ operators?: FilterOperator[];
7520
7733
  }
7521
7734
  /** Request payload for a filter generation. */
7522
7735
  export interface FilterGenerationInput {
@@ -9412,70 +9625,6 @@ export declare const NATIVE_OBJECT_NAMES: readonly ["skill", "memory", "drives",
9412
9625
  export type NativeObjectName = (typeof NATIVE_OBJECT_NAMES)[number];
9413
9626
  export declare function isNativeObjectName(name: string): name is NativeObjectName;
9414
9627
  //#endregion
9415
- //#region src/builders/migration-builder.d.ts
9416
- interface ChangeTypeOptions {
9417
- /** Optional explicit transform function (used to resolve a BuiltInTransform) */
9418
- transform?: (value: unknown) => unknown;
9419
- }
9420
- /**
9421
- * Fluent builder for composing a MigrationDefinition.
9422
- *
9423
- * Operations are collected in declaration order. The builder tracks which
9424
- * attribute names have been touched and throws on conflicting operations
9425
- * (e.g., renaming then removing the same attribute within the same migration).
9426
- *
9427
- * @example
9428
- * ```typescript
9429
- * const migration = new MigrationBuilder(2)
9430
- * .renameAttribute("firstName", "first_name")
9431
- * .changeType("age", "text", "number")
9432
- * .build();
9433
- * ```
9434
- */
9435
- declare class MigrationBuilder {
9436
- private readonly version;
9437
- private readonly operations;
9438
- /** Tracks attribute names that have already been referenced in this migration */
9439
- private readonly touchedAttributes;
9440
- constructor(version: number);
9441
- private assertNotTouched;
9442
- /**
9443
- * Rename an attribute.
9444
- * The reverse operation will rename it back.
9445
- */
9446
- renameAttribute(from: string, to: string): this;
9447
- /**
9448
- * Change the type of an attribute.
9449
- *
9450
- * The `transform` option accepts a function — it is used only to signal
9451
- * intent; the actual built-in transform is resolved from the target type.
9452
- */
9453
- changeType(name: string, from: AttributeType, to: AttributeType, options?: ChangeTypeOptions): this;
9454
- /**
9455
- * Remove an attribute.
9456
- *
9457
- * Authoring has no persisted snapshot, so backup_config is omitted.
9458
- * Automatically generated diffs can attach the existing attribute definition.
9459
- */
9460
- removeAttribute(name: string): this;
9461
- /**
9462
- * Add a new attribute.
9463
- * The reverse operation will remove it (using the attribute definition as backup).
9464
- */
9465
- addAttribute(attribute: Attribute): this;
9466
- /**
9467
- * Update the configuration of an attribute (partial patch).
9468
- *
9469
- * The `from` config is intentionally left empty — the sync engine will
9470
- * populate it from current DB state before applying the migration.
9471
- */
9472
- updateConfig(name: string, config: Partial<Record<string, unknown>>): this;
9473
- /**
9474
- * Produce the final MigrationDefinition.
9475
- */
9476
- build(): MigrationDefinition;
9477
- }
9478
- //#endregion
9479
9628
  //#region src/builders/object-builder.d.ts
9480
9629
  /**
9481
9630
  * The object-level expression invariants `ObjectBuilder.build()` enforces.
@@ -9608,7 +9757,6 @@ export declare class ObjectBuilder<TRecord extends Record<string, unknown> = {},
9608
9757
  private _labelExpression?;
9609
9758
  private _embeddingExpression?;
9610
9759
  private _pluralLabel?;
9611
- private _migrations;
9612
9760
  private _sealed;
9613
9761
  private _toleratedAttributes;
9614
9762
  /**
@@ -9759,8 +9907,18 @@ export declare class ObjectBuilder<TRecord extends Record<string, unknown> = {},
9759
9907
  /**
9760
9908
  * Set metadata. Merges with any previously set metadata (preserves keys
9761
9909
  * written by other builder methods like `.order()`).
9910
+ *
9911
+ * `icon` is reserved and is NOT preserved: the icon has one home, the
9912
+ * object's own `icon` field (#3563), so the runtime drops a metadata key of
9913
+ * that name on every write. Set it with `.icon()`.
9914
+ *
9915
+ * The type refuses the key outright, so a declaration that would silently
9916
+ * lose it fails to compile instead. Nothing already stored is affected — the
9917
+ * runtime keeps stripping the key for callers who reach this without types.
9762
9918
  */
9763
- metadata(value: Record<string, unknown>): this;
9919
+ metadata(value: Record<string, unknown> & {
9920
+ icon?: never;
9921
+ }): this;
9764
9922
  /**
9765
9923
  * Set the display order used by the sidebar (and any other UI that
9766
9924
  * surfaces objects). Lower values appear first; objects without an
@@ -9811,23 +9969,6 @@ export declare class ObjectBuilder<TRecord extends Record<string, unknown> = {},
9811
9969
  * sub-folders and installable preset structures inside a record's drive.
9812
9970
  */
9813
9971
  documentLayout(layout: DocumentLayout): this;
9814
- /**
9815
- * Declare a schema migration for this object.
9816
- *
9817
- * - `version` must be >= 2 (version 1 is implicit — no migration needed).
9818
- * - Versions must be declared in sequential order without gaps or duplicates.
9819
- * - The callback receives a MigrationBuilder; call `.build()` is not required
9820
- * (the ObjectBuilder calls it internally).
9821
- *
9822
- * @example
9823
- * ```typescript
9824
- * object({ name: "contacts", label: "Contact" })
9825
- * .migration(2, (m) => m.renameAttribute("firstName", "first_name"))
9826
- * .migration(3, (m) => m.changeType("age", "text", "number"))
9827
- * .labelExpression("{{ first_name }}")
9828
- * ```
9829
- */
9830
- migration(version: number, callback: (builder: MigrationBuilder) => unknown): this;
9831
9972
  /**
9832
9973
  * Build the final ObjectDefinition
9833
9974
  * @throws ValidationError if required fields are missing or invalid
@@ -12547,6 +12688,19 @@ export declare function resolveUtcDayBounds(ms: number): IsWithinBounds | null;
12547
12688
  /** Format a UTC millisecond bound as the `YYYY-MM-DD` day string Postgres compares against. */
12548
12689
  export declare function toUtcDayString(ms: number): string;
12549
12690
  //#endregion
12691
+ //#region src/filters/date-comparison.d.ts
12692
+ /**
12693
+ * Parse an ISO-8601 date or date-time to epoch milliseconds, strictly: anything
12694
+ * else — a V8-only format such as `"Sept 18 2026"`, epoch digits, an impossible
12695
+ * day — is null rather than a guess. A value without an offset (a bare day
12696
+ * included) is UTC. Fractions beyond milliseconds are truncated.
12697
+ *
12698
+ * The one TypeScript reading of an absolute date comparand: the in-memory
12699
+ * evaluator and the Meilisearch filter builder both parse with it, mirroring
12700
+ * the Postgres `public.filter_instant` guard.
12701
+ */
12702
+ export declare function parseFilterInstant(value: unknown): number | null;
12703
+ //#endregion
12550
12704
  //#region src/mcp/types.d.ts
12551
12705
  /** How an MCP server authenticates outbound calls. `oauth` carries no secret
12552
12706
  * on the wire — the tokens stay server-side. */
@@ -12700,6 +12854,35 @@ export declare function conversationDisplayTitle(input: ConversationDisplayTitle
12700
12854
  export declare const SCHEMA_SOURCE_ID_PATTERN: RegExp;
12701
12855
  export declare function assertSchemaSourceId(sourceId: string): void;
12702
12856
  //#endregion
12857
+ //#region src/utils/markdown-plain-text.d.ts
12858
+ /**
12859
+ * Markdown → plain words, for the embedding text, the record label and any
12860
+ * one-line display of a richtext value.
12861
+ *
12862
+ * Removes the syntax that carries no meaning for retrieval (heading markers,
12863
+ * emphasis, list bullets, fences, link URLs, table rules, HTML tags) and keeps
12864
+ * every word — heading words included, since "When to use" is exactly what a
12865
+ * skill is retrieved by. Deliberately regex-based and dependency-free: the input
12866
+ * is our own editor's markdown, not arbitrary documents.
12867
+ */
12868
+ export declare function markdownToPlainText(markdown: string): string;
12869
+ //#endregion
12870
+ //#region src/utils/calendar-day.d.ts
12871
+ /**
12872
+ * A `YYYY-MM-DD` string that actually names a calendar day.
12873
+ *
12874
+ * The shape test alone is not enough, because JavaScript rolls an impossible
12875
+ * day over where SQL refuses it: `new Date("2026-02-30")` answers March 2 and
12876
+ * `Date.parse` calls it valid, while `'2026-02-30'::date` raises
12877
+ * `SQLSTATE 22008`. Round-tripping the parsed day back to a string is what
12878
+ * separates the two.
12879
+ *
12880
+ * Three call sites need this exact predicate — the absolute date filter
12881
+ * comparand guard (`filters/validation.ts`), the AI filter generator's repair
12882
+ * loop and the usage report window — so it lives here once.
12883
+ */
12884
+ export declare function isCalendarDay(value: string): boolean;
12885
+ //#endregion
12703
12886
  //#region src/utils/routing-price.d.ts
12704
12887
  /**
12705
12888
  * USD per million tokens for one dimension, judged at the HIGHEST figure the
@@ -12787,9 +12970,9 @@ export interface PersistedSchemaPlanAdditive extends SchemaPlanAdditiveBase {}
12787
12970
  * destructive branch is what makes the UI require an explicit confirmation —
12788
12971
  * the structure carries the distinction, so no caller can forget to check it.
12789
12972
  *
12790
- * Type change is deliberately absent: `changeAttributeType` raises
12791
- * `ChangeTypeNotSupportedError` at runtime by design and lives in code through
12792
- * `.migration(N, m => m.changeType(...))`.
12973
+ * Type change is deliberately absent: a runtime retype is not a plan
12974
+ * operation, and a retype of a system attribute is refused at boot unless it
12975
+ * is storage-compatible — it takes a hand-written SQL migration.
12793
12976
  */
12794
12977
  export interface SchemaPlanDestructive {
12795
12978
  attributeRemovals: PlannedAttributeRemoval[];
@@ -14579,4 +14762,4 @@ export declare function schemaStateSourcePayload(entries: readonly SchemaStateEn
14579
14762
  export declare function parseSchemaState(input: unknown): SchemaState;
14580
14763
  export declare function diffSchemaState(state: SchemaState): SchemaStateDiff;
14581
14764
  //#endregion
14582
- export { ATTRIBUTE_TYPES, AccessDeniedError, type ActivityContentDefinition, AddAttributeInput, type ArchitectChange, type ArchitectFocus, type ArchitectImpact, type ArchitectNavigation, type ArchitectPresentation, type ArchitectProjection, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, AttributeGroup, AttributeInUseError, type AttributeLifecycleCapabilities, type AttributeLike, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, AttributeUsage, BaseAttribute, type BaseOperation, type BatchGuidance, BilateralConfig, BuiltInTransform, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, type CanonicalViewOperationInput, type CatalogueViolation, ChangeTypeNotSupportedError, CheckboxAttribute, type CollectionAction, type CollectionContentDefinition, type CollectionContentSource, type CollectionSourceAddress, type ColumnReference, type ColumnsNeeded, CompileComputedFormulaInput, ComputedCompileAttribute, ComputedCompileObject, ComputedCompileSchema, ComputedDependency, ComputedDependencyGraphNode, ComputedFieldKind, ComputedFormulaAstNode, ComputedFormulaBinaryNode, ComputedFormulaBinaryOperator, ComputedFormulaCallNode, ComputedFormulaCompileError, ComputedFormulaLiteralNode, ComputedFormulaParseError, ComputedFormulaPathNode, ComputedFormulaResult, ComputedFunctionCategory, ComputedFunctionMetadata, ComputedFunctionName, ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ContentCreateMode, type ContentExtensionDefinition, type ContentField, type ContentFieldGroup, type ContentNavigation, type ContentOpenMode, type ContentPlacement, type ContentViewCatalogueCollection, type ContentViewCatalogueInput, type ContentViewCatalogueResult, type ContentViewContext, type ContentViewDefinition, type ConversationDisplayTitleInput, CreateCustomObjectInput, type CreateDBForm, type CreateDBFormSubmission, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomContentDefinition, type DBForm, type DBFormSubmission, DEFAULT_VALIDATION_MESSAGES, DateAttribute, DateFormat, DateRangeValue, DateValue, type DayMonthValue, type DefaultResolutionContext, type DefaultViewType, DestructiveSyncNotAllowedError, DocumentAttribute, DocumentLayout, DocumentLayoutVariant, type DocumentsContentDefinition, type DraftAppendCommand, type DraftAppendReceipt, type DraftCommandGuard, type DraftContentState, type DraftFocus, type DraftObjectSettings, type DraftOperationContext, type DraftPublishCommand, type DraftRefusal, type DraftSummary, type DraftViewAuthoring, type DraftableAttribute, type DraftableObject, type DraftableSampleRecord, type DraftableState, type DraftableView, DuplicateError, type DwellMode, type DynamicValue, type EdgeQuantifier, type EditingCapability, type EditingScope, type EmailsContentDefinition, type ExhaustiveDraftObjectSettings, type ExtendedFilterRule, type FilterCombinator, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagResolutionContext, FolderPreset, ForbiddenError, type FormContentDefinition, type FormDensity, FormRegistry, type FormsContentDefinition, FormulaAttribute, FormulaReturnType, type GatewayFastPricing, type GatewayPriceTier, type GatewayPricing, type KanbanCollectionContentDefinition, LIST_VIEW_TAB_VISIBILITIES, type LabelContext, type ListViewLayout, ListViewTabVisibility, Location, LocationAttribute, type LocationFilterProperty, LocationGranularity, MAX_PRESET_DEPTH, type MeetingsContentDefinition, MemoryNotFoundError, MigrationDefinition, MigrationTimeoutError, MultiRelationAttribute, MultiselectAttribute, type MutationReceipt, NO_VALUE_OPERATORS, type NamedTarget, type NextStep, type NoValueOperator, NonJsonValueError, NotFoundError, NotImplementedError, NumberAttribute, NumberUnit, OPERATORS_BY_TYPE, ObjectAttribute, ObjectDefinition, ObjectNotFoundError, ObjectRecord, ObjectReferencedError, type OperationDef, type OperationFamily, type OperationPace, Option, OptionPropertyAttribute, OrphanSystemAttributeError, Phone, PhoneAttribute, type PhoneFilterValue, PresetNode, PropertyAttribute, PropertySchema, PropertyType, type ProposalRevision, type ProposalTarget, ProtectedResourceError, ProtectedRoleError, type QueryState, RELATION_TARGET_ANY, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, RealtimeDeliveryError, RealtimeRateLimitedError, RealtimeSubscriptionError, type ReconcileRelationAttributesInput, type ReconciledRelationAttributes, RecordNotFoundError, RecordReference, RecordReferencedError, RelationAttribute, RelationOption, RelationOptionsResponse, type RelationPair, RelationTarget, type RelativeDateValue, RepositoryError, RepositoryOperation, ReservedAttributeName, ReservedObjectName, ReservedObjectNameError, ResourceVisibility, RichTextAttribute, RichtextAttribute, type RichtextContentDefinition, RoleNotFoundError, RollupAttribute, RollupFunction, SCHEMA_LIMITS, SIMPLE_PROPERTY_TYPES, SYSTEM_FIELD_NAMES, type SamplePublication, SchemaError, SchemaErrorCode, SchemaOperation, SchemaPlanNotFoundError, SearchBackendError, SelectAttribute, SingleRelationAttribute, type SortDirection, type SortRule, type StandardSchemaV1, StatusAttribute, StatusGroup, StorageError, StorageOperation, type StoredContentDefinition, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, SystemFieldName, type TenantId, TextAttribute, TimeFormat, Timestamps, type UpdateDBForm, type UpdateDBFormSubmission, UpdateObjectInput, UserAttribute, type UserId, type UserLike, UserReferenceType, type Uuid, ValidationError, ValidationErrorDetail, type ValidationMessages, type ValueRef, type ViewContentDefinition, type ViewOperation, type ViewRead, WIRE_OMITTED_CONFIG_KEYS, asTenantId, asUserId, assertAcyclicComputedDependencies, attributeConfigSchemas, canonicalStringify, collectionContentSourceSchema, colorIdSchema, columnsSchema, compileComputedFormula, compileRollupAttribute, contentViewDefinitionSchema, contentViewDefinitionSchemaFor, createCheckboxValidator, createDateValidator, createFormAttributeValidator, createNumberValidator, createTextValidator, deepEqual, displayAttributesSchema, draftContentViewDefinitionSchema, draftContentViewDefinitionSchemaFor, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, filterOperatorsByTypeForGeneration, filterStateSchema, formatComputedResult, formatZodErrors, generateId, getRollupFilterOperators, hasOptions, iconNameSchema, indexBy, inferInverseCardinality, inferRollupReturnType, isAttributeInUseError, isAttributeSortable, isBilateralRelation, isComputedFunctionName, isNoValueOperator, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isSchemaError, isUniversalRelation, isValidationError, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, parseComputedFormula, parseResourceVisibility, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, publishedViewContentDefinitionSchema, refuseForeignKeys, rejectUnknownAttributesOrThrow, relationTargetsOf, resolvePropertyDefinitions, rollupToFormulaExpression, sameStableValue, selectOptionWriteSchema, serializeCanonicalJson, serializeStableJson, sortsSchema, statusGroupSchema, statusOptionWriteSchema, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow };
14765
+ export { ATTRIBUTE_TYPES, AccessDeniedError, type ActivityContentDefinition, AddAttributeInput, AmbiguousSchemaChangeError, type ArchitectChange, type ArchitectFocus, type ArchitectImpact, type ArchitectNavigation, type ArchitectPresentation, type ArchitectProjection, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, AttributeGroup, AttributeInUseError, type AttributeLifecycleCapabilities, type AttributeLike, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRemovalContentAddress, type AttributeRemovalPlan, type AttributeRemovalView, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, AttributeUsage, BaseAttribute, type BaseOperation, type BatchGuidance, BilateralConfig, type BlockedContent, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, type CanonicalViewOperationInput, type CatalogueViolation, CheckboxAttribute, type CollectionAction, type CollectionContentDefinition, type CollectionContentSource, type CollectionSourceAddress, type ColumnReference, type ColumnsNeeded, CompileComputedFormulaInput, ComputedCompileAttribute, ComputedCompileObject, ComputedCompileSchema, ComputedDependency, ComputedDependencyGraphNode, ComputedFieldKind, ComputedFormulaAstNode, ComputedFormulaBinaryNode, ComputedFormulaBinaryOperator, ComputedFormulaCallNode, ComputedFormulaCompileError, ComputedFormulaLiteralNode, ComputedFormulaParseError, ComputedFormulaPathNode, ComputedFormulaResult, ComputedFunctionCategory, ComputedFunctionMetadata, ComputedFunctionName, ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ContentCreateMode, type ContentExtensionDefinition, type ContentField, type ContentFieldGroup, type ContentNavigation, type ContentOpenMode, type ContentPlacement, type ContentViewCatalogueCollection, type ContentViewCatalogueInput, type ContentViewCatalogueResult, type ContentViewContext, type ContentViewDefinition, type ConversationDisplayTitleInput, CreateCustomObjectInput, type CreateDBForm, type CreateDBFormSubmission, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomContentDefinition, type DBForm, type DBFormSubmission, DEFAULT_VALIDATION_MESSAGES, DateAttribute, DateFormat, DateRangeValue, DateValue, type DayMonthValue, type DefaultResolutionContext, type DefaultViewType, DocumentAttribute, DocumentLayout, DocumentLayoutVariant, type DocumentsContentDefinition, type DraftAppendCommand, type DraftAppendReceipt, type DraftCommandGuard, type DraftContentState, type DraftFocus, type DraftObjectSettings, type DraftOperationContext, type DraftPublishCommand, type DraftRefusal, type DraftSummary, type DraftViewAuthoring, type DraftableAttribute, type DraftableObject, type DraftableSampleRecord, type DraftableState, type DraftableView, type DroppedContent, DuplicateError, type DwellMode, type DynamicValue, type EdgeQuantifier, type EditingCapability, type EditingScope, type EmailsContentDefinition, type ExhaustiveDraftObjectSettings, type ExtendedFilterRule, type FilterCombinator, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagResolutionContext, FolderPreset, ForbiddenError, type FormContentDefinition, type FormDensity, FormRegistry, type FormsContentDefinition, FormulaAttribute, FormulaReturnType, type GatewayFastPricing, type GatewayPriceTier, type GatewayPricing, type KanbanCollectionContentDefinition, LIST_VIEW_TAB_VISIBILITIES, type LabelContext, type ListViewLayout, ListViewTabVisibility, type ListedObjectResolver, Location, LocationAttribute, type LocationFilterProperty, LocationGranularity, MAX_PRESET_DEPTH, type MeetingsContentDefinition, MemoryNotFoundError, MultiRelationAttribute, MultiselectAttribute, type MutationReceipt, NO_VALUE_OPERATORS, type NamedTarget, type NextStep, type NoValueOperator, NonJsonValueError, NotFoundError, NotImplementedError, NumberAttribute, NumberUnit, OPERATORS_BY_TYPE, ObjectAttribute, ObjectDefinition, ObjectNotFoundError, ObjectRecord, ObjectReferencedError, type OperationDef, type OperationFamily, type OperationPace, Option, OptionPropertyAttribute, OrphanSystemAttributeError, Phone, PhoneAttribute, type PhoneFilterValue, PresetNode, PropertyAttribute, PropertySchema, PropertyType, type ProposalRevision, type ProposalTarget, ProtectedResourceError, ProtectedRoleError, type QueryState, RELATION_TARGET_ANY, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, RealtimeDeliveryError, RealtimeRateLimitedError, RealtimeSubscriptionError, type ReconcileRelationAttributesInput, type ReconciledRelationAttributes, RecordNotFoundError, RecordReference, RecordReferencedError, RelationAttribute, RelationOption, RelationOptionsResponse, type RelationPair, RelationTarget, type RelativeDateValue, type RemovedAttribute, type RenameDraftAttributeOperation, RepositoryError, RepositoryOperation, ReservedAttributeName, ReservedObjectName, ReservedObjectNameError, ResourceVisibility, RichTextAttribute, RichtextAttribute, type RichtextContentDefinition, RoleNotFoundError, RollupAttribute, RollupFunction, SCHEMA_LIMITS, SIMPLE_PROPERTY_TYPES, SYSTEM_FIELD_NAMES, type SamplePublication, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, type ScrubbedContent, SearchBackendError, SelectAttribute, SingleRelationAttribute, type SortDirection, type SortRule, type StandardSchemaV1, StatusAttribute, StatusGroup, StorageError, StorageOperation, type StoredContentDefinition, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, SystemFieldName, type TenantId, TextAttribute, TimeFormat, Timestamps, type UpdateDBForm, type UpdateDBFormSubmission, UpdateObjectInput, UserAttribute, type UserId, type UserLike, UserReferenceType, type Uuid, ValidationError, ValidationErrorDetail, type ValidationMessages, type ValueRef, type ViewContentDefinition, type ViewOperation, type ViewRead, WIRE_OMITTED_CONFIG_KEYS, asTenantId, asUserId, assertAcyclicComputedDependencies, attributeConfigSchemas, canonicalStringify, collectionContentSourceSchema, colorIdSchema, columnsSchema, compileComputedFormula, compileRollupAttribute, contentViewDefinitionSchema, contentViewDefinitionSchemaFor, createCheckboxValidator, createDateValidator, createFormAttributeValidator, createNumberValidator, createTextValidator, deepEqual, displayAttributesSchema, draftContentViewDefinitionSchema, draftContentViewDefinitionSchemaFor, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, filterOperatorsByTypeForGeneration, filterStateSchema, formatComputedResult, formatZodErrors, generateId, getRollupFilterOperators, hasOptions, iconNameSchema, indexBy, inferInverseCardinality, inferRollupReturnType, isAttributeInUseError, isAttributeSortable, isBilateralRelation, isComputedFunctionName, isNoValueOperator, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isSchemaError, isUniversalRelation, isValidationError, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, parseComputedFormula, parseResourceVisibility, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, publishedViewContentDefinitionSchema, refuseForeignKeys, rejectUnknownAttributesOrThrow, relationTargetsOf, resolvePropertyDefinitions, rollupToFormulaExpression, sameStableValue, selectOptionWriteSchema, serializeCanonicalJson, serializeStableJson, sortsSchema, statusGroupSchema, statusOptionWriteSchema, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow };