@stndrds/schema 1.0.0-alpha.279 → 1.0.0-alpha.280
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-C0hXd79K.d.mts +482 -0
- package/dist/all-Ig0ig9wp.d.ts +482 -0
- package/dist/{chunk-ZEPGMHCK.js → chunk-3PGLMGTR.js} +4 -4
- package/dist/{chunk-DEHBEFGO.js → chunk-FAEOVIDJ.js} +3 -3
- package/dist/{chunk-ZBWTAKZO.js → chunk-M3WFXOA4.js} +4 -1
- package/dist/{chunk-PQEOIDXD.mjs → chunk-MSIGO7JA.mjs} +1 -1
- package/dist/{chunk-QMAVKX3Y.js → chunk-MXYCCUNB.js} +35 -35
- package/dist/chunk-NUEIGMYS.mjs +74 -0
- package/dist/{chunk-QUZ3PN36.mjs → chunk-PUMM6SPY.mjs} +1 -1
- package/dist/{chunk-5PLJHYSL.mjs → chunk-TBAD2T7Q.mjs} +2 -2
- package/dist/{chunk-V2WJFUZW.mjs → chunk-XDA5PZRT.mjs} +4 -1
- package/dist/{chunk-FRCDMQER.js → chunk-XTBGGJ3G.js} +34 -0
- package/dist/exceptions.d.mts +3 -0
- package/dist/exceptions.d.ts +3 -0
- package/dist/exceptions.js +39 -39
- package/dist/exceptions.mjs +1 -1
- package/dist/index.d.mts +8 -23
- package/dist/index.d.ts +8 -23
- package/dist/index.js +204 -232
- package/dist/index.mjs +11 -42
- package/dist/utils.d.mts +16 -1
- package/dist/utils.d.ts +16 -1
- package/dist/utils.js +11 -6
- package/dist/utils.mjs +2 -1
- package/dist/validation/all.d.mts +1 -1
- package/dist/validation/all.d.ts +1 -1
- package/dist/validation/all.js +29 -29
- package/dist/validation/all.mjs +4 -4
- package/dist/validation/config/index.js +11 -11
- package/dist/validation/config/index.mjs +2 -2
- package/dist/validation/object/index.js +14 -14
- package/dist/validation/object/index.mjs +2 -2
- package/package.json +2 -2
- package/dist/all-Bk8cRKsu.d.mts +0 -482
- package/dist/all-C_tC90ZM.d.ts +0 -482
- package/dist/chunk-QY6QFRRV.mjs +0 -41
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { generateId } from './chunk-
|
|
2
|
-
export { asTenantId, asUserId, deepEqual, generateId, indexBy } from './chunk-
|
|
3
|
-
import { SYSTEM_FILTER_ATTRIBUTE_TYPES, RESERVED_OBJECT_NAMES, listViewConfigSchema, detailViewConfigSchema, RESERVED_ATTRIBUTE_NAMES, isAttributeSortable, getAttributeCapabilities, resolveIsWithinBounds, normalizeForEdgeRpc, getOperatorPolarity, extractCurrencyFilterValue } from './chunk-
|
|
4
|
-
export { ATTRIBUTE_FILTER_OPERATORS, LIST_VIEW_TAB_VISIBILITIES, NO_VALUE_OPERATORS, OPERATORS_BY_TYPE, REMOVED_OPERATOR_REPLACEMENTS, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_FILTER_ATTRIBUTE_TYPES, canonicalizeFilterValue, collectQualifiedRuleIssues, currentActor, detailTabSchema, detailViewConfigSchema, extractCurrencyFilterValue, extractFilterValue, getAttributeCapabilities, getAttributeFilterOperators, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, inverseSourceSchema, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isDynamicValue, isManagedSystemAttribute, isNoValueOperator, isRelativeDateValue, isSetMembershipOperator, listViewConfigSchema, listViewTabSchema, normalizeFilterRule, normalizeForEdgeRpc, normalizeOperator, now, parseResourceVisibility, parseViewConfig, relationSourceSchema, resolveEffectiveFilterType, resolveIsWithinBounds, resolveUtcDayBounds, tableSourceSchema, toMultiValueOperator, toUtcDayString, today, validateQualifiedRule, viewConfigByTypeSchema, viewTypeSchema } from './chunk-
|
|
5
|
-
import { iconNameSchema, parseAttributeConfigForCreate, parseComputedFormula } from './chunk-
|
|
6
|
-
export { ComputedFormulaParseError, SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, parseComputedFormula, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from './chunk-
|
|
7
|
-
import { createObjectValidator, createAttributeValidator, isNullishOrEmptyString } from './chunk-
|
|
8
|
-
export { createFormAttributeValidator, isNullishOrEmptyString, isValuePresent, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from './chunk-
|
|
1
|
+
import { canonicalStringify, generateId } from './chunk-NUEIGMYS.mjs';
|
|
2
|
+
export { asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy } from './chunk-NUEIGMYS.mjs';
|
|
3
|
+
import { SYSTEM_FILTER_ATTRIBUTE_TYPES, RESERVED_OBJECT_NAMES, listViewConfigSchema, detailViewConfigSchema, RESERVED_ATTRIBUTE_NAMES, isAttributeSortable, getAttributeCapabilities, resolveIsWithinBounds, normalizeForEdgeRpc, getOperatorPolarity, extractCurrencyFilterValue } from './chunk-TBAD2T7Q.mjs';
|
|
4
|
+
export { ATTRIBUTE_FILTER_OPERATORS, LIST_VIEW_TAB_VISIBILITIES, NO_VALUE_OPERATORS, OPERATORS_BY_TYPE, REMOVED_OPERATOR_REPLACEMENTS, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_FILTER_ATTRIBUTE_TYPES, canonicalizeFilterValue, collectQualifiedRuleIssues, currentActor, detailTabSchema, detailViewConfigSchema, extractCurrencyFilterValue, extractFilterValue, getAttributeCapabilities, getAttributeFilterOperators, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, inverseSourceSchema, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isDynamicValue, isManagedSystemAttribute, isNoValueOperator, isRelativeDateValue, isSetMembershipOperator, listViewConfigSchema, listViewTabSchema, normalizeFilterRule, normalizeForEdgeRpc, normalizeOperator, now, parseResourceVisibility, parseViewConfig, relationSourceSchema, resolveEffectiveFilterType, resolveIsWithinBounds, resolveUtcDayBounds, tableSourceSchema, toMultiValueOperator, toUtcDayString, today, validateQualifiedRule, viewConfigByTypeSchema, viewTypeSchema } from './chunk-TBAD2T7Q.mjs';
|
|
5
|
+
import { iconNameSchema, parseAttributeConfigForCreate, parseComputedFormula } from './chunk-MSIGO7JA.mjs';
|
|
6
|
+
export { ComputedFormulaParseError, SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, parseComputedFormula, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from './chunk-MSIGO7JA.mjs';
|
|
7
|
+
import { createObjectValidator, createAttributeValidator, isNullishOrEmptyString } from './chunk-PUMM6SPY.mjs';
|
|
8
|
+
export { createFormAttributeValidator, isNullishOrEmptyString, isValuePresent, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from './chunk-PUMM6SPY.mjs';
|
|
9
9
|
import './chunk-QVLQPW3O.mjs';
|
|
10
10
|
import './chunk-ZDQ5AP26.mjs';
|
|
11
11
|
import './chunk-LV3FEUKU.mjs';
|
|
@@ -15,8 +15,8 @@ export { createCheckboxValidator } from './chunk-OSSGN43B.mjs';
|
|
|
15
15
|
export { createDateValidator } from './chunk-Q44QKLN4.mjs';
|
|
16
16
|
export { createNumberValidator } from './chunk-UANQJ2GH.mjs';
|
|
17
17
|
export { TEXT_FORMAT_PATTERNS, createTextValidator, resolveTextPattern } from './chunk-O73ROMWQ.mjs';
|
|
18
|
-
import { SchemaError, SchemaErrorCode, ValidationError, DuplicateError, NotFoundError } from './chunk-
|
|
19
|
-
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError } from './chunk-
|
|
18
|
+
import { SchemaError, SchemaErrorCode, ValidationError, DuplicateError, NotFoundError } from './chunk-XDA5PZRT.mjs';
|
|
19
|
+
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError } from './chunk-XDA5PZRT.mjs';
|
|
20
20
|
import './chunk-AYVHMVKQ.mjs';
|
|
21
21
|
import './chunk-YUFTHPOE.mjs';
|
|
22
22
|
import { formatPhoneForDisplay, normalizeCountrylessPhoneNumber, normalizePhoneNumber } from './chunk-R5LAJCBU.mjs';
|
|
@@ -7049,37 +7049,6 @@ var CONNECTOR_CALLBACK_PARAM = {
|
|
|
7049
7049
|
provider: "connector_provider"
|
|
7050
7050
|
};
|
|
7051
7051
|
|
|
7052
|
-
// src/utils/canonical-json.ts
|
|
7053
|
-
function canonicalStringify(value) {
|
|
7054
|
-
const seen = /* @__PURE__ */ new Set();
|
|
7055
|
-
function encode(v) {
|
|
7056
|
-
if (v === null) return "null";
|
|
7057
|
-
switch (typeof v) {
|
|
7058
|
-
case "string":
|
|
7059
|
-
case "number":
|
|
7060
|
-
case "boolean":
|
|
7061
|
-
return JSON.stringify(v);
|
|
7062
|
-
case "undefined":
|
|
7063
|
-
return void 0;
|
|
7064
|
-
case "object":
|
|
7065
|
-
break;
|
|
7066
|
-
default:
|
|
7067
|
-
throw new ValidationError(`Cannot canonicalize value of type ${typeof v}`, []);
|
|
7068
|
-
}
|
|
7069
|
-
const obj = v;
|
|
7070
|
-
if (seen.has(obj)) throw new ValidationError("Cannot canonicalize circular structure", []);
|
|
7071
|
-
seen.add(obj);
|
|
7072
|
-
try {
|
|
7073
|
-
if (Array.isArray(obj)) return `[${obj.map((e) => encode(e) ?? "null").join(",")}]`;
|
|
7074
|
-
const entries = Object.entries(obj).map(([k, val]) => [k, encode(val)]).filter((pair) => pair[1] !== void 0).sort(([a], [b]) => a < b ? -1 : 1);
|
|
7075
|
-
return `{${entries.map(([k, val]) => `${JSON.stringify(k)}:${val}`).join(",")}}`;
|
|
7076
|
-
} finally {
|
|
7077
|
-
seen.delete(obj);
|
|
7078
|
-
}
|
|
7079
|
-
}
|
|
7080
|
-
return encode(value) ?? "null";
|
|
7081
|
-
}
|
|
7082
|
-
|
|
7083
7052
|
// src/utils/attribute-defaults.ts
|
|
7084
7053
|
var TODAY_DEFAULT = "today";
|
|
7085
7054
|
function dateInTimezone(date2, timezone) {
|
|
@@ -7537,4 +7506,4 @@ var persistedSchemaPlanSchema = z.preprocess(
|
|
|
7537
7506
|
structuralPersistedSchemaPlanSchema
|
|
7538
7507
|
);
|
|
7539
7508
|
|
|
7540
|
-
export { AGENT_UI_BATCH_MAX_BYTES, AGENT_UI_BATCH_MAX_ITEMS, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, ActivityTabConfig, AgentBuilder, BEHAVIOR_PROPERTIES, BROWSER_PREVIEW_STATUSES, BYTE_UNIT_LABELS, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, COUNT_MODES, ComputedFormulaCompileError, CustomTabConfig, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_APPROVAL_POLICY, DEFAULT_LABEL_FALLBACK, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DetailViewBuilder, DocumentsTabConfig, EMPTY_VALUE_PLACEHOLDER, ESTIMATED_COUNT_CAP, EmailsTabConfig, FORM_FORBIDDEN_ATTRIBUTE_TYPES, FlagRegistry, FlagService, FormBuilder, FormRegistry, FormRowBuilder, FormStepBuilder, GroupBuilder, IDENTITY_PROPERTIES, LIVE_EVENT_TYPES, ListViewBuilder, ListViewTabConfigBuilder, MAX_PRESET_DEPTH, MAX_TODOS, MAX_TODO_DESCRIPTION_CHARS, MAX_TODO_ID_CHARS, MAX_TODO_RESULT_CHARS, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, MeetingsTabConfig, NATIVE_AGENT_UI_PART_IDS_METADATA_KEY, NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION, 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, NoopGeocodingAdapter, OPERATOR_SPECS, ObjectBuilder, PRESENTATION_PROPERTIES, QUALIFIED_SEPARATOR, RECORD_CREATOR_ROOT_ACTOR_METADATA_KEY, RELATION_TARGET_ANY, RelationGroupBuilder, RichtextTabConfig, SCHEMA_PLAN_LIMITS, SESSION_TERMINAL_STATUSES, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, TODAY_DEFAULT, TODO_PLAN_STATUSES, TODO_STATUSES, TabBuilder, TableTabConfig, USER_STATUSES, USER_WORK_POSTURES, accessLevelToActions, actionsToAccessLevel, agent, agentDisplayName, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, booleanFlag, buildAgentFallbackTitle, buildPermissionFlags, buildPropertySchema, buildQualifiedAttribute,
|
|
7509
|
+
export { AGENT_UI_BATCH_MAX_BYTES, AGENT_UI_BATCH_MAX_ITEMS, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, ActivityTabConfig, AgentBuilder, BEHAVIOR_PROPERTIES, BROWSER_PREVIEW_STATUSES, BYTE_UNIT_LABELS, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, COUNT_MODES, ComputedFormulaCompileError, CustomTabConfig, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_APPROVAL_POLICY, DEFAULT_LABEL_FALLBACK, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DetailViewBuilder, DocumentsTabConfig, EMPTY_VALUE_PLACEHOLDER, ESTIMATED_COUNT_CAP, EmailsTabConfig, FORM_FORBIDDEN_ATTRIBUTE_TYPES, FlagRegistry, FlagService, FormBuilder, FormRegistry, FormRowBuilder, FormStepBuilder, GroupBuilder, IDENTITY_PROPERTIES, LIVE_EVENT_TYPES, ListViewBuilder, ListViewTabConfigBuilder, MAX_PRESET_DEPTH, MAX_TODOS, MAX_TODO_DESCRIPTION_CHARS, MAX_TODO_ID_CHARS, MAX_TODO_RESULT_CHARS, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, MeetingsTabConfig, NATIVE_AGENT_UI_PART_IDS_METADATA_KEY, NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION, 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, NoopGeocodingAdapter, OPERATOR_SPECS, ObjectBuilder, PRESENTATION_PROPERTIES, QUALIFIED_SEPARATOR, RECORD_CREATOR_ROOT_ACTOR_METADATA_KEY, RELATION_TARGET_ANY, RelationGroupBuilder, RichtextTabConfig, SCHEMA_PLAN_LIMITS, SESSION_TERMINAL_STATUSES, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, TODAY_DEFAULT, TODO_PLAN_STATUSES, TODO_STATUSES, TabBuilder, TableTabConfig, USER_STATUSES, USER_WORK_POSTURES, accessLevelToActions, actionsToAccessLevel, agent, agentDisplayName, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, booleanFlag, buildAgentFallbackTitle, buildPermissionFlags, buildPropertySchema, buildQualifiedAttribute, checkbox, compileComputedFormula, compileRollupAttribute, computeByteMagnitude, conversationDisplayTitle, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, date, dateInTimezone, dateValueStart, deriveInitials, destructiveSchema, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, evaluateRecordFilterState, extractAttributeNames, extractValueRefs, flagRegistry, form, formRegistry, formatAttributeValue, formatByteSize, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getErrorMessage, getLiveProtocolPayloadChannel, getRecordCreatorPrincipalId, getSlotFieldTargets, getUserDisplayName, group, hasDestructiveEntries, hasOptions, includesAction, inferInverseCardinality, inferRollupReturnType, isAgentUIMessageBatch, isAttributeSortable2 as isAttributeSortable, isBilateralRelation, isCheckboxEquality, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDetailView, isDocumentAttribute, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isNotEmpty, isPlainRecord2 as isPlainRecord, isRelationGroup, isStandardSchema, isTerminalSessionStatus, isTerminalState, isUniversalRelation, jsonFlag, legacyStatusToSessionState, listView, liveChannelKey, location, matchesAccepts, multiselect, nativeAgentUIPartIdMetadataKey, normalizeDateValue, number, numberFlag, object, parseCountMode, parseLiveChannelKey, parseNativeAgentUIPartIdsMetadata, parseOptionalCountMode, parseQualifiedAttribute, persistedDefaultViewTargetSchema, persistedSchemaPlanSchema, phone, plannedAttributeSchema, plannedInlineAttributeSchema, plannedObjectSchema, proposedDefaultViewTargetSchema, registry, relation, relationGroup, relationPropertyDefs, renderLabelExpression, resetViewToDefault, resolveAttributeDefaultValue, resolveFieldRequired, resolvePropertyDefinitions, richtext, rollup, rollupToFormulaExpression, schemaPlanSchema, select, sessionStateToLegacyStatus, status, stringFlag, text, toUndefinedIfEmpty, user, validateAttributeName, validateLabelExpression, validateObjectName, validateViewName, viewRegistry, viewStateKey, viewSyncPayload };
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Serializes a value into deterministic JSON: object keys are sorted
|
|
3
|
+
* recursively, array order is preserved, `undefined` object entries are
|
|
4
|
+
* omitted, and no whitespace is emitted.
|
|
5
|
+
*
|
|
6
|
+
* This is the single canonicalization used to hash view (and future schema)
|
|
7
|
+
* definitions across the runtime boot seed, the server, and the CLI — the
|
|
8
|
+
* output must stay byte-identical for equivalent inputs regardless of key
|
|
9
|
+
* insertion order or jsonb storage round-trips.
|
|
10
|
+
*
|
|
11
|
+
* @throws {ValidationError} On circular references or unsupported value types
|
|
12
|
+
* (functions, symbols, bigint).
|
|
13
|
+
*/
|
|
14
|
+
declare function canonicalStringify(value: unknown): string;
|
|
15
|
+
|
|
1
16
|
/**
|
|
2
17
|
* Brand symbol for nominal typing.
|
|
3
18
|
* This ensures type-safety by making IDs non-interchangeable.
|
|
@@ -116,4 +131,4 @@ declare function indexBy<T, K extends PropertyKey>(items: T[], keyFn: (item: T)
|
|
|
116
131
|
*/
|
|
117
132
|
declare function deepEqual(a: unknown, b: unknown): boolean;
|
|
118
133
|
|
|
119
|
-
export { type TenantId, type UserId, type Uuid, asTenantId, asUserId, deepEqual, generateId, indexBy };
|
|
134
|
+
export { type TenantId, type UserId, type Uuid, asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy };
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Serializes a value into deterministic JSON: object keys are sorted
|
|
3
|
+
* recursively, array order is preserved, `undefined` object entries are
|
|
4
|
+
* omitted, and no whitespace is emitted.
|
|
5
|
+
*
|
|
6
|
+
* This is the single canonicalization used to hash view (and future schema)
|
|
7
|
+
* definitions across the runtime boot seed, the server, and the CLI — the
|
|
8
|
+
* output must stay byte-identical for equivalent inputs regardless of key
|
|
9
|
+
* insertion order or jsonb storage round-trips.
|
|
10
|
+
*
|
|
11
|
+
* @throws {ValidationError} On circular references or unsupported value types
|
|
12
|
+
* (functions, symbols, bigint).
|
|
13
|
+
*/
|
|
14
|
+
declare function canonicalStringify(value: unknown): string;
|
|
15
|
+
|
|
1
16
|
/**
|
|
2
17
|
* Brand symbol for nominal typing.
|
|
3
18
|
* This ensures type-safety by making IDs non-interchangeable.
|
|
@@ -116,4 +131,4 @@ declare function indexBy<T, K extends PropertyKey>(items: T[], keyFn: (item: T)
|
|
|
116
131
|
*/
|
|
117
132
|
declare function deepEqual(a: unknown, b: unknown): boolean;
|
|
118
133
|
|
|
119
|
-
export { type TenantId, type UserId, type Uuid, asTenantId, asUserId, deepEqual, generateId, indexBy };
|
|
134
|
+
export { type TenantId, type UserId, type Uuid, asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy };
|
package/dist/utils.js
CHANGED
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXTBGGJ3G_js = require('./chunk-XTBGGJ3G.js');
|
|
4
|
+
require('./chunk-M3WFXOA4.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
Object.defineProperty(exports, "asTenantId", {
|
|
8
9
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkXTBGGJ3G_js.asTenantId; }
|
|
10
11
|
});
|
|
11
12
|
Object.defineProperty(exports, "asUserId", {
|
|
12
13
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkXTBGGJ3G_js.asUserId; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "canonicalStringify", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkXTBGGJ3G_js.canonicalStringify; }
|
|
14
19
|
});
|
|
15
20
|
Object.defineProperty(exports, "deepEqual", {
|
|
16
21
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkXTBGGJ3G_js.deepEqual; }
|
|
18
23
|
});
|
|
19
24
|
Object.defineProperty(exports, "generateId", {
|
|
20
25
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkXTBGGJ3G_js.generateId; }
|
|
22
27
|
});
|
|
23
28
|
Object.defineProperty(exports, "indexBy", {
|
|
24
29
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkXTBGGJ3G_js.indexBy; }
|
|
26
31
|
});
|
package/dist/utils.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { asTenantId, asUserId, deepEqual, generateId, indexBy } from './chunk-
|
|
1
|
+
export { asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy } from './chunk-NUEIGMYS.mjs';
|
|
2
|
+
import './chunk-XDA5PZRT.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { V as ValidationMessages } from '../types-DHqXzkgW.mjs';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
|
|
3
3
|
export { ac as multiselectOptionWriteSchema, ad as parseAttributeConfig, ae as parseAttributeConfigForCreate, af as parseAttributeConfigForUpdate, ag as selectOptionWriteSchema, ah as statusGroupSchema, ai as statusOptionWriteSchema } from '../index-C3P5Dnwt.mjs';
|
|
4
|
-
export { S as SCHEMA_LIMITS, c as colorIdSchema, d as detailTabSchema, a as detailViewConfigSchema, i as iconNameSchema, b as inverseSourceSchema, l as listViewConfigSchema, e as listViewTabSchema, p as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-
|
|
4
|
+
export { S as SCHEMA_LIMITS, c as colorIdSchema, d as detailTabSchema, a as detailViewConfigSchema, i as iconNameSchema, b as inverseSourceSchema, l as listViewConfigSchema, e as listViewTabSchema, p as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-C0hXd79K.mjs';
|
|
5
5
|
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-BiABdSxK.mjs';
|
|
6
6
|
import '../attributes--M1ifW8_.mjs';
|
|
7
7
|
import '@stndrds/constants';
|
package/dist/validation/all.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { V as ValidationMessages } from '../types-DYYFto8d.js';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
|
|
3
3
|
export { ac as multiselectOptionWriteSchema, ad as parseAttributeConfig, ae as parseAttributeConfigForCreate, af as parseAttributeConfigForUpdate, ag as selectOptionWriteSchema, ah as statusGroupSchema, ai as statusOptionWriteSchema } from '../index-SpFpkWVC.js';
|
|
4
|
-
export { S as SCHEMA_LIMITS, c as colorIdSchema, d as detailTabSchema, a as detailViewConfigSchema, i as iconNameSchema, b as inverseSourceSchema, l as listViewConfigSchema, e as listViewTabSchema, p as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-
|
|
4
|
+
export { S as SCHEMA_LIMITS, c as colorIdSchema, d as detailTabSchema, a as detailViewConfigSchema, i as iconNameSchema, b as inverseSourceSchema, l as listViewConfigSchema, e as listViewTabSchema, p as parseViewConfig, r as relationSourceSchema, t as tableSourceSchema, v as viewConfigByTypeSchema } from '../all-Ig0ig9wp.js';
|
|
5
5
|
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-DyoPqiSz.js';
|
|
6
6
|
import '../attributes-D8eHv5Kf.js';
|
|
7
7
|
import '@stndrds/constants';
|
package/dist/validation/all.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkMXYCCUNB_js = require('../chunk-MXYCCUNB.js');
|
|
4
|
+
var chunkFAEOVIDJ_js = require('../chunk-FAEOVIDJ.js');
|
|
5
|
+
var chunk3PGLMGTR_js = require('../chunk-3PGLMGTR.js');
|
|
6
6
|
require('../chunk-EW5XR2X3.js');
|
|
7
7
|
require('../chunk-QWKLQRBX.js');
|
|
8
8
|
require('../chunk-KNGWHQLR.js');
|
|
@@ -12,7 +12,7 @@ require('../chunk-5WATIVCA.js');
|
|
|
12
12
|
require('../chunk-SI34M4IC.js');
|
|
13
13
|
require('../chunk-YIP5FJ5H.js');
|
|
14
14
|
require('../chunk-ZPFOKBIN.js');
|
|
15
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-M3WFXOA4.js');
|
|
16
16
|
require('../chunk-ACKMC6FL.js');
|
|
17
17
|
require('../chunk-E6JUYGJX.js');
|
|
18
18
|
require('../chunk-Q4SZAMJT.js');
|
|
@@ -23,103 +23,103 @@ var chunkYKWSHBT5_js = require('../chunk-YKWSHBT5.js');
|
|
|
23
23
|
|
|
24
24
|
Object.defineProperty(exports, "detailTabSchema", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkMXYCCUNB_js.detailTabSchema; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "detailViewConfigSchema", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkMXYCCUNB_js.detailViewConfigSchema; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "inverseSourceSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkMXYCCUNB_js.inverseSourceSchema; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "listViewConfigSchema", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkMXYCCUNB_js.listViewConfigSchema; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "listViewTabSchema", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkMXYCCUNB_js.listViewTabSchema; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "parseViewConfig", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkMXYCCUNB_js.parseViewConfig; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "relationSourceSchema", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkMXYCCUNB_js.relationSourceSchema; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "tableSourceSchema", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkMXYCCUNB_js.tableSourceSchema; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "viewConfigByTypeSchema", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkMXYCCUNB_js.viewConfigByTypeSchema; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "SCHEMA_LIMITS", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkFAEOVIDJ_js.SCHEMA_LIMITS; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "colorIdSchema", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkFAEOVIDJ_js.colorIdSchema; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "iconNameSchema", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkFAEOVIDJ_js.iconNameSchema; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "multiselectOptionWriteSchema", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkFAEOVIDJ_js.multiselectOptionWriteSchema; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "parseAttributeConfig", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkFAEOVIDJ_js.parseAttributeConfig; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "parseAttributeConfigForCreate", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkFAEOVIDJ_js.parseAttributeConfigForCreate; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkFAEOVIDJ_js.parseAttributeConfigForUpdate; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "selectOptionWriteSchema", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkFAEOVIDJ_js.selectOptionWriteSchema; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "statusGroupSchema", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkFAEOVIDJ_js.statusGroupSchema; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "statusOptionWriteSchema", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkFAEOVIDJ_js.statusOptionWriteSchema; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunk3PGLMGTR_js.createFormAttributeValidator; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunk3PGLMGTR_js.rejectUnknownAttributesOrThrow; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "validateDraft", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunk3PGLMGTR_js.validateDraft; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunk3PGLMGTR_js.validateDraftOrThrow; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "validateObject", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunk3PGLMGTR_js.validateObject; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunk3PGLMGTR_js.validateObjectOrThrow; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
|
|
125
125
|
enumerable: true,
|
package/dist/validation/all.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { detailTabSchema, detailViewConfigSchema, inverseSourceSchema, listViewConfigSchema, listViewTabSchema, parseViewConfig, relationSourceSchema, tableSourceSchema, viewConfigByTypeSchema } from '../chunk-
|
|
2
|
-
export { SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../chunk-
|
|
3
|
-
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-
|
|
1
|
+
export { detailTabSchema, detailViewConfigSchema, inverseSourceSchema, listViewConfigSchema, listViewTabSchema, parseViewConfig, relationSourceSchema, tableSourceSchema, viewConfigByTypeSchema } from '../chunk-TBAD2T7Q.mjs';
|
|
2
|
+
export { SCHEMA_LIMITS, colorIdSchema, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../chunk-MSIGO7JA.mjs';
|
|
3
|
+
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-PUMM6SPY.mjs';
|
|
4
4
|
import '../chunk-QVLQPW3O.mjs';
|
|
5
5
|
import '../chunk-ZDQ5AP26.mjs';
|
|
6
6
|
import '../chunk-LV3FEUKU.mjs';
|
|
@@ -10,7 +10,7 @@ import '../chunk-OSSGN43B.mjs';
|
|
|
10
10
|
import '../chunk-Q44QKLN4.mjs';
|
|
11
11
|
import '../chunk-UANQJ2GH.mjs';
|
|
12
12
|
import '../chunk-O73ROMWQ.mjs';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-XDA5PZRT.mjs';
|
|
14
14
|
import '../chunk-AYVHMVKQ.mjs';
|
|
15
15
|
import '../chunk-YUFTHPOE.mjs';
|
|
16
16
|
import '../chunk-R5LAJCBU.mjs';
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFAEOVIDJ_js = require('../../chunk-FAEOVIDJ.js');
|
|
4
4
|
require('../../chunk-5WATIVCA.js');
|
|
5
5
|
require('../../chunk-SI34M4IC.js');
|
|
6
6
|
require('../../chunk-YIP5FJ5H.js');
|
|
7
7
|
require('../../chunk-ZPFOKBIN.js');
|
|
8
|
-
require('../../chunk-
|
|
8
|
+
require('../../chunk-M3WFXOA4.js');
|
|
9
9
|
require('../../chunk-YKWSHBT5.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "attributeConfigSchemas", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkFAEOVIDJ_js.attributeConfigSchemas; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getAttributeConfigSchema", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkFAEOVIDJ_js.getAttributeConfigSchema; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "multiselectOptionWriteSchema", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkFAEOVIDJ_js.multiselectOptionWriteSchema; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "parseAttributeConfig", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkFAEOVIDJ_js.parseAttributeConfig; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "parseAttributeConfigForCreate", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkFAEOVIDJ_js.parseAttributeConfigForCreate; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkFAEOVIDJ_js.parseAttributeConfigForUpdate; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "selectOptionWriteSchema", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkFAEOVIDJ_js.selectOptionWriteSchema; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "statusGroupSchema", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkFAEOVIDJ_js.statusGroupSchema; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "statusOptionWriteSchema", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkFAEOVIDJ_js.statusOptionWriteSchema; }
|
|
48
48
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { attributeConfigSchemas, getAttributeConfigSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../../chunk-
|
|
1
|
+
export { attributeConfigSchemas, getAttributeConfigSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema } from '../../chunk-MSIGO7JA.mjs';
|
|
2
2
|
import '../../chunk-OSSGN43B.mjs';
|
|
3
3
|
import '../../chunk-Q44QKLN4.mjs';
|
|
4
4
|
import '../../chunk-UANQJ2GH.mjs';
|
|
5
5
|
import '../../chunk-O73ROMWQ.mjs';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-XDA5PZRT.mjs';
|
|
7
7
|
import '../../chunk-HRQEZUAA.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3PGLMGTR_js = require('../../chunk-3PGLMGTR.js');
|
|
4
4
|
require('../../chunk-EW5XR2X3.js');
|
|
5
5
|
require('../../chunk-QWKLQRBX.js');
|
|
6
6
|
require('../../chunk-KNGWHQLR.js');
|
|
@@ -10,7 +10,7 @@ require('../../chunk-5WATIVCA.js');
|
|
|
10
10
|
require('../../chunk-SI34M4IC.js');
|
|
11
11
|
require('../../chunk-YIP5FJ5H.js');
|
|
12
12
|
require('../../chunk-ZPFOKBIN.js');
|
|
13
|
-
require('../../chunk-
|
|
13
|
+
require('../../chunk-M3WFXOA4.js');
|
|
14
14
|
require('../../chunk-ACKMC6FL.js');
|
|
15
15
|
require('../../chunk-E6JUYGJX.js');
|
|
16
16
|
require('../../chunk-Q4SZAMJT.js');
|
|
@@ -21,49 +21,49 @@ require('../../chunk-YKWSHBT5.js');
|
|
|
21
21
|
|
|
22
22
|
Object.defineProperty(exports, "createAttributeValidator", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk3PGLMGTR_js.createAttributeValidator; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "createDraftValidator", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk3PGLMGTR_js.createDraftValidator; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk3PGLMGTR_js.createFormAttributeValidator; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "createObjectValidator", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk3PGLMGTR_js.createObjectValidator; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "getMissingRequiredAttributes", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk3PGLMGTR_js.getMissingRequiredAttributes; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "isRecordComplete", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunk3PGLMGTR_js.isRecordComplete; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunk3PGLMGTR_js.rejectUnknownAttributesOrThrow; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "validateAttribute", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunk3PGLMGTR_js.validateAttribute; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "validateDraft", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunk3PGLMGTR_js.validateDraft; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunk3PGLMGTR_js.validateDraftOrThrow; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "validateObject", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunk3PGLMGTR_js.validateObject; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunk3PGLMGTR_js.validateObjectOrThrow; }
|
|
69
69
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../../chunk-
|
|
1
|
+
export { createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../../chunk-PUMM6SPY.mjs';
|
|
2
2
|
import '../../chunk-QVLQPW3O.mjs';
|
|
3
3
|
import '../../chunk-ZDQ5AP26.mjs';
|
|
4
4
|
import '../../chunk-LV3FEUKU.mjs';
|
|
@@ -8,7 +8,7 @@ import '../../chunk-OSSGN43B.mjs';
|
|
|
8
8
|
import '../../chunk-Q44QKLN4.mjs';
|
|
9
9
|
import '../../chunk-UANQJ2GH.mjs';
|
|
10
10
|
import '../../chunk-O73ROMWQ.mjs';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-XDA5PZRT.mjs';
|
|
12
12
|
import '../../chunk-AYVHMVKQ.mjs';
|
|
13
13
|
import '../../chunk-YUFTHPOE.mjs';
|
|
14
14
|
import '../../chunk-R5LAJCBU.mjs';
|
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.280",
|
|
4
4
|
"description": "Standard schema definitions and utilities",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"@standard-schema/spec": "^1.1.0",
|
|
121
121
|
"libphonenumber-js": "^1.12.31",
|
|
122
122
|
"zod": "^4.2.1",
|
|
123
|
-
"@stndrds/constants": "1.0.0-alpha.
|
|
123
|
+
"@stndrds/constants": "1.0.0-alpha.280"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@types/node": "^25.0.3",
|