@stndrds/schema 1.0.0-alpha.335 → 1.0.0-alpha.336
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-hyIoY9Y2.d.mts → all-Cen87Ixs.d.mts} +11 -11
- package/dist/{all-m7G8bXjY.d.ts → all-SqlYyhI8.d.ts} +11 -11
- package/dist/{checkbox-DIk051px.d.ts → checkbox-3svoI60z.d.ts} +2 -2
- package/dist/{checkbox-DGuL9Z3k.d.mts → checkbox-B0drQb0k.d.mts} +2 -2
- package/dist/{date-D7P9JtGg.d.mts → date-CORVrilQ.d.mts} +2 -2
- package/dist/{date-B4ZumBBO.d.ts → date-u9Xa5EkT.d.ts} +2 -2
- package/dist/{exceptions-DG_iMvYs.d.mts → exceptions-LUovX1Xh.d.mts} +1 -0
- package/dist/{exceptions-DG_iMvYs.d.ts → exceptions-LUovX1Xh.d.ts} +1 -0
- package/dist/exceptions.d.mts +1 -1
- package/dist/exceptions.d.ts +1 -1
- package/dist/exceptions.js +1 -1
- package/dist/exceptions.mjs +1 -1
- package/dist/{index-B6DXIuf2.d.ts → index-BcjEnWLU.d.ts} +2 -2
- package/dist/{index-ZnCTYc93.d.ts → index-Bsfq_aDE.d.ts} +1 -1
- package/dist/{index-gM_g_Y_H.d.mts → index-BxlwF7Mg.d.mts} +1 -1
- package/dist/{index-CePzb28P.d.ts → index-C0VbD25z.d.ts} +1 -1
- package/dist/{index-CK7gaSRm.d.mts → index-CmGHLozK.d.mts} +1 -1
- package/dist/{index--ukNqScY.d.mts → index-CxNwSJ7O.d.mts} +2 -2
- package/dist/index.d.mts +28 -28
- package/dist/index.d.ts +28 -28
- package/dist/{number-DYExtkZN.d.mts → number-BhkK5Nuu.d.mts} +2 -2
- package/dist/{number-BMX9OJ46.d.ts → number-dfPBKJ09.d.ts} +2 -2
- package/dist/{text-BwN_Y1Du.d.mts → text-B8oxuO3F.d.mts} +2 -2
- package/dist/{text-6w5qf9V1.d.ts → text-DF7MUSRq.d.ts} +2 -2
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/validation/all.d.mts +4 -4
- package/dist/validation/all.d.ts +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 +1 -1
- package/dist/validation/config/index.d.ts +1 -1
- package/dist/validation/core/index.d.mts +1 -1
- package/dist/validation/core/index.d.ts +1 -1
- package/dist/validation/object/index.d.mts +1 -1
- package/dist/validation/object/index.d.ts +1 -1
- package/dist/validation/primitives/checkbox.d.mts +1 -1
- package/dist/validation/primitives/checkbox.d.ts +1 -1
- package/dist/validation/primitives/date.d.mts +1 -1
- package/dist/validation/primitives/date.d.ts +1 -1
- package/dist/validation/primitives/number.d.mts +1 -1
- package/dist/validation/primitives/number.d.ts +1 -1
- package/dist/validation/primitives/text.d.mts +1 -1
- package/dist/validation/primitives/text.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
import { $ as BilateralConfig, $t as indexBy, A as StorageError, An as ComputedDependency, At as StatusGroup, B as isObjectReferencedError, Bn as ComputedFormulaLiteralNode, Bt as OptionPropertyAttribute, C as RepositoryOperation, Cn as assertAcyclicComputedDependencies, Ct as RichTextAttribute, D as SchemaErrorCode, Dn as ComputedFunctionName, Dt as SelectAttribute, E as SchemaError, En as COMPUTED_FUNCTION_NAMES, Et as RollupFunction, F as SystemEntityImmutableError, Fn as ComputedValueType, Ft as inferInverseCardinality, G as BuiltInTransform, Gt as resolvePropertyDefinitions, H as isRecordReferencedError, Hn as ComputedFormulaPathNode, Ht as PropertySchema, I as ValidationError, In as ComputedFormulaAstNode, It as isAttributeSortable, J as ATTRIBUTE_TYPES, Jt as Uuid, K as MigrationDefinition, Kt as TenantId, L as ValidationErrorDetail, Ln as ComputedFormulaBinaryNode, Lt as isBilateralRelation, M as SyncCascadeError, Mn as ComputedOptionsSource, Mt as TimeFormat, N as SyncConflictError, Nn as ComputedPlan, Nt as UserAttribute, O as SchemaPlanNotFoundError, On as ComputedFunctionSignature, Ot as SingleRelationAttribute, P as SyncError, Pn as ComputedReturnType, Pt as UserReferenceType, Q as BaseAttribute, Qt as generateId, R as isAttributeInUseError, Rn as ComputedFormulaBinaryOperator, Rt as isUniversalRelation, S as RepositoryError, Sn as ComputedFormulaCompileError, St as RelationTarget, T as RoleNotFoundError, Tn as COMPUTED_FUNCTIONS, Tt as RollupAttribute, U as isSchemaError, Un as parseComputedFormula, Ut as PropertyType, V as isProtectedResourceError, Vn as ComputedFormulaParseError, Vt as PropertyAttribute, W as isValidationError, Wt as hasOptions, X as AttributeGroup, Xt as asUserId, Y as Attribute, Yt as asTenantId, Z as AttributeType, Zt as deepEqual, _ as ProtectedResourceError, _n as CompileComputedFormulaInput, _t as Option, a as ChangeTypeNotSupportedError, an as COMPUTED_FUNCTION_METADATA, at as DateRangeValue, b as RecordReference, bn as ComputedCompileSchema, bt as RELATION_TARGET_ANY, c as DuplicateError, cn as ComputedFormulaResult, ct as FormulaAttribute, d as MigrationTimeoutError, dn as evaluateComputedFormulaWithResult, dt as LocationAttribute, en as NonJsonValueError, et as CheckboxAttribute, f as NotFoundError, fn as formatComputedResult, ft as LocationGranularity, g as OrphanSystemAttributeError, gn as rollupToFormulaExpression, gt as NumberUnit, h as ObjectReferencedError, hn as inferRollupReturnType, ht as NumberAttribute, i as AttributeUsage, in as serializeStableJson, it as DateFormat, j as StorageOperation, jn as ComputedFieldKind, jt as TextAttribute, k as SearchBackendError, kn as isComputedFunctionName, kt as StatusAttribute, l as ForbiddenError, ln as evaluateComputedAst, lt as FormulaReturnType, m as ObjectNotFoundError, mn as compileRollupAttribute, mt as MultiselectAttribute, n as AttributeInUseError, nn as sameStableValue, nt as CurrencyAttribute, o as ConcurrentModificationError, on as ComputedFunctionCategory, ot as DateValue, p as NotImplementedError, pn as isPlainRecord, pt as MultiRelationAttribute, q as SchemaOperation, qt as UserId, r as AttributeNotFoundError, rn as serializeCanonicalJson, rt as DateAttribute, s as DestructiveSyncNotAllowedError, sn as ComputedFunctionMetadata, st as DocumentAttribute, t as AccessDeniedError, tn as canonicalStringify, tt as Currency, u as MemoryNotFoundError, un as evaluateComputedFormula, ut as Location, v as ProtectedRoleError, vn as ComputedCompileAttribute, vt as Phone, w as ReservedObjectNameError, wn as compileComputedFormula, wt as RichtextAttribute, x as RecordReferencedError, xn as ComputedDependencyGraphNode, xt as RelationAttribute, y as RecordNotFoundError, yn as ComputedCompileObject, yt as PhoneAttribute, z as isNotFoundError, zn as ComputedFormulaCallNode, zt as relationTargetsOf } from "./exceptions-
|
|
3
|
-
import { $ as QueryState, A as FormContentDefinition, B as DayMonthValue, C as ContentOpenMode, D as CustomContentDefinition, E as ContentViewDefinition, F as MeetingsContentDefinition, G as FilterOperator, H as EdgeQuantifier, I as RichtextContentDefinition, J as FilterValue, K as FilterRule, L as ViewContentDefinition, M as FormsContentDefinition, N as KanbanCollectionContentDefinition, O as DocumentsContentDefinition, P as ListViewLayout, Q as PhoneFilterValue, R as ViewRead, S as ContentFieldGroup, T as ContentViewContext, U as ExtendedFilterRule, V as DynamicValue, W as FilterCombinator, X as NoValueOperator, Y as NO_VALUE_OPERATORS, Z as OPERATORS_BY_TYPE, _ as CollectionContentDefinition, a as contentViewDefinitionSchemaFor, at as isNoValueOperator, b as ContentCreateMode, c as draftContentViewDefinitionSchemaFor, d as sortsSchema, et as RelativeDateValue, f as colorIdSchema, g as CollectionAction, h as ActivityContentDefinition, i as contentViewDefinitionSchema, it as getRollupFilterOperators, j as FormDensity, k as EmailsContentDefinition, l as filterStateSchema, m as SCHEMA_LIMITS, n as collectionContentSourceSchema, nt as SortRule, o as displayAttributesSchema, p as iconNameSchema, q as FilterState, r as columnsSchema, rt as filterOperatorsByTypeForGeneration, s as draftContentViewDefinitionSchema, t as AsideRule, tt as SortDirection, u as publishedViewContentDefinitionSchema, v as CollectionContentSource, w as ContentPlacement, x as ContentField, y as ColumnReference, z as CurrencyFilterValue } from "./all-
|
|
4
|
-
import { A as FolderPreset, C as ResourceVisibility, D as parseResourceVisibility, E as Timestamps, M as PresetNode, O as DocumentLayout, S as ReservedObjectName, T as SystemFieldName, _ as ObjectRecord, a as validateDraft, b as RESOURCE_VISIBILITIES, c as validateObjectOrThrow, f as createFormAttributeValidator, g as ObjectDefinition, h as ObjectAttribute, j as MAX_PRESET_DEPTH, k as DocumentLayoutVariant, m as ListViewTabVisibility, o as validateDraftOrThrow, p as LIST_VIEW_TAB_VISIBILITIES, r as rejectUnknownAttributesOrThrow, s as validateObject, v as RESERVED_ATTRIBUTE_NAMES, w as SYSTEM_FIELD_NAMES, x as ReservedAttributeName, y as RESERVED_OBJECT_NAMES } from "./index-
|
|
5
|
-
import { S as UpdateObjectInput, _ as statusOptionWriteSchema, b as RelationOption, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema, v as AddAttributeInput, x as RelationOptionsResponse, y as CreateCustomObjectInput } from "./index-
|
|
6
|
-
import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-
|
|
7
|
-
import { t as createTextValidator } from "./text-
|
|
8
|
-
import { t as createNumberValidator } from "./number-
|
|
9
|
-
import { t as createCheckboxValidator } from "./checkbox-
|
|
10
|
-
import { t as createDateValidator } from "./date-
|
|
2
|
+
import { $ as BilateralConfig, $t as indexBy, A as StorageError, An as ComputedDependency, At as StatusGroup, B as isObjectReferencedError, Bn as ComputedFormulaLiteralNode, Bt as OptionPropertyAttribute, C as RepositoryOperation, Cn as assertAcyclicComputedDependencies, Ct as RichTextAttribute, D as SchemaErrorCode, Dn as ComputedFunctionName, Dt as SelectAttribute, E as SchemaError, En as COMPUTED_FUNCTION_NAMES, Et as RollupFunction, F as SystemEntityImmutableError, Fn as ComputedValueType, Ft as inferInverseCardinality, G as BuiltInTransform, Gt as resolvePropertyDefinitions, H as isRecordReferencedError, Hn as ComputedFormulaPathNode, Ht as PropertySchema, I as ValidationError, In as ComputedFormulaAstNode, It as isAttributeSortable, J as ATTRIBUTE_TYPES, Jt as Uuid, K as MigrationDefinition, Kt as TenantId, L as ValidationErrorDetail, Ln as ComputedFormulaBinaryNode, Lt as isBilateralRelation, M as SyncCascadeError, Mn as ComputedOptionsSource, Mt as TimeFormat, N as SyncConflictError, Nn as ComputedPlan, Nt as UserAttribute, O as SchemaPlanNotFoundError, On as ComputedFunctionSignature, Ot as SingleRelationAttribute, P as SyncError, Pn as ComputedReturnType, Pt as UserReferenceType, Q as BaseAttribute, Qt as generateId, R as isAttributeInUseError, Rn as ComputedFormulaBinaryOperator, Rt as isUniversalRelation, S as RepositoryError, Sn as ComputedFormulaCompileError, St as RelationTarget, T as RoleNotFoundError, Tn as COMPUTED_FUNCTIONS, Tt as RollupAttribute, U as isSchemaError, Un as parseComputedFormula, Ut as PropertyType, V as isProtectedResourceError, Vn as ComputedFormulaParseError, Vt as PropertyAttribute, W as isValidationError, Wt as hasOptions, X as AttributeGroup, Xt as asUserId, Y as Attribute, Yt as asTenantId, Z as AttributeType, Zt as deepEqual, _ as ProtectedResourceError, _n as CompileComputedFormulaInput, _t as Option, a as ChangeTypeNotSupportedError, an as COMPUTED_FUNCTION_METADATA, at as DateRangeValue, b as RecordReference, bn as ComputedCompileSchema, bt as RELATION_TARGET_ANY, c as DuplicateError, cn as ComputedFormulaResult, ct as FormulaAttribute, d as MigrationTimeoutError, dn as evaluateComputedFormulaWithResult, dt as LocationAttribute, en as NonJsonValueError, et as CheckboxAttribute, f as NotFoundError, fn as formatComputedResult, ft as LocationGranularity, g as OrphanSystemAttributeError, gn as rollupToFormulaExpression, gt as NumberUnit, h as ObjectReferencedError, hn as inferRollupReturnType, ht as NumberAttribute, i as AttributeUsage, in as serializeStableJson, it as DateFormat, j as StorageOperation, jn as ComputedFieldKind, jt as TextAttribute, k as SearchBackendError, kn as isComputedFunctionName, kt as StatusAttribute, l as ForbiddenError, ln as evaluateComputedAst, lt as FormulaReturnType, m as ObjectNotFoundError, mn as compileRollupAttribute, mt as MultiselectAttribute, n as AttributeInUseError, nn as sameStableValue, nt as CurrencyAttribute, o as ConcurrentModificationError, on as ComputedFunctionCategory, ot as DateValue, p as NotImplementedError, pn as isPlainRecord, pt as MultiRelationAttribute, q as SchemaOperation, qt as UserId, r as AttributeNotFoundError, rn as serializeCanonicalJson, rt as DateAttribute, s as DestructiveSyncNotAllowedError, sn as ComputedFunctionMetadata, st as DocumentAttribute, t as AccessDeniedError, tn as canonicalStringify, tt as Currency, u as MemoryNotFoundError, un as evaluateComputedFormula, ut as Location, v as ProtectedRoleError, vn as ComputedCompileAttribute, vt as Phone, w as ReservedObjectNameError, wn as compileComputedFormula, wt as RichtextAttribute, x as RecordReferencedError, xn as ComputedDependencyGraphNode, xt as RelationAttribute, y as RecordNotFoundError, yn as ComputedCompileObject, yt as PhoneAttribute, z as isNotFoundError, zn as ComputedFormulaCallNode, zt as relationTargetsOf } from "./exceptions-LUovX1Xh.js";
|
|
3
|
+
import { $ as QueryState, A as FormContentDefinition, B as DayMonthValue, C as ContentOpenMode, D as CustomContentDefinition, E as ContentViewDefinition, F as MeetingsContentDefinition, G as FilterOperator, H as EdgeQuantifier, I as RichtextContentDefinition, J as FilterValue, K as FilterRule, L as ViewContentDefinition, M as FormsContentDefinition, N as KanbanCollectionContentDefinition, O as DocumentsContentDefinition, P as ListViewLayout, Q as PhoneFilterValue, R as ViewRead, S as ContentFieldGroup, T as ContentViewContext, U as ExtendedFilterRule, V as DynamicValue, W as FilterCombinator, X as NoValueOperator, Y as NO_VALUE_OPERATORS, Z as OPERATORS_BY_TYPE, _ as CollectionContentDefinition, a as contentViewDefinitionSchemaFor, at as isNoValueOperator, b as ContentCreateMode, c as draftContentViewDefinitionSchemaFor, d as sortsSchema, et as RelativeDateValue, f as colorIdSchema, g as CollectionAction, h as ActivityContentDefinition, i as contentViewDefinitionSchema, it as getRollupFilterOperators, j as FormDensity, k as EmailsContentDefinition, l as filterStateSchema, m as SCHEMA_LIMITS, n as collectionContentSourceSchema, nt as SortRule, o as displayAttributesSchema, p as iconNameSchema, q as FilterState, r as columnsSchema, rt as filterOperatorsByTypeForGeneration, s as draftContentViewDefinitionSchema, t as AsideRule, tt as SortDirection, u as publishedViewContentDefinitionSchema, v as CollectionContentSource, w as ContentPlacement, x as ContentField, y as ColumnReference, z as CurrencyFilterValue } from "./all-SqlYyhI8.js";
|
|
4
|
+
import { A as FolderPreset, C as ResourceVisibility, D as parseResourceVisibility, E as Timestamps, M as PresetNode, O as DocumentLayout, S as ReservedObjectName, T as SystemFieldName, _ as ObjectRecord, a as validateDraft, b as RESOURCE_VISIBILITIES, c as validateObjectOrThrow, f as createFormAttributeValidator, g as ObjectDefinition, h as ObjectAttribute, j as MAX_PRESET_DEPTH, k as DocumentLayoutVariant, m as ListViewTabVisibility, o as validateDraftOrThrow, p as LIST_VIEW_TAB_VISIBILITIES, r as rejectUnknownAttributesOrThrow, s as validateObject, v as RESERVED_ATTRIBUTE_NAMES, w as SYSTEM_FIELD_NAMES, x as ReservedAttributeName, y as RESERVED_OBJECT_NAMES } from "./index-BcjEnWLU.js";
|
|
5
|
+
import { S as UpdateObjectInput, _ as statusOptionWriteSchema, b as RelationOption, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema, v as AddAttributeInput, x as RelationOptionsResponse, y as CreateCustomObjectInput } from "./index-C0VbD25z.js";
|
|
6
|
+
import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-Bsfq_aDE.js";
|
|
7
|
+
import { t as createTextValidator } from "./text-DF7MUSRq.js";
|
|
8
|
+
import { t as createNumberValidator } from "./number-dfPBKJ09.js";
|
|
9
|
+
import { t as createCheckboxValidator } from "./checkbox-3svoI60z.js";
|
|
10
|
+
import { t as createDateValidator } from "./date-u9Xa5EkT.js";
|
|
11
11
|
import z, { z as z$1 } from "zod";
|
|
12
12
|
import { ColorId, CountryIso3, CurrencyCode, IconName, MimeType } from "@stndrds/constants";
|
|
13
13
|
import { StandardSchemaV1, StandardSchemaV1 as StandardSchemaV1$1 } from "@standard-schema/spec";
|
|
@@ -7608,7 +7608,7 @@ export declare class ContentBuilder<T extends {
|
|
|
7608
7608
|
createMode: ContentCreateMode;
|
|
7609
7609
|
}>>;
|
|
7610
7610
|
visibility(this: ContentBuilder<T & Collection$1>, visibility: ListViewTabVisibility): ContentBuilder<SetFields<T & Collection$1, {
|
|
7611
|
-
visibility: "
|
|
7611
|
+
visibility: "all" | "workspace" | "private";
|
|
7612
7612
|
}>>;
|
|
7613
7613
|
descriptionAttribute<const N extends string>(this: ContentBuilder<T & Collection$1>, descriptionAttribute: N): ContentBuilder<SetFields<T & Collection$1, {
|
|
7614
7614
|
descriptionAttribute: N;
|
|
@@ -8453,7 +8453,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
|
|
|
8453
8453
|
}, "type"> & {
|
|
8454
8454
|
type: "collection";
|
|
8455
8455
|
}, "visibility"> & {
|
|
8456
|
-
visibility: "
|
|
8456
|
+
visibility: "all" | "workspace" | "private";
|
|
8457
8457
|
} & Pick<Omit<Omit<Omit<{
|
|
8458
8458
|
type: "collection";
|
|
8459
8459
|
}, "source"> & {
|
|
@@ -8515,7 +8515,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
|
|
|
8515
8515
|
}, "type"> & {
|
|
8516
8516
|
type: "collection";
|
|
8517
8517
|
}, "visibility"> & {
|
|
8518
|
-
visibility: "
|
|
8518
|
+
visibility: "all" | "workspace" | "private";
|
|
8519
8519
|
} & Pick<Omit<Omit<Omit<{
|
|
8520
8520
|
type: "collection";
|
|
8521
8521
|
}, "source"> & {
|
|
@@ -8579,7 +8579,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
|
|
|
8579
8579
|
}, "type"> & {
|
|
8580
8580
|
type: "collection";
|
|
8581
8581
|
}, "visibility"> & {
|
|
8582
|
-
visibility: "
|
|
8582
|
+
visibility: "all" | "workspace" | "private";
|
|
8583
8583
|
} & Pick<Omit<Omit<Omit<{
|
|
8584
8584
|
type: "collection";
|
|
8585
8585
|
}, "source"> & {
|
|
@@ -8641,7 +8641,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
|
|
|
8641
8641
|
}, "type"> & {
|
|
8642
8642
|
type: "collection";
|
|
8643
8643
|
}, "visibility"> & {
|
|
8644
|
-
visibility: "
|
|
8644
|
+
visibility: "all" | "workspace" | "private";
|
|
8645
8645
|
} & Pick<Omit<Omit<Omit<{
|
|
8646
8646
|
type: "collection";
|
|
8647
8647
|
}, "source"> & {
|
|
@@ -8707,7 +8707,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
|
|
|
8707
8707
|
}, "type"> & {
|
|
8708
8708
|
type: "collection";
|
|
8709
8709
|
}, "visibility"> & {
|
|
8710
|
-
visibility: "
|
|
8710
|
+
visibility: "all" | "workspace" | "private";
|
|
8711
8711
|
} & Pick<Omit<Omit<Omit<{
|
|
8712
8712
|
type: "collection";
|
|
8713
8713
|
}, "source"> & {
|
|
@@ -8769,7 +8769,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
|
|
|
8769
8769
|
}, "type"> & {
|
|
8770
8770
|
type: "collection";
|
|
8771
8771
|
}, "visibility"> & {
|
|
8772
|
-
visibility: "
|
|
8772
|
+
visibility: "all" | "workspace" | "private";
|
|
8773
8773
|
} & Pick<Omit<Omit<Omit<{
|
|
8774
8774
|
type: "collection";
|
|
8775
8775
|
}, "source"> & {
|
|
@@ -8833,7 +8833,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
|
|
|
8833
8833
|
}, "type"> & {
|
|
8834
8834
|
type: "collection";
|
|
8835
8835
|
}, "visibility"> & {
|
|
8836
|
-
visibility: "
|
|
8836
|
+
visibility: "all" | "workspace" | "private";
|
|
8837
8837
|
} & Pick<Omit<Omit<Omit<{
|
|
8838
8838
|
type: "collection";
|
|
8839
8839
|
}, "source"> & {
|
|
@@ -8895,7 +8895,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
|
|
|
8895
8895
|
}, "type"> & {
|
|
8896
8896
|
type: "collection";
|
|
8897
8897
|
}, "visibility"> & {
|
|
8898
|
-
visibility: "
|
|
8898
|
+
visibility: "all" | "workspace" | "private";
|
|
8899
8899
|
} & Pick<Omit<Omit<Omit<{
|
|
8900
8900
|
type: "collection";
|
|
8901
8901
|
}, "source"> & {
|
|
@@ -9170,7 +9170,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
|
|
|
9170
9170
|
}, "type"> & {
|
|
9171
9171
|
type: "collection";
|
|
9172
9172
|
}, "visibility"> & {
|
|
9173
|
-
visibility: "
|
|
9173
|
+
visibility: "all" | "workspace" | "private";
|
|
9174
9174
|
} & Pick<Omit<Omit<Omit<{
|
|
9175
9175
|
type: "collection";
|
|
9176
9176
|
}, "source"> & {
|
|
@@ -9232,7 +9232,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
|
|
|
9232
9232
|
}, "type"> & {
|
|
9233
9233
|
type: "collection";
|
|
9234
9234
|
}, "visibility"> & {
|
|
9235
|
-
visibility: "
|
|
9235
|
+
visibility: "all" | "workspace" | "private";
|
|
9236
9236
|
} & Pick<Omit<Omit<Omit<{
|
|
9237
9237
|
type: "collection";
|
|
9238
9238
|
}, "source"> & {
|
|
@@ -9296,7 +9296,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
|
|
|
9296
9296
|
}, "type"> & {
|
|
9297
9297
|
type: "collection";
|
|
9298
9298
|
}, "visibility"> & {
|
|
9299
|
-
visibility: "
|
|
9299
|
+
visibility: "all" | "workspace" | "private";
|
|
9300
9300
|
} & Pick<Omit<Omit<Omit<{
|
|
9301
9301
|
type: "collection";
|
|
9302
9302
|
}, "source"> & {
|
|
@@ -9358,7 +9358,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
|
|
|
9358
9358
|
}, "type"> & {
|
|
9359
9359
|
type: "collection";
|
|
9360
9360
|
}, "visibility"> & {
|
|
9361
|
-
visibility: "
|
|
9361
|
+
visibility: "all" | "workspace" | "private";
|
|
9362
9362
|
} & Pick<Omit<Omit<Omit<{
|
|
9363
9363
|
type: "collection";
|
|
9364
9364
|
}, "source"> & {
|
|
@@ -9424,7 +9424,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
|
|
|
9424
9424
|
}, "type"> & {
|
|
9425
9425
|
type: "collection";
|
|
9426
9426
|
}, "visibility"> & {
|
|
9427
|
-
visibility: "
|
|
9427
|
+
visibility: "all" | "workspace" | "private";
|
|
9428
9428
|
} & Pick<Omit<Omit<Omit<{
|
|
9429
9429
|
type: "collection";
|
|
9430
9430
|
}, "source"> & {
|
|
@@ -9486,7 +9486,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
|
|
|
9486
9486
|
}, "type"> & {
|
|
9487
9487
|
type: "collection";
|
|
9488
9488
|
}, "visibility"> & {
|
|
9489
|
-
visibility: "
|
|
9489
|
+
visibility: "all" | "workspace" | "private";
|
|
9490
9490
|
} & Pick<Omit<Omit<Omit<{
|
|
9491
9491
|
type: "collection";
|
|
9492
9492
|
}, "source"> & {
|
|
@@ -9550,7 +9550,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
|
|
|
9550
9550
|
}, "type"> & {
|
|
9551
9551
|
type: "collection";
|
|
9552
9552
|
}, "visibility"> & {
|
|
9553
|
-
visibility: "
|
|
9553
|
+
visibility: "all" | "workspace" | "private";
|
|
9554
9554
|
} & Pick<Omit<Omit<Omit<{
|
|
9555
9555
|
type: "collection";
|
|
9556
9556
|
}, "source"> & {
|
|
@@ -9612,7 +9612,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
|
|
|
9612
9612
|
}, "type"> & {
|
|
9613
9613
|
type: "collection";
|
|
9614
9614
|
}, "visibility"> & {
|
|
9615
|
-
visibility: "
|
|
9615
|
+
visibility: "all" | "workspace" | "private";
|
|
9616
9616
|
} & Pick<Omit<Omit<Omit<{
|
|
9617
9617
|
type: "collection";
|
|
9618
9618
|
}, "source"> & {
|
|
@@ -10197,7 +10197,7 @@ export declare const canonicalViewOperationSchema: z$1.ZodDiscriminatedUnion<[z$
|
|
|
10197
10197
|
kanbanColumnOrder?: string[] | undefined;
|
|
10198
10198
|
kanbanColumnVisibility?: Record<string, boolean> | undefined;
|
|
10199
10199
|
kanbanPinnedColumns?: string[] | undefined;
|
|
10200
|
-
visibility?: "
|
|
10200
|
+
visibility?: "all" | "workspace" | "private" | undefined;
|
|
10201
10201
|
columns?: (string | {
|
|
10202
10202
|
relationProperty: string;
|
|
10203
10203
|
})[] | undefined;
|
|
@@ -10359,9 +10359,9 @@ export declare const canonicalViewOperationSchema: z$1.ZodDiscriminatedUnion<[z$
|
|
|
10359
10359
|
relation?: string | undefined;
|
|
10360
10360
|
}>>;
|
|
10361
10361
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10362
|
+
all: "all";
|
|
10362
10363
|
workspace: "workspace";
|
|
10363
10364
|
private: "private";
|
|
10364
|
-
all: "all";
|
|
10365
10365
|
}>>;
|
|
10366
10366
|
columns: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
10367
10367
|
relationProperty: z$1.ZodString;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { ht as NumberAttribute } from "./exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "./index-
|
|
2
|
+
import { ht as NumberAttribute } from "./exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "./index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/primitives/number.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { ht as NumberAttribute } from "./exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "./index-
|
|
2
|
+
import { ht as NumberAttribute } from "./exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "./index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/primitives/number.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { jt as TextAttribute } from "./exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "./index-
|
|
2
|
+
import { jt as TextAttribute } from "./exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "./index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/primitives/text.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { jt as TextAttribute } from "./exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "./index-
|
|
2
|
+
import { jt as TextAttribute } from "./exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "./index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/primitives/text.d.ts
|
|
6
6
|
/**
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { $t as indexBy, Jt as Uuid, Kt as TenantId, Qt as generateId, Xt as asUserId, Yt as asTenantId, Zt as deepEqual, qt as UserId, tn as canonicalStringify } from "./exceptions-
|
|
2
|
+
import { $t as indexBy, Jt as Uuid, Kt as TenantId, Qt as generateId, Xt as asUserId, Yt as asTenantId, Zt as deepEqual, qt as UserId, tn as canonicalStringify } from "./exceptions-LUovX1Xh.mjs";
|
|
3
3
|
export { TenantId, UserId, Uuid, asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy };
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { $t as indexBy, Jt as Uuid, Kt as TenantId, Qt as generateId, Xt as asUserId, Yt as asTenantId, Zt as deepEqual, qt as UserId, tn as canonicalStringify } from "./exceptions-
|
|
2
|
+
import { $t as indexBy, Jt as Uuid, Kt as TenantId, Qt as generateId, Xt as asUserId, Yt as asTenantId, Zt as deepEqual, qt as UserId, tn as canonicalStringify } from "./exceptions-LUovX1Xh.js";
|
|
3
3
|
export { TenantId, UserId, Uuid, asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { f as colorIdSchema, i as contentViewDefinitionSchema, m as SCHEMA_LIMITS, n as collectionContentSourceSchema, p as iconNameSchema, s as draftContentViewDefinitionSchema, u as publishedViewContentDefinitionSchema } from "../all-
|
|
3
|
-
import { a as validateDraft, c as validateObjectOrThrow, f as createFormAttributeValidator, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject } from "../index
|
|
4
|
-
import { _ as statusOptionWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema } from "../index-
|
|
5
|
-
import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../index-
|
|
2
|
+
import { f as colorIdSchema, i as contentViewDefinitionSchema, m as SCHEMA_LIMITS, n as collectionContentSourceSchema, p as iconNameSchema, s as draftContentViewDefinitionSchema, u as publishedViewContentDefinitionSchema } from "../all-Cen87Ixs.mjs";
|
|
3
|
+
import { a as validateDraft, c as validateObjectOrThrow, f as createFormAttributeValidator, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject } from "../index-CxNwSJ7O.mjs";
|
|
4
|
+
import { _ as statusOptionWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema } from "../index-BxlwF7Mg.mjs";
|
|
5
|
+
import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../index-CmGHLozK.mjs";
|
|
6
6
|
export { DEFAULT_VALIDATION_MESSAGES, SCHEMA_LIMITS, SIMPLE_PROPERTY_TYPES, type ValidationMessages, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, collectionContentSourceSchema, colorIdSchema, contentViewDefinitionSchema, createFormAttributeValidator, draftContentViewDefinitionSchema, formatZodErrors, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, publishedViewContentDefinitionSchema, refuseForeignKeys, rejectUnknownAttributesOrThrow, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow };
|
package/dist/validation/all.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { f as colorIdSchema, i as contentViewDefinitionSchema, m as SCHEMA_LIMITS, n as collectionContentSourceSchema, p as iconNameSchema, s as draftContentViewDefinitionSchema, u as publishedViewContentDefinitionSchema } from "../all-
|
|
3
|
-
import { a as validateDraft, c as validateObjectOrThrow, f as createFormAttributeValidator, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject } from "../index-
|
|
4
|
-
import { _ as statusOptionWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema } from "../index-
|
|
5
|
-
import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../index-
|
|
2
|
+
import { f as colorIdSchema, i as contentViewDefinitionSchema, m as SCHEMA_LIMITS, n as collectionContentSourceSchema, p as iconNameSchema, s as draftContentViewDefinitionSchema, u as publishedViewContentDefinitionSchema } from "../all-SqlYyhI8.js";
|
|
3
|
+
import { a as validateDraft, c as validateObjectOrThrow, f as createFormAttributeValidator, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject } from "../index-BcjEnWLU.js";
|
|
4
|
+
import { _ as statusOptionWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema } from "../index-C0VbD25z.js";
|
|
5
|
+
import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../index-Bsfq_aDE.js";
|
|
6
6
|
export { DEFAULT_VALIDATION_MESSAGES, SCHEMA_LIMITS, SIMPLE_PROPERTY_TYPES, type ValidationMessages, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, collectionContentSourceSchema, colorIdSchema, contentViewDefinitionSchema, createFormAttributeValidator, draftContentViewDefinitionSchema, formatZodErrors, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, publishedViewContentDefinitionSchema, refuseForeignKeys, rejectUnknownAttributesOrThrow, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { nt as CurrencyAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { nt as CurrencyAttribute } from "../../exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/currency.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { nt as CurrencyAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { nt as CurrencyAttribute } from "../../exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/currency.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { dt as LocationAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { dt as LocationAttribute } from "../../exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/location.d.ts
|
|
6
6
|
type LocationShape = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { dt as LocationAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { dt as LocationAttribute } from "../../exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/location.d.ts
|
|
6
6
|
type LocationShape = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { yt as PhoneAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { yt as PhoneAttribute } from "../../exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/phone.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { yt as PhoneAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { yt as PhoneAttribute } from "../../exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/phone.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Ot as SingleRelationAttribute, pt as MultiRelationAttribute, xt as RelationAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { Ot as SingleRelationAttribute, pt as MultiRelationAttribute, xt as RelationAttribute } from "../../exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/relation.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Ot as SingleRelationAttribute, pt as MultiRelationAttribute, xt as RelationAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { Ot as SingleRelationAttribute, pt as MultiRelationAttribute, xt as RelationAttribute } from "../../exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/relation.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { wt as RichtextAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { wt as RichtextAttribute } from "../../exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/richtext.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { wt as RichtextAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { wt as RichtextAttribute } from "../../exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/richtext.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Dt as SelectAttribute, kt as StatusAttribute, mt as MultiselectAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { Dt as SelectAttribute, kt as StatusAttribute, mt as MultiselectAttribute } from "../../exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/select.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Dt as SelectAttribute, kt as StatusAttribute, mt as MultiselectAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { Dt as SelectAttribute, kt as StatusAttribute, mt as MultiselectAttribute } from "../../exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/select.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Nt as UserAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { Nt as UserAttribute } from "../../exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/user.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Nt as UserAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { Nt as UserAttribute } from "../../exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/complex/user.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { ct as FormulaAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { ct as FormulaAttribute } from "../../exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/computed/formula.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { ct as FormulaAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { ct as FormulaAttribute } from "../../exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/computed/formula.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Tt as RollupAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { Tt as RollupAttribute } from "../../exceptions-LUovX1Xh.mjs";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-CmGHLozK.mjs";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/computed/rollup.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { Tt as RollupAttribute } from "../../exceptions-
|
|
3
|
-
import { r as ValidationMessages } from "../../index-
|
|
2
|
+
import { Tt as RollupAttribute } from "../../exceptions-LUovX1Xh.js";
|
|
3
|
+
import { r as ValidationMessages } from "../../index-Bsfq_aDE.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
//#region src/validation/computed/rollup.d.ts
|
|
6
6
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { _ as statusOptionWriteSchema, a as getAttributeConfigWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, i as getAttributeConfigSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema } from "../../index-
|
|
2
|
+
import { _ as statusOptionWriteSchema, a as getAttributeConfigWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, i as getAttributeConfigSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema } from "../../index-BxlwF7Mg.mjs";
|
|
3
3
|
export { SIMPLE_PROPERTY_TYPES, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, getAttributeConfigSchema, getAttributeConfigWriteSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, refuseForeignKeys, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { _ as statusOptionWriteSchema, a as getAttributeConfigWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, i as getAttributeConfigSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema } from "../../index-
|
|
2
|
+
import { _ as statusOptionWriteSchema, a as getAttributeConfigWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, i as getAttributeConfigSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema } from "../../index-C0VbD25z.js";
|
|
3
3
|
export { SIMPLE_PROPERTY_TYPES, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, getAttributeConfigSchema, getAttributeConfigWriteSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, refuseForeignKeys, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { i as ValidationResult, n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../../index-
|
|
2
|
+
import { i as ValidationResult, n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../../index-CmGHLozK.mjs";
|
|
3
3
|
export { DEFAULT_VALIDATION_MESSAGES, type ValidationMessages, type ValidationResult, formatZodErrors };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { i as ValidationResult, n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../../index-
|
|
2
|
+
import { i as ValidationResult, n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../../index-Bsfq_aDE.js";
|
|
3
3
|
export { DEFAULT_VALIDATION_MESSAGES, type ValidationMessages, type ValidationResult, formatZodErrors };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as validateDraft, c as validateObjectOrThrow, d as createAttributeValidator, f as createFormAttributeValidator, i as validateAttribute, l as createDraftValidator, n as isRecordComplete, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject, t as getMissingRequiredAttributes, u as createObjectValidator } from "../../index
|
|
2
|
+
import { a as validateDraft, c as validateObjectOrThrow, d as createAttributeValidator, f as createFormAttributeValidator, i as validateAttribute, l as createDraftValidator, n as isRecordComplete, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject, t as getMissingRequiredAttributes, u as createObjectValidator } from "../../index-CxNwSJ7O.mjs";
|
|
3
3
|
export { createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as validateDraft, c as validateObjectOrThrow, d as createAttributeValidator, f as createFormAttributeValidator, i as validateAttribute, l as createDraftValidator, n as isRecordComplete, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject, t as getMissingRequiredAttributes, u as createObjectValidator } from "../../index-
|
|
2
|
+
import { a as validateDraft, c as validateObjectOrThrow, d as createAttributeValidator, f as createFormAttributeValidator, i as validateAttribute, l as createDraftValidator, n as isRecordComplete, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject, t as getMissingRequiredAttributes, u as createObjectValidator } from "../../index-BcjEnWLU.js";
|
|
3
3
|
export { createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow };
|
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.336",
|
|
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.336"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
133
|
"@types/node": "^25.0.3",
|