@stndrds/schema 1.0.0-alpha.217 → 1.0.0-alpha.219

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 (45) hide show
  1. package/dist/{attributes-C-V9Lr25.d.mts → attributes-C6pCxr5P.d.mts} +6 -0
  2. package/dist/{attributes-DZj9iuri.d.ts → attributes-DZIol94T.d.ts} +6 -0
  3. package/dist/{helpers-qyvuR_QS.d.ts → helpers-B3EPtA8t.d.ts} +2 -2
  4. package/dist/{helpers-YQiY20E2.d.mts → helpers-Ca3PIt9O.d.mts} +2 -2
  5. package/dist/index.d.mts +4 -4
  6. package/dist/index.d.ts +4 -4
  7. package/dist/{types-DyJSoFa8.d.ts → types-CBV2_ikK.d.ts} +1 -1
  8. package/dist/{types-BwOWmTvQ.d.mts → types-DjGoodOL.d.mts} +1 -1
  9. package/dist/validation/all.d.mts +3 -3
  10. package/dist/validation/all.d.ts +3 -3
  11. package/dist/validation/complex/currency.d.mts +2 -2
  12. package/dist/validation/complex/currency.d.ts +2 -2
  13. package/dist/validation/complex/file.d.mts +2 -2
  14. package/dist/validation/complex/file.d.ts +2 -2
  15. package/dist/validation/complex/location.d.mts +2 -2
  16. package/dist/validation/complex/location.d.ts +2 -2
  17. package/dist/validation/complex/phone.d.mts +2 -2
  18. package/dist/validation/complex/phone.d.ts +2 -2
  19. package/dist/validation/complex/relation.d.mts +2 -2
  20. package/dist/validation/complex/relation.d.ts +2 -2
  21. package/dist/validation/complex/richtext.d.mts +2 -2
  22. package/dist/validation/complex/richtext.d.ts +2 -2
  23. package/dist/validation/complex/select.d.mts +2 -2
  24. package/dist/validation/complex/select.d.ts +2 -2
  25. package/dist/validation/complex/user.d.mts +2 -2
  26. package/dist/validation/complex/user.d.ts +2 -2
  27. package/dist/validation/computed/formula.d.mts +2 -2
  28. package/dist/validation/computed/formula.d.ts +2 -2
  29. package/dist/validation/computed/rollup.d.mts +2 -2
  30. package/dist/validation/computed/rollup.d.ts +2 -2
  31. package/dist/validation/config/index.d.mts +1 -1
  32. package/dist/validation/config/index.d.ts +1 -1
  33. package/dist/validation/core/index.d.mts +3 -3
  34. package/dist/validation/core/index.d.ts +3 -3
  35. package/dist/validation/object/index.d.mts +3 -3
  36. package/dist/validation/object/index.d.ts +3 -3
  37. package/dist/validation/primitives/checkbox.d.mts +2 -2
  38. package/dist/validation/primitives/checkbox.d.ts +2 -2
  39. package/dist/validation/primitives/date.d.mts +2 -2
  40. package/dist/validation/primitives/date.d.ts +2 -2
  41. package/dist/validation/primitives/number.d.mts +2 -2
  42. package/dist/validation/primitives/number.d.ts +2 -2
  43. package/dist/validation/primitives/text.d.mts +2 -2
  44. package/dist/validation/primitives/text.d.ts +2 -2
  45. package/package.json +2 -2
@@ -949,6 +949,12 @@ interface DocumentAttribute extends BaseAttribute<string[]> {
949
949
  */
950
950
  slots?: DocumentSlotConfig[];
951
951
  }
952
+ /**
953
+ * Union of every attribute definition supported by Standards objects.
954
+ *
955
+ * Use this type when code needs to inspect or render attributes generically
956
+ * across primitive, relation, computed, file, user, and document fields.
957
+ */
952
958
  type Attribute = TextAttribute | RichtextAttribute | NumberAttribute | CheckboxAttribute | DateAttribute | PhoneAttribute | CurrencyAttribute | StatusAttribute | LocationAttribute | SelectAttribute | MultiselectAttribute | FileAttribute | UserAttribute | RelationAttribute | FormulaAttribute | RollupAttribute | DocumentAttribute;
953
959
  /**
954
960
  * Check if an attribute supports sorting based on its type.
@@ -949,6 +949,12 @@ interface DocumentAttribute extends BaseAttribute<string[]> {
949
949
  */
950
950
  slots?: DocumentSlotConfig[];
951
951
  }
952
+ /**
953
+ * Union of every attribute definition supported by Standards objects.
954
+ *
955
+ * Use this type when code needs to inspect or render attributes generically
956
+ * across primitive, relation, computed, file, user, and document fields.
957
+ */
952
958
  type Attribute = TextAttribute | RichtextAttribute | NumberAttribute | CheckboxAttribute | DateAttribute | PhoneAttribute | CurrencyAttribute | StatusAttribute | LocationAttribute | SelectAttribute | MultiselectAttribute | FileAttribute | UserAttribute | RelationAttribute | FormulaAttribute | RollupAttribute | DocumentAttribute;
953
959
  /**
954
960
  * Check if an attribute supports sorting based on its type.
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-DZj9iuri.js';
3
- import { V as ValidationMessages, a as ValidationResult } from './types-DyJSoFa8.js';
2
+ import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-DZIol94T.js';
3
+ import { V as ValidationMessages, a as ValidationResult } from './types-CBV2_ikK.js';
4
4
 
5
5
  /**
6
6
  * Create a Zod schema for any attribute type.
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages, a as ValidationResult } from './types-BwOWmTvQ.mjs';
2
+ import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages, a as ValidationResult } from './types-DjGoodOL.mjs';
4
4
 
5
5
  /**
6
6
  * Create a Zod schema for any attribute type.
package/dist/index.d.mts CHANGED
@@ -1,15 +1,15 @@
1
- import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, B as Option, L as LocationAttribute, F as FileAttribute, E as FormulaReturnType, R as RelationAttribute, G as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, H as RelationTarget, a as RichtextAttribute, I as RollupFunction, J as UserReferenceType, K as MigrationDefinition, O as ObjectDefinition } from './attributes-C-V9Lr25.mjs';
2
- export { Q as AUTOFILL_ELIGIBLE_TYPES, V as AttributeGroup, W as AutofillEligibleType, X as BaseAttribute, Y as BuiltInTransform, Z as ComputedAttributeState, _ as ComputedFieldKind, $ as ComputedFormulaBinaryNode, a0 as ComputedFormulaBinaryOperator, a1 as ComputedFormulaCallNode, a2 as ComputedFormulaLiteralNode, a3 as ComputedFormulaParseError, a4 as ComputedFormulaPathNode, a5 as ComputedStateStatus, a6 as CreateDocument, a7 as CreateDocumentLink, a8 as CreateDocumentSlot, a9 as DEFAULT_DOCUMENT_SLOT, aa as DateFormat, ab as DateValue, ac as Document, ad as DocumentKind, ae as DocumentLayoutVariant, af as DocumentListOptions, ag as DocumentSlot, ah as DocumentWithSlots, ai as DocumentWithSubCount, aj as FolderPreset, ak as MAX_PRESET_DEPTH, al as NumberUnit, am as ObjectAttribute, an as ObjectRecord, ao as OptionPropertyAttribute, ap as PresetNode, aq as PropertyAttribute, ar as PropertyType, as as RELATION_TARGET_ANY, at as RESERVED_ATTRIBUTE_NAMES, au as RESERVED_OBJECT_NAMES, av as RecordDocuments, aw as ReservedAttributeName, ax as ReservedObjectName, ay as RichTextAttribute, az as SYSTEM_FIELD_NAMES, aA as SlotStatus, aB as StatusGroup, aC as SystemFieldName, aD as UpdateDocument, aE as UpdateDocumentSlot, aF as hasOptions, aG as inferInverseCardinality, aH as isAttributeSortable, aI as isBilateralRelation, aJ as isUniversalRelation, aK as parseComputedFormula, aL as resolvePropertyDefinitions } from './attributes-C-V9Lr25.mjs';
1
+ import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, B as Option, L as LocationAttribute, F as FileAttribute, E as FormulaReturnType, R as RelationAttribute, G as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, H as RelationTarget, a as RichtextAttribute, I as RollupFunction, J as UserReferenceType, K as MigrationDefinition, O as ObjectDefinition } from './attributes-C6pCxr5P.mjs';
2
+ export { Q as AUTOFILL_ELIGIBLE_TYPES, V as AttributeGroup, W as AutofillEligibleType, X as BaseAttribute, Y as BuiltInTransform, Z as ComputedAttributeState, _ as ComputedFieldKind, $ as ComputedFormulaBinaryNode, a0 as ComputedFormulaBinaryOperator, a1 as ComputedFormulaCallNode, a2 as ComputedFormulaLiteralNode, a3 as ComputedFormulaParseError, a4 as ComputedFormulaPathNode, a5 as ComputedStateStatus, a6 as CreateDocument, a7 as CreateDocumentLink, a8 as CreateDocumentSlot, a9 as DEFAULT_DOCUMENT_SLOT, aa as DateFormat, ab as DateValue, ac as Document, ad as DocumentKind, ae as DocumentLayoutVariant, af as DocumentListOptions, ag as DocumentSlot, ah as DocumentWithSlots, ai as DocumentWithSubCount, aj as FolderPreset, ak as MAX_PRESET_DEPTH, al as NumberUnit, am as ObjectAttribute, an as ObjectRecord, ao as OptionPropertyAttribute, ap as PresetNode, aq as PropertyAttribute, ar as PropertyType, as as RELATION_TARGET_ANY, at as RESERVED_ATTRIBUTE_NAMES, au as RESERVED_OBJECT_NAMES, av as RecordDocuments, aw as ReservedAttributeName, ax as ReservedObjectName, ay as RichTextAttribute, az as SYSTEM_FIELD_NAMES, aA as SlotStatus, aB as StatusGroup, aC as SystemFieldName, aD as UpdateDocument, aE as UpdateDocumentSlot, aF as hasOptions, aG as inferInverseCardinality, aH as isAttributeSortable, aI as isBilateralRelation, aJ as isUniversalRelation, aK as parseComputedFormula, aL as resolvePropertyDefinitions } from './attributes-C6pCxr5P.mjs';
3
3
  import { IconName, MimeType, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
4
4
  import { Uuid, TenantId } from './utils.mjs';
5
5
  export { UserId, asTenantId, asUserId, deepEqual, generateId, indexBy } from './utils.mjs';
6
6
  import { StandardSchemaV1 } from '@standard-schema/spec';
7
7
  export { StandardSchemaV1 } from '@standard-schema/spec';
8
8
  import z from 'zod';
9
- export { V as ValidationMessages } from './types-BwOWmTvQ.mjs';
9
+ export { V as ValidationMessages } from './types-DjGoodOL.mjs';
10
10
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.mjs';
11
11
  export { parseAttributeConfig } from './validation/config/index.mjs';
12
- export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-YQiY20E2.mjs';
12
+ export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-Ca3PIt9O.mjs';
13
13
 
14
14
  declare const COMPUTED_FUNCTION_NAMES: readonly ["if", "concat", "sum", "avg", "count", "min", "max", "earliest", "latest", "unique", "first", "percent_empty", "percent_not_empty", "count_empty", "count_not_empty", "count_unique"];
15
15
  type ComputedFunctionName = (typeof COMPUTED_FUNCTION_NAMES)[number];
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, B as Option, L as LocationAttribute, F as FileAttribute, E as FormulaReturnType, R as RelationAttribute, G as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, H as RelationTarget, a as RichtextAttribute, I as RollupFunction, J as UserReferenceType, K as MigrationDefinition, O as ObjectDefinition } from './attributes-DZj9iuri.js';
2
- export { Q as AUTOFILL_ELIGIBLE_TYPES, V as AttributeGroup, W as AutofillEligibleType, X as BaseAttribute, Y as BuiltInTransform, Z as ComputedAttributeState, _ as ComputedFieldKind, $ as ComputedFormulaBinaryNode, a0 as ComputedFormulaBinaryOperator, a1 as ComputedFormulaCallNode, a2 as ComputedFormulaLiteralNode, a3 as ComputedFormulaParseError, a4 as ComputedFormulaPathNode, a5 as ComputedStateStatus, a6 as CreateDocument, a7 as CreateDocumentLink, a8 as CreateDocumentSlot, a9 as DEFAULT_DOCUMENT_SLOT, aa as DateFormat, ab as DateValue, ac as Document, ad as DocumentKind, ae as DocumentLayoutVariant, af as DocumentListOptions, ag as DocumentSlot, ah as DocumentWithSlots, ai as DocumentWithSubCount, aj as FolderPreset, ak as MAX_PRESET_DEPTH, al as NumberUnit, am as ObjectAttribute, an as ObjectRecord, ao as OptionPropertyAttribute, ap as PresetNode, aq as PropertyAttribute, ar as PropertyType, as as RELATION_TARGET_ANY, at as RESERVED_ATTRIBUTE_NAMES, au as RESERVED_OBJECT_NAMES, av as RecordDocuments, aw as ReservedAttributeName, ax as ReservedObjectName, ay as RichTextAttribute, az as SYSTEM_FIELD_NAMES, aA as SlotStatus, aB as StatusGroup, aC as SystemFieldName, aD as UpdateDocument, aE as UpdateDocumentSlot, aF as hasOptions, aG as inferInverseCardinality, aH as isAttributeSortable, aI as isBilateralRelation, aJ as isUniversalRelation, aK as parseComputedFormula, aL as resolvePropertyDefinitions } from './attributes-DZj9iuri.js';
1
+ import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, B as Option, L as LocationAttribute, F as FileAttribute, E as FormulaReturnType, R as RelationAttribute, G as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, H as RelationTarget, a as RichtextAttribute, I as RollupFunction, J as UserReferenceType, K as MigrationDefinition, O as ObjectDefinition } from './attributes-DZIol94T.js';
2
+ export { Q as AUTOFILL_ELIGIBLE_TYPES, V as AttributeGroup, W as AutofillEligibleType, X as BaseAttribute, Y as BuiltInTransform, Z as ComputedAttributeState, _ as ComputedFieldKind, $ as ComputedFormulaBinaryNode, a0 as ComputedFormulaBinaryOperator, a1 as ComputedFormulaCallNode, a2 as ComputedFormulaLiteralNode, a3 as ComputedFormulaParseError, a4 as ComputedFormulaPathNode, a5 as ComputedStateStatus, a6 as CreateDocument, a7 as CreateDocumentLink, a8 as CreateDocumentSlot, a9 as DEFAULT_DOCUMENT_SLOT, aa as DateFormat, ab as DateValue, ac as Document, ad as DocumentKind, ae as DocumentLayoutVariant, af as DocumentListOptions, ag as DocumentSlot, ah as DocumentWithSlots, ai as DocumentWithSubCount, aj as FolderPreset, ak as MAX_PRESET_DEPTH, al as NumberUnit, am as ObjectAttribute, an as ObjectRecord, ao as OptionPropertyAttribute, ap as PresetNode, aq as PropertyAttribute, ar as PropertyType, as as RELATION_TARGET_ANY, at as RESERVED_ATTRIBUTE_NAMES, au as RESERVED_OBJECT_NAMES, av as RecordDocuments, aw as ReservedAttributeName, ax as ReservedObjectName, ay as RichTextAttribute, az as SYSTEM_FIELD_NAMES, aA as SlotStatus, aB as StatusGroup, aC as SystemFieldName, aD as UpdateDocument, aE as UpdateDocumentSlot, aF as hasOptions, aG as inferInverseCardinality, aH as isAttributeSortable, aI as isBilateralRelation, aJ as isUniversalRelation, aK as parseComputedFormula, aL as resolvePropertyDefinitions } from './attributes-DZIol94T.js';
3
3
  import { IconName, MimeType, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
4
4
  import { Uuid, TenantId } from './utils.js';
5
5
  export { UserId, asTenantId, asUserId, deepEqual, generateId, indexBy } from './utils.js';
6
6
  import { StandardSchemaV1 } from '@standard-schema/spec';
7
7
  export { StandardSchemaV1 } from '@standard-schema/spec';
8
8
  import z from 'zod';
9
- export { V as ValidationMessages } from './types-DyJSoFa8.js';
9
+ export { V as ValidationMessages } from './types-CBV2_ikK.js';
10
10
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.js';
11
11
  export { parseAttributeConfig } from './validation/config/index.js';
12
- export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-qyvuR_QS.js';
12
+ export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-B3EPtA8t.js';
13
13
 
14
14
  declare const COMPUTED_FUNCTION_NAMES: readonly ["if", "concat", "sum", "avg", "count", "min", "max", "earliest", "latest", "unique", "first", "percent_empty", "percent_not_empty", "count_empty", "count_not_empty", "count_unique"];
15
15
  type ComputedFunctionName = (typeof COMPUTED_FUNCTION_NAMES)[number];
@@ -1,4 +1,4 @@
1
- import { A as Attribute } from './attributes-DZj9iuri.js';
1
+ import { A as Attribute } from './attributes-DZIol94T.js';
2
2
 
3
3
  /**
4
4
  * Validation messages for Zod validators.
@@ -1,4 +1,4 @@
1
- import { A as Attribute } from './attributes-C-V9Lr25.mjs';
1
+ import { A as Attribute } from './attributes-C6pCxr5P.mjs';
2
2
 
3
3
  /**
4
4
  * Validation messages for Zod validators.
@@ -1,8 +1,8 @@
1
- export { V as ValidationMessages } from '../types-BwOWmTvQ.mjs';
1
+ export { V as ValidationMessages } from '../types-DjGoodOL.mjs';
2
2
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
3
3
  export { parseAttributeConfig } from './config/index.mjs';
4
- export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-YQiY20E2.mjs';
5
- import '../attributes-C-V9Lr25.mjs';
4
+ export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-Ca3PIt9O.mjs';
5
+ import '../attributes-C6pCxr5P.mjs';
6
6
  import '@stndrds/constants';
7
7
  import '../utils.mjs';
8
8
  import 'zod';
@@ -1,8 +1,8 @@
1
- export { V as ValidationMessages } from '../types-DyJSoFa8.js';
1
+ export { V as ValidationMessages } from '../types-CBV2_ikK.js';
2
2
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
3
3
  export { parseAttributeConfig } from './config/index.js';
4
- export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-qyvuR_QS.js';
5
- import '../attributes-DZj9iuri.js';
4
+ export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-B3EPtA8t.js';
5
+ import '../attributes-DZIol94T.js';
6
6
  import '@stndrds/constants';
7
7
  import '../utils.js';
8
8
  import 'zod';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { C as CurrencyAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { C as CurrencyAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { C as CurrencyAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { C as CurrencyAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { F as FileAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { F as FileAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { F as FileAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { F as FileAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { L as LocationAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { L as LocationAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { L as LocationAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { L as LocationAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { P as PhoneAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { P as PhoneAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { P as PhoneAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { P as PhoneAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { a as RichtextAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { a as RichtextAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { a as RichtextAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { a as RichtextAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { U as UserAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { U as UserAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { U as UserAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { U as UserAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { e as FormulaAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { e as FormulaAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { e as FormulaAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { e as FormulaAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { f as RollupAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { f as RollupAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { f as RollupAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { f as RollupAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { k as AttributeType } from '../../attributes-C-V9Lr25.mjs';
2
+ import { k as AttributeType } from '../../attributes-C6pCxr5P.mjs';
3
3
  import '@stndrds/constants';
4
4
  import '../../utils.mjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { k as AttributeType } from '../../attributes-DZj9iuri.js';
2
+ import { k as AttributeType } from '../../attributes-DZIol94T.js';
3
3
  import '@stndrds/constants';
4
4
  import '../../utils.js';
5
5
 
@@ -1,7 +1,7 @@
1
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
- export { a as ValidationResult } from '../../types-BwOWmTvQ.mjs';
1
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
2
+ export { a as ValidationResult } from '../../types-DjGoodOL.mjs';
3
3
  import { z } from 'zod';
4
- import '../../attributes-C-V9Lr25.mjs';
4
+ import '../../attributes-C6pCxr5P.mjs';
5
5
  import '@stndrds/constants';
6
6
  import '../../utils.mjs';
7
7
 
@@ -1,7 +1,7 @@
1
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
- export { a as ValidationResult } from '../../types-DyJSoFa8.js';
1
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
2
+ export { a as ValidationResult } from '../../types-CBV2_ikK.js';
3
3
  import { z } from 'zod';
4
- import '../../attributes-DZj9iuri.js';
4
+ import '../../attributes-DZIol94T.js';
5
5
  import '@stndrds/constants';
6
6
  import '../../utils.js';
7
7
 
@@ -1,7 +1,7 @@
1
- export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-YQiY20E2.mjs';
1
+ export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-Ca3PIt9O.mjs';
2
2
  import { z } from 'zod';
3
- import { O as ObjectDefinition } from '../../attributes-C-V9Lr25.mjs';
4
- import '../../types-BwOWmTvQ.mjs';
3
+ import { O as ObjectDefinition } from '../../attributes-C6pCxr5P.mjs';
4
+ import '../../types-DjGoodOL.mjs';
5
5
  import '@stndrds/constants';
6
6
  import '../../utils.mjs';
7
7
 
@@ -1,7 +1,7 @@
1
- export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-qyvuR_QS.js';
1
+ export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-B3EPtA8t.js';
2
2
  import { z } from 'zod';
3
- import { O as ObjectDefinition } from '../../attributes-DZj9iuri.js';
4
- import '../../types-DyJSoFa8.js';
3
+ import { O as ObjectDefinition } from '../../attributes-DZIol94T.js';
4
+ import '../../types-CBV2_ikK.js';
5
5
  import '@stndrds/constants';
6
6
  import '../../utils.js';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { g as CheckboxAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { g as CheckboxAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { g as CheckboxAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { g as CheckboxAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { D as DateAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { D as DateAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { D as DateAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { D as DateAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { N as NumberAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { N as NumberAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { N as NumberAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { N as NumberAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { T as TextAttribute } from '../../attributes-C-V9Lr25.mjs';
3
- import { V as ValidationMessages } from '../../types-BwOWmTvQ.mjs';
2
+ import { T as TextAttribute } from '../../attributes-C6pCxr5P.mjs';
3
+ import { V as ValidationMessages } from '../../types-DjGoodOL.mjs';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { T as TextAttribute } from '../../attributes-DZj9iuri.js';
3
- import { V as ValidationMessages } from '../../types-DyJSoFa8.js';
2
+ import { T as TextAttribute } from '../../attributes-DZIol94T.js';
3
+ import { V as ValidationMessages } from '../../types-CBV2_ikK.js';
4
4
  import '@stndrds/constants';
5
5
  import '../../utils.js';
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/schema",
3
- "version": "1.0.0-alpha.217",
3
+ "version": "1.0.0-alpha.219",
4
4
  "description": "Standard schema definitions and utilities",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -120,7 +120,7 @@
120
120
  "@standard-schema/spec": "^1.1.0",
121
121
  "libphonenumber-js": "^1.12.31",
122
122
  "zod": "^4.2.1",
123
- "@stndrds/constants": "1.0.0-alpha.217"
123
+ "@stndrds/constants": "1.0.0-alpha.219"
124
124
  },
125
125
  "devDependencies": {
126
126
  "@types/node": "^25.0.3",