@stndrds/schema 1.0.0-alpha.278 → 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/{attributes-VsYmgI0A.d.mts → attributes--M1ifW8_.d.mts} +1 -1
- package/dist/{attributes-Da15v-sw.d.ts → attributes-D8eHv5Kf.d.ts} +1 -1
- package/dist/{chunk-NELH4AXI.js → chunk-3PGLMGTR.js} +8 -8
- 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-YCWGUPSI.mjs → chunk-PUMM6SPY.mjs} +5 -5
- 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 +5 -2
- package/dist/exceptions.d.ts +5 -2
- package/dist/exceptions.js +39 -39
- package/dist/exceptions.mjs +1 -1
- package/dist/{helpers-BYhVd4Gw.d.mts → helpers-BiABdSxK.d.mts} +3 -3
- package/dist/{helpers-D2cL7hI2.d.ts → helpers-DyoPqiSz.d.ts} +3 -3
- package/dist/{index-CixTESyP.d.mts → index-C3P5Dnwt.d.mts} +2 -2
- package/dist/{index-dJ6fAwcG.d.ts → index-SpFpkWVC.d.ts} +2 -2
- package/dist/index.d.mts +18 -33
- package/dist/index.d.ts +18 -33
- package/dist/index.js +208 -236
- package/dist/index.mjs +15 -46
- package/dist/{migrations-hbZHm8Tm.d.ts → migrations-B1kkIhIX.d.ts} +1 -1
- package/dist/{migrations-Dy9K8kJ0.d.mts → migrations-BNlQVzDC.d.mts} +1 -1
- package/dist/{objects-_6M6ngH3.d.ts → objects-DgFojgwH.d.ts} +2 -2
- package/dist/{objects-Cvt2T2Q5.d.mts → objects-DmMqHn3L.d.mts} +2 -2
- package/dist/{types-CX7S3Fhh.d.mts → types-DHqXzkgW.d.mts} +1 -1
- package/dist/{types-DseDsbMu.d.ts → types-DYYFto8d.d.ts} +1 -1
- 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 +7 -7
- package/dist/validation/all.d.ts +7 -7
- package/dist/validation/all.js +33 -33
- package/dist/validation/all.mjs +8 -8
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/location.d.mts +2 -2
- package/dist/validation/complex/location.d.ts +2 -2
- package/dist/validation/complex/phone.d.mts +2 -2
- package/dist/validation/complex/phone.d.ts +2 -2
- package/dist/validation/complex/relation.d.mts +2 -2
- package/dist/validation/complex/relation.d.ts +2 -2
- package/dist/validation/complex/richtext.d.mts +2 -2
- package/dist/validation/complex/richtext.d.ts +2 -2
- package/dist/validation/complex/select.d.mts +2 -2
- package/dist/validation/complex/select.d.ts +2 -2
- package/dist/validation/complex/user.d.mts +2 -2
- package/dist/validation/complex/user.d.ts +2 -2
- package/dist/validation/computed/formula.d.mts +2 -2
- package/dist/validation/computed/formula.d.ts +2 -2
- package/dist/validation/computed/rollup.d.mts +2 -2
- package/dist/validation/computed/rollup.d.ts +2 -2
- package/dist/validation/config/index.d.mts +4 -4
- package/dist/validation/config/index.d.ts +4 -4
- package/dist/validation/config/index.js +11 -11
- package/dist/validation/config/index.mjs +2 -2
- package/dist/validation/core/index.d.mts +3 -3
- package/dist/validation/core/index.d.ts +3 -3
- package/dist/validation/object/index.d.mts +5 -5
- package/dist/validation/object/index.d.ts +5 -5
- package/dist/validation/object/index.js +18 -18
- package/dist/validation/object/index.mjs +6 -6
- 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/all-BSeTO0fj.d.mts +0 -482
- package/dist/all-DoYgTt64.d.ts +0 -482
- package/dist/chunk-QY6QFRRV.mjs +0 -41
package/dist/index.mjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
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-
|
|
9
|
-
import { formatPhoneForDisplay, normalizeCountrylessPhoneNumber, normalizePhoneNumber } from './chunk-R5LAJCBU.mjs';
|
|
10
|
-
import './chunk-GO6LQADH.mjs';
|
|
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';
|
|
11
9
|
import './chunk-QVLQPW3O.mjs';
|
|
12
10
|
import './chunk-ZDQ5AP26.mjs';
|
|
13
11
|
import './chunk-LV3FEUKU.mjs';
|
|
12
|
+
import './chunk-UXAHLSWC.mjs';
|
|
13
|
+
import './chunk-NS63SPNN.mjs';
|
|
14
14
|
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-
|
|
20
|
-
import './chunk-UXAHLSWC.mjs';
|
|
21
|
-
import './chunk-NS63SPNN.mjs';
|
|
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';
|
|
22
20
|
import './chunk-AYVHMVKQ.mjs';
|
|
23
21
|
import './chunk-YUFTHPOE.mjs';
|
|
22
|
+
import { formatPhoneForDisplay, normalizeCountrylessPhoneNumber, normalizePhoneNumber } from './chunk-R5LAJCBU.mjs';
|
|
23
|
+
import './chunk-GO6LQADH.mjs';
|
|
24
24
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './chunk-HRQEZUAA.mjs';
|
|
25
25
|
import { ICONS, SKILL_NAME_MAX_LENGTH, SKILL_DESCRIPTION_MAX_LENGTH, MEMORY_NAME_MAX_LENGTH, MEMORY_DESCRIPTION_MAX_LENGTH, getCountryDisplayNameByIso3 } from '@stndrds/constants';
|
|
26
26
|
import z2, { z } from 'zod';
|
|
@@ -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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Attribute, f as AttributeType } from './attributes-
|
|
1
|
+
import { A as Attribute, f as AttributeType } from './attributes-D8eHv5Kf.js';
|
|
2
2
|
|
|
3
3
|
type BuiltInTransform = "toString" | "toNumber" | "toDate" | "toBoolean" | "toISOString";
|
|
4
4
|
type SchemaOperation = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Attribute, f as AttributeType } from './attributes
|
|
1
|
+
import { A as Attribute, f as AttributeType } from './attributes--M1ifW8_.mjs';
|
|
2
2
|
|
|
3
3
|
type BuiltInTransform = "toString" | "toNumber" | "toDate" | "toBoolean" | "toISOString";
|
|
4
4
|
type SchemaOperation = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconName } from '@stndrds/constants';
|
|
2
|
-
import { h as ComputedAttributeState, A as Attribute } from './attributes-
|
|
2
|
+
import { h as ComputedAttributeState, A as Attribute } from './attributes-D8eHv5Kf.js';
|
|
3
3
|
import { Uuid } from './utils.js';
|
|
4
|
-
import { M as MigrationDefinition } from './migrations-
|
|
4
|
+
import { M as MigrationDefinition } from './migrations-B1kkIhIX.js';
|
|
5
5
|
|
|
6
6
|
interface DocumentLayout {
|
|
7
7
|
/** Named sub-folders auto-created at the top of the record's drive when first used via attach --variant. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconName } from '@stndrds/constants';
|
|
2
|
-
import { h as ComputedAttributeState, A as Attribute } from './attributes
|
|
2
|
+
import { h as ComputedAttributeState, A as Attribute } from './attributes--M1ifW8_.mjs';
|
|
3
3
|
import { Uuid } from './utils.mjs';
|
|
4
|
-
import { M as MigrationDefinition } from './migrations-
|
|
4
|
+
import { M as MigrationDefinition } from './migrations-BNlQVzDC.mjs';
|
|
5
5
|
|
|
6
6
|
interface DocumentLayout {
|
|
7
7
|
/** Named sub-folders auto-created at the top of the record's drive when first used via attach --variant. */
|
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,11 +1,11 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-DHqXzkgW.mjs';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
|
|
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-
|
|
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-
|
|
5
|
-
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-
|
|
6
|
-
import '../attributes
|
|
3
|
+
export { 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-C0hXd79K.mjs';
|
|
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
|
+
import '../attributes--M1ifW8_.mjs';
|
|
7
7
|
import '@stndrds/constants';
|
|
8
8
|
import '../utils.mjs';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../objects-
|
|
11
|
-
import '../migrations-
|
|
10
|
+
import '../objects-DmMqHn3L.mjs';
|
|
11
|
+
import '../migrations-BNlQVzDC.mjs';
|
package/dist/validation/all.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-DYYFto8d.js';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
|
|
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-
|
|
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-
|
|
5
|
-
export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from '../helpers-
|
|
6
|
-
import '../attributes-
|
|
3
|
+
export { 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-Ig0ig9wp.js';
|
|
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
|
+
import '../attributes-D8eHv5Kf.js';
|
|
7
7
|
import '@stndrds/constants';
|
|
8
8
|
import '../utils.js';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../objects-
|
|
11
|
-
import '../migrations-
|
|
10
|
+
import '../objects-DgFojgwH.js';
|
|
11
|
+
import '../migrations-B1kkIhIX.js';
|
package/dist/validation/all.js
CHANGED
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-Q4SZAMJT.js');
|
|
7
|
-
require('../chunk-EEH4XQ7W.js');
|
|
3
|
+
var chunkMXYCCUNB_js = require('../chunk-MXYCCUNB.js');
|
|
4
|
+
var chunkFAEOVIDJ_js = require('../chunk-FAEOVIDJ.js');
|
|
5
|
+
var chunk3PGLMGTR_js = require('../chunk-3PGLMGTR.js');
|
|
8
6
|
require('../chunk-EW5XR2X3.js');
|
|
9
7
|
require('../chunk-QWKLQRBX.js');
|
|
10
8
|
require('../chunk-KNGWHQLR.js');
|
|
9
|
+
require('../chunk-HTSTPTNZ.js');
|
|
10
|
+
require('../chunk-V2UA2D4E.js');
|
|
11
11
|
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-
|
|
16
|
-
require('../chunk-HTSTPTNZ.js');
|
|
17
|
-
require('../chunk-V2UA2D4E.js');
|
|
15
|
+
require('../chunk-M3WFXOA4.js');
|
|
18
16
|
require('../chunk-ACKMC6FL.js');
|
|
19
17
|
require('../chunk-E6JUYGJX.js');
|
|
18
|
+
require('../chunk-Q4SZAMJT.js');
|
|
19
|
+
require('../chunk-EEH4XQ7W.js');
|
|
20
20
|
var chunkYKWSHBT5_js = require('../chunk-YKWSHBT5.js');
|
|
21
21
|
|
|
22
22
|
|
|
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,18 +1,18 @@
|
|
|
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-
|
|
4
|
-
import '../chunk-R5LAJCBU.mjs';
|
|
5
|
-
import '../chunk-GO6LQADH.mjs';
|
|
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';
|
|
6
4
|
import '../chunk-QVLQPW3O.mjs';
|
|
7
5
|
import '../chunk-ZDQ5AP26.mjs';
|
|
8
6
|
import '../chunk-LV3FEUKU.mjs';
|
|
7
|
+
import '../chunk-UXAHLSWC.mjs';
|
|
8
|
+
import '../chunk-NS63SPNN.mjs';
|
|
9
9
|
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-
|
|
14
|
-
import '../chunk-UXAHLSWC.mjs';
|
|
15
|
-
import '../chunk-NS63SPNN.mjs';
|
|
13
|
+
import '../chunk-XDA5PZRT.mjs';
|
|
16
14
|
import '../chunk-AYVHMVKQ.mjs';
|
|
17
15
|
import '../chunk-YUFTHPOE.mjs';
|
|
16
|
+
import '../chunk-R5LAJCBU.mjs';
|
|
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--M1ifW8_.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DHqXzkgW.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-D8eHv5Kf.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DYYFto8d.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { L as LocationAttribute } from '../../attributes
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { L as LocationAttribute } from '../../attributes--M1ifW8_.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DHqXzkgW.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-D8eHv5Kf.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DYYFto8d.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--M1ifW8_.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DHqXzkgW.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-D8eHv5Kf.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DYYFto8d.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,
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes--M1ifW8_.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DHqXzkgW.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,
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../attributes-D8eHv5Kf.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DYYFto8d.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 {
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as RichtextAttribute } from '../../attributes--M1ifW8_.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DHqXzkgW.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 {
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as RichtextAttribute } from '../../attributes-D8eHv5Kf.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DYYFto8d.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 {
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes--M1ifW8_.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DHqXzkgW.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 {
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../attributes-D8eHv5Kf.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DYYFto8d.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|