@stndrds/schema 1.0.0-alpha.209 → 1.0.0-alpha.210
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/{attributes-BEc_7_q_.d.ts → attributes-CwDiLLzP.d.ts} +23 -1
- package/dist/{attributes-DoQp0NSn.d.mts → attributes-DNlA-yww.d.mts} +23 -1
- package/dist/{chunk-QEZUDVTN.mjs → chunk-CI6EGLL6.mjs} +1 -1
- package/dist/{chunk-BV3IUMMW.js → chunk-EEH4XQ7W.js} +2 -2
- package/dist/{chunk-XZ5RG2OG.mjs → chunk-GO6LQADH.mjs} +2 -2
- package/dist/{chunk-PLUTE7FU.js → chunk-IH37K3BX.js} +8 -7
- package/dist/{chunk-T6L2MUG2.js → chunk-KNGWHQLR.js} +1 -1
- package/dist/{chunk-ZDMOXF3U.mjs → chunk-LV3FEUKU.mjs} +1 -1
- package/dist/{chunk-ROLWVTU3.js → chunk-Q5DIOYUE.js} +1 -1
- package/dist/{chunk-NWB6IKLM.mjs → chunk-UXWFFBQO.mjs} +5 -4
- package/dist/{helpers-DdsQA9U2.d.mts → helpers-CyYKowT9.d.mts} +2 -2
- package/dist/{helpers-B-hjtjTM.d.ts → helpers-DQ22uMWd.d.ts} +2 -2
- package/dist/index.d.mts +38 -7
- package/dist/index.d.ts +38 -7
- package/dist/index.js +104 -67
- package/dist/index.mjs +42 -6
- package/dist/{types-BW1U6xfV.d.ts → types-Bi3ZZIZJ.d.ts} +1 -1
- package/dist/{types-CnSQ9gCC.d.mts → types-BlVvybnQ.d.mts} +1 -1
- package/dist/validation/all.d.mts +3 -3
- package/dist/validation/all.d.ts +3 -3
- package/dist/validation/all.js +11 -11
- package/dist/validation/all.mjs +4 -4
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/file.d.mts +2 -2
- package/dist/validation/complex/file.d.ts +2 -2
- package/dist/validation/complex/file.js +2 -2
- package/dist/validation/complex/file.mjs +1 -1
- 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/relation.js +4 -4
- package/dist/validation/complex/relation.mjs +1 -1
- 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/complex/user.js +2 -2
- package/dist/validation/complex/user.mjs +1 -1
- 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 +3 -3
- package/dist/validation/core/index.d.ts +3 -3
- package/dist/validation/object/index.d.mts +3 -3
- package/dist/validation/object/index.d.ts +3 -3
- package/dist/validation/object/index.js +17 -17
- package/dist/validation/object/index.mjs +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 +2 -2
package/dist/index.mjs
CHANGED
|
@@ -3,22 +3,22 @@ export { asTenantId, asUserId, deepEqual, generateId, indexBy } from './chunk-QY
|
|
|
3
3
|
import './chunk-SP3PNHYF.mjs';
|
|
4
4
|
import { parseComputedFormula } from './chunk-AAXJJNY6.mjs';
|
|
5
5
|
export { ComputedFormulaParseError, parseAttributeConfig, parseComputedFormula } from './chunk-AAXJJNY6.mjs';
|
|
6
|
-
import { createObjectValidator, SchemaError, SchemaErrorCode, ValidationError, createAttributeValidator } from './chunk-
|
|
7
|
-
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, computeRecordStatus, createFormAttributeValidator, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from './chunk-
|
|
6
|
+
import { createObjectValidator, SchemaError, SchemaErrorCode, ValidationError, createAttributeValidator } from './chunk-UXWFFBQO.mjs';
|
|
7
|
+
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, computeRecordStatus, createFormAttributeValidator, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from './chunk-UXWFFBQO.mjs';
|
|
8
8
|
import './chunk-OSSGN43B.mjs';
|
|
9
9
|
import './chunk-6I2R22CX.mjs';
|
|
10
10
|
import './chunk-UANQJ2GH.mjs';
|
|
11
11
|
import './chunk-NOMHDOVE.mjs';
|
|
12
12
|
import './chunk-QVLQPW3O.mjs';
|
|
13
13
|
import './chunk-ZDQ5AP26.mjs';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-LV3FEUKU.mjs';
|
|
15
15
|
import './chunk-UXAHLSWC.mjs';
|
|
16
16
|
import './chunk-NS63SPNN.mjs';
|
|
17
17
|
import './chunk-AYVHMVKQ.mjs';
|
|
18
|
-
import './chunk-
|
|
18
|
+
import './chunk-CI6EGLL6.mjs';
|
|
19
19
|
import './chunk-YUFTHPOE.mjs';
|
|
20
20
|
import { formatPhoneForDisplay } from './chunk-JUKLL5RJ.mjs';
|
|
21
|
-
import './chunk-
|
|
21
|
+
import './chunk-GO6LQADH.mjs';
|
|
22
22
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './chunk-HRQEZUAA.mjs';
|
|
23
23
|
import { ICONS, getCountryDisplayNameByIso3 } from '@stndrds/constants';
|
|
24
24
|
import z3, { z } from 'zod';
|
|
@@ -407,6 +407,19 @@ function isAttributeSortable2(attr) {
|
|
|
407
407
|
return isAttributeSortable(attr);
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
+
// src/types/autofill.ts
|
|
411
|
+
var AUTOFILL_ELIGIBLE_TYPES = [
|
|
412
|
+
"text",
|
|
413
|
+
"number",
|
|
414
|
+
"checkbox",
|
|
415
|
+
"date",
|
|
416
|
+
"phone",
|
|
417
|
+
"currency",
|
|
418
|
+
"status",
|
|
419
|
+
"select",
|
|
420
|
+
"multiselect"
|
|
421
|
+
];
|
|
422
|
+
|
|
410
423
|
// src/types/document-layout.ts
|
|
411
424
|
var MAX_PRESET_DEPTH = 5;
|
|
412
425
|
|
|
@@ -1349,6 +1362,15 @@ var BaseAttributeBuilder = class {
|
|
|
1349
1362
|
this.attr.placeholder = value;
|
|
1350
1363
|
return this;
|
|
1351
1364
|
}
|
|
1365
|
+
/**
|
|
1366
|
+
* Enable AI autofill for this attribute. `from` is mandatory:
|
|
1367
|
+
* empty array = document-only, non-empty = also triggered when those
|
|
1368
|
+
* source attributes change. Eligibility by type is validated at schema sync.
|
|
1369
|
+
*/
|
|
1370
|
+
autofill(config) {
|
|
1371
|
+
this.attr.autofill = config;
|
|
1372
|
+
return this;
|
|
1373
|
+
}
|
|
1352
1374
|
description(value) {
|
|
1353
1375
|
this.attr.description = value;
|
|
1354
1376
|
return this;
|
|
@@ -6740,6 +6762,17 @@ function assertOperatorForType(operator, type, context) {
|
|
|
6740
6762
|
]);
|
|
6741
6763
|
}
|
|
6742
6764
|
}
|
|
6765
|
+
var RELATIVE_DATE_UNITS = /* @__PURE__ */ new Set(["days", "weeks", "months", "years"]);
|
|
6766
|
+
var RELATIVE_DATE_DIRECTIONS = /* @__PURE__ */ new Set(["past", "future"]);
|
|
6767
|
+
function assertRelativeDateValue(rule) {
|
|
6768
|
+
if (rule.operator !== "is_within") return;
|
|
6769
|
+
const v = rule.value;
|
|
6770
|
+
const valid = typeof v === "object" && v !== null && typeof v.amount === "number" && Number.isFinite(v.amount) && v.amount > 0 && typeof v.unit === "string" && RELATIVE_DATE_UNITS.has(v.unit) && typeof v.direction === "string" && RELATIVE_DATE_DIRECTIONS.has(v.direction);
|
|
6771
|
+
if (!valid) {
|
|
6772
|
+
const m = `Operator "is_within" requires a relative-date value { amount: positive number, unit: days|weeks|months|years, direction: past|future }`;
|
|
6773
|
+
throw new ValidationError(m, [{ path: ["value"], message: m }]);
|
|
6774
|
+
}
|
|
6775
|
+
}
|
|
6743
6776
|
function assertDynamicValueForAttribute(rule, attrType) {
|
|
6744
6777
|
if (!isDynamicValue(rule.value)) return;
|
|
6745
6778
|
const v = rule.value;
|
|
@@ -6774,6 +6807,7 @@ function validateQualifiedRule(rule, context) {
|
|
|
6774
6807
|
const summary = `Operator "${rule.operator}" is not valid for system attribute "${rule.attribute}". Valid operators: ${systemOps.join(", ")}.`;
|
|
6775
6808
|
throw new ValidationError(summary, [{ path: ["operator"], message: summary }]);
|
|
6776
6809
|
}
|
|
6810
|
+
assertRelativeDateValue(rule);
|
|
6777
6811
|
return;
|
|
6778
6812
|
}
|
|
6779
6813
|
if (!rule.property) {
|
|
@@ -6784,6 +6818,7 @@ function validateQualifiedRule(rule, context) {
|
|
|
6784
6818
|
const summary = `Operator "${rule.operator}" is not valid for attribute "${rootAttr.name}". Valid operators: ${validList}.`;
|
|
6785
6819
|
throw new ValidationError(summary, [{ path: ["operator"], message: summary }]);
|
|
6786
6820
|
}
|
|
6821
|
+
assertRelativeDateValue(rule);
|
|
6787
6822
|
return;
|
|
6788
6823
|
}
|
|
6789
6824
|
if (!REFERENCE_TYPES.has(rootAttr.type)) {
|
|
@@ -6805,6 +6840,7 @@ function validateQualifiedRule(rule, context) {
|
|
|
6805
6840
|
);
|
|
6806
6841
|
}
|
|
6807
6842
|
assertOperatorForType(rule.operator, propDef.type, "property");
|
|
6843
|
+
assertRelativeDateValue(rule);
|
|
6808
6844
|
}
|
|
6809
6845
|
|
|
6810
|
-
export { ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, ActivityTabConfig, BEHAVIOR_PROPERTIES, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ComputedFormulaCompileError, CustomTabConfig, DB_COLUMN_FIELDS, DEFAULT_DOCUMENT_SLOT, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DetailViewBuilder, DocumentSlotValidationError, DocumentsTabConfig, EMPTY_VALUE_PLACEHOLDER, FORM_FORBIDDEN_ATTRIBUTE_TYPES, FlagRegistry, FlagService, FormBuilder, FormRegistry, FormRowBuilder, FormStepBuilder, GroupBuilder, IDENTITY_PROPERTIES, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, ListViewBuilder, ListViewTabConfigBuilder, MAX_PRESET_DEPTH, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_VALUE_OPERATORS, NoopGeocodingAdapter, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, PRESENTATION_PROPERTIES, QUALIFIED_SEPARATOR, RELATION_TARGET_ANY, RESERVED_ATTRIBUTE_NAMES, RelationGroupBuilder, RichtextTabConfig, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, TabBuilder, TableTabConfig, USER_STATUSES, accessLevelToActions, actionsToAccessLevel, applyPipes, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators2 as getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, hasOptions, inferInverseCardinality, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isAttributeSortable2 as isAttributeSortable, isBilateralRelation, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isNoValueOperator, isNotEmpty, isPlainRecord, isRelationGroup, isStandardSchema, isUniversalRelation, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
|
|
6846
|
+
export { ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUTOFILL_ELIGIBLE_TYPES, ActivityTabConfig, BEHAVIOR_PROPERTIES, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ComputedFormulaCompileError, CustomTabConfig, DB_COLUMN_FIELDS, DEFAULT_DOCUMENT_SLOT, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DetailViewBuilder, DocumentSlotValidationError, DocumentsTabConfig, EMPTY_VALUE_PLACEHOLDER, FORM_FORBIDDEN_ATTRIBUTE_TYPES, FlagRegistry, FlagService, FormBuilder, FormRegistry, FormRowBuilder, FormStepBuilder, GroupBuilder, IDENTITY_PROPERTIES, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, ListViewBuilder, ListViewTabConfigBuilder, MAX_PRESET_DEPTH, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_VALUE_OPERATORS, NoopGeocodingAdapter, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, PRESENTATION_PROPERTIES, QUALIFIED_SEPARATOR, RELATION_TARGET_ANY, RESERVED_ATTRIBUTE_NAMES, RelationGroupBuilder, RichtextTabConfig, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, TabBuilder, TableTabConfig, USER_STATUSES, accessLevelToActions, actionsToAccessLevel, applyPipes, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators2 as getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, hasOptions, inferInverseCardinality, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isAttributeSortable2 as isAttributeSortable, isBilateralRelation, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isNoValueOperator, isNotEmpty, isPlainRecord, isRelationGroup, isStandardSchema, isUniversalRelation, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-BlVvybnQ.mjs';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
|
|
3
3
|
export { parseAttributeConfig } from './config/index.mjs';
|
|
4
|
-
export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-
|
|
5
|
-
import '../attributes-
|
|
4
|
+
export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-CyYKowT9.mjs';
|
|
5
|
+
import '../attributes-DNlA-yww.mjs';
|
|
6
6
|
import '@stndrds/constants';
|
|
7
7
|
import '../utils.mjs';
|
|
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-Bi3ZZIZJ.js';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
|
|
3
3
|
export { parseAttributeConfig } from './config/index.js';
|
|
4
|
-
export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-
|
|
5
|
-
import '../attributes-
|
|
4
|
+
export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-DQ22uMWd.js';
|
|
5
|
+
import '../attributes-CwDiLLzP.js';
|
|
6
6
|
import '@stndrds/constants';
|
|
7
7
|
import '../utils.js';
|
|
8
8
|
import 'zod';
|
package/dist/validation/all.js
CHANGED
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
require('../chunk-PGERPYDR.js');
|
|
4
4
|
var chunkNSM2JPC3_js = require('../chunk-NSM2JPC3.js');
|
|
5
|
-
var
|
|
5
|
+
var chunkIH37K3BX_js = require('../chunk-IH37K3BX.js');
|
|
6
6
|
require('../chunk-5WATIVCA.js');
|
|
7
7
|
require('../chunk-O44XVGHE.js');
|
|
8
8
|
require('../chunk-YIP5FJ5H.js');
|
|
9
9
|
require('../chunk-SGSGREPG.js');
|
|
10
10
|
require('../chunk-EW5XR2X3.js');
|
|
11
11
|
require('../chunk-QWKLQRBX.js');
|
|
12
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-KNGWHQLR.js');
|
|
13
13
|
require('../chunk-HTSTPTNZ.js');
|
|
14
14
|
require('../chunk-V2UA2D4E.js');
|
|
15
15
|
require('../chunk-ACKMC6FL.js');
|
|
16
|
-
require('../chunk-
|
|
16
|
+
require('../chunk-Q5DIOYUE.js');
|
|
17
17
|
require('../chunk-E6JUYGJX.js');
|
|
18
18
|
require('../chunk-EBGRZUIH.js');
|
|
19
|
-
require('../chunk-
|
|
19
|
+
require('../chunk-EEH4XQ7W.js');
|
|
20
20
|
var chunkYKWSHBT5_js = require('../chunk-YKWSHBT5.js');
|
|
21
21
|
|
|
22
22
|
|
|
@@ -27,31 +27,31 @@ Object.defineProperty(exports, "parseAttributeConfig", {
|
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "computeRecordStatus", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkIH37K3BX_js.computeRecordStatus; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkIH37K3BX_js.createFormAttributeValidator; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkIH37K3BX_js.rejectUnknownAttributesOrThrow; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "validateDraft", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkIH37K3BX_js.validateDraft; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkIH37K3BX_js.validateDraftOrThrow; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "validateObject", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkIH37K3BX_js.validateObject; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkIH37K3BX_js.validateObjectOrThrow; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
|
|
57
57
|
enumerable: true,
|
package/dist/validation/all.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import '../chunk-SP3PNHYF.mjs';
|
|
2
2
|
export { parseAttributeConfig } from '../chunk-AAXJJNY6.mjs';
|
|
3
|
-
export { computeRecordStatus, createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-
|
|
3
|
+
export { computeRecordStatus, createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-UXWFFBQO.mjs';
|
|
4
4
|
import '../chunk-OSSGN43B.mjs';
|
|
5
5
|
import '../chunk-6I2R22CX.mjs';
|
|
6
6
|
import '../chunk-UANQJ2GH.mjs';
|
|
7
7
|
import '../chunk-NOMHDOVE.mjs';
|
|
8
8
|
import '../chunk-QVLQPW3O.mjs';
|
|
9
9
|
import '../chunk-ZDQ5AP26.mjs';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-LV3FEUKU.mjs';
|
|
11
11
|
import '../chunk-UXAHLSWC.mjs';
|
|
12
12
|
import '../chunk-NS63SPNN.mjs';
|
|
13
13
|
import '../chunk-AYVHMVKQ.mjs';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-CI6EGLL6.mjs';
|
|
15
15
|
import '../chunk-YUFTHPOE.mjs';
|
|
16
16
|
import '../chunk-JUKLL5RJ.mjs';
|
|
17
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-GO6LQADH.mjs';
|
|
18
18
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from '../chunk-HRQEZUAA.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { C as CurrencyAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { C as CurrencyAttribute } from '../../attributes-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BlVvybnQ.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { C as CurrencyAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { C as CurrencyAttribute } from '../../attributes-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-Bi3ZZIZJ.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 FileAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { F as FileAttribute } from '../../attributes-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BlVvybnQ.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 FileAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { F as FileAttribute } from '../../attributes-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-Bi3ZZIZJ.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQ5DIOYUE_js = require('../../chunk-Q5DIOYUE.js');
|
|
4
4
|
require('../../chunk-YKWSHBT5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "createFileValidator", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkQ5DIOYUE_js.createFileValidator; }
|
|
11
11
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { createFileValidator } from '../../chunk-
|
|
1
|
+
export { createFileValidator } from '../../chunk-CI6EGLL6.mjs';
|
|
2
2
|
import '../../chunk-HRQEZUAA.mjs';
|
|
@@ -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-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BlVvybnQ.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-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-Bi3ZZIZJ.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-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BlVvybnQ.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-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-Bi3ZZIZJ.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BlVvybnQ.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-Bi3ZZIZJ.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEEH4XQ7W_js = require('../../chunk-EEH4XQ7W.js');
|
|
4
4
|
require('../../chunk-YKWSHBT5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "createMultiRelationValidator", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkEEH4XQ7W_js.createMultiRelationValidator; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createRelationValidator", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkEEH4XQ7W_js.createRelationValidator; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "createSingleRelationValidator", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkEEH4XQ7W_js.createSingleRelationValidator; }
|
|
19
19
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { createMultiRelationValidator, createRelationValidator, createSingleRelationValidator } from '../../chunk-
|
|
1
|
+
export { createMultiRelationValidator, createRelationValidator, createSingleRelationValidator } from '../../chunk-GO6LQADH.mjs';
|
|
2
2
|
import '../../chunk-HRQEZUAA.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a as RichtextAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as RichtextAttribute } from '../../attributes-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BlVvybnQ.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a as RichtextAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as RichtextAttribute } from '../../attributes-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-Bi3ZZIZJ.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BlVvybnQ.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-Bi3ZZIZJ.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-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BlVvybnQ.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-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-Bi3ZZIZJ.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKNGWHQLR_js = require('../../chunk-KNGWHQLR.js');
|
|
4
4
|
require('../../chunk-YKWSHBT5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "createUserValidator", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkKNGWHQLR_js.createUserValidator; }
|
|
11
11
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { createUserValidator } from '../../chunk-
|
|
1
|
+
export { createUserValidator } from '../../chunk-LV3FEUKU.mjs';
|
|
2
2
|
import '../../chunk-HRQEZUAA.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { e as FormulaAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { e as FormulaAttribute } from '../../attributes-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BlVvybnQ.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { e as FormulaAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { e as FormulaAttribute } from '../../attributes-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-Bi3ZZIZJ.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-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BlVvybnQ.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-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-Bi3ZZIZJ.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -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-BlVvybnQ.mjs';
|
|
2
|
+
export { a as ValidationResult } from '../../types-BlVvybnQ.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import '../../attributes-
|
|
4
|
+
import '../../attributes-DNlA-yww.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-Bi3ZZIZJ.js';
|
|
2
|
+
export { a as ValidationResult } from '../../types-Bi3ZZIZJ.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import '../../attributes-
|
|
4
|
+
import '../../attributes-CwDiLLzP.js';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-
|
|
1
|
+
export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-CyYKowT9.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { O as ObjectDefinition } from '../../attributes-
|
|
4
|
-
import '../../types-
|
|
3
|
+
import { O as ObjectDefinition } from '../../attributes-DNlA-yww.mjs';
|
|
4
|
+
import '../../types-BlVvybnQ.mjs';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.mjs';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-
|
|
1
|
+
export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, r as rejectUnknownAttributesOrThrow, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-DQ22uMWd.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { O as ObjectDefinition } from '../../attributes-
|
|
4
|
-
import '../../types-
|
|
3
|
+
import { O as ObjectDefinition } from '../../attributes-CwDiLLzP.js';
|
|
4
|
+
import '../../types-Bi3ZZIZJ.js';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.js';
|
|
7
7
|
|