@stndrds/schema 1.0.0-alpha.298 → 1.0.0-alpha.299
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-BekDmUP1.d.mts → all-A2bb4nkl.d.mts} +3 -3
- package/dist/{all-Bl3DlCEn.d.ts → all-pjzlyj8G.d.ts} +3 -3
- package/dist/{attributes-SIbTof03.d.ts → attributes-DfhBu4HT.d.ts} +7 -1
- package/dist/{attributes-CtS5Gf_i.d.mts → attributes-Zw-DDGE7.d.mts} +7 -1
- package/dist/{chunk-GWAHL4A2.mjs → chunk-MQO25YZ6.mjs} +1 -1
- package/dist/{chunk-SDOYGWU4.js → chunk-VJYVPQ5E.js} +1 -1
- package/dist/exceptions.d.mts +2 -2
- package/dist/exceptions.d.ts +2 -2
- package/dist/{helpers-BUsoR80N.d.mts → helpers-BeDYpa3f.d.mts} +3 -3
- package/dist/{helpers-DZFOorZt.d.ts → helpers-D4S6olXa.d.ts} +3 -3
- package/dist/{index-DaY37pqb.d.ts → index-bLWyLCrA.d.ts} +4 -2
- package/dist/{index-EHhbbH-p.d.mts → index-vpNijPxd.d.mts} +4 -2
- package/dist/index.d.mts +41 -16
- package/dist/index.d.ts +41 -16
- package/dist/index.js +18 -18
- package/dist/index.mjs +15 -15
- package/dist/{migrations-DhQ05TqN.d.ts → migrations-B1Wl_3RY.d.ts} +1 -1
- package/dist/{migrations-DRBic-QO.d.mts → migrations-BG2mNaJn.d.mts} +1 -1
- package/dist/{objects-KU7alqZq.d.mts → objects-CmdtJjMN.d.mts} +2 -2
- package/dist/{objects-DMOfJNYg.d.ts → objects-DyVm3xIi.d.ts} +2 -2
- package/dist/{types-ldo4nJxP.d.mts → types-M5L07ItN.d.mts} +1 -1
- package/dist/{types-BNaHEz_n.d.ts → types-R2f1GdCB.d.ts} +1 -1
- package/dist/validation/all.d.mts +7 -7
- package/dist/validation/all.d.ts +7 -7
- package/dist/validation/all.js +1 -1
- package/dist/validation/all.mjs +1 -1
- 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/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/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, g as AttributeType } from './attributes-
|
|
1
|
+
import { A as Attribute, g as AttributeType } from './attributes-DfhBu4HT.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, g as AttributeType } from './attributes-
|
|
1
|
+
import { A as Attribute, g as AttributeType } from './attributes-Zw-DDGE7.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
2
|
import { Uuid } from './utils.mjs';
|
|
3
|
-
import { A as Attribute } from './attributes-
|
|
4
|
-
import { M as MigrationDefinition } from './migrations-
|
|
3
|
+
import { A as Attribute } from './attributes-Zw-DDGE7.mjs';
|
|
4
|
+
import { M as MigrationDefinition } from './migrations-BG2mNaJn.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. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconName } from '@stndrds/constants';
|
|
2
2
|
import { Uuid } from './utils.js';
|
|
3
|
-
import { A as Attribute } from './attributes-
|
|
4
|
-
import { M as MigrationDefinition } from './migrations-
|
|
3
|
+
import { A as Attribute } from './attributes-DfhBu4HT.js';
|
|
4
|
+
import { M as MigrationDefinition } from './migrations-B1Wl_3RY.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. */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-M5L07ItN.mjs';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
|
|
3
|
-
export { ad as multiselectOptionWriteSchema, ae as parseAttributeConfig, af as parseAttributeConfigForCreate, ag as parseAttributeConfigForUpdate, ah as selectOptionWriteSchema, ai as statusGroupSchema, aj as statusOptionWriteSchema } from '../index-
|
|
4
|
-
export { S as SCHEMA_LIMITS, c as colorIdSchema, e as detailTabSchema, f as detailViewConfigSchema, n as iconNameSchema, o as inverseSourceSchema, p as listViewConfigSchema, q as listViewTabSchema, r as parseViewConfig, s as relationSourceSchema, u 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 { ad as multiselectOptionWriteSchema, ae as parseAttributeConfig, af as parseAttributeConfigForCreate, ag as parseAttributeConfigForUpdate, ah as selectOptionWriteSchema, ai as statusGroupSchema, aj as statusOptionWriteSchema } from '../index-vpNijPxd.mjs';
|
|
4
|
+
export { S as SCHEMA_LIMITS, c as colorIdSchema, e as detailTabSchema, f as detailViewConfigSchema, n as iconNameSchema, o as inverseSourceSchema, p as listViewConfigSchema, q as listViewTabSchema, r as parseViewConfig, s as relationSourceSchema, u as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-A2bb4nkl.mjs';
|
|
5
|
+
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-BeDYpa3f.mjs';
|
|
6
|
+
import '../attributes-Zw-DDGE7.mjs';
|
|
7
7
|
import '@stndrds/constants';
|
|
8
8
|
import '../utils.mjs';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../objects-
|
|
11
|
-
import '../migrations-
|
|
10
|
+
import '../objects-CmdtJjMN.mjs';
|
|
11
|
+
import '../migrations-BG2mNaJn.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-R2f1GdCB.js';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
|
|
3
|
-
export { ad as multiselectOptionWriteSchema, ae as parseAttributeConfig, af as parseAttributeConfigForCreate, ag as parseAttributeConfigForUpdate, ah as selectOptionWriteSchema, ai as statusGroupSchema, aj as statusOptionWriteSchema } from '../index-
|
|
4
|
-
export { S as SCHEMA_LIMITS, c as colorIdSchema, e as detailTabSchema, f as detailViewConfigSchema, n as iconNameSchema, o as inverseSourceSchema, p as listViewConfigSchema, q as listViewTabSchema, r as parseViewConfig, s as relationSourceSchema, u 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 { ad as multiselectOptionWriteSchema, ae as parseAttributeConfig, af as parseAttributeConfigForCreate, ag as parseAttributeConfigForUpdate, ah as selectOptionWriteSchema, ai as statusGroupSchema, aj as statusOptionWriteSchema } from '../index-bLWyLCrA.js';
|
|
4
|
+
export { S as SCHEMA_LIMITS, c as colorIdSchema, e as detailTabSchema, f as detailViewConfigSchema, n as iconNameSchema, o as inverseSourceSchema, p as listViewConfigSchema, q as listViewTabSchema, r as parseViewConfig, s as relationSourceSchema, u as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-pjzlyj8G.js';
|
|
5
|
+
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-D4S6olXa.js';
|
|
6
|
+
import '../attributes-DfhBu4HT.js';
|
|
7
7
|
import '@stndrds/constants';
|
|
8
8
|
import '../utils.js';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../objects-
|
|
11
|
-
import '../migrations-
|
|
10
|
+
import '../objects-DyVm3xIi.js';
|
|
11
|
+
import '../migrations-B1Wl_3RY.js';
|
package/dist/validation/all.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkVJYVPQ5E_js=require('../chunk-VJYVPQ5E.js'),chunk47EGJRW7_js=require('../chunk-47EGJRW7.js'),chunk5QAE5NPN_js=require('../chunk-5QAE5NPN.js');require('../chunk-LWSOKXPF.js'),require('../chunk-XXTKNIBK.js'),require('../chunk-JOS2XMXY.js'),require('../chunk-47KVYDKG.js'),require('../chunk-KLR22JMC.js'),require('../chunk-GXSNLYRR.js'),require('../chunk-UXISKZ5Y.js'),require('../chunk-XUAP7KWK.js'),require('../chunk-JVLH3DVZ.js'),require('../chunk-LSCBR4VS.js'),require('../chunk-23KPS33D.js'),require('../chunk-72TQRSNX.js'),require('../chunk-XHEBV2HE.js'),require('../chunk-SLYRQ72J.js');var chunkJFSQ24XR_js=require('../chunk-JFSQ24XR.js');require('../chunk-DPD6ZWL2.js');Object.defineProperty(exports,"detailTabSchema",{enumerable:true,get:function(){return chunkVJYVPQ5E_js.ha}});Object.defineProperty(exports,"detailViewConfigSchema",{enumerable:true,get:function(){return chunkVJYVPQ5E_js.la}});Object.defineProperty(exports,"inverseSourceSchema",{enumerable:true,get:function(){return chunkVJYVPQ5E_js.fa}});Object.defineProperty(exports,"listViewConfigSchema",{enumerable:true,get:function(){return chunkVJYVPQ5E_js.ka}});Object.defineProperty(exports,"listViewTabSchema",{enumerable:true,get:function(){return chunkVJYVPQ5E_js.ja}});Object.defineProperty(exports,"parseViewConfig",{enumerable:true,get:function(){return chunkVJYVPQ5E_js.oa}});Object.defineProperty(exports,"relationSourceSchema",{enumerable:true,get:function(){return chunkVJYVPQ5E_js.ea}});Object.defineProperty(exports,"tableSourceSchema",{enumerable:true,get:function(){return chunkVJYVPQ5E_js.ga}});Object.defineProperty(exports,"viewConfigByTypeSchema",{enumerable:true,get:function(){return chunkVJYVPQ5E_js.na}});Object.defineProperty(exports,"SCHEMA_LIMITS",{enumerable:true,get:function(){return chunk47EGJRW7_js.a}});Object.defineProperty(exports,"colorIdSchema",{enumerable:true,get:function(){return chunk47EGJRW7_js.b}});Object.defineProperty(exports,"iconNameSchema",{enumerable:true,get:function(){return chunk47EGJRW7_js.c}});Object.defineProperty(exports,"multiselectOptionWriteSchema",{enumerable:true,get:function(){return chunk47EGJRW7_js.h}});Object.defineProperty(exports,"parseAttributeConfig",{enumerable:true,get:function(){return chunk47EGJRW7_js.l}});Object.defineProperty(exports,"parseAttributeConfigForCreate",{enumerable:true,get:function(){return chunk47EGJRW7_js.n}});Object.defineProperty(exports,"parseAttributeConfigForUpdate",{enumerable:true,get:function(){return chunk47EGJRW7_js.o}});Object.defineProperty(exports,"selectOptionWriteSchema",{enumerable:true,get:function(){return chunk47EGJRW7_js.g}});Object.defineProperty(exports,"statusGroupSchema",{enumerable:true,get:function(){return chunk47EGJRW7_js.f}});Object.defineProperty(exports,"statusOptionWriteSchema",{enumerable:true,get:function(){return chunk47EGJRW7_js.i}});Object.defineProperty(exports,"createFormAttributeValidator",{enumerable:true,get:function(){return chunk5QAE5NPN_js.d}});Object.defineProperty(exports,"rejectUnknownAttributesOrThrow",{enumerable:true,get:function(){return chunk5QAE5NPN_js.l}});Object.defineProperty(exports,"validateDraft",{enumerable:true,get:function(){return chunk5QAE5NPN_js.j}});Object.defineProperty(exports,"validateDraftOrThrow",{enumerable:true,get:function(){return chunk5QAE5NPN_js.k}});Object.defineProperty(exports,"validateObject",{enumerable:true,get:function(){return chunk5QAE5NPN_js.h}});Object.defineProperty(exports,"validateObjectOrThrow",{enumerable:true,get:function(){return chunk5QAE5NPN_js.i}});Object.defineProperty(exports,"DEFAULT_VALIDATION_MESSAGES",{enumerable:true,get:function(){return chunkJFSQ24XR_js.a}});Object.defineProperty(exports,"formatZodErrors",{enumerable:true,get:function(){return chunkJFSQ24XR_js.b}});
|
package/dist/validation/all.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ha as detailTabSchema,la as detailViewConfigSchema,fa as inverseSourceSchema,ka as listViewConfigSchema,ja as listViewTabSchema,oa as parseViewConfig,ea as relationSourceSchema,ga as tableSourceSchema,na as viewConfigByTypeSchema}from'../chunk-
|
|
1
|
+
export{ha as detailTabSchema,la as detailViewConfigSchema,fa as inverseSourceSchema,ka as listViewConfigSchema,ja as listViewTabSchema,oa as parseViewConfig,ea as relationSourceSchema,ga as tableSourceSchema,na as viewConfigByTypeSchema}from'../chunk-MQO25YZ6.mjs';export{a as SCHEMA_LIMITS,b as colorIdSchema,c as iconNameSchema,h as multiselectOptionWriteSchema,l as parseAttributeConfig,n as parseAttributeConfigForCreate,o as parseAttributeConfigForUpdate,g as selectOptionWriteSchema,f as statusGroupSchema,i as statusOptionWriteSchema}from'../chunk-RFKNNT2Q.mjs';export{d as createFormAttributeValidator,l as rejectUnknownAttributesOrThrow,j as validateDraft,k as validateDraftOrThrow,h as validateObject,i as validateObjectOrThrow}from'../chunk-V43RXKN2.mjs';import'../chunk-GKXTXH4Y.mjs';import'../chunk-Q7TQCRSD.mjs';import'../chunk-WMQRTFOP.mjs';import'../chunk-4VCADZK4.mjs';import'../chunk-KYPEBOPW.mjs';import'../chunk-LB4TNMZU.mjs';import'../chunk-PFO7NWQW.mjs';import'../chunk-XMQV2WFY.mjs';import'../chunk-VKFLXFPP.mjs';import'../chunk-YIXNAWH6.mjs';import'../chunk-XRDP2Y4J.mjs';import'../chunk-PT25FZ62.mjs';import'../chunk-O34B5KOW.mjs';import'../chunk-KG2ADZG6.mjs';export{a as DEFAULT_VALIDATION_MESSAGES,b as formatZodErrors}from'../chunk-4OTKOCGB.mjs';import'../chunk-KSPJP74K.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a as CurrencyAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as CurrencyAttribute } from '../../attributes-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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 CurrencyAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as CurrencyAttribute } from '../../attributes-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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 { c as MultiRelationAttribute, d as RelationAttribute, e as SingleRelationAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { c as MultiRelationAttribute, d as RelationAttribute, e as SingleRelationAttribute } from '../../attributes-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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 MultiRelationAttribute, d as RelationAttribute, e as SingleRelationAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { c as MultiRelationAttribute, d as RelationAttribute, e as SingleRelationAttribute } from '../../attributes-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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 { R as RichtextAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { R as RichtextAttribute } from '../../attributes-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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 { R as RichtextAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { R as RichtextAttribute } from '../../attributes-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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 MultiselectAttribute, S as SelectAttribute, b as StatusAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { M as MultiselectAttribute, S as SelectAttribute, b as StatusAttribute } from '../../attributes-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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 MultiselectAttribute, S as SelectAttribute, b as StatusAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { M as MultiselectAttribute, S as SelectAttribute, b as StatusAttribute } from '../../attributes-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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 RollupAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { f as RollupAttribute } from '../../attributes-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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 RollupAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { f as RollupAttribute } from '../../attributes-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ak as attributeConfigSchemas, al as getAttributeConfigSchema, am as getAttributeConfigWriteSchema, ad as multiselectOptionWriteSchema, ae as parseAttributeConfig, af as parseAttributeConfigForCreate, ag as parseAttributeConfigForUpdate, ah as selectOptionWriteSchema, ai as statusGroupSchema, aj as statusOptionWriteSchema } from '../../index-
|
|
1
|
+
export { ak as attributeConfigSchemas, al as getAttributeConfigSchema, am as getAttributeConfigWriteSchema, ad as multiselectOptionWriteSchema, ae as parseAttributeConfig, af as parseAttributeConfigForCreate, ag as parseAttributeConfigForUpdate, ah as selectOptionWriteSchema, ai as statusGroupSchema, aj as statusOptionWriteSchema } from '../../index-vpNijPxd.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../attributes-
|
|
3
|
+
import '../../attributes-Zw-DDGE7.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
|
-
import '../../objects-
|
|
7
|
-
import '../../migrations-
|
|
6
|
+
import '../../objects-CmdtJjMN.mjs';
|
|
7
|
+
import '../../migrations-BG2mNaJn.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ak as attributeConfigSchemas, al as getAttributeConfigSchema, am as getAttributeConfigWriteSchema, ad as multiselectOptionWriteSchema, ae as parseAttributeConfig, af as parseAttributeConfigForCreate, ag as parseAttributeConfigForUpdate, ah as selectOptionWriteSchema, ai as statusGroupSchema, aj as statusOptionWriteSchema } from '../../index-
|
|
1
|
+
export { ak as attributeConfigSchemas, al as getAttributeConfigSchema, am as getAttributeConfigWriteSchema, ad as multiselectOptionWriteSchema, ae as parseAttributeConfig, af as parseAttributeConfigForCreate, ag as parseAttributeConfigForUpdate, ah as selectOptionWriteSchema, ai as statusGroupSchema, aj as statusOptionWriteSchema } from '../../index-bLWyLCrA.js';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../attributes-
|
|
3
|
+
import '../../attributes-DfhBu4HT.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
|
-
import '../../objects-
|
|
7
|
-
import '../../migrations-
|
|
6
|
+
import '../../objects-DyVm3xIi.js';
|
|
7
|
+
import '../../migrations-B1Wl_3RY.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
-
export { a as ValidationResult } from '../../types-
|
|
1
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.mjs';
|
|
2
|
+
export { a as ValidationResult } from '../../types-M5L07ItN.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import '../../attributes-
|
|
4
|
+
import '../../attributes-Zw-DDGE7.mjs';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.mjs';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
-
export { a as ValidationResult } from '../../types-
|
|
1
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.js';
|
|
2
|
+
export { a as ValidationResult } from '../../types-R2f1GdCB.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import '../../attributes-
|
|
4
|
+
import '../../attributes-DfhBu4HT.js';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.js';
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { c as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, v as validateAttribute, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../../helpers-
|
|
1
|
+
export { c as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, v as validateAttribute, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../../helpers-BeDYpa3f.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { O as ObjectDefinition } from '../../objects-
|
|
4
|
-
import '../../attributes-
|
|
3
|
+
import { O as ObjectDefinition } from '../../objects-CmdtJjMN.mjs';
|
|
4
|
+
import '../../attributes-Zw-DDGE7.mjs';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.mjs';
|
|
7
|
-
import '../../types-
|
|
8
|
-
import '../../migrations-
|
|
7
|
+
import '../../types-M5L07ItN.mjs';
|
|
8
|
+
import '../../migrations-BG2mNaJn.mjs';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Create a Zod schema for an entire object
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { c as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, v as validateAttribute, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../../helpers-
|
|
1
|
+
export { c as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, v as validateAttribute, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../../helpers-D4S6olXa.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { O as ObjectDefinition } from '../../objects-
|
|
4
|
-
import '../../attributes-
|
|
3
|
+
import { O as ObjectDefinition } from '../../objects-DyVm3xIi.js';
|
|
4
|
+
import '../../attributes-DfhBu4HT.js';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.js';
|
|
7
|
-
import '../../types-
|
|
8
|
-
import '../../migrations-
|
|
7
|
+
import '../../types-R2f1GdCB.js';
|
|
8
|
+
import '../../migrations-B1Wl_3RY.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Create a Zod schema for an entire object
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { C as CheckboxAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { C as CheckboxAttribute } from '../../attributes-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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 CheckboxAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { C as CheckboxAttribute } from '../../attributes-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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 { D as DateAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { D as DateAttribute } from '../../attributes-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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 { D as DateAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { D as DateAttribute } from '../../attributes-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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 { N as NumberAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { N as NumberAttribute } from '../../attributes-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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 { N as NumberAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { N as NumberAttribute } from '../../attributes-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.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 { T as TextAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { T as TextAttribute } from '../../attributes-Zw-DDGE7.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-M5L07ItN.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 { T as TextAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { T as TextAttribute } from '../../attributes-DfhBu4HT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-R2f1GdCB.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
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.299",
|
|
4
4
|
"description": "Standard schema definitions and utilities",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"@standard-schema/spec": "^1.1.0",
|
|
128
128
|
"libphonenumber-js": "^1.12.31",
|
|
129
129
|
"zod": "^4.2.1",
|
|
130
|
-
"@stndrds/constants": "1.0.0-alpha.
|
|
130
|
+
"@stndrds/constants": "1.0.0-alpha.299"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
133
|
"@types/node": "^25.0.3",
|