@stndrds/schema 1.0.0-alpha.279 → 1.0.0-alpha.281

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 (40) hide show
  1. package/dist/all-BVp3k9Hi.d.ts +471 -0
  2. package/dist/all-CnIU2anT.d.mts +471 -0
  3. package/dist/{chunk-PQEOIDXD.mjs → chunk-A5PPZ2FM.mjs} +1 -1
  4. package/dist/{chunk-ZEPGMHCK.js → chunk-E47WAI5K.js} +4 -4
  5. package/dist/{chunk-ZBWTAKZO.js → chunk-HWZRSXFB.js} +6 -1
  6. package/dist/{chunk-DEHBEFGO.js → chunk-LRFLSFIA.js} +3 -3
  7. package/dist/{chunk-QUZ3PN36.mjs → chunk-MLTXSBOB.mjs} +1 -1
  8. package/dist/{chunk-5PLJHYSL.mjs → chunk-ORPCS24B.mjs} +5 -11
  9. package/dist/{chunk-FRCDMQER.js → chunk-OYHBQMC7.js} +34 -0
  10. package/dist/{chunk-V2WJFUZW.mjs → chunk-SYQDFZ74.mjs} +6 -1
  11. package/dist/{chunk-QMAVKX3Y.js → chunk-TU6ECJFZ.js} +37 -43
  12. package/dist/chunk-XCLVXM7F.mjs +74 -0
  13. package/dist/exceptions.d.mts +5 -0
  14. package/dist/exceptions.d.ts +5 -0
  15. package/dist/exceptions.js +39 -39
  16. package/dist/exceptions.mjs +1 -1
  17. package/dist/{index-C3P5Dnwt.d.mts → index-DWoqObyG.d.mts} +13 -22
  18. package/dist/{index-SpFpkWVC.d.ts → index-TMlrIKAY.d.ts} +13 -22
  19. package/dist/index.d.mts +259 -94
  20. package/dist/index.d.ts +259 -94
  21. package/dist/index.js +1178 -317
  22. package/dist/index.mjs +970 -124
  23. package/dist/utils.d.mts +16 -1
  24. package/dist/utils.d.ts +16 -1
  25. package/dist/utils.js +11 -6
  26. package/dist/utils.mjs +2 -1
  27. package/dist/validation/all.d.mts +2 -2
  28. package/dist/validation/all.d.ts +2 -2
  29. package/dist/validation/all.js +29 -29
  30. package/dist/validation/all.mjs +4 -4
  31. package/dist/validation/config/index.d.mts +1 -1
  32. package/dist/validation/config/index.d.ts +1 -1
  33. package/dist/validation/config/index.js +11 -11
  34. package/dist/validation/config/index.mjs +2 -2
  35. package/dist/validation/object/index.js +14 -14
  36. package/dist/validation/object/index.mjs +2 -2
  37. package/package.json +2 -2
  38. package/dist/all-Bk8cRKsu.d.mts +0 -482
  39. package/dist/all-C_tC90ZM.d.ts +0 -482
  40. package/dist/chunk-QY6QFRRV.mjs +0 -41
package/dist/utils.d.mts CHANGED
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Serializes a value into deterministic JSON: object keys are sorted
3
+ * recursively, array order is preserved, `undefined` object entries are
4
+ * omitted, and no whitespace is emitted.
5
+ *
6
+ * This is the single canonicalization used to hash view (and future schema)
7
+ * definitions across the runtime boot seed, the server, and the CLI — the
8
+ * output must stay byte-identical for equivalent inputs regardless of key
9
+ * insertion order or jsonb storage round-trips.
10
+ *
11
+ * @throws {ValidationError} On circular references or unsupported value types
12
+ * (functions, symbols, bigint).
13
+ */
14
+ declare function canonicalStringify(value: unknown): string;
15
+
1
16
  /**
2
17
  * Brand symbol for nominal typing.
3
18
  * This ensures type-safety by making IDs non-interchangeable.
@@ -116,4 +131,4 @@ declare function indexBy<T, K extends PropertyKey>(items: T[], keyFn: (item: T)
116
131
  */
117
132
  declare function deepEqual(a: unknown, b: unknown): boolean;
118
133
 
119
- export { type TenantId, type UserId, type Uuid, asTenantId, asUserId, deepEqual, generateId, indexBy };
134
+ export { type TenantId, type UserId, type Uuid, asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy };
package/dist/utils.d.ts CHANGED
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Serializes a value into deterministic JSON: object keys are sorted
3
+ * recursively, array order is preserved, `undefined` object entries are
4
+ * omitted, and no whitespace is emitted.
5
+ *
6
+ * This is the single canonicalization used to hash view (and future schema)
7
+ * definitions across the runtime boot seed, the server, and the CLI — the
8
+ * output must stay byte-identical for equivalent inputs regardless of key
9
+ * insertion order or jsonb storage round-trips.
10
+ *
11
+ * @throws {ValidationError} On circular references or unsupported value types
12
+ * (functions, symbols, bigint).
13
+ */
14
+ declare function canonicalStringify(value: unknown): string;
15
+
1
16
  /**
2
17
  * Brand symbol for nominal typing.
3
18
  * This ensures type-safety by making IDs non-interchangeable.
@@ -116,4 +131,4 @@ declare function indexBy<T, K extends PropertyKey>(items: T[], keyFn: (item: T)
116
131
  */
117
132
  declare function deepEqual(a: unknown, b: unknown): boolean;
118
133
 
119
- export { type TenantId, type UserId, type Uuid, asTenantId, asUserId, deepEqual, generateId, indexBy };
134
+ export { type TenantId, type UserId, type Uuid, asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy };
package/dist/utils.js CHANGED
@@ -1,26 +1,31 @@
1
1
  'use strict';
2
2
 
3
- var chunkFRCDMQER_js = require('./chunk-FRCDMQER.js');
3
+ var chunkOYHBQMC7_js = require('./chunk-OYHBQMC7.js');
4
+ require('./chunk-HWZRSXFB.js');
4
5
 
5
6
 
6
7
 
7
8
  Object.defineProperty(exports, "asTenantId", {
8
9
  enumerable: true,
9
- get: function () { return chunkFRCDMQER_js.asTenantId; }
10
+ get: function () { return chunkOYHBQMC7_js.asTenantId; }
10
11
  });
11
12
  Object.defineProperty(exports, "asUserId", {
12
13
  enumerable: true,
13
- get: function () { return chunkFRCDMQER_js.asUserId; }
14
+ get: function () { return chunkOYHBQMC7_js.asUserId; }
15
+ });
16
+ Object.defineProperty(exports, "canonicalStringify", {
17
+ enumerable: true,
18
+ get: function () { return chunkOYHBQMC7_js.canonicalStringify; }
14
19
  });
15
20
  Object.defineProperty(exports, "deepEqual", {
16
21
  enumerable: true,
17
- get: function () { return chunkFRCDMQER_js.deepEqual; }
22
+ get: function () { return chunkOYHBQMC7_js.deepEqual; }
18
23
  });
19
24
  Object.defineProperty(exports, "generateId", {
20
25
  enumerable: true,
21
- get: function () { return chunkFRCDMQER_js.generateId; }
26
+ get: function () { return chunkOYHBQMC7_js.generateId; }
22
27
  });
23
28
  Object.defineProperty(exports, "indexBy", {
24
29
  enumerable: true,
25
- get: function () { return chunkFRCDMQER_js.indexBy; }
30
+ get: function () { return chunkOYHBQMC7_js.indexBy; }
26
31
  });
package/dist/utils.mjs CHANGED
@@ -1 +1,2 @@
1
- export { asTenantId, asUserId, deepEqual, generateId, indexBy } from './chunk-QY6QFRRV.mjs';
1
+ export { asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy } from './chunk-XCLVXM7F.mjs';
2
+ import './chunk-SYQDFZ74.mjs';
@@ -1,7 +1,7 @@
1
1
  export { V as ValidationMessages } from '../types-DHqXzkgW.mjs';
2
2
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
3
- export { ac as multiselectOptionWriteSchema, ad as parseAttributeConfig, ae as parseAttributeConfigForCreate, af as parseAttributeConfigForUpdate, ag as selectOptionWriteSchema, ah as statusGroupSchema, ai as statusOptionWriteSchema } from '../index-C3P5Dnwt.mjs';
4
- export { S as SCHEMA_LIMITS, c as colorIdSchema, d as detailTabSchema, a as detailViewConfigSchema, i as iconNameSchema, b as inverseSourceSchema, l as listViewConfigSchema, e as listViewTabSchema, p as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-Bk8cRKsu.mjs';
3
+ export { aa as multiselectOptionWriteSchema, ab as parseAttributeConfig, ac as parseAttributeConfigForCreate, ad as parseAttributeConfigForUpdate, ae as selectOptionWriteSchema, af as statusGroupSchema, ag as statusOptionWriteSchema } from '../index-DWoqObyG.mjs';
4
+ export { S as SCHEMA_LIMITS, c as colorIdSchema, d as detailTabSchema, a as detailViewConfigSchema, i as iconNameSchema, b as inverseSourceSchema, l as listViewConfigSchema, e as listViewTabSchema, p as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-CnIU2anT.mjs';
5
5
  export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-BiABdSxK.mjs';
6
6
  import '../attributes--M1ifW8_.mjs';
7
7
  import '@stndrds/constants';
@@ -1,7 +1,7 @@
1
1
  export { V as ValidationMessages } from '../types-DYYFto8d.js';
2
2
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
3
- export { ac as multiselectOptionWriteSchema, ad as parseAttributeConfig, ae as parseAttributeConfigForCreate, af as parseAttributeConfigForUpdate, ag as selectOptionWriteSchema, ah as statusGroupSchema, ai as statusOptionWriteSchema } from '../index-SpFpkWVC.js';
4
- export { S as SCHEMA_LIMITS, c as colorIdSchema, d as detailTabSchema, a as detailViewConfigSchema, i as iconNameSchema, b as inverseSourceSchema, l as listViewConfigSchema, e as listViewTabSchema, p as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-C_tC90ZM.js';
3
+ export { aa as multiselectOptionWriteSchema, ab as parseAttributeConfig, ac as parseAttributeConfigForCreate, ad as parseAttributeConfigForUpdate, ae as selectOptionWriteSchema, af as statusGroupSchema, ag as statusOptionWriteSchema } from '../index-TMlrIKAY.js';
4
+ export { S as SCHEMA_LIMITS, c as colorIdSchema, d as detailTabSchema, a as detailViewConfigSchema, i as iconNameSchema, b as inverseSourceSchema, l as listViewConfigSchema, e as listViewTabSchema, p as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-BVp3k9Hi.js';
5
5
  export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-DyoPqiSz.js';
6
6
  import '../attributes-D8eHv5Kf.js';
7
7
  import '@stndrds/constants';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkQMAVKX3Y_js = require('../chunk-QMAVKX3Y.js');
4
- var chunkDEHBEFGO_js = require('../chunk-DEHBEFGO.js');
5
- var chunkZEPGMHCK_js = require('../chunk-ZEPGMHCK.js');
3
+ var chunkTU6ECJFZ_js = require('../chunk-TU6ECJFZ.js');
4
+ var chunkLRFLSFIA_js = require('../chunk-LRFLSFIA.js');
5
+ var chunkE47WAI5K_js = require('../chunk-E47WAI5K.js');
6
6
  require('../chunk-EW5XR2X3.js');
7
7
  require('../chunk-QWKLQRBX.js');
8
8
  require('../chunk-KNGWHQLR.js');
@@ -12,7 +12,7 @@ require('../chunk-5WATIVCA.js');
12
12
  require('../chunk-SI34M4IC.js');
13
13
  require('../chunk-YIP5FJ5H.js');
14
14
  require('../chunk-ZPFOKBIN.js');
15
- require('../chunk-ZBWTAKZO.js');
15
+ require('../chunk-HWZRSXFB.js');
16
16
  require('../chunk-ACKMC6FL.js');
17
17
  require('../chunk-E6JUYGJX.js');
18
18
  require('../chunk-Q4SZAMJT.js');
@@ -23,103 +23,103 @@ var chunkYKWSHBT5_js = require('../chunk-YKWSHBT5.js');
23
23
 
24
24
  Object.defineProperty(exports, "detailTabSchema", {
25
25
  enumerable: true,
26
- get: function () { return chunkQMAVKX3Y_js.detailTabSchema; }
26
+ get: function () { return chunkTU6ECJFZ_js.detailTabSchema; }
27
27
  });
28
28
  Object.defineProperty(exports, "detailViewConfigSchema", {
29
29
  enumerable: true,
30
- get: function () { return chunkQMAVKX3Y_js.detailViewConfigSchema; }
30
+ get: function () { return chunkTU6ECJFZ_js.detailViewConfigSchema; }
31
31
  });
32
32
  Object.defineProperty(exports, "inverseSourceSchema", {
33
33
  enumerable: true,
34
- get: function () { return chunkQMAVKX3Y_js.inverseSourceSchema; }
34
+ get: function () { return chunkTU6ECJFZ_js.inverseSourceSchema; }
35
35
  });
36
36
  Object.defineProperty(exports, "listViewConfigSchema", {
37
37
  enumerable: true,
38
- get: function () { return chunkQMAVKX3Y_js.listViewConfigSchema; }
38
+ get: function () { return chunkTU6ECJFZ_js.listViewConfigSchema; }
39
39
  });
40
40
  Object.defineProperty(exports, "listViewTabSchema", {
41
41
  enumerable: true,
42
- get: function () { return chunkQMAVKX3Y_js.listViewTabSchema; }
42
+ get: function () { return chunkTU6ECJFZ_js.listViewTabSchema; }
43
43
  });
44
44
  Object.defineProperty(exports, "parseViewConfig", {
45
45
  enumerable: true,
46
- get: function () { return chunkQMAVKX3Y_js.parseViewConfig; }
46
+ get: function () { return chunkTU6ECJFZ_js.parseViewConfig; }
47
47
  });
48
48
  Object.defineProperty(exports, "relationSourceSchema", {
49
49
  enumerable: true,
50
- get: function () { return chunkQMAVKX3Y_js.relationSourceSchema; }
50
+ get: function () { return chunkTU6ECJFZ_js.relationSourceSchema; }
51
51
  });
52
52
  Object.defineProperty(exports, "tableSourceSchema", {
53
53
  enumerable: true,
54
- get: function () { return chunkQMAVKX3Y_js.tableSourceSchema; }
54
+ get: function () { return chunkTU6ECJFZ_js.tableSourceSchema; }
55
55
  });
56
56
  Object.defineProperty(exports, "viewConfigByTypeSchema", {
57
57
  enumerable: true,
58
- get: function () { return chunkQMAVKX3Y_js.viewConfigByTypeSchema; }
58
+ get: function () { return chunkTU6ECJFZ_js.viewConfigByTypeSchema; }
59
59
  });
60
60
  Object.defineProperty(exports, "SCHEMA_LIMITS", {
61
61
  enumerable: true,
62
- get: function () { return chunkDEHBEFGO_js.SCHEMA_LIMITS; }
62
+ get: function () { return chunkLRFLSFIA_js.SCHEMA_LIMITS; }
63
63
  });
64
64
  Object.defineProperty(exports, "colorIdSchema", {
65
65
  enumerable: true,
66
- get: function () { return chunkDEHBEFGO_js.colorIdSchema; }
66
+ get: function () { return chunkLRFLSFIA_js.colorIdSchema; }
67
67
  });
68
68
  Object.defineProperty(exports, "iconNameSchema", {
69
69
  enumerable: true,
70
- get: function () { return chunkDEHBEFGO_js.iconNameSchema; }
70
+ get: function () { return chunkLRFLSFIA_js.iconNameSchema; }
71
71
  });
72
72
  Object.defineProperty(exports, "multiselectOptionWriteSchema", {
73
73
  enumerable: true,
74
- get: function () { return chunkDEHBEFGO_js.multiselectOptionWriteSchema; }
74
+ get: function () { return chunkLRFLSFIA_js.multiselectOptionWriteSchema; }
75
75
  });
76
76
  Object.defineProperty(exports, "parseAttributeConfig", {
77
77
  enumerable: true,
78
- get: function () { return chunkDEHBEFGO_js.parseAttributeConfig; }
78
+ get: function () { return chunkLRFLSFIA_js.parseAttributeConfig; }
79
79
  });
80
80
  Object.defineProperty(exports, "parseAttributeConfigForCreate", {
81
81
  enumerable: true,
82
- get: function () { return chunkDEHBEFGO_js.parseAttributeConfigForCreate; }
82
+ get: function () { return chunkLRFLSFIA_js.parseAttributeConfigForCreate; }
83
83
  });
84
84
  Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
85
85
  enumerable: true,
86
- get: function () { return chunkDEHBEFGO_js.parseAttributeConfigForUpdate; }
86
+ get: function () { return chunkLRFLSFIA_js.parseAttributeConfigForUpdate; }
87
87
  });
88
88
  Object.defineProperty(exports, "selectOptionWriteSchema", {
89
89
  enumerable: true,
90
- get: function () { return chunkDEHBEFGO_js.selectOptionWriteSchema; }
90
+ get: function () { return chunkLRFLSFIA_js.selectOptionWriteSchema; }
91
91
  });
92
92
  Object.defineProperty(exports, "statusGroupSchema", {
93
93
  enumerable: true,
94
- get: function () { return chunkDEHBEFGO_js.statusGroupSchema; }
94
+ get: function () { return chunkLRFLSFIA_js.statusGroupSchema; }
95
95
  });
96
96
  Object.defineProperty(exports, "statusOptionWriteSchema", {
97
97
  enumerable: true,
98
- get: function () { return chunkDEHBEFGO_js.statusOptionWriteSchema; }
98
+ get: function () { return chunkLRFLSFIA_js.statusOptionWriteSchema; }
99
99
  });
100
100
  Object.defineProperty(exports, "createFormAttributeValidator", {
101
101
  enumerable: true,
102
- get: function () { return chunkZEPGMHCK_js.createFormAttributeValidator; }
102
+ get: function () { return chunkE47WAI5K_js.createFormAttributeValidator; }
103
103
  });
104
104
  Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
105
105
  enumerable: true,
106
- get: function () { return chunkZEPGMHCK_js.rejectUnknownAttributesOrThrow; }
106
+ get: function () { return chunkE47WAI5K_js.rejectUnknownAttributesOrThrow; }
107
107
  });
108
108
  Object.defineProperty(exports, "validateDraft", {
109
109
  enumerable: true,
110
- get: function () { return chunkZEPGMHCK_js.validateDraft; }
110
+ get: function () { return chunkE47WAI5K_js.validateDraft; }
111
111
  });
112
112
  Object.defineProperty(exports, "validateDraftOrThrow", {
113
113
  enumerable: true,
114
- get: function () { return chunkZEPGMHCK_js.validateDraftOrThrow; }
114
+ get: function () { return chunkE47WAI5K_js.validateDraftOrThrow; }
115
115
  });
116
116
  Object.defineProperty(exports, "validateObject", {
117
117
  enumerable: true,
118
- get: function () { return chunkZEPGMHCK_js.validateObject; }
118
+ get: function () { return chunkE47WAI5K_js.validateObject; }
119
119
  });
120
120
  Object.defineProperty(exports, "validateObjectOrThrow", {
121
121
  enumerable: true,
122
- get: function () { return chunkZEPGMHCK_js.validateObjectOrThrow; }
122
+ get: function () { return chunkE47WAI5K_js.validateObjectOrThrow; }
123
123
  });
124
124
  Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
125
125
  enumerable: true,
@@ -1,6 +1,6 @@
1
- export { detailTabSchema, detailViewConfigSchema, inverseSourceSchema, listViewConfigSchema, listViewTabSchema, parseViewConfig, relationSourceSchema, tableSourceSchema, viewConfigByTypeSchema } from '../chunk-5PLJHYSL.mjs';
2
- export { SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../chunk-PQEOIDXD.mjs';
3
- export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-QUZ3PN36.mjs';
1
+ export { detailTabSchema, detailViewConfigSchema, inverseSourceSchema, listViewConfigSchema, listViewTabSchema, parseViewConfig, relationSourceSchema, tableSourceSchema, viewConfigByTypeSchema } from '../chunk-ORPCS24B.mjs';
2
+ export { SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../chunk-A5PPZ2FM.mjs';
3
+ export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-MLTXSBOB.mjs';
4
4
  import '../chunk-QVLQPW3O.mjs';
5
5
  import '../chunk-ZDQ5AP26.mjs';
6
6
  import '../chunk-LV3FEUKU.mjs';
@@ -10,7 +10,7 @@ import '../chunk-OSSGN43B.mjs';
10
10
  import '../chunk-Q44QKLN4.mjs';
11
11
  import '../chunk-UANQJ2GH.mjs';
12
12
  import '../chunk-O73ROMWQ.mjs';
13
- import '../chunk-V2WJFUZW.mjs';
13
+ import '../chunk-SYQDFZ74.mjs';
14
14
  import '../chunk-AYVHMVKQ.mjs';
15
15
  import '../chunk-YUFTHPOE.mjs';
16
16
  import '../chunk-R5LAJCBU.mjs';
@@ -1,4 +1,4 @@
1
- export { aj as attributeConfigSchemas, ak as getAttributeConfigSchema, ac as multiselectOptionWriteSchema, ad as parseAttributeConfig, ae as parseAttributeConfigForCreate, af as parseAttributeConfigForUpdate, ag as selectOptionWriteSchema, ah as statusGroupSchema, ai as statusOptionWriteSchema } from '../../index-C3P5Dnwt.mjs';
1
+ export { ah as attributeConfigSchemas, ai as getAttributeConfigSchema, aa as multiselectOptionWriteSchema, ab as parseAttributeConfig, ac as parseAttributeConfigForCreate, ad as parseAttributeConfigForUpdate, ae as selectOptionWriteSchema, af as statusGroupSchema, ag as statusOptionWriteSchema } from '../../index-DWoqObyG.mjs';
2
2
  import 'zod';
3
3
  import '../../attributes--M1ifW8_.mjs';
4
4
  import '@stndrds/constants';
@@ -1,4 +1,4 @@
1
- export { aj as attributeConfigSchemas, ak as getAttributeConfigSchema, ac as multiselectOptionWriteSchema, ad as parseAttributeConfig, ae as parseAttributeConfigForCreate, af as parseAttributeConfigForUpdate, ag as selectOptionWriteSchema, ah as statusGroupSchema, ai as statusOptionWriteSchema } from '../../index-SpFpkWVC.js';
1
+ export { ah as attributeConfigSchemas, ai as getAttributeConfigSchema, aa as multiselectOptionWriteSchema, ab as parseAttributeConfig, ac as parseAttributeConfigForCreate, ad as parseAttributeConfigForUpdate, ae as selectOptionWriteSchema, af as statusGroupSchema, ag as statusOptionWriteSchema } from '../../index-TMlrIKAY.js';
2
2
  import 'zod';
3
3
  import '../../attributes-D8eHv5Kf.js';
4
4
  import '@stndrds/constants';
@@ -1,48 +1,48 @@
1
1
  'use strict';
2
2
 
3
- var chunkDEHBEFGO_js = require('../../chunk-DEHBEFGO.js');
3
+ var chunkLRFLSFIA_js = require('../../chunk-LRFLSFIA.js');
4
4
  require('../../chunk-5WATIVCA.js');
5
5
  require('../../chunk-SI34M4IC.js');
6
6
  require('../../chunk-YIP5FJ5H.js');
7
7
  require('../../chunk-ZPFOKBIN.js');
8
- require('../../chunk-ZBWTAKZO.js');
8
+ require('../../chunk-HWZRSXFB.js');
9
9
  require('../../chunk-YKWSHBT5.js');
10
10
 
11
11
 
12
12
 
13
13
  Object.defineProperty(exports, "attributeConfigSchemas", {
14
14
  enumerable: true,
15
- get: function () { return chunkDEHBEFGO_js.attributeConfigSchemas; }
15
+ get: function () { return chunkLRFLSFIA_js.attributeConfigSchemas; }
16
16
  });
17
17
  Object.defineProperty(exports, "getAttributeConfigSchema", {
18
18
  enumerable: true,
19
- get: function () { return chunkDEHBEFGO_js.getAttributeConfigSchema; }
19
+ get: function () { return chunkLRFLSFIA_js.getAttributeConfigSchema; }
20
20
  });
21
21
  Object.defineProperty(exports, "multiselectOptionWriteSchema", {
22
22
  enumerable: true,
23
- get: function () { return chunkDEHBEFGO_js.multiselectOptionWriteSchema; }
23
+ get: function () { return chunkLRFLSFIA_js.multiselectOptionWriteSchema; }
24
24
  });
25
25
  Object.defineProperty(exports, "parseAttributeConfig", {
26
26
  enumerable: true,
27
- get: function () { return chunkDEHBEFGO_js.parseAttributeConfig; }
27
+ get: function () { return chunkLRFLSFIA_js.parseAttributeConfig; }
28
28
  });
29
29
  Object.defineProperty(exports, "parseAttributeConfigForCreate", {
30
30
  enumerable: true,
31
- get: function () { return chunkDEHBEFGO_js.parseAttributeConfigForCreate; }
31
+ get: function () { return chunkLRFLSFIA_js.parseAttributeConfigForCreate; }
32
32
  });
33
33
  Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
34
34
  enumerable: true,
35
- get: function () { return chunkDEHBEFGO_js.parseAttributeConfigForUpdate; }
35
+ get: function () { return chunkLRFLSFIA_js.parseAttributeConfigForUpdate; }
36
36
  });
37
37
  Object.defineProperty(exports, "selectOptionWriteSchema", {
38
38
  enumerable: true,
39
- get: function () { return chunkDEHBEFGO_js.selectOptionWriteSchema; }
39
+ get: function () { return chunkLRFLSFIA_js.selectOptionWriteSchema; }
40
40
  });
41
41
  Object.defineProperty(exports, "statusGroupSchema", {
42
42
  enumerable: true,
43
- get: function () { return chunkDEHBEFGO_js.statusGroupSchema; }
43
+ get: function () { return chunkLRFLSFIA_js.statusGroupSchema; }
44
44
  });
45
45
  Object.defineProperty(exports, "statusOptionWriteSchema", {
46
46
  enumerable: true,
47
- get: function () { return chunkDEHBEFGO_js.statusOptionWriteSchema; }
47
+ get: function () { return chunkLRFLSFIA_js.statusOptionWriteSchema; }
48
48
  });
@@ -1,7 +1,7 @@
1
- export { attributeConfigSchemas, getAttributeConfigSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../../chunk-PQEOIDXD.mjs';
1
+ export { attributeConfigSchemas, getAttributeConfigSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../../chunk-A5PPZ2FM.mjs';
2
2
  import '../../chunk-OSSGN43B.mjs';
3
3
  import '../../chunk-Q44QKLN4.mjs';
4
4
  import '../../chunk-UANQJ2GH.mjs';
5
5
  import '../../chunk-O73ROMWQ.mjs';
6
- import '../../chunk-V2WJFUZW.mjs';
6
+ import '../../chunk-SYQDFZ74.mjs';
7
7
  import '../../chunk-HRQEZUAA.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkZEPGMHCK_js = require('../../chunk-ZEPGMHCK.js');
3
+ var chunkE47WAI5K_js = require('../../chunk-E47WAI5K.js');
4
4
  require('../../chunk-EW5XR2X3.js');
5
5
  require('../../chunk-QWKLQRBX.js');
6
6
  require('../../chunk-KNGWHQLR.js');
@@ -10,7 +10,7 @@ require('../../chunk-5WATIVCA.js');
10
10
  require('../../chunk-SI34M4IC.js');
11
11
  require('../../chunk-YIP5FJ5H.js');
12
12
  require('../../chunk-ZPFOKBIN.js');
13
- require('../../chunk-ZBWTAKZO.js');
13
+ require('../../chunk-HWZRSXFB.js');
14
14
  require('../../chunk-ACKMC6FL.js');
15
15
  require('../../chunk-E6JUYGJX.js');
16
16
  require('../../chunk-Q4SZAMJT.js');
@@ -21,49 +21,49 @@ require('../../chunk-YKWSHBT5.js');
21
21
 
22
22
  Object.defineProperty(exports, "createAttributeValidator", {
23
23
  enumerable: true,
24
- get: function () { return chunkZEPGMHCK_js.createAttributeValidator; }
24
+ get: function () { return chunkE47WAI5K_js.createAttributeValidator; }
25
25
  });
26
26
  Object.defineProperty(exports, "createDraftValidator", {
27
27
  enumerable: true,
28
- get: function () { return chunkZEPGMHCK_js.createDraftValidator; }
28
+ get: function () { return chunkE47WAI5K_js.createDraftValidator; }
29
29
  });
30
30
  Object.defineProperty(exports, "createFormAttributeValidator", {
31
31
  enumerable: true,
32
- get: function () { return chunkZEPGMHCK_js.createFormAttributeValidator; }
32
+ get: function () { return chunkE47WAI5K_js.createFormAttributeValidator; }
33
33
  });
34
34
  Object.defineProperty(exports, "createObjectValidator", {
35
35
  enumerable: true,
36
- get: function () { return chunkZEPGMHCK_js.createObjectValidator; }
36
+ get: function () { return chunkE47WAI5K_js.createObjectValidator; }
37
37
  });
38
38
  Object.defineProperty(exports, "getMissingRequiredAttributes", {
39
39
  enumerable: true,
40
- get: function () { return chunkZEPGMHCK_js.getMissingRequiredAttributes; }
40
+ get: function () { return chunkE47WAI5K_js.getMissingRequiredAttributes; }
41
41
  });
42
42
  Object.defineProperty(exports, "isRecordComplete", {
43
43
  enumerable: true,
44
- get: function () { return chunkZEPGMHCK_js.isRecordComplete; }
44
+ get: function () { return chunkE47WAI5K_js.isRecordComplete; }
45
45
  });
46
46
  Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
47
47
  enumerable: true,
48
- get: function () { return chunkZEPGMHCK_js.rejectUnknownAttributesOrThrow; }
48
+ get: function () { return chunkE47WAI5K_js.rejectUnknownAttributesOrThrow; }
49
49
  });
50
50
  Object.defineProperty(exports, "validateAttribute", {
51
51
  enumerable: true,
52
- get: function () { return chunkZEPGMHCK_js.validateAttribute; }
52
+ get: function () { return chunkE47WAI5K_js.validateAttribute; }
53
53
  });
54
54
  Object.defineProperty(exports, "validateDraft", {
55
55
  enumerable: true,
56
- get: function () { return chunkZEPGMHCK_js.validateDraft; }
56
+ get: function () { return chunkE47WAI5K_js.validateDraft; }
57
57
  });
58
58
  Object.defineProperty(exports, "validateDraftOrThrow", {
59
59
  enumerable: true,
60
- get: function () { return chunkZEPGMHCK_js.validateDraftOrThrow; }
60
+ get: function () { return chunkE47WAI5K_js.validateDraftOrThrow; }
61
61
  });
62
62
  Object.defineProperty(exports, "validateObject", {
63
63
  enumerable: true,
64
- get: function () { return chunkZEPGMHCK_js.validateObject; }
64
+ get: function () { return chunkE47WAI5K_js.validateObject; }
65
65
  });
66
66
  Object.defineProperty(exports, "validateObjectOrThrow", {
67
67
  enumerable: true,
68
- get: function () { return chunkZEPGMHCK_js.validateObjectOrThrow; }
68
+ get: function () { return chunkE47WAI5K_js.validateObjectOrThrow; }
69
69
  });
@@ -1,4 +1,4 @@
1
- export { createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../../chunk-QUZ3PN36.mjs';
1
+ export { createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../../chunk-MLTXSBOB.mjs';
2
2
  import '../../chunk-QVLQPW3O.mjs';
3
3
  import '../../chunk-ZDQ5AP26.mjs';
4
4
  import '../../chunk-LV3FEUKU.mjs';
@@ -8,7 +8,7 @@ import '../../chunk-OSSGN43B.mjs';
8
8
  import '../../chunk-Q44QKLN4.mjs';
9
9
  import '../../chunk-UANQJ2GH.mjs';
10
10
  import '../../chunk-O73ROMWQ.mjs';
11
- import '../../chunk-V2WJFUZW.mjs';
11
+ import '../../chunk-SYQDFZ74.mjs';
12
12
  import '../../chunk-AYVHMVKQ.mjs';
13
13
  import '../../chunk-YUFTHPOE.mjs';
14
14
  import '../../chunk-R5LAJCBU.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/schema",
3
- "version": "1.0.0-alpha.279",
3
+ "version": "1.0.0-alpha.281",
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.279"
123
+ "@stndrds/constants": "1.0.0-alpha.281"
124
124
  },
125
125
  "devDependencies": {
126
126
  "@types/node": "^25.0.3",