@stndrds/schema 1.0.0-alpha.281 → 1.0.0-alpha.284
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/all-DanoPxKr.d.ts +879 -0
- package/dist/all-bG_ha0VV.d.mts +879 -0
- package/dist/{attributes-D8eHv5Kf.d.ts → attributes-CNYwg_Nr.d.ts} +14 -13
- package/dist/{attributes--M1ifW8_.d.mts → attributes-CWPLbp7c.d.mts} +14 -13
- package/dist/capabilities.d.mts +146 -0
- package/dist/capabilities.d.ts +146 -0
- package/dist/capabilities.js +77 -0
- package/dist/capabilities.mjs +70 -0
- package/dist/{chunk-A5PPZ2FM.mjs → chunk-5OBQRDRM.mjs} +7 -3
- package/dist/{chunk-ORPCS24B.mjs → chunk-AGRAFDGU.mjs} +72 -16
- package/dist/{chunk-LRFLSFIA.js → chunk-BOICAZHR.js} +9 -4
- package/dist/{chunk-E47WAI5K.js → chunk-I3EYILYO.js} +5 -5
- package/dist/{chunk-OYHBQMC7.js → chunk-K6ET4CXP.js} +3 -3
- package/dist/{chunk-MLTXSBOB.mjs → chunk-PNOWKRH2.mjs} +2 -2
- package/dist/{chunk-XCLVXM7F.mjs → chunk-R57T4UDX.mjs} +1 -1
- package/dist/{chunk-SYQDFZ74.mjs → chunk-RUO25ERR.mjs} +36 -0
- package/dist/{chunk-HWZRSXFB.js → chunk-V26R64A4.js} +36 -0
- package/dist/{chunk-TU6ECJFZ.js → chunk-YZ5RCMIQ.js} +112 -45
- package/dist/exceptions.d.mts +24 -3
- package/dist/exceptions.d.ts +24 -3
- package/dist/exceptions.js +39 -39
- package/dist/exceptions.mjs +1 -1
- package/dist/{helpers-DyoPqiSz.d.ts → helpers-CXkVwpsl.d.ts} +3 -3
- package/dist/{helpers-BiABdSxK.d.mts → helpers-Dul_r9rJ.d.mts} +3 -3
- package/dist/{index-DWoqObyG.d.mts → index-Ca-MzQuU.d.mts} +46 -6
- package/dist/{index-TMlrIKAY.d.ts → index-Ns6KGfrZ.d.ts} +46 -6
- package/dist/index.d.mts +1508 -357
- package/dist/index.d.ts +1508 -357
- package/dist/index.js +1396 -363
- package/dist/index.mjs +1072 -124
- package/dist/{migrations-B1kkIhIX.d.ts → migrations-DaFneOfx.d.ts} +1 -1
- package/dist/{migrations-BNlQVzDC.d.mts → migrations-fRvadl6i.d.mts} +1 -1
- package/dist/{objects-DmMqHn3L.d.mts → objects-CDwMSnqv.d.mts} +2 -4
- package/dist/{objects-DgFojgwH.d.ts → objects-DJv6WrDE.d.ts} +2 -4
- package/dist/{types-DHqXzkgW.d.mts → types-CVYiFc69.d.mts} +1 -1
- package/dist/{types-DYYFto8d.d.ts → types-NGEww_ln.d.ts} +1 -1
- package/dist/utils.js +8 -8
- package/dist/utils.mjs +2 -2
- package/dist/validation/all.d.mts +7 -7
- package/dist/validation/all.d.ts +7 -7
- package/dist/validation/all.js +46 -46
- package/dist/validation/all.mjs +5 -5
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/location.d.mts +2 -2
- package/dist/validation/complex/location.d.ts +2 -2
- package/dist/validation/complex/phone.d.mts +2 -2
- package/dist/validation/complex/phone.d.ts +2 -2
- package/dist/validation/complex/relation.d.mts +2 -2
- package/dist/validation/complex/relation.d.ts +2 -2
- package/dist/validation/complex/richtext.d.mts +2 -2
- package/dist/validation/complex/richtext.d.ts +2 -2
- package/dist/validation/complex/select.d.mts +2 -2
- package/dist/validation/complex/select.d.ts +2 -2
- package/dist/validation/complex/user.d.mts +2 -2
- package/dist/validation/complex/user.d.ts +2 -2
- package/dist/validation/computed/formula.d.mts +2 -2
- package/dist/validation/computed/formula.d.ts +2 -2
- package/dist/validation/computed/rollup.d.mts +2 -2
- package/dist/validation/computed/rollup.d.ts +2 -2
- package/dist/validation/config/index.d.mts +4 -4
- package/dist/validation/config/index.d.ts +4 -4
- package/dist/validation/config/index.js +15 -11
- package/dist/validation/config/index.mjs +2 -2
- package/dist/validation/core/index.d.mts +3 -3
- package/dist/validation/core/index.d.ts +3 -3
- package/dist/validation/object/index.d.mts +5 -5
- package/dist/validation/object/index.d.ts +5 -5
- package/dist/validation/object/index.js +15 -15
- package/dist/validation/object/index.mjs +3 -3
- package/dist/validation/primitives/checkbox.d.mts +2 -2
- package/dist/validation/primitives/checkbox.d.ts +2 -2
- package/dist/validation/primitives/date.d.mts +2 -2
- package/dist/validation/primitives/date.d.ts +2 -2
- package/dist/validation/primitives/number.d.mts +2 -2
- package/dist/validation/primitives/number.d.ts +2 -2
- package/dist/validation/primitives/text.d.mts +2 -2
- package/dist/validation/primitives/text.d.ts +2 -2
- package/package.json +10 -5
- package/dist/all-BVp3k9Hi.d.ts +0 -471
- package/dist/all-CnIU2anT.d.mts +0 -471
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Attribute, f as AttributeType } from './attributes-
|
|
1
|
+
import { A as Attribute, f as AttributeType } from './attributes-CNYwg_Nr.js';
|
|
2
2
|
|
|
3
3
|
type BuiltInTransform = "toString" | "toNumber" | "toDate" | "toBoolean" | "toISOString";
|
|
4
4
|
type SchemaOperation = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Attribute, f as AttributeType } from './attributes
|
|
1
|
+
import { A as Attribute, f as AttributeType } from './attributes-CWPLbp7c.mjs';
|
|
2
2
|
|
|
3
3
|
type BuiltInTransform = "toString" | "toNumber" | "toDate" | "toBoolean" | "toISOString";
|
|
4
4
|
type SchemaOperation = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconName } from '@stndrds/constants';
|
|
2
|
-
import { h as ComputedAttributeState, A as Attribute } from './attributes--M1ifW8_.mjs';
|
|
3
2
|
import { Uuid } from './utils.mjs';
|
|
4
|
-
import {
|
|
3
|
+
import { A as Attribute } from './attributes-CWPLbp7c.mjs';
|
|
4
|
+
import { M as MigrationDefinition } from './migrations-fRvadl6i.mjs';
|
|
5
5
|
|
|
6
6
|
interface DocumentLayout {
|
|
7
7
|
/** Named sub-folders auto-created at the top of the record's drive when first used via attach --variant. */
|
|
@@ -165,8 +165,6 @@ interface ObjectRecord<TValues extends Record<string, unknown> = Record<string,
|
|
|
165
165
|
*/
|
|
166
166
|
embeddingText?: string;
|
|
167
167
|
values: TValues;
|
|
168
|
-
/** Per-computed-attribute state keyed by attribute name. */
|
|
169
|
-
computedStates?: Record<string, ComputedAttributeState>;
|
|
170
168
|
/**
|
|
171
169
|
* Custom metadata for the record.
|
|
172
170
|
* Use this for UI/UX state, feature flags, or any application-specific data.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconName } from '@stndrds/constants';
|
|
2
|
-
import { h as ComputedAttributeState, A as Attribute } from './attributes-D8eHv5Kf.js';
|
|
3
2
|
import { Uuid } from './utils.js';
|
|
4
|
-
import {
|
|
3
|
+
import { A as Attribute } from './attributes-CNYwg_Nr.js';
|
|
4
|
+
import { M as MigrationDefinition } from './migrations-DaFneOfx.js';
|
|
5
5
|
|
|
6
6
|
interface DocumentLayout {
|
|
7
7
|
/** Named sub-folders auto-created at the top of the record's drive when first used via attach --variant. */
|
|
@@ -165,8 +165,6 @@ interface ObjectRecord<TValues extends Record<string, unknown> = Record<string,
|
|
|
165
165
|
*/
|
|
166
166
|
embeddingText?: string;
|
|
167
167
|
values: TValues;
|
|
168
|
-
/** Per-computed-attribute state keyed by attribute name. */
|
|
169
|
-
computedStates?: Record<string, ComputedAttributeState>;
|
|
170
168
|
/**
|
|
171
169
|
* Custom metadata for the record.
|
|
172
170
|
* Use this for UI/UX state, feature flags, or any application-specific data.
|
package/dist/utils.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkK6ET4CXP_js = require('./chunk-K6ET4CXP.js');
|
|
4
|
+
require('./chunk-V26R64A4.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "asTenantId", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkK6ET4CXP_js.asTenantId; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "asUserId", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkK6ET4CXP_js.asUserId; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "canonicalStringify", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkK6ET4CXP_js.canonicalStringify; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "deepEqual", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkK6ET4CXP_js.deepEqual; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "generateId", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkK6ET4CXP_js.generateId; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "indexBy", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkK6ET4CXP_js.indexBy; }
|
|
31
31
|
});
|
package/dist/utils.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy } from './chunk-R57T4UDX.mjs';
|
|
2
|
+
import './chunk-RUO25ERR.mjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-CVYiFc69.mjs';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
|
|
3
|
-
export {
|
|
4
|
-
export { S as SCHEMA_LIMITS, c as colorIdSchema,
|
|
5
|
-
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-
|
|
6
|
-
import '../attributes
|
|
3
|
+
export { ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../index-Ca-MzQuU.mjs';
|
|
4
|
+
export { S as SCHEMA_LIMITS, c as colorIdSchema, e as detailTabSchema, f as detailViewConfigSchema, m as iconNameSchema, n as inverseSourceSchema, o as listViewConfigSchema, p as listViewTabSchema, q as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-bG_ha0VV.mjs';
|
|
5
|
+
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-Dul_r9rJ.mjs';
|
|
6
|
+
import '../attributes-CWPLbp7c.mjs';
|
|
7
7
|
import '@stndrds/constants';
|
|
8
8
|
import '../utils.mjs';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../objects-
|
|
11
|
-
import '../migrations-
|
|
10
|
+
import '../objects-CDwMSnqv.mjs';
|
|
11
|
+
import '../migrations-fRvadl6i.mjs';
|
package/dist/validation/all.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-NGEww_ln.js';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
|
|
3
|
-
export {
|
|
4
|
-
export { S as SCHEMA_LIMITS, c as colorIdSchema,
|
|
5
|
-
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-
|
|
6
|
-
import '../attributes-
|
|
3
|
+
export { ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../index-Ns6KGfrZ.js';
|
|
4
|
+
export { S as SCHEMA_LIMITS, c as colorIdSchema, e as detailTabSchema, f as detailViewConfigSchema, m as iconNameSchema, n as inverseSourceSchema, o as listViewConfigSchema, p as listViewTabSchema, q as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-DanoPxKr.js';
|
|
5
|
+
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-CXkVwpsl.js';
|
|
6
|
+
import '../attributes-CNYwg_Nr.js';
|
|
7
7
|
import '@stndrds/constants';
|
|
8
8
|
import '../utils.js';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../objects-
|
|
11
|
-
import '../migrations-
|
|
10
|
+
import '../objects-DJv6WrDE.js';
|
|
11
|
+
import '../migrations-DaFneOfx.js';
|
package/dist/validation/all.js
CHANGED
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
|
|
3
|
+
var chunkYZ5RCMIQ_js = require('../chunk-YZ5RCMIQ.js');
|
|
4
|
+
var chunkI3EYILYO_js = require('../chunk-I3EYILYO.js');
|
|
5
|
+
require('../chunk-EEH4XQ7W.js');
|
|
6
6
|
require('../chunk-EW5XR2X3.js');
|
|
7
7
|
require('../chunk-QWKLQRBX.js');
|
|
8
8
|
require('../chunk-KNGWHQLR.js');
|
|
9
9
|
require('../chunk-HTSTPTNZ.js');
|
|
10
10
|
require('../chunk-V2UA2D4E.js');
|
|
11
|
+
var chunkBOICAZHR_js = require('../chunk-BOICAZHR.js');
|
|
11
12
|
require('../chunk-5WATIVCA.js');
|
|
12
13
|
require('../chunk-SI34M4IC.js');
|
|
13
14
|
require('../chunk-YIP5FJ5H.js');
|
|
14
15
|
require('../chunk-ZPFOKBIN.js');
|
|
15
|
-
require('../chunk-
|
|
16
|
+
require('../chunk-V26R64A4.js');
|
|
16
17
|
require('../chunk-ACKMC6FL.js');
|
|
17
18
|
require('../chunk-E6JUYGJX.js');
|
|
18
19
|
require('../chunk-Q4SZAMJT.js');
|
|
19
|
-
require('../chunk-EEH4XQ7W.js');
|
|
20
20
|
var chunkYKWSHBT5_js = require('../chunk-YKWSHBT5.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
Object.defineProperty(exports, "detailTabSchema", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkYZ5RCMIQ_js.detailTabSchema; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "detailViewConfigSchema", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkYZ5RCMIQ_js.detailViewConfigSchema; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "inverseSourceSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkYZ5RCMIQ_js.inverseSourceSchema; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "listViewConfigSchema", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkYZ5RCMIQ_js.listViewConfigSchema; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "listViewTabSchema", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkYZ5RCMIQ_js.listViewTabSchema; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "parseViewConfig", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkYZ5RCMIQ_js.parseViewConfig; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "relationSourceSchema", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkYZ5RCMIQ_js.relationSourceSchema; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "tableSourceSchema", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkYZ5RCMIQ_js.tableSourceSchema; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "viewConfigByTypeSchema", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkYZ5RCMIQ_js.viewConfigByTypeSchema; }
|
|
59
59
|
});
|
|
60
|
-
Object.defineProperty(exports, "
|
|
60
|
+
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkI3EYILYO_js.createFormAttributeValidator; }
|
|
63
63
|
});
|
|
64
|
-
Object.defineProperty(exports, "
|
|
64
|
+
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkI3EYILYO_js.rejectUnknownAttributesOrThrow; }
|
|
67
67
|
});
|
|
68
|
-
Object.defineProperty(exports, "
|
|
68
|
+
Object.defineProperty(exports, "validateDraft", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkI3EYILYO_js.validateDraft; }
|
|
71
71
|
});
|
|
72
|
-
Object.defineProperty(exports, "
|
|
72
|
+
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkI3EYILYO_js.validateDraftOrThrow; }
|
|
75
75
|
});
|
|
76
|
-
Object.defineProperty(exports, "
|
|
76
|
+
Object.defineProperty(exports, "validateObject", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkI3EYILYO_js.validateObject; }
|
|
79
79
|
});
|
|
80
|
-
Object.defineProperty(exports, "
|
|
80
|
+
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkI3EYILYO_js.validateObjectOrThrow; }
|
|
83
83
|
});
|
|
84
|
-
Object.defineProperty(exports, "
|
|
84
|
+
Object.defineProperty(exports, "SCHEMA_LIMITS", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkBOICAZHR_js.SCHEMA_LIMITS; }
|
|
87
87
|
});
|
|
88
|
-
Object.defineProperty(exports, "
|
|
88
|
+
Object.defineProperty(exports, "colorIdSchema", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkBOICAZHR_js.colorIdSchema; }
|
|
91
91
|
});
|
|
92
|
-
Object.defineProperty(exports, "
|
|
92
|
+
Object.defineProperty(exports, "iconNameSchema", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkBOICAZHR_js.iconNameSchema; }
|
|
95
95
|
});
|
|
96
|
-
Object.defineProperty(exports, "
|
|
96
|
+
Object.defineProperty(exports, "multiselectOptionWriteSchema", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkBOICAZHR_js.multiselectOptionWriteSchema; }
|
|
99
99
|
});
|
|
100
|
-
Object.defineProperty(exports, "
|
|
100
|
+
Object.defineProperty(exports, "parseAttributeConfig", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkBOICAZHR_js.parseAttributeConfig; }
|
|
103
103
|
});
|
|
104
|
-
Object.defineProperty(exports, "
|
|
104
|
+
Object.defineProperty(exports, "parseAttributeConfigForCreate", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkBOICAZHR_js.parseAttributeConfigForCreate; }
|
|
107
107
|
});
|
|
108
|
-
Object.defineProperty(exports, "
|
|
108
|
+
Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkBOICAZHR_js.parseAttributeConfigForUpdate; }
|
|
111
111
|
});
|
|
112
|
-
Object.defineProperty(exports, "
|
|
112
|
+
Object.defineProperty(exports, "selectOptionWriteSchema", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkBOICAZHR_js.selectOptionWriteSchema; }
|
|
115
115
|
});
|
|
116
|
-
Object.defineProperty(exports, "
|
|
116
|
+
Object.defineProperty(exports, "statusGroupSchema", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkBOICAZHR_js.statusGroupSchema; }
|
|
119
119
|
});
|
|
120
|
-
Object.defineProperty(exports, "
|
|
120
|
+
Object.defineProperty(exports, "statusOptionWriteSchema", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkBOICAZHR_js.statusOptionWriteSchema; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
|
|
125
125
|
enumerable: true,
|
package/dist/validation/all.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { detailTabSchema, detailViewConfigSchema, inverseSourceSchema, listViewConfigSchema, listViewTabSchema, parseViewConfig, relationSourceSchema, tableSourceSchema, viewConfigByTypeSchema } from '../chunk-
|
|
2
|
-
export {
|
|
3
|
-
|
|
1
|
+
export { detailTabSchema, detailViewConfigSchema, inverseSourceSchema, listViewConfigSchema, listViewTabSchema, parseViewConfig, relationSourceSchema, tableSourceSchema, viewConfigByTypeSchema } from '../chunk-AGRAFDGU.mjs';
|
|
2
|
+
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-PNOWKRH2.mjs';
|
|
3
|
+
import '../chunk-GO6LQADH.mjs';
|
|
4
4
|
import '../chunk-QVLQPW3O.mjs';
|
|
5
5
|
import '../chunk-ZDQ5AP26.mjs';
|
|
6
6
|
import '../chunk-LV3FEUKU.mjs';
|
|
7
7
|
import '../chunk-UXAHLSWC.mjs';
|
|
8
8
|
import '../chunk-NS63SPNN.mjs';
|
|
9
|
+
export { SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../chunk-5OBQRDRM.mjs';
|
|
9
10
|
import '../chunk-OSSGN43B.mjs';
|
|
10
11
|
import '../chunk-Q44QKLN4.mjs';
|
|
11
12
|
import '../chunk-UANQJ2GH.mjs';
|
|
12
13
|
import '../chunk-O73ROMWQ.mjs';
|
|
13
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-RUO25ERR.mjs';
|
|
14
15
|
import '../chunk-AYVHMVKQ.mjs';
|
|
15
16
|
import '../chunk-YUFTHPOE.mjs';
|
|
16
17
|
import '../chunk-R5LAJCBU.mjs';
|
|
17
|
-
import '../chunk-GO6LQADH.mjs';
|
|
18
18
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from '../chunk-HRQEZUAA.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { C as CurrencyAttribute } from '../../attributes
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { C as CurrencyAttribute } from '../../attributes-CWPLbp7c.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CVYiFc69.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-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { C as CurrencyAttribute } from '../../attributes-CNYwg_Nr.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-NGEww_ln.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
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { L as LocationAttribute } from '../../attributes-CWPLbp7c.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CVYiFc69.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-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { L as LocationAttribute } from '../../attributes-CNYwg_Nr.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-NGEww_ln.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
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { P as PhoneAttribute } from '../../attributes-CWPLbp7c.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CVYiFc69.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-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { P as PhoneAttribute } from '../../attributes-CNYwg_Nr.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-NGEww_ln.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
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-CWPLbp7c.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CVYiFc69.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-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-CNYwg_Nr.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-NGEww_ln.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
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as RichtextAttribute } from '../../attributes-CWPLbp7c.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CVYiFc69.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-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as RichtextAttribute } from '../../attributes-CNYwg_Nr.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-NGEww_ln.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
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-CWPLbp7c.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CVYiFc69.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-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-CNYwg_Nr.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-NGEww_ln.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
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { U as UserAttribute } from '../../attributes-CWPLbp7c.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CVYiFc69.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-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { U as UserAttribute } from '../../attributes-CNYwg_Nr.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-NGEww_ln.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 FormulaAttribute } from '../../attributes
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { F as FormulaAttribute } from '../../attributes-CWPLbp7c.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CVYiFc69.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 FormulaAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { F as FormulaAttribute } from '../../attributes-CNYwg_Nr.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-NGEww_ln.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 RollupAttribute } from '../../attributes
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { e as RollupAttribute } from '../../attributes-CWPLbp7c.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CVYiFc69.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 RollupAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { e as RollupAttribute } from '../../attributes-CNYwg_Nr.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-NGEww_ln.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ai as attributeConfigSchemas, aj as getAttributeConfigSchema, ak as getAttributeConfigWriteSchema, ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../../index-Ca-MzQuU.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../attributes
|
|
3
|
+
import '../../attributes-CWPLbp7c.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
|
-
import '../../objects-
|
|
7
|
-
import '../../migrations-
|
|
6
|
+
import '../../objects-CDwMSnqv.mjs';
|
|
7
|
+
import '../../migrations-fRvadl6i.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ai as attributeConfigSchemas, aj as getAttributeConfigSchema, ak as getAttributeConfigWriteSchema, ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../../index-Ns6KGfrZ.js';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../attributes-
|
|
3
|
+
import '../../attributes-CNYwg_Nr.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
|
-
import '../../objects-
|
|
7
|
-
import '../../migrations-
|
|
6
|
+
import '../../objects-DJv6WrDE.js';
|
|
7
|
+
import '../../migrations-DaFneOfx.js';
|