@stndrds/schema 1.0.0-alpha.337 → 1.0.0-alpha.342

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 (63) hide show
  1. package/dist/{all-CHS22jdr.d.ts → all-BWBHE8zC.d.ts} +8 -8
  2. package/dist/{all-4UvqwWvq.d.mts → all-C1AF2SKY.d.mts} +8 -8
  3. package/dist/{checkbox-DF2BWd3r.d.ts → checkbox-BJiVPQKC.d.ts} +2 -2
  4. package/dist/{checkbox-Bz3UR7v-.d.mts → checkbox-C1oY-AXS.d.mts} +2 -2
  5. package/dist/{date-DBSBgOqg.d.ts → date-DJzdIygB.d.ts} +2 -2
  6. package/dist/{date-Do-4n4Ou.d.mts → date-pUpneFTR.d.mts} +2 -2
  7. package/dist/{exceptions-DZrk5n7t.d.mts → exceptions-CHlIXRKP.d.mts} +1 -0
  8. package/dist/{exceptions-DZrk5n7t.d.ts → exceptions-CHlIXRKP.d.ts} +1 -0
  9. package/dist/exceptions.d.mts +1 -1
  10. package/dist/exceptions.d.ts +1 -1
  11. package/dist/exceptions.js +1 -1
  12. package/dist/exceptions.mjs +1 -1
  13. package/dist/{index-D6o37TYA.d.mts → index-B-LzvZZe.d.mts} +1 -1
  14. package/dist/{index-DMtutoRi.d.ts → index-BAW8p4U_.d.ts} +1 -1
  15. package/dist/{index-BGv_lB_c.d.mts → index-BilM1Dnp.d.mts} +1 -1
  16. package/dist/{index-CO-zwdxS.d.ts → index-CJYpJqEh.d.ts} +1 -1
  17. package/dist/{index-CLTVHoQ4.d.ts → index-CUEwuqCj.d.ts} +2 -2
  18. package/dist/{index-CRhCzlVm.d.mts → index-DX1EILel.d.mts} +2 -2
  19. package/dist/index.d.mts +114 -16
  20. package/dist/index.d.ts +114 -16
  21. package/dist/index.js +9 -9
  22. package/dist/index.mjs +9 -9
  23. package/dist/{number-BgQH6KjT.d.ts → number-BZ9pUAob.d.ts} +2 -2
  24. package/dist/{number-PuhjSGfn.d.mts → number-D6UXWPnL.d.mts} +2 -2
  25. package/dist/{text-DBbxpQWo.d.ts → text-D4mEL9hl.d.ts} +2 -2
  26. package/dist/{text-DzIbQJJh.d.mts → text-_dBcTPGm.d.mts} +2 -2
  27. package/dist/utils.d.mts +1 -1
  28. package/dist/utils.d.ts +1 -1
  29. package/dist/validation/all.d.mts +4 -4
  30. package/dist/validation/all.d.ts +4 -4
  31. package/dist/validation/complex/currency.d.mts +2 -2
  32. package/dist/validation/complex/currency.d.ts +2 -2
  33. package/dist/validation/complex/location.d.mts +2 -2
  34. package/dist/validation/complex/location.d.ts +2 -2
  35. package/dist/validation/complex/phone.d.mts +2 -2
  36. package/dist/validation/complex/phone.d.ts +2 -2
  37. package/dist/validation/complex/relation.d.mts +2 -2
  38. package/dist/validation/complex/relation.d.ts +2 -2
  39. package/dist/validation/complex/richtext.d.mts +2 -2
  40. package/dist/validation/complex/richtext.d.ts +2 -2
  41. package/dist/validation/complex/select.d.mts +2 -2
  42. package/dist/validation/complex/select.d.ts +2 -2
  43. package/dist/validation/complex/user.d.mts +2 -2
  44. package/dist/validation/complex/user.d.ts +2 -2
  45. package/dist/validation/computed/formula.d.mts +2 -2
  46. package/dist/validation/computed/formula.d.ts +2 -2
  47. package/dist/validation/computed/rollup.d.mts +2 -2
  48. package/dist/validation/computed/rollup.d.ts +2 -2
  49. package/dist/validation/config/index.d.mts +1 -1
  50. package/dist/validation/config/index.d.ts +1 -1
  51. package/dist/validation/core/index.d.mts +1 -1
  52. package/dist/validation/core/index.d.ts +1 -1
  53. package/dist/validation/object/index.d.mts +1 -1
  54. package/dist/validation/object/index.d.ts +1 -1
  55. package/dist/validation/primitives/checkbox.d.mts +1 -1
  56. package/dist/validation/primitives/checkbox.d.ts +1 -1
  57. package/dist/validation/primitives/date.d.mts +1 -1
  58. package/dist/validation/primitives/date.d.ts +1 -1
  59. package/dist/validation/primitives/number.d.mts +1 -1
  60. package/dist/validation/primitives/number.d.ts +1 -1
  61. package/dist/validation/primitives/text.d.mts +1 -1
  62. package/dist/validation/primitives/text.d.ts +1 -1
  63. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
 
2
- import { $ as BilateralConfig, $t as indexBy, A as StorageError, An as ComputedDependency, At as StatusGroup, B as isObjectReferencedError, Bn as ComputedFormulaLiteralNode, Bt as OptionPropertyAttribute, C as RepositoryOperation, Cn as assertAcyclicComputedDependencies, Ct as RichTextAttribute, D as SchemaErrorCode, Dn as ComputedFunctionName, Dt as SelectAttribute, E as SchemaError, En as COMPUTED_FUNCTION_NAMES, Et as RollupFunction, F as SystemEntityImmutableError, Fn as ComputedValueType, Ft as inferInverseCardinality, G as BuiltInTransform, Gt as resolvePropertyDefinitions, H as isRecordReferencedError, Hn as ComputedFormulaPathNode, Ht as PropertySchema, I as ValidationError, In as ComputedFormulaAstNode, It as isAttributeSortable, J as ATTRIBUTE_TYPES, Jt as Uuid, K as MigrationDefinition, Kt as TenantId, L as ValidationErrorDetail, Ln as ComputedFormulaBinaryNode, Lt as isBilateralRelation, M as SyncCascadeError, Mn as ComputedOptionsSource, Mt as TimeFormat, N as SyncConflictError, Nn as ComputedPlan, Nt as UserAttribute, O as SchemaPlanNotFoundError, On as ComputedFunctionSignature, Ot as SingleRelationAttribute, P as SyncError, Pn as ComputedReturnType, Pt as UserReferenceType, Q as BaseAttribute, Qt as generateId, R as isAttributeInUseError, Rn as ComputedFormulaBinaryOperator, Rt as isUniversalRelation, S as RepositoryError, Sn as ComputedFormulaCompileError, St as RelationTarget, T as RoleNotFoundError, Tn as COMPUTED_FUNCTIONS, Tt as RollupAttribute, U as isSchemaError, Un as parseComputedFormula, Ut as PropertyType, V as isProtectedResourceError, Vn as ComputedFormulaParseError, Vt as PropertyAttribute, W as isValidationError, Wt as hasOptions, X as AttributeGroup, Xt as asUserId, Y as Attribute, Yt as asTenantId, Z as AttributeType, Zt as deepEqual, _ as ProtectedResourceError, _n as CompileComputedFormulaInput, _t as Option, a as ChangeTypeNotSupportedError, an as COMPUTED_FUNCTION_METADATA, at as DateRangeValue, b as RecordReference, bn as ComputedCompileSchema, bt as RELATION_TARGET_ANY, c as DuplicateError, cn as ComputedFormulaResult, ct as FormulaAttribute, d as MigrationTimeoutError, dn as evaluateComputedFormulaWithResult, dt as LocationAttribute, en as NonJsonValueError, et as CheckboxAttribute, f as NotFoundError, fn as formatComputedResult, ft as LocationGranularity, g as OrphanSystemAttributeError, gn as rollupToFormulaExpression, gt as NumberUnit, h as ObjectReferencedError, hn as inferRollupReturnType, ht as NumberAttribute, i as AttributeUsage, in as serializeStableJson, it as DateFormat, j as StorageOperation, jn as ComputedFieldKind, jt as TextAttribute, k as SearchBackendError, kn as isComputedFunctionName, kt as StatusAttribute, l as ForbiddenError, ln as evaluateComputedAst, lt as FormulaReturnType, m as ObjectNotFoundError, mn as compileRollupAttribute, mt as MultiselectAttribute, n as AttributeInUseError, nn as sameStableValue, nt as CurrencyAttribute, o as ConcurrentModificationError, on as ComputedFunctionCategory, ot as DateValue, p as NotImplementedError, pn as isPlainRecord, pt as MultiRelationAttribute, q as SchemaOperation, qt as UserId, r as AttributeNotFoundError, rn as serializeCanonicalJson, rt as DateAttribute, s as DestructiveSyncNotAllowedError, sn as ComputedFunctionMetadata, st as DocumentAttribute, t as AccessDeniedError, tn as canonicalStringify, tt as Currency, u as MemoryNotFoundError, un as evaluateComputedFormula, ut as Location, v as ProtectedRoleError, vn as ComputedCompileAttribute, vt as Phone, w as ReservedObjectNameError, wn as compileComputedFormula, wt as RichtextAttribute, x as RecordReferencedError, xn as ComputedDependencyGraphNode, xt as RelationAttribute, y as RecordNotFoundError, yn as ComputedCompileObject, yt as PhoneAttribute, z as isNotFoundError, zn as ComputedFormulaCallNode, zt as relationTargetsOf } from "./exceptions-DZrk5n7t.js";
3
- import { $ as QueryState, A as FormContentDefinition, B as DayMonthValue, C as ContentOpenMode, D as CustomContentDefinition, E as ContentViewDefinition, F as MeetingsContentDefinition, G as FilterOperator, H as EdgeQuantifier, I as RichtextContentDefinition, J as FilterValue, K as FilterRule, L as ViewContentDefinition, M as FormsContentDefinition, N as KanbanCollectionContentDefinition, O as DocumentsContentDefinition, P as ListViewLayout, Q as PhoneFilterValue, R as ViewRead, S as ContentFieldGroup, T as ContentViewContext, U as ExtendedFilterRule, V as DynamicValue, W as FilterCombinator, X as NoValueOperator, Y as NO_VALUE_OPERATORS, Z as OPERATORS_BY_TYPE, _ as CollectionContentDefinition, a as contentViewDefinitionSchemaFor, at as isNoValueOperator, b as ContentCreateMode, c as draftContentViewDefinitionSchemaFor, d as sortsSchema, et as RelativeDateValue, f as colorIdSchema, g as CollectionAction, h as ActivityContentDefinition, i as contentViewDefinitionSchema, it as getRollupFilterOperators, j as FormDensity, k as EmailsContentDefinition, l as filterStateSchema, m as SCHEMA_LIMITS, n as collectionContentSourceSchema, nt as SortRule, o as displayAttributesSchema, p as iconNameSchema, q as FilterState, r as columnsSchema, rt as filterOperatorsByTypeForGeneration, s as draftContentViewDefinitionSchema, t as AsideRule, tt as SortDirection, u as publishedViewContentDefinitionSchema, v as CollectionContentSource, w as ContentPlacement, x as ContentField, y as ColumnReference, z as CurrencyFilterValue } from "./all-CHS22jdr.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-CLTVHoQ4.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-CO-zwdxS.js";
6
- import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-DMtutoRi.js";
7
- import { t as createTextValidator } from "./text-DBbxpQWo.js";
8
- import { t as createNumberValidator } from "./number-BgQH6KjT.js";
9
- import { t as createCheckboxValidator } from "./checkbox-DF2BWd3r.js";
10
- import { t as createDateValidator } from "./date-DBSBgOqg.js";
2
+ import { $ as BilateralConfig, $t as indexBy, A as StorageError, An as ComputedDependency, At as StatusGroup, B as isObjectReferencedError, Bn as ComputedFormulaLiteralNode, Bt as OptionPropertyAttribute, C as RepositoryOperation, Cn as assertAcyclicComputedDependencies, Ct as RichTextAttribute, D as SchemaErrorCode, Dn as ComputedFunctionName, Dt as SelectAttribute, E as SchemaError, En as COMPUTED_FUNCTION_NAMES, Et as RollupFunction, F as SystemEntityImmutableError, Fn as ComputedValueType, Ft as inferInverseCardinality, G as BuiltInTransform, Gt as resolvePropertyDefinitions, H as isRecordReferencedError, Hn as ComputedFormulaPathNode, Ht as PropertySchema, I as ValidationError, In as ComputedFormulaAstNode, It as isAttributeSortable, J as ATTRIBUTE_TYPES, Jt as Uuid, K as MigrationDefinition, Kt as TenantId, L as ValidationErrorDetail, Ln as ComputedFormulaBinaryNode, Lt as isBilateralRelation, M as SyncCascadeError, Mn as ComputedOptionsSource, Mt as TimeFormat, N as SyncConflictError, Nn as ComputedPlan, Nt as UserAttribute, O as SchemaPlanNotFoundError, On as ComputedFunctionSignature, Ot as SingleRelationAttribute, P as SyncError, Pn as ComputedReturnType, Pt as UserReferenceType, Q as BaseAttribute, Qt as generateId, R as isAttributeInUseError, Rn as ComputedFormulaBinaryOperator, Rt as isUniversalRelation, S as RepositoryError, Sn as ComputedFormulaCompileError, St as RelationTarget, T as RoleNotFoundError, Tn as COMPUTED_FUNCTIONS, Tt as RollupAttribute, U as isSchemaError, Un as parseComputedFormula, Ut as PropertyType, V as isProtectedResourceError, Vn as ComputedFormulaParseError, Vt as PropertyAttribute, W as isValidationError, Wt as hasOptions, X as AttributeGroup, Xt as asUserId, Y as Attribute, Yt as asTenantId, Z as AttributeType, Zt as deepEqual, _ as ProtectedResourceError, _n as CompileComputedFormulaInput, _t as Option, a as ChangeTypeNotSupportedError, an as COMPUTED_FUNCTION_METADATA, at as DateRangeValue, b as RecordReference, bn as ComputedCompileSchema, bt as RELATION_TARGET_ANY, c as DuplicateError, cn as ComputedFormulaResult, ct as FormulaAttribute, d as MigrationTimeoutError, dn as evaluateComputedFormulaWithResult, dt as LocationAttribute, en as NonJsonValueError, et as CheckboxAttribute, f as NotFoundError, fn as formatComputedResult, ft as LocationGranularity, g as OrphanSystemAttributeError, gn as rollupToFormulaExpression, gt as NumberUnit, h as ObjectReferencedError, hn as inferRollupReturnType, ht as NumberAttribute, i as AttributeUsage, in as serializeStableJson, it as DateFormat, j as StorageOperation, jn as ComputedFieldKind, jt as TextAttribute, k as SearchBackendError, kn as isComputedFunctionName, kt as StatusAttribute, l as ForbiddenError, ln as evaluateComputedAst, lt as FormulaReturnType, m as ObjectNotFoundError, mn as compileRollupAttribute, mt as MultiselectAttribute, n as AttributeInUseError, nn as sameStableValue, nt as CurrencyAttribute, o as ConcurrentModificationError, on as ComputedFunctionCategory, ot as DateValue, p as NotImplementedError, pn as isPlainRecord, pt as MultiRelationAttribute, q as SchemaOperation, qt as UserId, r as AttributeNotFoundError, rn as serializeCanonicalJson, rt as DateAttribute, s as DestructiveSyncNotAllowedError, sn as ComputedFunctionMetadata, st as DocumentAttribute, t as AccessDeniedError, tn as canonicalStringify, tt as Currency, u as MemoryNotFoundError, un as evaluateComputedFormula, ut as Location, v as ProtectedRoleError, vn as ComputedCompileAttribute, vt as Phone, w as ReservedObjectNameError, wn as compileComputedFormula, wt as RichtextAttribute, x as RecordReferencedError, xn as ComputedDependencyGraphNode, xt as RelationAttribute, y as RecordNotFoundError, yn as ComputedCompileObject, yt as PhoneAttribute, z as isNotFoundError, zn as ComputedFormulaCallNode, zt as relationTargetsOf } from "./exceptions-CHlIXRKP.js";
3
+ import { $ as QueryState, A as FormContentDefinition, B as DayMonthValue, C as ContentOpenMode, D as CustomContentDefinition, E as ContentViewDefinition, F as MeetingsContentDefinition, G as FilterOperator, H as EdgeQuantifier, I as RichtextContentDefinition, J as FilterValue, K as FilterRule, L as ViewContentDefinition, M as FormsContentDefinition, N as KanbanCollectionContentDefinition, O as DocumentsContentDefinition, P as ListViewLayout, Q as PhoneFilterValue, R as ViewRead, S as ContentFieldGroup, T as ContentViewContext, U as ExtendedFilterRule, V as DynamicValue, W as FilterCombinator, X as NoValueOperator, Y as NO_VALUE_OPERATORS, Z as OPERATORS_BY_TYPE, _ as CollectionContentDefinition, a as contentViewDefinitionSchemaFor, at as isNoValueOperator, b as ContentCreateMode, c as draftContentViewDefinitionSchemaFor, d as sortsSchema, et as RelativeDateValue, f as colorIdSchema, g as CollectionAction, h as ActivityContentDefinition, i as contentViewDefinitionSchema, it as getRollupFilterOperators, j as FormDensity, k as EmailsContentDefinition, l as filterStateSchema, m as SCHEMA_LIMITS, n as collectionContentSourceSchema, nt as SortRule, o as displayAttributesSchema, p as iconNameSchema, q as FilterState, r as columnsSchema, rt as filterOperatorsByTypeForGeneration, s as draftContentViewDefinitionSchema, t as AsideRule, tt as SortDirection, u as publishedViewContentDefinitionSchema, v as CollectionContentSource, w as ContentPlacement, x as ContentField, y as ColumnReference, z as CurrencyFilterValue } from "./all-BWBHE8zC.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-CUEwuqCj.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-CJYpJqEh.js";
6
+ import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-BAW8p4U_.js";
7
+ import { t as createTextValidator } from "./text-D4mEL9hl.js";
8
+ import { t as createNumberValidator } from "./number-BZ9pUAob.js";
9
+ import { t as createCheckboxValidator } from "./checkbox-BJiVPQKC.js";
10
+ import { t as createDateValidator } from "./date-DJzdIygB.js";
11
11
  import z, { z as z$1 } from "zod";
12
12
  import { ColorId, CountryIso3, CurrencyCode, IconName, MimeType } from "@stndrds/constants";
13
13
  import { StandardSchemaV1, StandardSchemaV1 as StandardSchemaV1$1 } from "@standard-schema/spec";
@@ -1794,9 +1794,10 @@ export declare function isToolApprovalState(state: ToolPartState): boolean;
1794
1794
  /**
1795
1795
  * Structured cause for a tool part that ended in `state: "error"` without the
1796
1796
  * tool having run. Lets the UI render a localized explanation instead of the
1797
- * raw error string.
1797
+ * raw error string. `INVALID_TOOL_INPUT` is the registry's own code: the tool's
1798
+ * input schema refused the call, and `error` names the fields for the model.
1798
1799
  */
1799
- export type ToolPartErrorCode = "output_limit_reached" | "interrupted";
1800
+ export type ToolPartErrorCode = "output_limit_reached" | "interrupted" | typeof SchemaErrorCode.INVALID_TOOL_INPUT;
1800
1801
  /**
1801
1802
  * Damage measured from a tool's input WITHOUT executing it — what a
1802
1803
  * confirmation card states so the human decides on numbers rather than on a
@@ -2309,6 +2310,20 @@ export type AIChatMessagePart = {
2309
2310
  * notification. `completed` reads as success; everything else reads as failure.
2310
2311
  */
2311
2312
  export type AISubagentStatus = "completed" | "failed" | "cancelled" | "timeout" | "expired";
2313
+ /**
2314
+ * `metadata.kind` of the `user` row the backend appends to a parent session when
2315
+ * a dispatched child finishes. It is delivered by its own mechanism and is NEVER
2316
+ * a waiting message: a person did not send it, and the agent's read watermark
2317
+ * ignores it. Every reader that decides "is this message waiting" reaches the
2318
+ * rule here: the SQL predicate (`waitingUserMessage` in the Postgres
2319
+ * repository) binds {@link AGENT_NOTIFICATION_KIND} as a query parameter; the
2320
+ * runtime mock and the client readers call {@link isAgentNotificationMetadata}.
2321
+ * A contract test in the runtime keeps the literal out of everywhere else
2322
+ * (#3792).
2323
+ */
2324
+ export declare const AGENT_NOTIFICATION_KIND = "agent-notification";
2325
+ /** Whether a message's metadata marks it as a subagent notification. */
2326
+ export declare function isAgentNotificationMetadata(metadata: Readonly<Record<string, unknown>> | null | undefined): boolean;
2312
2327
  /**
2313
2328
  * Narrow, UI-ready projection of an `agent-notification` message. Derived by the
2314
2329
  * react mapper from the raw `AgentSessionMessage.metadata` so the UI never has to
@@ -7462,6 +7477,12 @@ interface CatalogueViolation {
7462
7477
  interface ContentViewCatalogueCollection extends ContentViewCatalogueResult {
7463
7478
  readonly violations: readonly CatalogueViolation[];
7464
7479
  }
7480
+ /** How many names an inventory spells out; the rest are counted. */
7481
+ export declare const INVENTORY_LIMIT = 30;
7482
+ /** The first `limit` items, and how many were left out when the list is cut. */
7483
+ export declare function capped(items: readonly string[], limit: number): string;
7484
+ /** What an object does have, said to whoever named an attribute it does not. */
7485
+ export declare function attributeInventory(objectName: string, names: readonly string[]): string;
7465
7486
  /**
7466
7487
  * Resolves names against a collected snapshot and reports every rule it breaks;
7467
7488
  * it performs no writes or adoption.
@@ -9937,7 +9958,7 @@ interface BaseOperation {
9937
9958
  /** This operation's own id, used to remove it from a draft. */
9938
9959
  id: string;
9939
9960
  type: string;
9940
- /** Why, in the person's words; ≤ 160 chars. Persisted with the operation. */
9961
+ /** The architect's own sentence — what it does and why; ≤ 160 chars. Persisted with the operation. */
9941
9962
  note?: string;
9942
9963
  }
9943
9964
  //#endregion
@@ -10629,6 +10650,32 @@ export declare const VIEW_OPERATIONS: OperationDef[];
10629
10650
  export declare const OPERATION_REGISTRY: ReadonlyMap<string, OperationDef<BaseOperation>>;
10630
10651
  export declare const ALL_OPERATION_TYPES: readonly string[];
10631
10652
  //#endregion
10653
+ //#region src/architect/operation-pace.d.ts
10654
+ type OperationPace = "major" | "normal" | "minor";
10655
+ type DwellMode = "replay" | "live";
10656
+ /**
10657
+ * How long each operation deserves the person's eye. `impact` is not reused:
10658
+ * it drives navigation, and ranks a rename as `structural` — a rename reads at
10659
+ * a glance, a new object does not.
10660
+ *
10661
+ * Operation types are plain strings on the wire, so the compiler cannot hold
10662
+ * this map exhaustive; the test does, against `ALL_OPERATION_TYPES`.
10663
+ */
10664
+ export declare const OPERATION_PACE: Readonly<Record<string, OperationPace>>;
10665
+ /**
10666
+ * A draft may hold a type this build does not know; the follow runs in the
10667
+ * browser, where a throw would kill the tour — it gets the middle pace instead.
10668
+ */
10669
+ export declare function operationPace(operationType: string): OperationPace;
10670
+ export declare const PACE_DWELL_MS: Readonly<Record<OperationPace, Readonly<Record<DwellMode, number>>>>;
10671
+ /**
10672
+ * The pace value, unless the note needs longer to be read — never past the cap.
10673
+ * Read during render and inside a reducer: a step that reaches it without a
10674
+ * pace dwells like a normal one, and without a note length like one with no
10675
+ * note — a throw would take the tree down, a NaN would fire the timer at once.
10676
+ */
10677
+ export declare function dwellForStep(pace: OperationPace, mode: DwellMode, noteLength: number): number;
10678
+ //#endregion
10632
10679
  //#region src/architect/object-projection.d.ts
10633
10680
  /**
10634
10681
  * The settings a draft carries for an object, beyond the identity (`id`,
@@ -10675,7 +10722,9 @@ export declare function toDraftableObject(object: ObjectDefinition): DraftableOb
10675
10722
  export declare function toDraftableAttributes(object: ObjectDefinition): DraftableAttribute[];
10676
10723
  /**
10677
10724
  * The inverse of {@link toDraftableAttribute}: the attribute publish will
10678
- * write, rebuilt from a drafted one with its config spread last. The overlay
10725
+ * write, rebuilt from a drafted one with its config spread first and the row's
10726
+ * own columns last — the same precedence `dbAttributeToAttribute` applies to a
10727
+ * published row. The overlay
10679
10728
  * and the append-time validator both read this, so a drafted select carries
10680
10729
  * its options and a drafted relation its target before the draft lands —
10681
10730
  * never more, never less than publish creates (#3028).
@@ -10814,6 +10863,53 @@ export declare function bilateralDeclarationOf(attribute: DraftableAttribute): B
10814
10863
  */
10815
10864
  export declare function assertBilateralPairs(published: DraftableState, folded: DraftableState): void;
10816
10865
  //#endregion
10866
+ //#region src/architect/draft-refusal.d.ts
10867
+ /**
10868
+ * What the fold knows about a refusal beyond its message — the facts a caller
10869
+ * needs to say what to send next, read where the state is still in hand.
10870
+ * The message stays the refusal; this is the way out.
10871
+ */
10872
+ type DraftRefusal =
10873
+ /** The addressed object, attribute, content or sample is not in the folded state. */
10874
+ {
10875
+ kind: "target-missing";
10876
+ } |
10877
+ /** The named view is absent; `viewNames` are the ones the object does have. */
10878
+ {
10879
+ kind: "view-missing";
10880
+ objectName: string;
10881
+ viewNames: string[];
10882
+ } |
10883
+ /** `remove_object` while relations of other objects still target it — every one of them. */
10884
+ {
10885
+ kind: "object-targeted";
10886
+ blockers: {
10887
+ ownerObjectName: string;
10888
+ attribute: string;
10889
+ }[];
10890
+ } |
10891
+ /** A sample's relation value names no record. */
10892
+ {
10893
+ kind: "sample-relation-value";
10894
+ } |
10895
+ /** A sample value keyed by a name the object does not carry. */
10896
+ {
10897
+ kind: "sample-unknown-attribute";
10898
+ objectName: string;
10899
+ attributeNames: string[];
10900
+ };
10901
+ /**
10902
+ * A `ValidationError` of the fold that also carries its typed `DraftRefusal`.
10903
+ *
10904
+ * `name` stays the parent's, like `_tag`: `toJSON()` emits it and the HTTP
10905
+ * filter copies it, so a name of its own would change the body of
10906
+ * `POST /schema/draft/operations` for a refusal that is still a validation one.
10907
+ */
10908
+ export declare class DraftRefusalError extends ValidationError {
10909
+ readonly refusal: DraftRefusal;
10910
+ constructor(message: string, refusal: DraftRefusal, errors?: ValidationErrorDetail[]);
10911
+ }
10912
+ //#endregion
10817
10913
  //#region src/architect/families.d.ts
10818
10914
  /** The three operation slices an architect draft tool call is scoped to. */
10819
10915
  type OperationFamily = "schema" | "view";
@@ -10979,8 +11075,6 @@ export declare function summarizeDraft(state: DraftableState, operationCount: nu
10979
11075
  */
10980
11076
  /** The tools that WRITE into the draft. A call to one of them means it moved. */
10981
11077
  export declare const DRAFT_WRITE_TOOL_NAMES: readonly ["draft_schema"];
10982
- /** The tool that ends a draft by turning it into schema, always behind an approval. */
10983
- export declare const PUBLISH_ARCHITECT_DRAFT_TOOL_NAME = "publish_architect_draft";
10984
11078
  /** The tool that throws a draft away. */
10985
11079
  export declare const DISCARD_ARCHITECT_DRAFT_TOOL_NAME = "discard_architect_draft";
10986
11080
  /** The design-review gate: the run parks while a human validates a chapter. */
@@ -12811,6 +12905,7 @@ export declare const agentMessagePartSchema: z$1.ZodUnion<readonly [z$1.ZodObjec
12811
12905
  result: z$1.ZodOptional<z$1.ZodUnknown>;
12812
12906
  error: z$1.ZodOptional<z$1.ZodString>;
12813
12907
  errorCode: z$1.ZodOptional<z$1.ZodEnum<{
12908
+ INVALID_TOOL_INPUT: "INVALID_TOOL_INPUT";
12814
12909
  output_limit_reached: "output_limit_reached";
12815
12910
  interrupted: "interrupted";
12816
12911
  }>>;
@@ -12941,6 +13036,7 @@ export declare const agentSessionMessageSchema: z$1.ZodObject<{
12941
13036
  result: z$1.ZodOptional<z$1.ZodUnknown>;
12942
13037
  error: z$1.ZodOptional<z$1.ZodString>;
12943
13038
  errorCode: z$1.ZodOptional<z$1.ZodEnum<{
13039
+ INVALID_TOOL_INPUT: "INVALID_TOOL_INPUT";
12944
13040
  output_limit_reached: "output_limit_reached";
12945
13041
  interrupted: "interrupted";
12946
13042
  }>>;
@@ -13154,6 +13250,7 @@ export declare const customDataChunkSchemas: {
13154
13250
  result: z$1.ZodOptional<z$1.ZodUnknown>;
13155
13251
  error: z$1.ZodOptional<z$1.ZodString>;
13156
13252
  errorCode: z$1.ZodOptional<z$1.ZodEnum<{
13253
+ INVALID_TOOL_INPUT: "INVALID_TOOL_INPUT";
13157
13254
  output_limit_reached: "output_limit_reached";
13158
13255
  interrupted: "interrupted";
13159
13256
  }>>;
@@ -13292,6 +13389,7 @@ export declare const customDataChunkSchemas: {
13292
13389
  result: z$1.ZodOptional<z$1.ZodUnknown>;
13293
13390
  error: z$1.ZodOptional<z$1.ZodString>;
13294
13391
  errorCode: z$1.ZodOptional<z$1.ZodEnum<{
13392
+ INVALID_TOOL_INPUT: "INVALID_TOOL_INPUT";
13295
13393
  output_limit_reached: "output_limit_reached";
13296
13394
  interrupted: "interrupted";
13297
13395
  }>>;
@@ -13496,4 +13594,4 @@ export declare function schemaStateSourcePayload(entries: readonly SchemaStateEn
13496
13594
  export declare function parseSchemaState(input: unknown): SchemaState;
13497
13595
  export declare function diffSchemaState(state: SchemaState): SchemaStateDiff;
13498
13596
  //#endregion
13499
- export { ATTRIBUTE_TYPES, AccessDeniedError, type ActivityContentDefinition, AddAttributeInput, type ArchitectChange, type ArchitectFocus, type ArchitectImpact, type ArchitectNavigation, type ArchitectPresentation, type ArchitectProjection, type AsideRule, 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 DraftSummary, type DraftViewAuthoring, type DraftableAttribute, type DraftableObject, type DraftableSampleRecord, type DraftableState, type DraftableView, DuplicateError, 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 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, 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, 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 };
13597
+ export { ATTRIBUTE_TYPES, AccessDeniedError, type ActivityContentDefinition, AddAttributeInput, type ArchitectChange, type ArchitectFocus, type ArchitectImpact, type ArchitectNavigation, type ArchitectPresentation, type ArchitectProjection, type AsideRule, 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 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, 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 };