@stndrds/schema 1.0.0-alpha.224 → 1.0.0-alpha.226
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.
- package/dist/{chunk-5WYDO3ZB.mjs → chunk-6CTUPVHH.mjs} +11 -1
- package/dist/{chunk-XTPYL6OM.js → chunk-MUGKKCY3.js} +11 -1
- package/dist/index.d.mts +165 -4
- package/dist/index.d.ts +165 -4
- package/dist/index.js +119 -72
- package/dist/index.mjs +54 -8
- package/dist/validation/all.js +8 -8
- package/dist/validation/all.mjs +1 -1
- package/dist/validation/object/index.js +14 -14
- package/dist/validation/object/index.mjs +1 -1
- package/package.json +2 -2
package/dist/validation/all.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('../chunk-PGERPYDR.js');
|
|
4
4
|
var chunkNSM2JPC3_js = require('../chunk-NSM2JPC3.js');
|
|
5
|
-
var
|
|
5
|
+
var chunkMUGKKCY3_js = require('../chunk-MUGKKCY3.js');
|
|
6
6
|
require('../chunk-5WATIVCA.js');
|
|
7
7
|
require('../chunk-O44XVGHE.js');
|
|
8
8
|
require('../chunk-YIP5FJ5H.js');
|
|
@@ -27,31 +27,31 @@ Object.defineProperty(exports, "parseAttributeConfig", {
|
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "computeRecordStatus", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkMUGKKCY3_js.computeRecordStatus; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkMUGKKCY3_js.createFormAttributeValidator; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkMUGKKCY3_js.rejectUnknownAttributesOrThrow; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "validateDraft", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkMUGKKCY3_js.validateDraft; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkMUGKKCY3_js.validateDraftOrThrow; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "validateObject", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkMUGKKCY3_js.validateObject; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkMUGKKCY3_js.validateObjectOrThrow; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
|
|
57
57
|
enumerable: true,
|
package/dist/validation/all.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../chunk-SP3PNHYF.mjs';
|
|
2
2
|
export { parseAttributeConfig } from '../chunk-AAXJJNY6.mjs';
|
|
3
|
-
export { computeRecordStatus, createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-
|
|
3
|
+
export { computeRecordStatus, createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-6CTUPVHH.mjs';
|
|
4
4
|
import '../chunk-OSSGN43B.mjs';
|
|
5
5
|
import '../chunk-6I2R22CX.mjs';
|
|
6
6
|
import '../chunk-UANQJ2GH.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMUGKKCY3_js = require('../../chunk-MUGKKCY3.js');
|
|
4
4
|
require('../../chunk-5WATIVCA.js');
|
|
5
5
|
require('../../chunk-O44XVGHE.js');
|
|
6
6
|
require('../../chunk-YIP5FJ5H.js');
|
|
@@ -21,53 +21,53 @@ require('../../chunk-YKWSHBT5.js');
|
|
|
21
21
|
|
|
22
22
|
Object.defineProperty(exports, "computeRecordStatus", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkMUGKKCY3_js.computeRecordStatus; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "createAttributeValidator", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkMUGKKCY3_js.createAttributeValidator; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "createDraftValidator", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkMUGKKCY3_js.createDraftValidator; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkMUGKKCY3_js.createFormAttributeValidator; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "createObjectValidator", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkMUGKKCY3_js.createObjectValidator; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "getMissingRequiredAttributes", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkMUGKKCY3_js.getMissingRequiredAttributes; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "isRecordComplete", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkMUGKKCY3_js.isRecordComplete; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkMUGKKCY3_js.rejectUnknownAttributesOrThrow; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "validateAttribute", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkMUGKKCY3_js.validateAttribute; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "validateDraft", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkMUGKKCY3_js.validateDraft; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkMUGKKCY3_js.validateDraftOrThrow; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "validateObject", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkMUGKKCY3_js.validateObject; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkMUGKKCY3_js.validateObjectOrThrow; }
|
|
73
73
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { computeRecordStatus, createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../../chunk-
|
|
1
|
+
export { computeRecordStatus, createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../../chunk-6CTUPVHH.mjs';
|
|
2
2
|
import '../../chunk-OSSGN43B.mjs';
|
|
3
3
|
import '../../chunk-6I2R22CX.mjs';
|
|
4
4
|
import '../../chunk-UANQJ2GH.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stndrds/schema",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.226",
|
|
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.
|
|
123
|
+
"@stndrds/constants": "1.0.0-alpha.226"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@types/node": "^25.0.3",
|