@stndrds/schema 1.0.0-alpha.349 → 1.0.0-alpha.351

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 (89) hide show
  1. package/dist/{all-CnoQ40WJ.d.mts → all-CxrR3FfQ.d.mts} +8 -8
  2. package/dist/{all-DZp7BWOq.d.ts → all-DgCMEIjc.d.ts} +8 -8
  3. package/dist/attributes-BrWmES5w.d.mts +684 -0
  4. package/dist/attributes-DF899HOt.d.ts +684 -0
  5. package/dist/{checkbox-Cli_fh_9.d.ts → checkbox-Clb_FZ4C.d.mts} +2 -2
  6. package/dist/{checkbox-De7-FSiU.d.mts → checkbox-DdyYfy8E.d.ts} +2 -2
  7. package/dist/config-CYuFravl.js +13 -0
  8. package/dist/config-CiAtjzem.mjs +13 -0
  9. package/dist/{date-CxGxPeHR.d.mts → date-CXp1zJM4.d.mts} +2 -2
  10. package/dist/{date-CJGbHQZF.d.ts → date-DhwNqFU4.d.ts} +2 -2
  11. package/dist/empty-BgAwlO54.mjs +2 -0
  12. package/dist/empty-CRCKZcwK.js +2 -0
  13. package/dist/exceptions-DrrzAhuA.d.mts +590 -0
  14. package/dist/exceptions-DrrzAhuA.d.ts +590 -0
  15. package/dist/exceptions.d.mts +2 -2
  16. package/dist/exceptions.d.ts +2 -2
  17. package/dist/exceptions.js +1 -2
  18. package/dist/exceptions.mjs +1 -2
  19. package/dist/{index-DqfX-ct_.d.mts → index-BOibflWy.d.ts} +15 -2
  20. package/dist/{index-UancE_wI.d.ts → index-Bfvc4AZB.d.mts} +15 -2
  21. package/dist/{index-Dz6tbe0o.d.ts → index-DCw-X_sc.d.ts} +3 -6
  22. package/dist/{index-fWrEgqge.d.mts → index-DggAjGTr.d.mts} +1 -1
  23. package/dist/{index-DRfeDI4f.d.mts → index-Lp5dhlhc.d.mts} +3 -6
  24. package/dist/{index-C9whsQlG.d.ts → index-OvRk1isl.d.ts} +1 -1
  25. package/dist/index.d.mts +221 -115
  26. package/dist/index.d.ts +221 -115
  27. package/dist/index.js +9 -9
  28. package/dist/index.mjs +9 -9
  29. package/dist/{number-BtJHcFCQ.d.ts → number-C_ZN3qJO.d.mts} +2 -2
  30. package/dist/{number-DJ-nhMMq.d.mts → number-CoTBX03I.d.ts} +2 -2
  31. package/dist/object-AqI3n2CP.mjs +4 -0
  32. package/dist/object-BEwZx-Fu.js +4 -0
  33. package/dist/{text-RUwIi6jM.d.mts → text-D_rs4VYZ.d.mts} +2 -2
  34. package/dist/{text-qHaUKcUU.d.ts → text-Z8QjbxUx.d.ts} +2 -2
  35. package/dist/utils-Cl3b_6d8.d.mts +163 -0
  36. package/dist/utils-Cuz_wSKI.d.ts +163 -0
  37. package/dist/utils.d.mts +1 -1
  38. package/dist/utils.d.ts +1 -1
  39. package/dist/validation/all.d.mts +5 -5
  40. package/dist/validation/all.d.ts +5 -5
  41. package/dist/validation/all.js +1 -1
  42. package/dist/validation/all.mjs +1 -1
  43. package/dist/validation/complex/currency.d.mts +2 -2
  44. package/dist/validation/complex/currency.d.ts +2 -2
  45. package/dist/validation/complex/location.d.mts +2 -2
  46. package/dist/validation/complex/location.d.ts +2 -2
  47. package/dist/validation/complex/phone.d.mts +2 -2
  48. package/dist/validation/complex/phone.d.ts +2 -2
  49. package/dist/validation/complex/relation.d.mts +2 -2
  50. package/dist/validation/complex/relation.d.ts +2 -2
  51. package/dist/validation/complex/richtext.d.mts +2 -2
  52. package/dist/validation/complex/richtext.d.ts +2 -2
  53. package/dist/validation/complex/select.d.mts +2 -2
  54. package/dist/validation/complex/select.d.ts +2 -2
  55. package/dist/validation/complex/user.d.mts +2 -2
  56. package/dist/validation/complex/user.d.ts +2 -2
  57. package/dist/validation/computed/formula.d.mts +2 -2
  58. package/dist/validation/computed/formula.d.ts +2 -2
  59. package/dist/validation/computed/rollup.d.mts +2 -2
  60. package/dist/validation/computed/rollup.d.ts +2 -2
  61. package/dist/validation/config/index.d.mts +2 -2
  62. package/dist/validation/config/index.d.ts +2 -2
  63. package/dist/validation/config/index.js +1 -1
  64. package/dist/validation/config/index.mjs +1 -1
  65. package/dist/validation/core/index.d.mts +1 -1
  66. package/dist/validation/core/index.d.ts +1 -1
  67. package/dist/validation/object/index.d.mts +1 -1
  68. package/dist/validation/object/index.d.ts +1 -1
  69. package/dist/validation/object/index.js +1 -1
  70. package/dist/validation/object/index.mjs +1 -1
  71. package/dist/validation/primitives/checkbox.d.mts +1 -1
  72. package/dist/validation/primitives/checkbox.d.ts +1 -1
  73. package/dist/validation/primitives/date.d.mts +1 -1
  74. package/dist/validation/primitives/date.d.ts +1 -1
  75. package/dist/validation/primitives/number.d.mts +1 -1
  76. package/dist/validation/primitives/number.d.ts +1 -1
  77. package/dist/validation/primitives/text.d.mts +1 -1
  78. package/dist/validation/primitives/text.d.ts +1 -1
  79. package/dist/view-config.schema-CCrM5b-O.mjs +2 -0
  80. package/dist/view-config.schema-CgU86fLj.js +2 -0
  81. package/package.json +2 -2
  82. package/dist/config-BiQGgy7f.mjs +0 -13
  83. package/dist/config-WUWITOeW.js +0 -13
  84. package/dist/exceptions-B2EKDci0.d.mts +0 -1460
  85. package/dist/exceptions-B2EKDci0.d.ts +0 -1460
  86. package/dist/object-BA3vKFl0.js +0 -4
  87. package/dist/object-C92B0Oei.mjs +0 -4
  88. package/dist/view-config.schema-PCAznd98.mjs +0 -2
  89. package/dist/view-config.schema-VEoY_VAd.js +0 -2
package/dist/index.d.mts 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-B2EKDci0.mjs";
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-CnoQ40WJ.mjs";
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-DRfeDI4f.mjs";
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-DqfX-ct_.mjs";
6
- import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-fWrEgqge.mjs";
7
- import { t as createTextValidator } from "./text-RUwIi6jM.mjs";
8
- import { t as createNumberValidator } from "./number-DJ-nhMMq.mjs";
9
- import { t as createCheckboxValidator } from "./checkbox-De7-FSiU.mjs";
10
- import { t as createDateValidator } from "./date-CxGxPeHR.mjs";
2
+ import { A as SearchBackendError, B as ValidationErrorDetail, C as RepositoryError, D as SchemaError, E as RoleNotFoundError, F as SyncCascadeError, G as isRecordReferencedError, H as isNotFoundError, I as SyncConflictError, K as isSchemaError, L as SyncError, M as SearchBackendFailureKind, N as StorageError, O as SchemaErrorCode, P as StorageOperation, R as SystemEntityImmutableError, S as RecordReferencedError, T as ReservedObjectNameError, U as isObjectReferencedError, V as isAttributeInUseError, W as isProtectedResourceError, _ 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 SearchBackendErrorOptions, k as SchemaPlanNotFoundError, l as MemoryNotFoundError, m as OrphanSystemAttributeError, n as AmbiguousSchemaChangeError, o as ConcurrentModificationError, p as ObjectReferencedError, q as isValidationError, 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 ValidationError } from "./exceptions-DrrzAhuA.mjs";
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-BrWmES5w.mjs";
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-Cl3b_6d8.mjs";
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-CxrR3FfQ.mjs";
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-Lp5dhlhc.mjs";
7
+ import { C as UpdateObjectInput, S as RelationOptionsResponse, _ as statusOptionWriteSchema, b as CreateCustomObjectInput, 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 withoutUnknownOptionKeys, x as RelationOption, y as AddAttributeInput } from "./index-Bfvc4AZB.mjs";
8
+ import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-DggAjGTr.mjs";
9
+ import { t as createTextValidator } from "./text-D_rs4VYZ.mjs";
10
+ import { t as createNumberValidator } from "./number-C_ZN3qJO.mjs";
11
+ import { t as createCheckboxValidator } from "./checkbox-Clb_FZ4C.mjs";
12
+ import { t as createDateValidator } from "./date-CXp1zJM4.mjs";
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
@@ -831,6 +840,11 @@ export interface ApiKeyPermission {
831
840
  target: string;
832
841
  actions: Action[];
833
842
  }
843
+ /**
844
+ * A role an API key's actor holds — the identifying slice only, never the
845
+ * role's permissions.
846
+ */
847
+ export type ApiKeyRole = Pick<Role, "id" | "name" | "label">;
834
848
  export interface ApiKey {
835
849
  id: string;
836
850
  tenantId: string;
@@ -844,6 +858,15 @@ export interface ApiKey {
844
858
  revokedAt: string | null;
845
859
  createdAt: string;
846
860
  createdBy: string;
861
+ /**
862
+ * The roles the key's actor holds in this workspace, which is what the key
863
+ * may do. A key minted with `roleId` holds that role; one minted without it
864
+ * holds the copies of its creator's roles made at creation. `[]` means the
865
+ * key holds no role and has no access. Present on list and single-key reads;
866
+ * absent where the roles were not read (the creation response, or a host
867
+ * with no permission store) — absent is "unknown", never "no role".
868
+ */
869
+ roles?: ApiKeyRole[];
847
870
  }
848
871
  /** Returned only at creation time — the only time the plaintext secret is available. */
849
872
  export interface ApiKeyWithSecret extends ApiKey {
@@ -3975,6 +3998,9 @@ export interface AgentUIDataTypes {
3975
3998
  "message-persisted": {
3976
3999
  message: AgentSessionMessage;
3977
4000
  };
4001
+ "message-persisted-ref": {
4002
+ messageId: string;
4003
+ };
3978
4004
  "message-updated": {
3979
4005
  message: AgentSessionMessage;
3980
4006
  };
@@ -4871,14 +4897,6 @@ export interface AIAvailableModel {
4871
4897
  isCompactionModel?: boolean;
4872
4898
  /** If true, this model is used for fast utility generations (regex, formula, …) */
4873
4899
  isUtilityModel?: boolean;
4874
- /**
4875
- * How the UI reveals this model's streamed text. `"character"` (the default
4876
- * when absent) paces graphemes at reading speed — right for fast models.
4877
- * `"word"` flushes text at network rhythm and fades each new word in —
4878
- * right for slow models whose token cadence the pacer would turn into
4879
- * jerky bursts.
4880
- */
4881
- revealStyle?: "character" | "word";
4882
4900
  }
4883
4901
  /**
4884
4902
  * Tool call status during execution
@@ -5743,6 +5761,16 @@ export interface DocumentFile {
5743
5761
  export type DocumentWithFiles = Document & {
5744
5762
  files: DocumentFile[];
5745
5763
  };
5764
+ /**
5765
+ * One row of a record's drive at a given level: the document with its sub
5766
+ * count and its pack files (#4332). A drive-only attachment, one that exists
5767
+ * only as a reference edge and is named nowhere in `record.values`, has no
5768
+ * other source for its files, and without them its row menu cannot offer
5769
+ * Download. A folder has no pack: its `files` is always `[]`.
5770
+ */
5771
+ export interface RecordDriveChild extends DocumentWithSubCount {
5772
+ files: DocumentFile[];
5773
+ }
5746
5774
  export interface CreateDocument {
5747
5775
  title: string;
5748
5776
  kind?: DocumentKind;
@@ -7160,6 +7188,23 @@ export interface ConnectionCapabilities {
7160
7188
  }
7161
7189
  /** What to ask for so a re-consent keeps what the connection already holds: the held flags beyond `read`, in capability order. */
7162
7190
  export declare function requestedCapabilities(held: ConnectionCapabilities): Exclude<ConnectorCapability, "read">[];
7191
+ /**
7192
+ * How far a connection's full-history walk (backfill) has gone.
7193
+ *
7194
+ * `processed` counts the items the current walk has stored so far, across every
7195
+ * continuation job; once the walk ends it keeps the final count. `total` is what
7196
+ * the provider says the walk will cover, captured when the walk starts: exact or
7197
+ * an estimate (Gmail's `resultSizeEstimate`), so `processed` may end above or
7198
+ * below it. It is `null` when the provider offers no total (calendars), so a
7199
+ * bar stays indeterminate rather than inventing a 100%. A connection that has
7200
+ * never walked reads `{ processed: 0, total: null, backfilling: false }`.
7201
+ */
7202
+ export interface ConnectionSyncProgress {
7203
+ processed: number;
7204
+ total: number | null;
7205
+ /** True while the walk is mid-flight and continuation jobs are still due. */
7206
+ backfilling: boolean;
7207
+ }
7163
7208
  /**
7164
7209
  * Token-free projection of a connection for client/UI consumption.
7165
7210
  * Access/refresh tokens NEVER cross this boundary.
@@ -7176,6 +7221,8 @@ export interface ConnectionView {
7176
7221
  lastSyncedAt: string | null;
7177
7222
  createdAt: string;
7178
7223
  capabilities: ConnectionCapabilities;
7224
+ /** Backfill progress of a mail or calendar connection. */
7225
+ syncProgress: ConnectionSyncProgress;
7179
7226
  }
7180
7227
  /** Scope a connection is created under. Implied by the originating settings section. */
7181
7228
  export type ConnectorScope = "actor" | "tenant";
@@ -7230,6 +7277,15 @@ export declare function isMailProvider(provider: string): provider is EmailProvi
7230
7277
  * (#1907) — do not merge them back.
7231
7278
  */
7232
7279
  export type MailboxAccountVisibility = "shared" | "private";
7280
+ /**
7281
+ * The label a message the provider still holds as a draft carries in
7282
+ * `MailboxEmail.labels`: Gmail's own `DRAFT` system label, and the one the
7283
+ * Graph parser derives from Outlook's `isDraft` (#4353). Unrelated to
7284
+ * `MailDraft`, the composer's local draft.
7285
+ */
7286
+ export declare const PROVIDER_DRAFT_LABEL = "DRAFT";
7287
+ /** Whether a stored message is a provider draft — Gmail or Outlook alike. */
7288
+ export declare function isProviderDraft(labels: readonly string[]): boolean;
7233
7289
  export type EmailDirection = "inbound" | "outbound";
7234
7290
  export type MailboxReadState = "all" | "unread" | "read";
7235
7291
  export type ConnectionStatus = "active" | "reauth_required" | "error" | "disconnected";
@@ -8992,11 +9048,26 @@ declare class StatusAttributeBuilder<TName extends string, TOptions extends read
8992
9048
  /**
8993
9049
  * Set all options at once (preserves literal types for values)
8994
9050
  */
8995
- options<const T extends readonly Option[]>(value: T): StatusAttributeBuilder<TName, T, TRequired>;
8996
- option(config: Option): this;
9051
+ options<const T extends readonly Option[]>(value: T & ExactOptions<T>): StatusAttributeBuilder<TName, T, TRequired>;
9052
+ option<const O extends Option>(config: O & ExactOption<O>): this;
8997
9053
  required(): StatusAttributeBuilder<TName, TOptions, true>;
8998
9054
  optional(): StatusAttributeBuilder<TName, TOptions, false>;
8999
9055
  }
9056
+ /**
9057
+ * Every element of `T` with the keys an {@link Option} does not have typed as
9058
+ * `never`. A generic constraint does no excess-property check, so
9059
+ * `{ id, value, label }` satisfied `readonly Option[]`, sync stored `id`, and
9060
+ * the schema state then answered 400 for the whole tenant (#4356). Refused at
9061
+ * the type level only (#4413): the storage strip from #4412 still guards
9062
+ * whatever reaches it at runtime.
9063
+ */
9064
+ type ExactOptions<T extends readonly Option[]> = { readonly [K in keyof T]: T[K] & ExactOption<T[K]>; };
9065
+ /**
9066
+ * The keys of `O` an {@link Option} does not have, typed as `never`. A fresh
9067
+ * literal gets an excess-property check against `Option`, a declared object
9068
+ * does not, so `.option(declared)` needs this as much as `.options()` does.
9069
+ */
9070
+ type ExactOption<O> = Record<Exclude<keyof O, keyof Option>, never>;
9000
9071
  export declare function status<TName extends string>(config: TypedBuilderConfig<TName>): StatusAttributeBuilder<TName, Option[], false>;
9001
9072
  declare class SelectAttributeBuilder<TName extends string, TOptions extends readonly Option[] = Option[], TRequired extends boolean = false> extends BaseAttributeBuilder<SelectAttribute> {
9002
9073
  readonly _types: {
@@ -9022,8 +9093,8 @@ declare class SelectAttributeBuilder<TName extends string, TOptions extends read
9022
9093
  /**
9023
9094
  * Set all options at once (preserves literal types for values)
9024
9095
  */
9025
- options<const T extends readonly Option[]>(value: T): SelectAttributeBuilder<TName, T, TRequired>;
9026
- option(config: Option): this;
9096
+ options<const T extends readonly Option[]>(value: T & ExactOptions<T>): SelectAttributeBuilder<TName, T, TRequired>;
9097
+ option<const O extends Option>(config: O & ExactOption<O>): this;
9027
9098
  renderAs(value: "badges"): this;
9028
9099
  required(): SelectAttributeBuilder<TName, TOptions, true>;
9029
9100
  optional(): SelectAttributeBuilder<TName, TOptions, false>;
@@ -9053,8 +9124,8 @@ declare class MultiselectAttributeBuilder<TName extends string, TOptions extends
9053
9124
  /**
9054
9125
  * Set all options at once (preserves literal types for values)
9055
9126
  */
9056
- options<const T extends readonly Option[]>(value: T): MultiselectAttributeBuilder<TName, T, TRequired>;
9057
- option(config: Option): this;
9127
+ options<const T extends readonly Option[]>(value: T & ExactOptions<T>): MultiselectAttributeBuilder<TName, T, TRequired>;
9128
+ option<const O extends Option>(config: O & ExactOption<O>): this;
9058
9129
  renderAs(value: "badges"): this;
9059
9130
  required(): MultiselectAttributeBuilder<TName, TOptions, true>;
9060
9131
  optional(): MultiselectAttributeBuilder<TName, TOptions, false>;
@@ -9376,7 +9447,7 @@ declare class RollupAttributeBuilder<TName extends string> extends BaseAttribute
9376
9447
  * Required when function="original" and target is select/status/multiselect
9377
9448
  * @param options - The options array from the target attribute
9378
9449
  */
9379
- targetOptions(options: Option[]): this;
9450
+ targetOptions<const T extends readonly Option[]>(options: T & ExactOptions<T>): this;
9380
9451
  /**
9381
9452
  * Set the currency code a sum/avg over a currency target renders with
9382
9453
  * (#2644). Mirror of the target attribute's `defaultCurrency` — the stored
@@ -9616,70 +9687,6 @@ export declare const NATIVE_OBJECT_NAMES: readonly ["skill", "memory", "drives",
9616
9687
  export type NativeObjectName = (typeof NATIVE_OBJECT_NAMES)[number];
9617
9688
  export declare function isNativeObjectName(name: string): name is NativeObjectName;
9618
9689
  //#endregion
9619
- //#region src/builders/migration-builder.d.ts
9620
- interface ChangeTypeOptions {
9621
- /** Optional explicit transform function (used to resolve a BuiltInTransform) */
9622
- transform?: (value: unknown) => unknown;
9623
- }
9624
- /**
9625
- * Fluent builder for composing a MigrationDefinition.
9626
- *
9627
- * Operations are collected in declaration order. The builder tracks which
9628
- * attribute names have been touched and throws on conflicting operations
9629
- * (e.g., renaming then removing the same attribute within the same migration).
9630
- *
9631
- * @example
9632
- * ```typescript
9633
- * const migration = new MigrationBuilder(2)
9634
- * .renameAttribute("firstName", "first_name")
9635
- * .changeType("age", "text", "number")
9636
- * .build();
9637
- * ```
9638
- */
9639
- declare class MigrationBuilder {
9640
- private readonly version;
9641
- private readonly operations;
9642
- /** Tracks attribute names that have already been referenced in this migration */
9643
- private readonly touchedAttributes;
9644
- constructor(version: number);
9645
- private assertNotTouched;
9646
- /**
9647
- * Rename an attribute.
9648
- * The reverse operation will rename it back.
9649
- */
9650
- renameAttribute(from: string, to: string): this;
9651
- /**
9652
- * Change the type of an attribute.
9653
- *
9654
- * The `transform` option accepts a function — it is used only to signal
9655
- * intent; the actual built-in transform is resolved from the target type.
9656
- */
9657
- changeType(name: string, from: AttributeType, to: AttributeType, options?: ChangeTypeOptions): this;
9658
- /**
9659
- * Remove an attribute.
9660
- *
9661
- * Authoring has no persisted snapshot, so backup_config is omitted.
9662
- * Automatically generated diffs can attach the existing attribute definition.
9663
- */
9664
- removeAttribute(name: string): this;
9665
- /**
9666
- * Add a new attribute.
9667
- * The reverse operation will remove it (using the attribute definition as backup).
9668
- */
9669
- addAttribute(attribute: Attribute): this;
9670
- /**
9671
- * Update the configuration of an attribute (partial patch).
9672
- *
9673
- * The `from` config is intentionally left empty — the sync engine will
9674
- * populate it from current DB state before applying the migration.
9675
- */
9676
- updateConfig(name: string, config: Partial<Record<string, unknown>>): this;
9677
- /**
9678
- * Produce the final MigrationDefinition.
9679
- */
9680
- build(): MigrationDefinition;
9681
- }
9682
- //#endregion
9683
9690
  //#region src/builders/object-builder.d.ts
9684
9691
  /**
9685
9692
  * The object-level expression invariants `ObjectBuilder.build()` enforces.
@@ -9812,7 +9819,6 @@ export declare class ObjectBuilder<TRecord extends Record<string, unknown> = {},
9812
9819
  private _labelExpression?;
9813
9820
  private _embeddingExpression?;
9814
9821
  private _pluralLabel?;
9815
- private _migrations;
9816
9822
  private _sealed;
9817
9823
  private _toleratedAttributes;
9818
9824
  /**
@@ -9963,8 +9969,18 @@ export declare class ObjectBuilder<TRecord extends Record<string, unknown> = {},
9963
9969
  /**
9964
9970
  * Set metadata. Merges with any previously set metadata (preserves keys
9965
9971
  * written by other builder methods like `.order()`).
9972
+ *
9973
+ * `icon` is reserved and is NOT preserved: the icon has one home, the
9974
+ * object's own `icon` field (#3563), so the runtime drops a metadata key of
9975
+ * that name on every write. Set it with `.icon()`.
9976
+ *
9977
+ * The type refuses the key outright, so a declaration that would silently
9978
+ * lose it fails to compile instead. Nothing already stored is affected — the
9979
+ * runtime keeps stripping the key for callers who reach this without types.
9966
9980
  */
9967
- metadata(value: Record<string, unknown>): this;
9981
+ metadata(value: Record<string, unknown> & {
9982
+ icon?: never;
9983
+ }): this;
9968
9984
  /**
9969
9985
  * Set the display order used by the sidebar (and any other UI that
9970
9986
  * surfaces objects). Lower values appear first; objects without an
@@ -10015,23 +10031,6 @@ export declare class ObjectBuilder<TRecord extends Record<string, unknown> = {},
10015
10031
  * sub-folders and installable preset structures inside a record's drive.
10016
10032
  */
10017
10033
  documentLayout(layout: DocumentLayout): this;
10018
- /**
10019
- * Declare a schema migration for this object.
10020
- *
10021
- * - `version` must be >= 2 (version 1 is implicit — no migration needed).
10022
- * - Versions must be declared in sequential order without gaps or duplicates.
10023
- * - The callback receives a MigrationBuilder; call `.build()` is not required
10024
- * (the ObjectBuilder calls it internally).
10025
- *
10026
- * @example
10027
- * ```typescript
10028
- * object({ name: "contacts", label: "Contact" })
10029
- * .migration(2, (m) => m.renameAttribute("firstName", "first_name"))
10030
- * .migration(3, (m) => m.changeType("age", "text", "number"))
10031
- * .labelExpression("{{ first_name }}")
10032
- * ```
10033
- */
10034
- migration(version: number, callback: (builder: MigrationBuilder) => unknown): this;
10035
10034
  /**
10036
10035
  * Build the final ObjectDefinition
10037
10036
  * @throws ValidationError if required fields are missing or invalid
@@ -12930,6 +12929,114 @@ export declare function assertSchemaSourceId(sourceId: string): void;
12930
12929
  */
12931
12930
  export declare function markdownToPlainText(markdown: string): string;
12932
12931
  //#endregion
12932
+ //#region src/utils/read-artifact-result.d.ts
12933
+ /**
12934
+ * A published result as it reads BACK, which is not quite what may be written.
12935
+ *
12936
+ * `kind` is whatever was stored. A newer server can publish a kind this client
12937
+ * has not shipped yet, and refusing the whole value over that made the artifact
12938
+ * render as nothing at all — the reader was told an artifact existed and saw no
12939
+ * artifact (#4075). Karl's ruling of 2026-09-21: visible and degraded.
12940
+ *
12941
+ * `PublishArtifactResult` itself stays closed. This type describes history, not
12942
+ * what the product may emit, and the two are genuinely different questions —
12943
+ * which is also why the annotation below stays honest instead of being cast
12944
+ * away. A schema that needs a cast to claim its own return type has stopped
12945
+ * validating what it says it validates.
12946
+ */
12947
+ type StoredArtifactResult = Omit<PublishArtifactResult, "kind"> & {
12948
+ kind: StoredArtifactKind;
12949
+ };
12950
+ /**
12951
+ * Narrows an untrusted persisted tool result.
12952
+ *
12953
+ * Strict in every field but `kind`: a value that fails for any other reason is
12954
+ * still refused whole.
12955
+ */
12956
+ export declare function readArtifactResult(value: unknown): StoredArtifactResult | null;
12957
+ //#endregion
12958
+ //#region src/utils/read-generated-image-result.d.ts
12959
+ /** Untrusted history must carry a real nested image receipt, never bytes or a signed URL. */
12960
+ export declare function readGeneratedImageResult(value: unknown): GenerateImageResult | null;
12961
+ //#endregion
12962
+ //#region src/utils/extract-touched-records.d.ts
12963
+ interface TouchedRecord {
12964
+ recordId: string;
12965
+ objectName: string;
12966
+ label: string;
12967
+ kind: "created" | "modified";
12968
+ }
12969
+ /**
12970
+ * Derives the records an agent run created or modified, from the session's
12971
+ * tool-call results. Dedups by `recordId`, keeping the highest-precedence
12972
+ * kind seen (`created` beats `modified`) while re-anchoring the entry's
12973
+ * position to its most recent occurrence.
12974
+ */
12975
+ export declare function extractTouchedRecords(messages: readonly Pick<AgentSessionMessage, "role" | "parts">[]): TouchedRecord[];
12976
+ //#endregion
12977
+ //#region src/utils/extract-touched-documents.d.ts
12978
+ interface TouchedDocument {
12979
+ id: string;
12980
+ fileId?: string;
12981
+ title: string;
12982
+ kind: "modified" | "consulted";
12983
+ mimeType?: string;
12984
+ }
12985
+ /**
12986
+ * Derives the documents an agent run touched, from tool-call results and
12987
+ * assistant-message file attachments. Dedups by `id`, keeping the
12988
+ * highest-precedence kind seen (`modified` beats `consulted`) while
12989
+ * re-anchoring the entry's position to its most recent occurrence.
12990
+ */
12991
+ export declare function extractTouchedDocuments(messages: readonly Pick<AgentSessionMessage, "role" | "parts">[]): TouchedDocument[];
12992
+ //#endregion
12993
+ //#region src/utils/extract-touched-artifacts.d.ts
12994
+ /**
12995
+ * Read back out of a conversation, so `kind` is whatever was stored — a newer
12996
+ * server may have published one this client does not know (#4075).
12997
+ */
12998
+ type TouchedArtifact = StoredArtifactResult;
12999
+ /**
13000
+ * Finds immutable Artifact revisions published by the assistant. Repeated
13001
+ * occurrences move to their latest position and carry the latest metadata.
13002
+ */
13003
+ export declare function extractTouchedArtifacts(messages: readonly Pick<AgentSessionMessage, "role" | "parts">[]): TouchedArtifact[];
13004
+ //#endregion
13005
+ //#region src/utils/agent-conversation-overview.d.ts
13006
+ interface AgentConversationOverview {
13007
+ touchedRecords: TouchedRecord[];
13008
+ touchedDocuments: TouchedDocument[];
13009
+ touchedArtifacts: TouchedArtifact[];
13010
+ openHumanRequests: Array<{
13011
+ messageId: string;
13012
+ createdAt: string;
13013
+ part: Extract<AgentMessagePart, {
13014
+ type: "tool";
13015
+ }>;
13016
+ }>;
13017
+ firstUserPreview: string | null;
13018
+ designReviewOutcomes: Array<{
13019
+ requestId: string;
13020
+ outcome: "approved" | "changesRequested" | "unknown";
13021
+ }>;
13022
+ }
13023
+ //#endregion
13024
+ //#region src/utils/calendar-day.d.ts
13025
+ /**
13026
+ * A `YYYY-MM-DD` string that actually names a calendar day.
13027
+ *
13028
+ * The shape test alone is not enough, because JavaScript rolls an impossible
13029
+ * day over where SQL refuses it: `new Date("2026-02-30")` answers March 2 and
13030
+ * `Date.parse` calls it valid, while `'2026-02-30'::date` raises
13031
+ * `SQLSTATE 22008`. Round-tripping the parsed day back to a string is what
13032
+ * separates the two.
13033
+ *
13034
+ * Three call sites need this exact predicate — the absolute date filter
13035
+ * comparand guard (`filters/validation.ts`), the AI filter generator's repair
13036
+ * loop and the usage report window — so it lives here once.
13037
+ */
13038
+ export declare function isCalendarDay(value: string): boolean;
13039
+ //#endregion
12933
13040
  //#region src/utils/routing-price.d.ts
12934
13041
  /**
12935
13042
  * USD per million tokens for one dimension, judged at the HIGHEST figure the
@@ -13017,9 +13124,9 @@ export interface PersistedSchemaPlanAdditive extends SchemaPlanAdditiveBase {}
13017
13124
  * destructive branch is what makes the UI require an explicit confirmation —
13018
13125
  * the structure carries the distinction, so no caller can forget to check it.
13019
13126
  *
13020
- * Type change is deliberately absent: `changeAttributeType` raises
13021
- * `ChangeTypeNotSupportedError` at runtime by design and lives in code through
13022
- * `.migration(N, m => m.changeType(...))`.
13127
+ * Type change is deliberately absent: a runtime retype is not a plan
13128
+ * operation, and a retype of a system attribute is refused at boot unless it
13129
+ * is storage-compatible — it takes a hand-written SQL migration.
13023
13130
  */
13024
13131
  export interface SchemaPlanDestructive {
13025
13132
  attributeRemovals: PlannedAttributeRemoval[];
@@ -14311,6 +14418,9 @@ export declare const customDataChunkSchemas: {
14311
14418
  createdAt: z$1.ZodUnion<readonly [z$1.ZodDate, z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<Date, string>>]>;
14312
14419
  }, z$1.core.$strict>;
14313
14420
  }, z$1.core.$strict>;
14421
+ readonly "message-persisted-ref": z$1.ZodObject<{
14422
+ messageId: z$1.ZodString;
14423
+ }, z$1.core.$strict>;
14314
14424
  readonly "message-updated": z$1.ZodObject<{
14315
14425
  message: z$1.ZodObject<{
14316
14426
  id: z$1.ZodString;
@@ -14683,10 +14793,6 @@ export declare function catalogTextModelSchema(id: string, free: boolean): z$1.Z
14683
14793
  unverified: z$1.ZodOptional<z$1.ZodBoolean>;
14684
14794
  isCompactionModel: z$1.ZodOptional<z$1.ZodBoolean>;
14685
14795
  isUtilityModel: z$1.ZodOptional<z$1.ZodBoolean>;
14686
- revealStyle: z$1.ZodOptional<z$1.ZodEnum<{
14687
- character: "character";
14688
- word: "word";
14689
- }>>;
14690
14796
  tasks: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
14691
14797
  conversation: "conversation";
14692
14798
  writing: "writing";
@@ -14809,4 +14915,4 @@ export declare function schemaStateSourcePayload(entries: readonly SchemaStateEn
14809
14915
  export declare function parseSchemaState(input: unknown): SchemaState;
14810
14916
  export declare function diffSchemaState(state: SchemaState): SchemaStateDiff;
14811
14917
  //#endregion
14812
- 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 AttributeRemovalContentAddress, type AttributeRemovalPlan, type AttributeRemovalView, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, AttributeUsage, BaseAttribute, type BaseOperation, type BatchGuidance, BilateralConfig, type BlockedContent, 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, 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, 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, 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, SchemaOperation, 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 };
14918
+ export { ATTRIBUTE_TYPES, AccessDeniedError, type ActivityContentDefinition, AddAttributeInput, type AgentConversationOverview, 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, SearchBackendErrorOptions, SearchBackendFailureKind, SelectAttribute, SingleRelationAttribute, type SortDirection, type SortRule, type StandardSchemaV1, StatusAttribute, StatusGroup, StorageError, StorageOperation, type StoredArtifactResult, type StoredContentDefinition, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, SystemFieldName, type TenantId, TextAttribute, TimeFormat, Timestamps, type TouchedArtifact, type TouchedDocument, type TouchedRecord, 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, withoutUnknownOptionKeys };