@stndrds/schema 1.0.0-alpha.263 → 1.0.0-alpha.265
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-_6tvjbyl.d.ts → attributes-_b3Db8vT.d.ts} +1 -23
- package/dist/{attributes-Cmkc7UgJ.d.mts → attributes-lBLiOIY3.d.mts} +1 -23
- package/dist/chunk-NGGU6BSN.mjs +216 -0
- package/dist/chunk-NI3HCSYH.js +229 -0
- package/dist/{chunk-54WDPQ6R.mjs → chunk-QIWADKYA.mjs} +12 -216
- package/dist/{chunk-TS3PJOMZ.js → chunk-ZBQEMIAV.js} +11 -227
- package/dist/exceptions.d.mts +458 -0
- package/dist/exceptions.d.ts +458 -0
- package/dist/exceptions.js +154 -0
- package/dist/exceptions.mjs +1 -0
- package/dist/{helpers-BTC6TsKH.d.ts → helpers-eyrnPJEF.d.ts} +4 -39
- package/dist/{helpers-BO10yqih.d.mts → helpers-uKLet0kF.d.mts} +4 -39
- package/dist/index.d.mts +150 -476
- package/dist/index.d.ts +150 -476
- package/dist/index.js +238 -139
- package/dist/index.mjs +131 -35
- package/dist/migrations-BXd2ZGfM.d.mts +39 -0
- package/dist/migrations-DcuJZ8qO.d.ts +39 -0
- package/dist/{types-CVswgCx9.d.mts → types-DNz3ITS-.d.mts} +1 -1
- package/dist/{types-B_UZK_6m.d.ts → types-DqLi1tx1.d.ts} +1 -1
- package/dist/validation/all.d.mts +4 -3
- package/dist/validation/all.d.ts +4 -3
- package/dist/validation/all.js +10 -9
- package/dist/validation/all.mjs +4 -3
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/location.d.mts +2 -2
- package/dist/validation/complex/location.d.ts +2 -2
- package/dist/validation/complex/phone.d.mts +2 -2
- package/dist/validation/complex/phone.d.ts +2 -2
- package/dist/validation/complex/relation.d.mts +2 -2
- package/dist/validation/complex/relation.d.ts +2 -2
- package/dist/validation/complex/richtext.d.mts +2 -2
- package/dist/validation/complex/richtext.d.ts +2 -2
- package/dist/validation/complex/select.d.mts +2 -2
- package/dist/validation/complex/select.d.ts +2 -2
- package/dist/validation/complex/user.d.mts +2 -2
- package/dist/validation/complex/user.d.ts +2 -2
- package/dist/validation/computed/formula.d.mts +2 -2
- package/dist/validation/computed/formula.d.ts +2 -2
- package/dist/validation/computed/rollup.d.mts +2 -2
- package/dist/validation/computed/rollup.d.ts +2 -2
- package/dist/validation/config/index.d.mts +1 -1
- package/dist/validation/config/index.d.ts +1 -1
- package/dist/validation/core/index.d.mts +3 -3
- package/dist/validation/core/index.d.ts +3 -3
- package/dist/validation/object/index.d.mts +5 -4
- package/dist/validation/object/index.d.ts +5 -4
- package/dist/validation/object/index.js +16 -15
- package/dist/validation/object/index.mjs +4 -3
- 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 +7 -2
package/dist/index.mjs
CHANGED
|
@@ -3,21 +3,23 @@ export { asTenantId, asUserId, deepEqual, generateId, indexBy } from './chunk-QY
|
|
|
3
3
|
import './chunk-SP3PNHYF.mjs';
|
|
4
4
|
import { parseComputedFormula } from './chunk-UXCJ3NI4.mjs';
|
|
5
5
|
export { ComputedFormulaParseError, parseAttributeConfig, parseComputedFormula } from './chunk-UXCJ3NI4.mjs';
|
|
6
|
-
import { createObjectValidator,
|
|
7
|
-
export {
|
|
6
|
+
import { createObjectValidator, createAttributeValidator } from './chunk-NGGU6BSN.mjs';
|
|
7
|
+
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from './chunk-NGGU6BSN.mjs';
|
|
8
|
+
import './chunk-OSSGN43B.mjs';
|
|
8
9
|
import './chunk-Q44QKLN4.mjs';
|
|
9
10
|
import './chunk-UANQJ2GH.mjs';
|
|
10
11
|
import './chunk-U36ZIBEM.mjs';
|
|
12
|
+
import './chunk-QVLQPW3O.mjs';
|
|
11
13
|
import './chunk-ZDQ5AP26.mjs';
|
|
12
14
|
import './chunk-LV3FEUKU.mjs';
|
|
13
15
|
import './chunk-UXAHLSWC.mjs';
|
|
14
16
|
import './chunk-NS63SPNN.mjs';
|
|
15
|
-
import './chunk-
|
|
17
|
+
import { SchemaError, SchemaErrorCode, ValidationError, NotFoundError, DuplicateError } from './chunk-QIWADKYA.mjs';
|
|
18
|
+
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError } from './chunk-QIWADKYA.mjs';
|
|
16
19
|
import './chunk-AYVHMVKQ.mjs';
|
|
17
20
|
import './chunk-YUFTHPOE.mjs';
|
|
18
21
|
import { formatPhoneForDisplay } from './chunk-JUKLL5RJ.mjs';
|
|
19
22
|
import './chunk-GO6LQADH.mjs';
|
|
20
|
-
import './chunk-QVLQPW3O.mjs';
|
|
21
23
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './chunk-HRQEZUAA.mjs';
|
|
22
24
|
import { ICONS, SKILL_NAME_MAX_LENGTH, SKILL_DESCRIPTION_MAX_LENGTH, MEMORY_NAME_MAX_LENGTH, MEMORY_DESCRIPTION_MAX_LENGTH, getCountryDisplayNameByIso3 } from '@stndrds/constants';
|
|
23
25
|
import z3, { z } from 'zod';
|
|
@@ -482,19 +484,6 @@ function isAttributeSortable2(attr) {
|
|
|
482
484
|
return isAttributeSortable(attr);
|
|
483
485
|
}
|
|
484
486
|
|
|
485
|
-
// src/types/autofill.ts
|
|
486
|
-
var AUTOFILL_ELIGIBLE_TYPES = [
|
|
487
|
-
"text",
|
|
488
|
-
"number",
|
|
489
|
-
"checkbox",
|
|
490
|
-
"date",
|
|
491
|
-
"phone",
|
|
492
|
-
"currency",
|
|
493
|
-
"status",
|
|
494
|
-
"select",
|
|
495
|
-
"multiselect"
|
|
496
|
-
];
|
|
497
|
-
|
|
498
487
|
// src/types/audit.ts
|
|
499
488
|
var AUDIT_RESOURCE_TYPES = [
|
|
500
489
|
"record",
|
|
@@ -1214,17 +1203,25 @@ var DEFAULT_ROLES = {
|
|
|
1214
1203
|
/** Standard user - can work with business data and view people */
|
|
1215
1204
|
MEMBER: "member",
|
|
1216
1205
|
/** Default role for agent actors - CRUD on records + documents/files */
|
|
1217
|
-
AGENT_DEFAULT: "agent_default"
|
|
1206
|
+
AGENT_DEFAULT: "agent_default",
|
|
1207
|
+
/**
|
|
1208
|
+
* Default role for reflex actors — deliberately NO record access (D22).
|
|
1209
|
+
* An agent is interactive, watched, and acts once; a reflex is unattended and
|
|
1210
|
+
* repeats. Real access is a per-reflex role derived from its first rehearsal.
|
|
1211
|
+
*/
|
|
1212
|
+
REFLEX_DEFAULT: "reflex_default"
|
|
1218
1213
|
};
|
|
1219
1214
|
var DEFAULT_ROLE_LABELS = {
|
|
1220
1215
|
owner: "Owner",
|
|
1221
1216
|
member: "Member",
|
|
1222
|
-
agent_default: "Agent Default"
|
|
1217
|
+
agent_default: "Agent Default",
|
|
1218
|
+
reflex_default: "Reflex Default"
|
|
1223
1219
|
};
|
|
1224
1220
|
var DEFAULT_ROLE_DESCRIPTIONS = {
|
|
1225
1221
|
owner: "Full access to all platform features and data",
|
|
1226
1222
|
member: "Can view, create, edit and delete business data",
|
|
1227
|
-
agent_default: "Default role for AI agents \u2014 CRUD on records plus documents and files"
|
|
1223
|
+
agent_default: "Default role for AI agents \u2014 CRUD on records plus documents and files",
|
|
1224
|
+
reflex_default: "Default role for reflexes \u2014 no data access; each reflex is granted exactly what its rehearsal showed it uses"
|
|
1228
1225
|
};
|
|
1229
1226
|
var ALL_ACTIONS2 = ["read", "create", "update", "delete", "manage"];
|
|
1230
1227
|
var MEMBER_CONNECTOR_ACTIONS = ["read", "create", "delete"];
|
|
@@ -1254,6 +1251,13 @@ var DEFAULT_ROLE_PERMISSIONS = {
|
|
|
1254
1251
|
{ target: "session", actions: ["observe"] }
|
|
1255
1252
|
],
|
|
1256
1253
|
object: [{ target: "*", actions: ["read", "create", "update", "delete"] }]
|
|
1254
|
+
},
|
|
1255
|
+
reflex_default: {
|
|
1256
|
+
// Intentionally empty (D22): a reflex starts with no access at all. Real
|
|
1257
|
+
// access is a per-reflex role derived from its first rehearsal, not a
|
|
1258
|
+
// shared default.
|
|
1259
|
+
system: [],
|
|
1260
|
+
object: []
|
|
1257
1261
|
}
|
|
1258
1262
|
};
|
|
1259
1263
|
function isDefaultRole(roleName) {
|
|
@@ -1572,15 +1576,6 @@ var BaseAttributeBuilder = class {
|
|
|
1572
1576
|
this.attr.placeholder = value;
|
|
1573
1577
|
return this;
|
|
1574
1578
|
}
|
|
1575
|
-
/**
|
|
1576
|
-
* Enable AI autofill for this attribute. `from` is mandatory:
|
|
1577
|
-
* empty array = document-only, non-empty = also triggered when those
|
|
1578
|
-
* source attributes change. Eligibility by type is validated at schema sync.
|
|
1579
|
-
*/
|
|
1580
|
-
autofill(config) {
|
|
1581
|
-
this.attr.autofill = config;
|
|
1582
|
-
return this;
|
|
1583
|
-
}
|
|
1584
1579
|
description(value) {
|
|
1585
1580
|
this.attr.description = value;
|
|
1586
1581
|
return this;
|
|
@@ -4820,7 +4815,7 @@ var SKILL_OBJECT = object({ name: "skill", label: "Skill" }).sealed().icon("spar
|
|
|
4820
4815
|
'What this skill does and when to use it \u2014 e.g. "Drafts replies to customer complaints. Use when asked to answer an unhappy customer."'
|
|
4821
4816
|
)
|
|
4822
4817
|
).attribute(richtext({ name: "content", label: "Content" }).defaultValue(SKILL_CONTENT_TEMPLATE)).build();
|
|
4823
|
-
var SKILL_VIEW = detailView("skill-detail", "Skill").for("skill").default().sidePanel({ attributes: ["name", "description"] }).tab("content", "Content").richtext("content").titleAttribute("name").done().build();
|
|
4818
|
+
var SKILL_VIEW = detailView("skill-detail", "Skill").for("skill").default().sidePanel({ attributes: ["name", "description"] }).tab("content", "Content").richtext("content").titleAttribute("name").done().tab("files", "Files").documents().done().build();
|
|
4824
4819
|
var SKILL_LIST_VIEW = listView("skill-list", "Skills").for("skill").default().tab("all", "All").table().columns("name", "description").sort("name", "asc").build();
|
|
4825
4820
|
var MEMORY_OBJECT = object({ name: "memory", label: "Memory" }).sealed().icon("database").order(Number.MAX_SAFE_INTEGER).pluralLabel("Memories").labelExpression("{{ name }}").embeddingExpression("{{ name }}\n{{ description }}\n{{ content }}").attribute(text({ name: "name", label: "Name" }).maxLength(MEMORY_NAME_MAX_LENGTH).required()).attribute(
|
|
4826
4821
|
text({ name: "description", label: "Description" }).multiline().maxLength(MEMORY_DESCRIPTION_MAX_LENGTH).required()
|
|
@@ -7067,6 +7062,66 @@ function now() {
|
|
|
7067
7062
|
return { dynamic: "date", anchor: "now" };
|
|
7068
7063
|
}
|
|
7069
7064
|
|
|
7065
|
+
// src/filters/normalize-operator.ts
|
|
7066
|
+
var SYNONYM_ALIASES = {
|
|
7067
|
+
// equality
|
|
7068
|
+
equals: "is",
|
|
7069
|
+
equal: "is",
|
|
7070
|
+
"==": "is",
|
|
7071
|
+
"=": "is",
|
|
7072
|
+
notEqual: "is_not",
|
|
7073
|
+
isNot: "is_not",
|
|
7074
|
+
"!=": "is_not",
|
|
7075
|
+
"<>": "is_not",
|
|
7076
|
+
// set
|
|
7077
|
+
in: "any_of",
|
|
7078
|
+
isAnyOf: "any_of",
|
|
7079
|
+
oneOf: "any_of",
|
|
7080
|
+
notIn: "none_of",
|
|
7081
|
+
not_in: "none_of",
|
|
7082
|
+
isNoneOf: "none_of",
|
|
7083
|
+
notOneOf: "none_of",
|
|
7084
|
+
// text
|
|
7085
|
+
startsWith: "starts_with",
|
|
7086
|
+
beginsWith: "starts_with",
|
|
7087
|
+
endsWith: "ends_with",
|
|
7088
|
+
doesNotContain: "not_contains",
|
|
7089
|
+
notContain: "not_contains",
|
|
7090
|
+
// nullity
|
|
7091
|
+
isEmpty: "is_empty",
|
|
7092
|
+
isNotEmpty: "is_not_empty",
|
|
7093
|
+
// checkbox
|
|
7094
|
+
isChecked: "is_checked",
|
|
7095
|
+
isUnchecked: "is_not_checked"
|
|
7096
|
+
};
|
|
7097
|
+
var CROSS_TYPE_CONVERSIONS = {
|
|
7098
|
+
date: {
|
|
7099
|
+
gte: "on_or_after",
|
|
7100
|
+
lte: "on_or_before",
|
|
7101
|
+
gt: "after",
|
|
7102
|
+
lt: "before",
|
|
7103
|
+
eq: "is",
|
|
7104
|
+
neq: "is_not"
|
|
7105
|
+
},
|
|
7106
|
+
number: { is: "eq", is_not: "neq" },
|
|
7107
|
+
currency: { is: "eq", is_not: "neq" },
|
|
7108
|
+
text: { eq: "is", neq: "is_not" },
|
|
7109
|
+
phone: { eq: "is", neq: "is_not" },
|
|
7110
|
+
select: { eq: "is", neq: "is_not" },
|
|
7111
|
+
status: { eq: "is", neq: "is_not" },
|
|
7112
|
+
multiselect: { eq: "contains", neq: "not_contains" },
|
|
7113
|
+
relation: { eq: "is", neq: "is_not" },
|
|
7114
|
+
user: { eq: "is", neq: "is_not" },
|
|
7115
|
+
document: { eq: "is", neq: "is_not" },
|
|
7116
|
+
file: { eq: "is", neq: "is_not" },
|
|
7117
|
+
checkbox: { eq: "is_checked", neq: "is_not_checked", is: "is_checked", is_not: "is_not_checked" }
|
|
7118
|
+
};
|
|
7119
|
+
function normalizeOperator(rawOp, effectiveType) {
|
|
7120
|
+
const synonymed = SYNONYM_ALIASES[rawOp] ?? rawOp;
|
|
7121
|
+
const typeMap = CROSS_TYPE_CONVERSIONS[effectiveType];
|
|
7122
|
+
return typeMap?.[synonymed] ?? synonymed;
|
|
7123
|
+
}
|
|
7124
|
+
|
|
7070
7125
|
// src/filters/validation.ts
|
|
7071
7126
|
var REFERENCE_TYPES = /* @__PURE__ */ new Set(["relation", "document", "user"]);
|
|
7072
7127
|
var ID_LIKE_OPERATORS = [
|
|
@@ -7094,9 +7149,21 @@ var SYSTEM_FILTER_OPERATORS = {
|
|
|
7094
7149
|
createdBy: OPERATORS_BY_TYPE.user,
|
|
7095
7150
|
lastUpdatedBy: OPERATORS_BY_TYPE.user
|
|
7096
7151
|
};
|
|
7152
|
+
var SYSTEM_ATTRIBUTE_TYPES = {
|
|
7153
|
+
id: "id",
|
|
7154
|
+
objectId: "id",
|
|
7155
|
+
tenantId: "id",
|
|
7156
|
+
label: "text",
|
|
7157
|
+
createdAt: "date",
|
|
7158
|
+
updatedAt: "date",
|
|
7159
|
+
deletedAt: "date",
|
|
7160
|
+
createdBy: "user",
|
|
7161
|
+
lastUpdatedBy: "user"
|
|
7162
|
+
};
|
|
7097
7163
|
function assertOperatorForType(operator, type, context) {
|
|
7164
|
+
const normalized = normalizeOperator(operator, type);
|
|
7098
7165
|
const ops = OPERATORS_BY_TYPE[type];
|
|
7099
|
-
if (!ops?.includes(
|
|
7166
|
+
if (!ops?.includes(normalized)) {
|
|
7100
7167
|
const validList = ops?.length ? ops.join(", ") : "(no operators registered for this type)";
|
|
7101
7168
|
const summary = `Operator "${operator}" is not valid for ${context} type "${type}". Valid operators: ${validList}.`;
|
|
7102
7169
|
throw new ValidationError(summary, [
|
|
@@ -7106,6 +7173,7 @@ function assertOperatorForType(operator, type, context) {
|
|
|
7106
7173
|
}
|
|
7107
7174
|
]);
|
|
7108
7175
|
}
|
|
7176
|
+
return normalized;
|
|
7109
7177
|
}
|
|
7110
7178
|
var RELATIVE_DATE_UNITS = /* @__PURE__ */ new Set(["days", "weeks", "months", "years"]);
|
|
7111
7179
|
var RELATIVE_DATE_DIRECTIONS = /* @__PURE__ */ new Set(["past", "future"]);
|
|
@@ -7148,21 +7216,32 @@ function validateQualifiedRule(rule, context) {
|
|
|
7148
7216
|
{ path: ["property"], message: `"${rule.attribute}" is a system column, not a reference` }
|
|
7149
7217
|
]);
|
|
7150
7218
|
}
|
|
7151
|
-
|
|
7219
|
+
const effectiveType = SYSTEM_ATTRIBUTE_TYPES[rule.attribute] ?? "id";
|
|
7220
|
+
const normalizedOperator = normalizeOperator(
|
|
7221
|
+
rule.operator,
|
|
7222
|
+
effectiveType
|
|
7223
|
+
);
|
|
7224
|
+
if (!systemOps.includes(normalizedOperator)) {
|
|
7152
7225
|
const summary = `Operator "${rule.operator}" is not valid for system attribute "${rule.attribute}". Valid operators: ${systemOps.join(", ")}.`;
|
|
7153
7226
|
throw new ValidationError(summary, [{ path: ["operator"], message: summary }]);
|
|
7154
7227
|
}
|
|
7228
|
+
rule.operator = normalizedOperator;
|
|
7155
7229
|
assertRelativeDateValue(rule);
|
|
7156
7230
|
return;
|
|
7157
7231
|
}
|
|
7158
7232
|
if (!rule.property) {
|
|
7159
7233
|
assertDynamicValueForAttribute(rule, rootAttr.type);
|
|
7160
7234
|
const ops = getAttributeFilterOperators(rootAttr);
|
|
7161
|
-
|
|
7235
|
+
const normalizedOperator = normalizeOperator(
|
|
7236
|
+
rule.operator,
|
|
7237
|
+
rootAttr.type
|
|
7238
|
+
);
|
|
7239
|
+
if (!ops.includes(normalizedOperator)) {
|
|
7162
7240
|
const validList = ops.length ? ops.join(", ") : "(not filterable)";
|
|
7163
7241
|
const summary = `Operator "${rule.operator}" is not valid for attribute "${rootAttr.name}". Valid operators: ${validList}.`;
|
|
7164
7242
|
throw new ValidationError(summary, [{ path: ["operator"], message: summary }]);
|
|
7165
7243
|
}
|
|
7244
|
+
rule.operator = normalizedOperator;
|
|
7166
7245
|
assertRelativeDateValue(rule);
|
|
7167
7246
|
return;
|
|
7168
7247
|
}
|
|
@@ -7184,10 +7263,27 @@ function validateQualifiedRule(rule, context) {
|
|
|
7184
7263
|
[{ path: ["property"], message: `Unknown property: ${rule.property}` }]
|
|
7185
7264
|
);
|
|
7186
7265
|
}
|
|
7187
|
-
assertOperatorForType(rule.operator, propDef.type, "property");
|
|
7266
|
+
rule.operator = assertOperatorForType(rule.operator, propDef.type, "property");
|
|
7188
7267
|
assertRelativeDateValue(rule);
|
|
7189
7268
|
}
|
|
7190
7269
|
|
|
7270
|
+
// src/filters/extract-filter-value.ts
|
|
7271
|
+
function extractCurrencyFilterValue(value) {
|
|
7272
|
+
if (typeof value === "number") return value;
|
|
7273
|
+
if (value !== null && typeof value === "object" && "value" in value) {
|
|
7274
|
+
const inner = value.value;
|
|
7275
|
+
return typeof inner === "number" ? inner : null;
|
|
7276
|
+
}
|
|
7277
|
+
return null;
|
|
7278
|
+
}
|
|
7279
|
+
function extractFilterValue(value) {
|
|
7280
|
+
if (value === null || value === void 0) return null;
|
|
7281
|
+
if (typeof value === "object" && "value" in value) {
|
|
7282
|
+
return value.value ?? null;
|
|
7283
|
+
}
|
|
7284
|
+
return value;
|
|
7285
|
+
}
|
|
7286
|
+
|
|
7191
7287
|
// src/connectors/types.ts
|
|
7192
7288
|
var CONNECTOR_CALLBACK_PARAM = {
|
|
7193
7289
|
status: "connector_status",
|
|
@@ -7238,4 +7334,4 @@ function viewSyncPayload(view) {
|
|
|
7238
7334
|
};
|
|
7239
7335
|
}
|
|
7240
7336
|
|
|
7241
|
-
export { ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES,
|
|
7337
|
+
export { ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, ActivityTabConfig, AgentBuilder, BEHAVIOR_PROPERTIES, BROWSER_PREVIEW_STATUSES, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, CROSS_TYPE_CONVERSIONS, ComputedFormulaCompileError, CustomTabConfig, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DetailViewBuilder, DocumentsTabConfig, EMPTY_VALUE_PLACEHOLDER, EmailsTabConfig, 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, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, 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, RESERVED_OBJECT_NAMES, RelationGroupBuilder, RichtextTabConfig, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, TabBuilder, TableTabConfig, USER_STATUSES, accessLevelToActions, actionsToAccessLevel, agent, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, canonicalStringify, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, dateValueStart, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, extractCurrencyFilterValue, extractFilterValue, extractValueRefs, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators2 as getRollupFilterOperators, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, hasOptions, inferInverseCardinality, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isAttributeSortable2 as isAttributeSortable, isBilateralRelation, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isManagedSystemAttribute, isNoValueOperator, isNotEmpty, isPlainRecord, isRelationGroup, isStandardSchema, isUniversalRelation, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normalizeDateValue, normalizeForEdgeRpc, normalizeOperator, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, resolvePropertyDefinitions, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toMultiValueOperator, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, viewRegistry, viewSyncPayload };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { A as Attribute, f as AttributeType } from './attributes-lBLiOIY3.mjs';
|
|
2
|
+
|
|
3
|
+
type BuiltInTransform = "toString" | "toNumber" | "toDate" | "toBoolean" | "toISOString";
|
|
4
|
+
type SchemaOperation = {
|
|
5
|
+
type: "add_attribute";
|
|
6
|
+
attribute: Attribute;
|
|
7
|
+
} | {
|
|
8
|
+
type: "remove_attribute";
|
|
9
|
+
name: string;
|
|
10
|
+
backup_config: Attribute;
|
|
11
|
+
} | {
|
|
12
|
+
type: "rename_attribute";
|
|
13
|
+
from: string;
|
|
14
|
+
to: string;
|
|
15
|
+
} | {
|
|
16
|
+
type: "change_type";
|
|
17
|
+
name: string;
|
|
18
|
+
from: AttributeType;
|
|
19
|
+
to: AttributeType;
|
|
20
|
+
transform?: BuiltInTransform;
|
|
21
|
+
} | {
|
|
22
|
+
type: "update_config";
|
|
23
|
+
name: string;
|
|
24
|
+
from: Partial<Record<string, unknown>>;
|
|
25
|
+
to: Partial<Record<string, unknown>>;
|
|
26
|
+
} | {
|
|
27
|
+
type: "remove_object";
|
|
28
|
+
backup: Record<string, unknown>;
|
|
29
|
+
} | {
|
|
30
|
+
type: "rename_object";
|
|
31
|
+
from: string;
|
|
32
|
+
to: string;
|
|
33
|
+
};
|
|
34
|
+
interface MigrationDefinition {
|
|
35
|
+
version: number;
|
|
36
|
+
operations: SchemaOperation[];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type { BuiltInTransform as B, MigrationDefinition as M, SchemaOperation as S };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { A as Attribute, f as AttributeType } from './attributes-_b3Db8vT.js';
|
|
2
|
+
|
|
3
|
+
type BuiltInTransform = "toString" | "toNumber" | "toDate" | "toBoolean" | "toISOString";
|
|
4
|
+
type SchemaOperation = {
|
|
5
|
+
type: "add_attribute";
|
|
6
|
+
attribute: Attribute;
|
|
7
|
+
} | {
|
|
8
|
+
type: "remove_attribute";
|
|
9
|
+
name: string;
|
|
10
|
+
backup_config: Attribute;
|
|
11
|
+
} | {
|
|
12
|
+
type: "rename_attribute";
|
|
13
|
+
from: string;
|
|
14
|
+
to: string;
|
|
15
|
+
} | {
|
|
16
|
+
type: "change_type";
|
|
17
|
+
name: string;
|
|
18
|
+
from: AttributeType;
|
|
19
|
+
to: AttributeType;
|
|
20
|
+
transform?: BuiltInTransform;
|
|
21
|
+
} | {
|
|
22
|
+
type: "update_config";
|
|
23
|
+
name: string;
|
|
24
|
+
from: Partial<Record<string, unknown>>;
|
|
25
|
+
to: Partial<Record<string, unknown>>;
|
|
26
|
+
} | {
|
|
27
|
+
type: "remove_object";
|
|
28
|
+
backup: Record<string, unknown>;
|
|
29
|
+
} | {
|
|
30
|
+
type: "rename_object";
|
|
31
|
+
from: string;
|
|
32
|
+
to: string;
|
|
33
|
+
};
|
|
34
|
+
interface MigrationDefinition {
|
|
35
|
+
version: number;
|
|
36
|
+
operations: SchemaOperation[];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type { BuiltInTransform as B, MigrationDefinition as M, SchemaOperation as S };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-DNz3ITS-.mjs';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
|
|
3
3
|
export { parseAttributeConfig } from './config/index.mjs';
|
|
4
|
-
export { c as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, a as validateDraftOrThrow, b as validateObject, d as validateObjectOrThrow } from '../helpers-
|
|
5
|
-
import '../attributes-
|
|
4
|
+
export { c as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, a as validateDraftOrThrow, b as validateObject, d as validateObjectOrThrow } from '../helpers-uKLet0kF.mjs';
|
|
5
|
+
import '../attributes-lBLiOIY3.mjs';
|
|
6
6
|
import '@stndrds/constants';
|
|
7
7
|
import '../utils.mjs';
|
|
8
8
|
import 'zod';
|
|
9
|
+
import '../migrations-BXd2ZGfM.mjs';
|
package/dist/validation/all.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-DqLi1tx1.js';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
|
|
3
3
|
export { parseAttributeConfig } from './config/index.js';
|
|
4
|
-
export { c as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, a as validateDraftOrThrow, b as validateObject, d as validateObjectOrThrow } from '../helpers-
|
|
5
|
-
import '../attributes-
|
|
4
|
+
export { c as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, a as validateDraftOrThrow, b as validateObject, d as validateObjectOrThrow } from '../helpers-eyrnPJEF.js';
|
|
5
|
+
import '../attributes-_b3Db8vT.js';
|
|
6
6
|
import '@stndrds/constants';
|
|
7
7
|
import '../utils.js';
|
|
8
8
|
import 'zod';
|
|
9
|
+
import '../migrations-DcuJZ8qO.js';
|
package/dist/validation/all.js
CHANGED
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
require('../chunk-PGERPYDR.js');
|
|
4
4
|
var chunkL4U5QEQL_js = require('../chunk-L4U5QEQL.js');
|
|
5
|
-
var
|
|
5
|
+
var chunkNI3HCSYH_js = require('../chunk-NI3HCSYH.js');
|
|
6
|
+
require('../chunk-5WATIVCA.js');
|
|
6
7
|
require('../chunk-SI34M4IC.js');
|
|
7
8
|
require('../chunk-YIP5FJ5H.js');
|
|
8
9
|
require('../chunk-QAF3HNKQ.js');
|
|
10
|
+
require('../chunk-EW5XR2X3.js');
|
|
9
11
|
require('../chunk-QWKLQRBX.js');
|
|
10
12
|
require('../chunk-KNGWHQLR.js');
|
|
11
13
|
require('../chunk-HTSTPTNZ.js');
|
|
12
14
|
require('../chunk-V2UA2D4E.js');
|
|
13
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-ZBQEMIAV.js');
|
|
14
16
|
require('../chunk-ACKMC6FL.js');
|
|
15
17
|
require('../chunk-E6JUYGJX.js');
|
|
16
18
|
require('../chunk-EBGRZUIH.js');
|
|
17
19
|
require('../chunk-EEH4XQ7W.js');
|
|
18
|
-
require('../chunk-EW5XR2X3.js');
|
|
19
20
|
var chunkYKWSHBT5_js = require('../chunk-YKWSHBT5.js');
|
|
20
21
|
|
|
21
22
|
|
|
@@ -26,27 +27,27 @@ Object.defineProperty(exports, "parseAttributeConfig", {
|
|
|
26
27
|
});
|
|
27
28
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
28
29
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkNI3HCSYH_js.createFormAttributeValidator; }
|
|
30
31
|
});
|
|
31
32
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
32
33
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkNI3HCSYH_js.rejectUnknownAttributesOrThrow; }
|
|
34
35
|
});
|
|
35
36
|
Object.defineProperty(exports, "validateDraft", {
|
|
36
37
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkNI3HCSYH_js.validateDraft; }
|
|
38
39
|
});
|
|
39
40
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
40
41
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkNI3HCSYH_js.validateDraftOrThrow; }
|
|
42
43
|
});
|
|
43
44
|
Object.defineProperty(exports, "validateObject", {
|
|
44
45
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkNI3HCSYH_js.validateObject; }
|
|
46
47
|
});
|
|
47
48
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
48
49
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkNI3HCSYH_js.validateObjectOrThrow; }
|
|
50
51
|
});
|
|
51
52
|
Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
|
|
52
53
|
enumerable: true,
|
package/dist/validation/all.mjs
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import '../chunk-SP3PNHYF.mjs';
|
|
2
2
|
export { parseAttributeConfig } from '../chunk-UXCJ3NI4.mjs';
|
|
3
|
-
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-
|
|
3
|
+
export { createFormAttributeValidator, rejectUnknownAttributesOrThrow, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow } from '../chunk-NGGU6BSN.mjs';
|
|
4
|
+
import '../chunk-OSSGN43B.mjs';
|
|
4
5
|
import '../chunk-Q44QKLN4.mjs';
|
|
5
6
|
import '../chunk-UANQJ2GH.mjs';
|
|
6
7
|
import '../chunk-U36ZIBEM.mjs';
|
|
8
|
+
import '../chunk-QVLQPW3O.mjs';
|
|
7
9
|
import '../chunk-ZDQ5AP26.mjs';
|
|
8
10
|
import '../chunk-LV3FEUKU.mjs';
|
|
9
11
|
import '../chunk-UXAHLSWC.mjs';
|
|
10
12
|
import '../chunk-NS63SPNN.mjs';
|
|
11
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-QIWADKYA.mjs';
|
|
12
14
|
import '../chunk-AYVHMVKQ.mjs';
|
|
13
15
|
import '../chunk-YUFTHPOE.mjs';
|
|
14
16
|
import '../chunk-JUKLL5RJ.mjs';
|
|
15
17
|
import '../chunk-GO6LQADH.mjs';
|
|
16
|
-
import '../chunk-QVLQPW3O.mjs';
|
|
17
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-lBLiOIY3.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DNz3ITS-.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-_b3Db8vT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqLi1tx1.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-lBLiOIY3.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DNz3ITS-.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-_b3Db8vT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqLi1tx1.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-lBLiOIY3.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DNz3ITS-.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-_b3Db8vT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqLi1tx1.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-lBLiOIY3.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DNz3ITS-.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-_b3Db8vT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqLi1tx1.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 { a as RichtextAttribute } from '../../attributes-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as RichtextAttribute } from '../../attributes-lBLiOIY3.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DNz3ITS-.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-_b3Db8vT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqLi1tx1.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-lBLiOIY3.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DNz3ITS-.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-_b3Db8vT.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DqLi1tx1.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-lBLiOIY3.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-DNz3ITS-.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|