@stndrds/schema 1.0.0-alpha.280 → 1.0.0-alpha.282
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-Ig0ig9wp.d.ts → all-C3EaFLCU.d.ts} +7 -17
- package/dist/{all-C0hXd79K.d.mts → all-CQMswOrw.d.mts} +7 -17
- package/dist/{attributes-D8eHv5Kf.d.ts → attributes-CU871AfG.d.ts} +12 -12
- package/dist/{attributes--M1ifW8_.d.mts → attributes-DoiGyNFk.d.mts} +12 -12
- package/dist/{chunk-FAEOVIDJ.js → chunk-DIMTNM3F.js} +7 -3
- package/dist/{chunk-NUEIGMYS.mjs → chunk-EFSS7PGC.mjs} +1 -1
- package/dist/{chunk-XDA5PZRT.mjs → chunk-HOVUEYEQ.mjs} +34 -0
- package/dist/{chunk-MXYCCUNB.js → chunk-KIMECN6D.js} +68 -44
- package/dist/{chunk-M3WFXOA4.js → chunk-L4KLYMUI.js} +34 -0
- package/dist/{chunk-XTBGGJ3G.js → chunk-LBGLB443.js} +3 -3
- package/dist/{chunk-PUMM6SPY.mjs → chunk-PLTLAMWJ.mjs} +1 -1
- package/dist/{chunk-TBAD2T7Q.mjs → chunk-QGRYOIHT.mjs} +37 -13
- package/dist/{chunk-MSIGO7JA.mjs → chunk-R34LOMT7.mjs} +5 -1
- package/dist/{chunk-3PGLMGTR.js → chunk-V4MZOTLV.js} +4 -4
- package/dist/exceptions.d.mts +22 -3
- package/dist/exceptions.d.ts +22 -3
- package/dist/exceptions.js +39 -39
- package/dist/exceptions.mjs +1 -1
- package/dist/{helpers-DyoPqiSz.d.ts → helpers-BNr-Dppk.d.ts} +3 -3
- package/dist/{helpers-BiABdSxK.d.mts → helpers-CfEOUBmB.d.mts} +3 -3
- package/dist/{index-SpFpkWVC.d.ts → index-Br7koyHF.d.ts} +53 -27
- package/dist/{index-C3P5Dnwt.d.mts → index-D9XBjFnu.d.mts} +53 -27
- package/dist/index.d.mts +568 -151
- package/dist/index.d.ts +568 -151
- package/dist/index.js +1389 -292
- package/dist/index.mjs +1174 -99
- package/dist/{migrations-B1kkIhIX.d.ts → migrations-BGWgXHXb.d.ts} +1 -1
- package/dist/{migrations-BNlQVzDC.d.mts → migrations-C-GN1xx_.d.mts} +1 -1
- package/dist/{objects-DmMqHn3L.d.mts → objects-BRypaBpi.d.mts} +2 -4
- package/dist/{objects-DgFojgwH.d.ts → objects-BiOMwzLL.d.ts} +2 -4
- package/dist/{types-DHqXzkgW.d.mts → types-80c2rOUZ.d.mts} +1 -1
- package/dist/{types-DYYFto8d.d.ts → types-DqYz8Iv_.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 +29 -29
- package/dist/validation/all.mjs +4 -4
- 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 +11 -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 +14 -14
- package/dist/validation/object/index.mjs +2 -2
- 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 +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Attribute, f as AttributeType } from './attributes-
|
|
1
|
+
import { A as Attribute, f as AttributeType } from './attributes-CU871AfG.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-DoiGyNFk.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-DoiGyNFk.mjs';
|
|
4
|
+
import { M as MigrationDefinition } from './migrations-C-GN1xx_.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-CU871AfG.js';
|
|
4
|
+
import { M as MigrationDefinition } from './migrations-BGWgXHXb.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 chunkLBGLB443_js = require('./chunk-LBGLB443.js');
|
|
4
|
+
require('./chunk-L4KLYMUI.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 chunkLBGLB443_js.asTenantId; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "asUserId", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkLBGLB443_js.asUserId; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "canonicalStringify", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkLBGLB443_js.canonicalStringify; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "deepEqual", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkLBGLB443_js.deepEqual; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "generateId", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkLBGLB443_js.generateId; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "indexBy", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkLBGLB443_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-EFSS7PGC.mjs';
|
|
2
|
+
import './chunk-HOVUEYEQ.mjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-80c2rOUZ.mjs';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
|
|
3
|
-
export {
|
|
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-
|
|
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-D9XBjFnu.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-CQMswOrw.mjs';
|
|
5
|
+
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-CfEOUBmB.mjs';
|
|
6
|
+
import '../attributes-DoiGyNFk.mjs';
|
|
7
7
|
import '@stndrds/constants';
|
|
8
8
|
import '../utils.mjs';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../objects-
|
|
11
|
-
import '../migrations-
|
|
10
|
+
import '../objects-BRypaBpi.mjs';
|
|
11
|
+
import '../migrations-C-GN1xx_.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-DqYz8Iv_.js';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
|
|
3
|
-
export {
|
|
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-
|
|
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-Br7koyHF.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-C3EaFLCU.js';
|
|
5
|
+
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-BNr-Dppk.js';
|
|
6
|
+
import '../attributes-CU871AfG.js';
|
|
7
7
|
import '@stndrds/constants';
|
|
8
8
|
import '../utils.js';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../objects-
|
|
11
|
-
import '../migrations-
|
|
10
|
+
import '../objects-BiOMwzLL.js';
|
|
11
|
+
import '../migrations-BGWgXHXb.js';
|
package/dist/validation/all.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkKIMECN6D_js = require('../chunk-KIMECN6D.js');
|
|
4
|
+
var chunkDIMTNM3F_js = require('../chunk-DIMTNM3F.js');
|
|
5
|
+
var chunkV4MZOTLV_js = require('../chunk-V4MZOTLV.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-L4KLYMUI.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 chunkKIMECN6D_js.detailTabSchema; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "detailViewConfigSchema", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkKIMECN6D_js.detailViewConfigSchema; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "inverseSourceSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkKIMECN6D_js.inverseSourceSchema; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "listViewConfigSchema", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkKIMECN6D_js.listViewConfigSchema; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "listViewTabSchema", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkKIMECN6D_js.listViewTabSchema; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "parseViewConfig", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkKIMECN6D_js.parseViewConfig; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "relationSourceSchema", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkKIMECN6D_js.relationSourceSchema; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "tableSourceSchema", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkKIMECN6D_js.tableSourceSchema; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "viewConfigByTypeSchema", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkKIMECN6D_js.viewConfigByTypeSchema; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "SCHEMA_LIMITS", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkDIMTNM3F_js.SCHEMA_LIMITS; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "colorIdSchema", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkDIMTNM3F_js.colorIdSchema; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "iconNameSchema", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkDIMTNM3F_js.iconNameSchema; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "multiselectOptionWriteSchema", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkDIMTNM3F_js.multiselectOptionWriteSchema; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "parseAttributeConfig", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkDIMTNM3F_js.parseAttributeConfig; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "parseAttributeConfigForCreate", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkDIMTNM3F_js.parseAttributeConfigForCreate; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkDIMTNM3F_js.parseAttributeConfigForUpdate; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "selectOptionWriteSchema", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkDIMTNM3F_js.selectOptionWriteSchema; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "statusGroupSchema", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkDIMTNM3F_js.statusGroupSchema; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "statusOptionWriteSchema", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkDIMTNM3F_js.statusOptionWriteSchema; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkV4MZOTLV_js.createFormAttributeValidator; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkV4MZOTLV_js.rejectUnknownAttributesOrThrow; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "validateDraft", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkV4MZOTLV_js.validateDraft; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkV4MZOTLV_js.validateDraftOrThrow; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "validateObject", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkV4MZOTLV_js.validateObject; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkV4MZOTLV_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-QGRYOIHT.mjs';
|
|
2
|
+
export { SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../chunk-R34LOMT7.mjs';
|
|
3
|
+
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-PLTLAMWJ.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-HOVUEYEQ.mjs';
|
|
14
14
|
import '../chunk-AYVHMVKQ.mjs';
|
|
15
15
|
import '../chunk-YUFTHPOE.mjs';
|
|
16
16
|
import '../chunk-R5LAJCBU.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-DoiGyNFk.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-80c2rOUZ.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-CU871AfG.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqYz8Iv_.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-DoiGyNFk.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-80c2rOUZ.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-CU871AfG.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqYz8Iv_.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-DoiGyNFk.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-80c2rOUZ.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-CU871AfG.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqYz8Iv_.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-DoiGyNFk.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-80c2rOUZ.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-CU871AfG.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqYz8Iv_.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-DoiGyNFk.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-80c2rOUZ.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-CU871AfG.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqYz8Iv_.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-DoiGyNFk.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-80c2rOUZ.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-CU871AfG.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqYz8Iv_.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-DoiGyNFk.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-80c2rOUZ.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-CU871AfG.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqYz8Iv_.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-DoiGyNFk.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-80c2rOUZ.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-CU871AfG.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqYz8Iv_.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-DoiGyNFk.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-80c2rOUZ.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-CU871AfG.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqYz8Iv_.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, ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../../index-D9XBjFnu.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../attributes
|
|
3
|
+
import '../../attributes-DoiGyNFk.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
|
-
import '../../objects-
|
|
7
|
-
import '../../migrations-
|
|
6
|
+
import '../../objects-BRypaBpi.mjs';
|
|
7
|
+
import '../../migrations-C-GN1xx_.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ai as attributeConfigSchemas, aj as getAttributeConfigSchema, ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from '../../index-Br7koyHF.js';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../attributes-
|
|
3
|
+
import '../../attributes-CU871AfG.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
|
-
import '../../objects-
|
|
7
|
-
import '../../migrations-
|
|
6
|
+
import '../../objects-BiOMwzLL.js';
|
|
7
|
+
import '../../migrations-BGWgXHXb.js';
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDIMTNM3F_js = require('../../chunk-DIMTNM3F.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-L4KLYMUI.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 chunkDIMTNM3F_js.attributeConfigSchemas; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getAttributeConfigSchema", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkDIMTNM3F_js.getAttributeConfigSchema; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "multiselectOptionWriteSchema", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkDIMTNM3F_js.multiselectOptionWriteSchema; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "parseAttributeConfig", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkDIMTNM3F_js.parseAttributeConfig; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "parseAttributeConfigForCreate", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkDIMTNM3F_js.parseAttributeConfigForCreate; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkDIMTNM3F_js.parseAttributeConfigForUpdate; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "selectOptionWriteSchema", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkDIMTNM3F_js.selectOptionWriteSchema; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "statusGroupSchema", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkDIMTNM3F_js.statusGroupSchema; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "statusOptionWriteSchema", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkDIMTNM3F_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-R34LOMT7.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-HOVUEYEQ.mjs';
|
|
7
7
|
import '../../chunk-HRQEZUAA.mjs';
|