@stndrds/schema 1.0.0-alpha.274 → 1.0.0-alpha.276
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-ITGE3PBX.mjs → chunk-4USPA67J.mjs} +2 -2
- package/dist/{chunk-63WWFZFY.js → chunk-EDOEX3O7.js} +32 -32
- package/dist/{chunk-FDIAOFHS.js → chunk-F3YPU2N6.js} +2 -0
- package/dist/{chunk-POULKEJM.mjs → chunk-QLU5QR7M.mjs} +2 -0
- package/dist/{chunk-V6Q7HCA7.js → chunk-RAF6K6VG.js} +4 -4
- package/dist/{chunk-QMLO7V5E.mjs → chunk-RBG2YMF2.mjs} +1 -1
- package/dist/{chunk-QN2N3IJZ.js → chunk-T7BST4JS.js} +3 -3
- package/dist/{chunk-KDHDC7E6.mjs → chunk-U7QUIEFF.mjs} +1 -1
- package/dist/exceptions.d.mts +2 -0
- package/dist/exceptions.d.ts +2 -0
- package/dist/exceptions.js +39 -39
- package/dist/exceptions.mjs +1 -1
- package/dist/index.js +159 -159
- package/dist/index.mjs +8 -8
- package/dist/validation/all.js +29 -29
- package/dist/validation/all.mjs +4 -4
- package/dist/validation/config/index.js +11 -11
- package/dist/validation/config/index.mjs +2 -2
- package/dist/validation/object/index.js +14 -14
- package/dist/validation/object/index.mjs +2 -2
- package/package.json +4 -3
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { generateId } from './chunk-QY6QFRRV.mjs';
|
|
2
2
|
export { asTenantId, asUserId, deepEqual, generateId, indexBy } from './chunk-QY6QFRRV.mjs';
|
|
3
|
-
import { SYSTEM_FILTER_ATTRIBUTE_TYPES, RESERVED_OBJECT_NAMES, listViewConfigSchema, detailViewConfigSchema, RESERVED_ATTRIBUTE_NAMES, isAttributeSortable, getAttributeCapabilities, resolveIsWithinBounds } from './chunk-
|
|
4
|
-
export { ATTRIBUTE_FILTER_OPERATORS, LIST_VIEW_TAB_VISIBILITIES, NO_VALUE_OPERATORS, OPERATORS_BY_TYPE, REMOVED_OPERATOR_REPLACEMENTS, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_FILTER_ATTRIBUTE_TYPES, collectQualifiedRuleIssues, currentActor, detailTabSchema, detailViewConfigSchema, getAttributeCapabilities, getAttributeFilterOperators, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, inverseSourceSchema, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isDynamicValue, isManagedSystemAttribute, isNoValueOperator, isRelativeDateValue, listViewConfigSchema, listViewTabSchema, normalizeFilterRule, normalizeOperator, now, parseViewConfig, relationSourceSchema, resolveIsWithinBounds, tableSourceSchema, toUtcDayString, today, validateQualifiedRule, viewConfigByTypeSchema, viewTypeSchema } from './chunk-
|
|
5
|
-
import { iconNameSchema, parseAttributeConfigForCreate, parseComputedFormula } from './chunk-
|
|
6
|
-
export { ComputedFormulaParseError, SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, parseComputedFormula, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from './chunk-
|
|
7
|
-
import { createObjectValidator, createAttributeValidator } from './chunk-
|
|
8
|
-
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from './chunk-
|
|
3
|
+
import { SYSTEM_FILTER_ATTRIBUTE_TYPES, RESERVED_OBJECT_NAMES, listViewConfigSchema, detailViewConfigSchema, RESERVED_ATTRIBUTE_NAMES, isAttributeSortable, getAttributeCapabilities, resolveIsWithinBounds } from './chunk-4USPA67J.mjs';
|
|
4
|
+
export { ATTRIBUTE_FILTER_OPERATORS, LIST_VIEW_TAB_VISIBILITIES, NO_VALUE_OPERATORS, OPERATORS_BY_TYPE, REMOVED_OPERATOR_REPLACEMENTS, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_FILTER_ATTRIBUTE_TYPES, collectQualifiedRuleIssues, currentActor, detailTabSchema, detailViewConfigSchema, getAttributeCapabilities, getAttributeFilterOperators, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, inverseSourceSchema, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isDynamicValue, isManagedSystemAttribute, isNoValueOperator, isRelativeDateValue, listViewConfigSchema, listViewTabSchema, normalizeFilterRule, normalizeOperator, now, parseViewConfig, relationSourceSchema, resolveIsWithinBounds, tableSourceSchema, toUtcDayString, today, validateQualifiedRule, viewConfigByTypeSchema, viewTypeSchema } from './chunk-4USPA67J.mjs';
|
|
5
|
+
import { iconNameSchema, parseAttributeConfigForCreate, parseComputedFormula } from './chunk-U7QUIEFF.mjs';
|
|
6
|
+
export { ComputedFormulaParseError, SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, parseComputedFormula, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from './chunk-U7QUIEFF.mjs';
|
|
7
|
+
import { createObjectValidator, createAttributeValidator } from './chunk-RBG2YMF2.mjs';
|
|
8
|
+
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from './chunk-RBG2YMF2.mjs';
|
|
9
9
|
import './chunk-QVLQPW3O.mjs';
|
|
10
10
|
import './chunk-ZDQ5AP26.mjs';
|
|
11
11
|
import './chunk-LV3FEUKU.mjs';
|
|
@@ -15,8 +15,8 @@ export { createCheckboxValidator } from './chunk-OSSGN43B.mjs';
|
|
|
15
15
|
export { createDateValidator } from './chunk-Q44QKLN4.mjs';
|
|
16
16
|
export { createNumberValidator } from './chunk-UANQJ2GH.mjs';
|
|
17
17
|
export { TEXT_FORMAT_PATTERNS, createTextValidator, resolveTextPattern } from './chunk-O73ROMWQ.mjs';
|
|
18
|
-
import { SchemaError, SchemaErrorCode, ValidationError, NotFoundError, DuplicateError } from './chunk-
|
|
19
|
-
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError } from './chunk-
|
|
18
|
+
import { SchemaError, SchemaErrorCode, ValidationError, NotFoundError, DuplicateError } from './chunk-QLU5QR7M.mjs';
|
|
19
|
+
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError } from './chunk-QLU5QR7M.mjs';
|
|
20
20
|
import './chunk-AYVHMVKQ.mjs';
|
|
21
21
|
import './chunk-YUFTHPOE.mjs';
|
|
22
22
|
import { formatPhoneForDisplay, normalizeCountrylessPhoneNumber, normalizePhoneNumber } from './chunk-R5LAJCBU.mjs';
|
package/dist/validation/all.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkEDOEX3O7_js = require('../chunk-EDOEX3O7.js');
|
|
4
|
+
var chunkT7BST4JS_js = require('../chunk-T7BST4JS.js');
|
|
5
|
+
var chunkRAF6K6VG_js = require('../chunk-RAF6K6VG.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-
|
|
15
|
+
require('../chunk-F3YPU2N6.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
|
|
26
|
+
get: function () { return chunkEDOEX3O7_js.detailTabSchema; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "detailViewConfigSchema", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkEDOEX3O7_js.detailViewConfigSchema; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "inverseSourceSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkEDOEX3O7_js.inverseSourceSchema; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "listViewConfigSchema", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkEDOEX3O7_js.listViewConfigSchema; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "listViewTabSchema", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkEDOEX3O7_js.listViewTabSchema; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "parseViewConfig", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkEDOEX3O7_js.parseViewConfig; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "relationSourceSchema", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkEDOEX3O7_js.relationSourceSchema; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "tableSourceSchema", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkEDOEX3O7_js.tableSourceSchema; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "viewConfigByTypeSchema", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkEDOEX3O7_js.viewConfigByTypeSchema; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "SCHEMA_LIMITS", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkT7BST4JS_js.SCHEMA_LIMITS; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "colorIdSchema", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkT7BST4JS_js.colorIdSchema; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "iconNameSchema", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkT7BST4JS_js.iconNameSchema; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "multiselectOptionWriteSchema", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkT7BST4JS_js.multiselectOptionWriteSchema; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "parseAttributeConfig", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkT7BST4JS_js.parseAttributeConfig; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "parseAttributeConfigForCreate", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkT7BST4JS_js.parseAttributeConfigForCreate; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkT7BST4JS_js.parseAttributeConfigForUpdate; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "selectOptionWriteSchema", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkT7BST4JS_js.selectOptionWriteSchema; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "statusGroupSchema", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkT7BST4JS_js.statusGroupSchema; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "statusOptionWriteSchema", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkT7BST4JS_js.statusOptionWriteSchema; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkRAF6K6VG_js.createFormAttributeValidator; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkRAF6K6VG_js.rejectUnknownAttributesOrThrow; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "validateDraft", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkRAF6K6VG_js.validateDraft; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkRAF6K6VG_js.validateDraftOrThrow; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "validateObject", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkRAF6K6VG_js.validateObject; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkRAF6K6VG_js.validateObjectOrThrow; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
|
|
125
125
|
enumerable: true,
|
package/dist/validation/all.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { detailTabSchema, detailViewConfigSchema, inverseSourceSchema, listViewConfigSchema, listViewTabSchema, parseViewConfig, relationSourceSchema, tableSourceSchema, viewConfigByTypeSchema } from '../chunk-
|
|
2
|
-
export { SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../chunk-
|
|
3
|
-
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-
|
|
1
|
+
export { detailTabSchema, detailViewConfigSchema, inverseSourceSchema, listViewConfigSchema, listViewTabSchema, parseViewConfig, relationSourceSchema, tableSourceSchema, viewConfigByTypeSchema } from '../chunk-4USPA67J.mjs';
|
|
2
|
+
export { SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../chunk-U7QUIEFF.mjs';
|
|
3
|
+
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-RBG2YMF2.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-
|
|
13
|
+
import '../chunk-QLU5QR7M.mjs';
|
|
14
14
|
import '../chunk-AYVHMVKQ.mjs';
|
|
15
15
|
import '../chunk-YUFTHPOE.mjs';
|
|
16
16
|
import '../chunk-R5LAJCBU.mjs';
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkT7BST4JS_js = require('../../chunk-T7BST4JS.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-
|
|
8
|
+
require('../../chunk-F3YPU2N6.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
|
|
15
|
+
get: function () { return chunkT7BST4JS_js.attributeConfigSchemas; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getAttributeConfigSchema", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkT7BST4JS_js.getAttributeConfigSchema; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "multiselectOptionWriteSchema", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkT7BST4JS_js.multiselectOptionWriteSchema; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "parseAttributeConfig", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkT7BST4JS_js.parseAttributeConfig; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "parseAttributeConfigForCreate", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkT7BST4JS_js.parseAttributeConfigForCreate; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkT7BST4JS_js.parseAttributeConfigForUpdate; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "selectOptionWriteSchema", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkT7BST4JS_js.selectOptionWriteSchema; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "statusGroupSchema", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkT7BST4JS_js.statusGroupSchema; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "statusOptionWriteSchema", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkT7BST4JS_js.statusOptionWriteSchema; }
|
|
48
48
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { attributeConfigSchemas, getAttributeConfigSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../../chunk-
|
|
1
|
+
export { attributeConfigSchemas, getAttributeConfigSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../../chunk-U7QUIEFF.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-
|
|
6
|
+
import '../../chunk-QLU5QR7M.mjs';
|
|
7
7
|
import '../../chunk-HRQEZUAA.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRAF6K6VG_js = require('../../chunk-RAF6K6VG.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-
|
|
13
|
+
require('../../chunk-F3YPU2N6.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
|
|
24
|
+
get: function () { return chunkRAF6K6VG_js.createAttributeValidator; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "createDraftValidator", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkRAF6K6VG_js.createDraftValidator; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkRAF6K6VG_js.createFormAttributeValidator; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "createObjectValidator", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkRAF6K6VG_js.createObjectValidator; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "getMissingRequiredAttributes", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkRAF6K6VG_js.getMissingRequiredAttributes; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "isRecordComplete", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkRAF6K6VG_js.isRecordComplete; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkRAF6K6VG_js.rejectUnknownAttributesOrThrow; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "validateAttribute", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkRAF6K6VG_js.validateAttribute; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "validateDraft", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkRAF6K6VG_js.validateDraft; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkRAF6K6VG_js.validateDraftOrThrow; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "validateObject", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkRAF6K6VG_js.validateObject; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkRAF6K6VG_js.validateObjectOrThrow; }
|
|
69
69
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../../chunk-
|
|
1
|
+
export { createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../../chunk-RBG2YMF2.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-
|
|
11
|
+
import '../../chunk-QLU5QR7M.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.
|
|
3
|
+
"version": "1.0.0-alpha.276",
|
|
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.276"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@types/node": "^25.0.3",
|
|
@@ -153,6 +153,7 @@
|
|
|
153
153
|
"test:ui": "vitest --ui",
|
|
154
154
|
"test:coverage": "vitest --coverage",
|
|
155
155
|
"clean": "rm -rf dist",
|
|
156
|
-
"typecheck": "tsc --noEmit"
|
|
156
|
+
"typecheck": "tsc --noEmit",
|
|
157
|
+
"typecheck:tests": "tsc -p tsconfig.test.json --noEmit"
|
|
157
158
|
}
|
|
158
159
|
}
|