@stndrds/schema 1.0.0-alpha.328 → 1.0.0-alpha.329
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-BgP-bB0i.d.mts +1178 -0
- package/dist/all-Cq8ZMfM4.d.ts +1178 -0
- package/dist/{attributes-B9zZJdoT.d.mts → attributes-Cv6IP8-a.d.mts} +1 -1
- package/dist/{attributes-B9zZJdoT.d.ts → attributes-Cv6IP8-a.d.ts} +1 -1
- package/dist/{chunk-WUFUIJRX.mjs → chunk-53RAH3XB.mjs} +1 -1
- package/dist/{chunk-2FJ45VYQ.js → chunk-UKFOBZX2.js} +1 -1
- package/dist/exceptions.d.mts +1 -1
- package/dist/exceptions.d.ts +1 -1
- package/dist/{helpers-Cic6nWBr.d.mts → helpers-lqSDjgQ1.d.mts} +2 -2
- package/dist/{helpers-JGJLPkwG.d.ts → helpers-qMMFwD1I.d.ts} +2 -2
- package/dist/{index-BjKaOUx3.d.ts → index-Comy7znP.d.ts} +1 -1
- package/dist/{index-BbYKy1fQ.d.mts → index-D4XlMkLV.d.mts} +1 -1
- package/dist/index.d.mts +164 -87
- package/dist/index.d.ts +164 -87
- package/dist/index.js +14 -14
- package/dist/index.mjs +14 -14
- package/dist/{types-DLwv9Jgf.d.ts → types-C5Bqalr9.d.ts} +1 -1
- package/dist/{types-BpuX5PuM.d.mts → types-CILLmEj-.d.mts} +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/validation/all.d.mts +5 -5
- package/dist/validation/all.d.ts +5 -5
- 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 +2 -2
- package/dist/validation/config/index.d.ts +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 +4 -4
- package/dist/validation/object/index.d.ts +4 -4
- 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 +6 -5
- package/dist/all-DPW8A7kG.d.ts +0 -1178
- package/dist/all-yrWOkrj0.d.mts +0 -1178
package/dist/utils.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { p as TenantId, aK as UserId, g as Uuid, aM as asTenantId, aN as asUserId, aO as canonicalStringify, aP as deepEqual, aQ as generateId, aS as indexBy } from './attributes-
|
|
1
|
+
export { p as TenantId, aK as UserId, g as Uuid, aM as asTenantId, aN as asUserId, aO as canonicalStringify, aP as deepEqual, aQ as generateId, aS as indexBy } from './attributes-Cv6IP8-a.mjs';
|
|
2
2
|
import '@stndrds/constants';
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { p as TenantId, aK as UserId, g as Uuid, aM as asTenantId, aN as asUserId, aO as canonicalStringify, aP as deepEqual, aQ as generateId, aS as indexBy } from './attributes-
|
|
1
|
+
export { p as TenantId, aK as UserId, g as Uuid, aM as asTenantId, aN as asUserId, aO as canonicalStringify, aP as deepEqual, aQ as generateId, aS as indexBy } from './attributes-Cv6IP8-a.js';
|
|
2
2
|
import '@stndrds/constants';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-CILLmEj-.mjs';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
|
|
3
|
-
export { S as SIMPLE_PROPERTY_TYPES, W as WIRE_OMITTED_CONFIG_KEYS, b as attributeConfigSchemas, m as multiselectOptionWriteSchema, p as parseAttributeConfig, c as parseAttributeConfigForCreate, d as parseAttributeConfigForUpdate, e as propertyAttributeSchema, f as propertyAttributeWireSchema, g as propertySchemaSchema, h as propertySchemaWireSchema, r as refuseForeignKeys, s as selectOptionWriteSchema, i as statusGroupSchema, j as statusOptionWriteSchema } from '../index-
|
|
4
|
-
export { B as SCHEMA_LIMITS, I as collectionContentSourceSchema, J as colorIdSchema, U as contentViewDefinitionSchema, Y as draftContentViewDefinitionSchema, a0 as iconNameSchema, a2 as publishedViewContentDefinitionSchema } 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 { S as SIMPLE_PROPERTY_TYPES, W as WIRE_OMITTED_CONFIG_KEYS, b as attributeConfigSchemas, m as multiselectOptionWriteSchema, p as parseAttributeConfig, c as parseAttributeConfigForCreate, d as parseAttributeConfigForUpdate, e as propertyAttributeSchema, f as propertyAttributeWireSchema, g as propertySchemaSchema, h as propertySchemaWireSchema, r as refuseForeignKeys, s as selectOptionWriteSchema, i as statusGroupSchema, j as statusOptionWriteSchema } from '../index-D4XlMkLV.mjs';
|
|
4
|
+
export { B as SCHEMA_LIMITS, I as collectionContentSourceSchema, J as colorIdSchema, U as contentViewDefinitionSchema, Y as draftContentViewDefinitionSchema, a0 as iconNameSchema, a2 as publishedViewContentDefinitionSchema } from '../all-BgP-bB0i.mjs';
|
|
5
|
+
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-lqSDjgQ1.mjs';
|
|
6
|
+
import '../attributes-Cv6IP8-a.mjs';
|
|
7
7
|
import '@stndrds/constants';
|
|
8
8
|
import 'zod';
|
package/dist/validation/all.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-C5Bqalr9.js';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
|
|
3
|
-
export { S as SIMPLE_PROPERTY_TYPES, W as WIRE_OMITTED_CONFIG_KEYS, b as attributeConfigSchemas, m as multiselectOptionWriteSchema, p as parseAttributeConfig, c as parseAttributeConfigForCreate, d as parseAttributeConfigForUpdate, e as propertyAttributeSchema, f as propertyAttributeWireSchema, g as propertySchemaSchema, h as propertySchemaWireSchema, r as refuseForeignKeys, s as selectOptionWriteSchema, i as statusGroupSchema, j as statusOptionWriteSchema } from '../index-
|
|
4
|
-
export { B as SCHEMA_LIMITS, I as collectionContentSourceSchema, J as colorIdSchema, U as contentViewDefinitionSchema, Y as draftContentViewDefinitionSchema, a0 as iconNameSchema, a2 as publishedViewContentDefinitionSchema } 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 { S as SIMPLE_PROPERTY_TYPES, W as WIRE_OMITTED_CONFIG_KEYS, b as attributeConfigSchemas, m as multiselectOptionWriteSchema, p as parseAttributeConfig, c as parseAttributeConfigForCreate, d as parseAttributeConfigForUpdate, e as propertyAttributeSchema, f as propertyAttributeWireSchema, g as propertySchemaSchema, h as propertySchemaWireSchema, r as refuseForeignKeys, s as selectOptionWriteSchema, i as statusGroupSchema, j as statusOptionWriteSchema } from '../index-Comy7znP.js';
|
|
4
|
+
export { B as SCHEMA_LIMITS, I as collectionContentSourceSchema, J as colorIdSchema, U as contentViewDefinitionSchema, Y as draftContentViewDefinitionSchema, a0 as iconNameSchema, a2 as publishedViewContentDefinitionSchema } from '../all-Cq8ZMfM4.js';
|
|
5
|
+
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-qMMFwD1I.js';
|
|
6
|
+
import '../attributes-Cv6IP8-a.js';
|
|
7
7
|
import '@stndrds/constants';
|
|
8
8
|
import 'zod';
|
package/dist/validation/all.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkUKFOBZX2_js=require('../chunk-UKFOBZX2.js'),chunk2M4YXNYZ_js=require('../chunk-2M4YXNYZ.js'),chunkIBM4ID4Y_js=require('../chunk-IBM4ID4Y.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-JSKLP4GI.js'),require('../chunk-XHEBV2HE.js'),require('../chunk-SLYRQ72J.js');var chunkJFSQ24XR_js=require('../chunk-JFSQ24XR.js');require('../chunk-DPD6ZWL2.js');Object.defineProperty(exports,"collectionContentSourceSchema",{enumerable:true,get:function(){return chunkUKFOBZX2_js.V}});Object.defineProperty(exports,"contentViewDefinitionSchema",{enumerable:true,get:function(){return chunkUKFOBZX2_js.$}});Object.defineProperty(exports,"draftContentViewDefinitionSchema",{enumerable:true,get:function(){return chunkUKFOBZX2_js._}});Object.defineProperty(exports,"publishedViewContentDefinitionSchema",{enumerable:true,get:function(){return chunkUKFOBZX2_js.W}});Object.defineProperty(exports,"SCHEMA_LIMITS",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.r}});Object.defineProperty(exports,"SIMPLE_PROPERTY_TYPES",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.C}});Object.defineProperty(exports,"WIRE_OMITTED_CONFIG_KEYS",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.w}});Object.defineProperty(exports,"attributeConfigSchemas",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.H}});Object.defineProperty(exports,"colorIdSchema",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.s}});Object.defineProperty(exports,"iconNameSchema",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.t}});Object.defineProperty(exports,"multiselectOptionWriteSchema",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.A}});Object.defineProperty(exports,"parseAttributeConfig",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.J}});Object.defineProperty(exports,"parseAttributeConfigForCreate",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.L}});Object.defineProperty(exports,"parseAttributeConfigForUpdate",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.M}});Object.defineProperty(exports,"propertyAttributeSchema",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.D}});Object.defineProperty(exports,"propertyAttributeWireSchema",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.F}});Object.defineProperty(exports,"propertySchemaSchema",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.E}});Object.defineProperty(exports,"propertySchemaWireSchema",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.G}});Object.defineProperty(exports,"refuseForeignKeys",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.x}});Object.defineProperty(exports,"selectOptionWriteSchema",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.z}});Object.defineProperty(exports,"statusGroupSchema",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.y}});Object.defineProperty(exports,"statusOptionWriteSchema",{enumerable:true,get:function(){return chunk2M4YXNYZ_js.B}});Object.defineProperty(exports,"createFormAttributeValidator",{enumerable:true,get:function(){return chunkIBM4ID4Y_js.d}});Object.defineProperty(exports,"rejectUnknownAttributesOrThrow",{enumerable:true,get:function(){return chunkIBM4ID4Y_js.l}});Object.defineProperty(exports,"validateDraft",{enumerable:true,get:function(){return chunkIBM4ID4Y_js.j}});Object.defineProperty(exports,"validateDraftOrThrow",{enumerable:true,get:function(){return chunkIBM4ID4Y_js.k}});Object.defineProperty(exports,"validateObject",{enumerable:true,get:function(){return chunkIBM4ID4Y_js.h}});Object.defineProperty(exports,"validateObjectOrThrow",{enumerable:true,get:function(){return chunkIBM4ID4Y_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{V as collectionContentSourceSchema
|
|
1
|
+
export{V as collectionContentSourceSchema,$ as contentViewDefinitionSchema,_ as draftContentViewDefinitionSchema,W as publishedViewContentDefinitionSchema}from'../chunk-53RAH3XB.mjs';export{r as SCHEMA_LIMITS,C as SIMPLE_PROPERTY_TYPES,w as WIRE_OMITTED_CONFIG_KEYS,H as attributeConfigSchemas,s as colorIdSchema,t as iconNameSchema,A as multiselectOptionWriteSchema,J as parseAttributeConfig,L as parseAttributeConfigForCreate,M as parseAttributeConfigForUpdate,D as propertyAttributeSchema,F as propertyAttributeWireSchema,E as propertySchemaSchema,G as propertySchemaWireSchema,x as refuseForeignKeys,z as selectOptionWriteSchema,y as statusGroupSchema,B as statusOptionWriteSchema}from'../chunk-EZCWO4XV.mjs';export{d as createFormAttributeValidator,l as rejectUnknownAttributesOrThrow,j as validateDraft,k as validateDraftOrThrow,h as validateObject,i as validateObjectOrThrow}from'../chunk-XAVRKIBE.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-XRWRECDA.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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
6
6
|
type LocationShape = {
|
|
@@ -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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
6
6
|
type LocationShape = {
|
|
@@ -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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SIMPLE_PROPERTY_TYPES, W as WIRE_OMITTED_CONFIG_KEYS, b as attributeConfigSchemas, k as getAttributeConfigSchema, l as getAttributeConfigWriteSchema, m as multiselectOptionWriteSchema, p as parseAttributeConfig, c as parseAttributeConfigForCreate, d as parseAttributeConfigForUpdate, e as propertyAttributeSchema, f as propertyAttributeWireSchema, g as propertySchemaSchema, h as propertySchemaWireSchema, r as refuseForeignKeys, s as selectOptionWriteSchema, i as statusGroupSchema, j as statusOptionWriteSchema } from '../../index-
|
|
1
|
+
export { S as SIMPLE_PROPERTY_TYPES, W as WIRE_OMITTED_CONFIG_KEYS, b as attributeConfigSchemas, k as getAttributeConfigSchema, l as getAttributeConfigWriteSchema, m as multiselectOptionWriteSchema, p as parseAttributeConfig, c as parseAttributeConfigForCreate, d as parseAttributeConfigForUpdate, e as propertyAttributeSchema, f as propertyAttributeWireSchema, g as propertySchemaSchema, h as propertySchemaWireSchema, r as refuseForeignKeys, s as selectOptionWriteSchema, i as statusGroupSchema, j as statusOptionWriteSchema } from '../../index-D4XlMkLV.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../attributes-
|
|
3
|
+
import '../../attributes-Cv6IP8-a.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SIMPLE_PROPERTY_TYPES, W as WIRE_OMITTED_CONFIG_KEYS, b as attributeConfigSchemas, k as getAttributeConfigSchema, l as getAttributeConfigWriteSchema, m as multiselectOptionWriteSchema, p as parseAttributeConfig, c as parseAttributeConfigForCreate, d as parseAttributeConfigForUpdate, e as propertyAttributeSchema, f as propertyAttributeWireSchema, g as propertySchemaSchema, h as propertySchemaWireSchema, r as refuseForeignKeys, s as selectOptionWriteSchema, i as statusGroupSchema, j as statusOptionWriteSchema } from '../../index-
|
|
1
|
+
export { S as SIMPLE_PROPERTY_TYPES, W as WIRE_OMITTED_CONFIG_KEYS, b as attributeConfigSchemas, k as getAttributeConfigSchema, l as getAttributeConfigWriteSchema, m as multiselectOptionWriteSchema, p as parseAttributeConfig, c as parseAttributeConfigForCreate, d as parseAttributeConfigForUpdate, e as propertyAttributeSchema, f as propertyAttributeWireSchema, g as propertySchemaSchema, h as propertySchemaWireSchema, r as refuseForeignKeys, s as selectOptionWriteSchema, i as statusGroupSchema, j as statusOptionWriteSchema } from '../../index-Comy7znP.js';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../attributes-
|
|
3
|
+
import '../../attributes-Cv6IP8-a.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
@@ -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-CILLmEj-.mjs';
|
|
2
|
+
export { a as ValidationResult } from '../../types-CILLmEj-.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import '../../attributes-
|
|
4
|
+
import '../../attributes-Cv6IP8-a.mjs';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
|
|
7
7
|
declare const DEFAULT_VALIDATION_MESSAGES: ValidationMessages;
|
|
@@ -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-C5Bqalr9.js';
|
|
2
|
+
export { a as ValidationResult } from '../../types-C5Bqalr9.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import '../../attributes-
|
|
4
|
+
import '../../attributes-Cv6IP8-a.js';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
|
|
7
7
|
declare const DEFAULT_VALIDATION_MESSAGES: ValidationMessages;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { O as ObjectDefinition } from '../../helpers-
|
|
2
|
-
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
|
+
import { O as ObjectDefinition } from '../../helpers-lqSDjgQ1.mjs';
|
|
2
|
+
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-lqSDjgQ1.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import '../../attributes-
|
|
4
|
+
import '../../attributes-Cv6IP8-a.mjs';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
|
-
import '../../types-
|
|
6
|
+
import '../../types-CILLmEj-.mjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Create a Zod schema for an entire object
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { O as ObjectDefinition } from '../../helpers-
|
|
2
|
-
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
|
+
import { O as ObjectDefinition } from '../../helpers-qMMFwD1I.js';
|
|
2
|
+
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-qMMFwD1I.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import '../../attributes-
|
|
4
|
+
import '../../attributes-Cv6IP8-a.js';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
|
-
import '../../types-
|
|
6
|
+
import '../../types-C5Bqalr9.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* 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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CILLmEj-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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-Cv6IP8-a.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-C5Bqalr9.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
|
|
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.329",
|
|
4
4
|
"description": "Standard schema definitions and utilities",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -127,15 +127,16 @@
|
|
|
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.329"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
133
|
"@types/node": "^25.0.3",
|
|
134
|
-
"@vitest/coverage-v8": "^
|
|
135
|
-
"@vitest/ui": "^
|
|
134
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
135
|
+
"@vitest/ui": "^5.0.0",
|
|
136
|
+
"jsdom": "^25.0.1",
|
|
136
137
|
"tsup": "^8.3.5",
|
|
137
138
|
"typescript": "^5.6.3",
|
|
138
|
-
"vitest": "^
|
|
139
|
+
"vitest": "^5.0.0"
|
|
139
140
|
},
|
|
140
141
|
"publishConfig": {
|
|
141
142
|
"access": "public",
|