@stndrds/schema 1.0.0-alpha.273 → 1.0.0-alpha.275
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/{chunk-ITGE3PBX.mjs → chunk-4USPA67J.mjs} +2 -2
- package/dist/{chunk-63WWFZFY.js → chunk-EDOEX3O7.js} +32 -32
- package/dist/{chunk-FDIAOFHS.js → chunk-F3YPU2N6.js} +2 -0
- package/dist/{chunk-POULKEJM.mjs → chunk-QLU5QR7M.mjs} +2 -0
- package/dist/{chunk-V6Q7HCA7.js → chunk-RAF6K6VG.js} +4 -4
- package/dist/{chunk-QMLO7V5E.mjs → chunk-RBG2YMF2.mjs} +1 -1
- package/dist/{chunk-QN2N3IJZ.js → chunk-T7BST4JS.js} +3 -3
- package/dist/{chunk-KDHDC7E6.mjs → chunk-U7QUIEFF.mjs} +1 -1
- package/dist/exceptions.d.mts +2 -0
- package/dist/exceptions.d.ts +2 -0
- package/dist/exceptions.js +39 -39
- package/dist/exceptions.mjs +1 -1
- package/dist/index.d.mts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +164 -159
- package/dist/index.mjs +13 -9
- 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 +4 -3
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFRCDMQER_js = require('./chunk-FRCDMQER.js');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
4
|
+
var chunkEDOEX3O7_js = require('./chunk-EDOEX3O7.js');
|
|
5
|
+
var chunkT7BST4JS_js = require('./chunk-T7BST4JS.js');
|
|
6
|
+
var chunkRAF6K6VG_js = require('./chunk-RAF6K6VG.js');
|
|
7
7
|
require('./chunk-EW5XR2X3.js');
|
|
8
8
|
require('./chunk-QWKLQRBX.js');
|
|
9
9
|
require('./chunk-KNGWHQLR.js');
|
|
@@ -13,7 +13,7 @@ var chunk5WATIVCA_js = require('./chunk-5WATIVCA.js');
|
|
|
13
13
|
var chunkSI34M4IC_js = require('./chunk-SI34M4IC.js');
|
|
14
14
|
var chunkYIP5FJ5H_js = require('./chunk-YIP5FJ5H.js');
|
|
15
15
|
var chunkZPFOKBIN_js = require('./chunk-ZPFOKBIN.js');
|
|
16
|
-
var
|
|
16
|
+
var chunkF3YPU2N6_js = require('./chunk-F3YPU2N6.js');
|
|
17
17
|
require('./chunk-ACKMC6FL.js');
|
|
18
18
|
require('./chunk-E6JUYGJX.js');
|
|
19
19
|
var chunkQ4SZAMJT_js = require('./chunk-Q4SZAMJT.js');
|
|
@@ -81,7 +81,7 @@ function inferInverseCardinality(cardinality) {
|
|
|
81
81
|
return cardinality === "one" ? "many" : "many";
|
|
82
82
|
}
|
|
83
83
|
function isAttributeSortable2(attr) {
|
|
84
|
-
return
|
|
84
|
+
return chunkEDOEX3O7_js.isAttributeSortable(attr);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
// src/types/audit.ts
|
|
@@ -737,6 +737,10 @@ function applyRelationProps(label, props, propertyDefs) {
|
|
|
737
737
|
const result = renderLabelExpression(label, { props: formattedProps }, "");
|
|
738
738
|
return result.replace(/\(\s*\)/g, "").replace(/\[\s*\]/g, "").replace(/\s*[-—|:]\s*$/g, "").replace(/\s{2,}/g, " ").trim();
|
|
739
739
|
}
|
|
740
|
+
function relationPropertyDefs(attribute) {
|
|
741
|
+
if (attribute?.type !== "relation") return void 0;
|
|
742
|
+
return attribute.properties?.definitions;
|
|
743
|
+
}
|
|
740
744
|
function extractValueRefs(value) {
|
|
741
745
|
if (value === null || value === void 0 || value === "") return [];
|
|
742
746
|
if (typeof value === "string") return [{ id: value }];
|
|
@@ -912,7 +916,7 @@ function validateObjectName(name) {
|
|
|
912
916
|
OBJECT_NAME_SCHEMA.parse(name);
|
|
913
917
|
} catch (error) {
|
|
914
918
|
if (error instanceof z2__default.default.ZodError) {
|
|
915
|
-
throw new
|
|
919
|
+
throw new chunkF3YPU2N6_js.SchemaError(error.issues[0].message, chunkF3YPU2N6_js.SchemaErrorCode.INVALID_OBJECT_NAME);
|
|
916
920
|
}
|
|
917
921
|
throw error;
|
|
918
922
|
}
|
|
@@ -941,10 +945,10 @@ function validateAttributeName(name) {
|
|
|
941
945
|
"[AttributeBuilder] Invalid attribute name format.\nName must be a valid variable identifier:\n \u2705 Valid: 'firstName', 'first_name', 'FirstName', 'FIRST_NAME'\n \u274C Invalid: 'first-name', 'first name', '123name', 'first.name'"
|
|
942
946
|
);
|
|
943
947
|
}
|
|
944
|
-
if (
|
|
948
|
+
if (chunkEDOEX3O7_js.RESERVED_ATTRIBUTE_NAMES.includes(name)) {
|
|
945
949
|
throw new Error(
|
|
946
950
|
`[AttributeBuilder] "${name}" is a reserved name and cannot be used as an attribute name.
|
|
947
|
-
Reserved names: ${
|
|
951
|
+
Reserved names: ${chunkEDOEX3O7_js.RESERVED_ATTRIBUTE_NAMES.join(", ")}`
|
|
948
952
|
);
|
|
949
953
|
}
|
|
950
954
|
}
|
|
@@ -1011,7 +1015,7 @@ var DEFAULT_AGENT_EXECUTION_CONFIG = {
|
|
|
1011
1015
|
var AgentBuilder = class {
|
|
1012
1016
|
constructor(config) {
|
|
1013
1017
|
if (!config.name || config.name.trim().length === 0) {
|
|
1014
|
-
throw new
|
|
1018
|
+
throw new chunkF3YPU2N6_js.ValidationError("Agent name is required", []);
|
|
1015
1019
|
}
|
|
1016
1020
|
this.bp = { name: config.name, system: true, visibility: "workspace", triggers: [] };
|
|
1017
1021
|
}
|
|
@@ -1126,13 +1130,13 @@ var AgentBuilder = class {
|
|
|
1126
1130
|
}
|
|
1127
1131
|
build() {
|
|
1128
1132
|
if (!this.bp.systemPrompt) {
|
|
1129
|
-
throw new
|
|
1133
|
+
throw new chunkF3YPU2N6_js.ValidationError(`Agent "${this.bp.name}": systemPrompt is required`, []);
|
|
1130
1134
|
}
|
|
1131
1135
|
if (!this.bp.model) {
|
|
1132
|
-
throw new
|
|
1136
|
+
throw new chunkF3YPU2N6_js.ValidationError(`Agent "${this.bp.name}": model is required`, []);
|
|
1133
1137
|
}
|
|
1134
1138
|
if (this.bp.system && this.bp.visibility === "private") {
|
|
1135
|
-
throw new
|
|
1139
|
+
throw new chunkF3YPU2N6_js.ValidationError(
|
|
1136
1140
|
`Agent "${this.bp.name}": system agents must use workspace visibility`,
|
|
1137
1141
|
[]
|
|
1138
1142
|
);
|
|
@@ -1140,7 +1144,7 @@ var AgentBuilder = class {
|
|
|
1140
1144
|
assertUniqueBy(
|
|
1141
1145
|
this.bp.triggers,
|
|
1142
1146
|
(t) => t.name,
|
|
1143
|
-
(name) => new
|
|
1147
|
+
(name) => new chunkF3YPU2N6_js.ValidationError(`Agent "${this.bp.name}": duplicate trigger name "${name}"`, [])
|
|
1144
1148
|
);
|
|
1145
1149
|
return {
|
|
1146
1150
|
...this.bp,
|
|
@@ -1195,7 +1199,7 @@ var BaseAttributeBuilder = class {
|
|
|
1195
1199
|
* @see https://standardschema.dev/
|
|
1196
1200
|
*/
|
|
1197
1201
|
get "~standard"() {
|
|
1198
|
-
const zodSchema =
|
|
1202
|
+
const zodSchema = chunkRAF6K6VG_js.createAttributeValidator(this.build());
|
|
1199
1203
|
return createStandardSchemaProps(zodSchema);
|
|
1200
1204
|
}
|
|
1201
1205
|
constructor(type, name, label) {
|
|
@@ -1942,9 +1946,9 @@ var RollupAttributeBuilder = class extends BaseAttributeBuilder {
|
|
|
1942
1946
|
if (fn === "original" && targetType !== void 0 && targetType !== "select" && targetType !== "status" && targetType !== "multiselect") {
|
|
1943
1947
|
const relation2 = this.attr.relationAttribute ?? "relation";
|
|
1944
1948
|
const target = this.attr.targetAttribute ?? "field";
|
|
1945
|
-
throw new
|
|
1949
|
+
throw new chunkF3YPU2N6_js.SchemaError(
|
|
1946
1950
|
`Rollup "${this.attr.name}": .using("original") only supports a "select", "status", or "multiselect" target, but .targetType("${targetType}") was given. To surface a plain ${targetType} value from a related record, use a formula instead \u2014 e.g. formula({ name: "${this.attr.name}", label: "\u2026" }).expression("${relation2}.${target}").`,
|
|
1947
|
-
|
|
1951
|
+
chunkF3YPU2N6_js.SchemaErrorCode.VALIDATION_FAILED
|
|
1948
1952
|
);
|
|
1949
1953
|
}
|
|
1950
1954
|
return super.build();
|
|
@@ -2454,7 +2458,7 @@ var ObjectBuilder = class {
|
|
|
2454
2458
|
* @see https://standardschema.dev/
|
|
2455
2459
|
*/
|
|
2456
2460
|
get "~standard"() {
|
|
2457
|
-
const zodSchema =
|
|
2461
|
+
const zodSchema = chunkRAF6K6VG_js.createObjectValidator(this.build());
|
|
2458
2462
|
return createStandardSchemaProps(zodSchema);
|
|
2459
2463
|
}
|
|
2460
2464
|
/**
|
|
@@ -2668,26 +2672,26 @@ var ObjectBuilder = class {
|
|
|
2668
2672
|
throw new Error("[ObjectBuilder] Missing required field: label");
|
|
2669
2673
|
}
|
|
2670
2674
|
if (!this._labelExpression) {
|
|
2671
|
-
throw new
|
|
2675
|
+
throw new chunkF3YPU2N6_js.SchemaError(
|
|
2672
2676
|
`Object "${this.obj.name}" must have a labelExpression. The labelExpression defines how records are displayed in lists and relations (e.g. "{{ name }}").`,
|
|
2673
|
-
|
|
2677
|
+
chunkF3YPU2N6_js.SchemaErrorCode.VALIDATION_FAILED
|
|
2674
2678
|
);
|
|
2675
2679
|
}
|
|
2676
2680
|
const labelResult = labelExpressionSchema.safeParse(this._labelExpression);
|
|
2677
2681
|
if (!labelResult.success) {
|
|
2678
2682
|
const errorMsg = labelResult.error.issues[0]?.message ?? "Invalid labelExpression";
|
|
2679
|
-
throw new
|
|
2683
|
+
throw new chunkF3YPU2N6_js.SchemaError(
|
|
2680
2684
|
`Invalid labelExpression for "${this.obj.name}": ${errorMsg}`,
|
|
2681
|
-
|
|
2685
|
+
chunkF3YPU2N6_js.SchemaErrorCode.VALIDATION_FAILED
|
|
2682
2686
|
);
|
|
2683
2687
|
}
|
|
2684
2688
|
if (this._embeddingExpression !== void 0) {
|
|
2685
2689
|
const embeddingResult = labelExpressionSchema.safeParse(this._embeddingExpression);
|
|
2686
2690
|
if (!embeddingResult.success) {
|
|
2687
2691
|
const errorMsg = embeddingResult.error.issues[0]?.message ?? "Invalid embeddingExpression";
|
|
2688
|
-
throw new
|
|
2692
|
+
throw new chunkF3YPU2N6_js.SchemaError(
|
|
2689
2693
|
`Invalid embeddingExpression for "${this.obj.name}": ${errorMsg}`,
|
|
2690
|
-
|
|
2694
|
+
chunkF3YPU2N6_js.SchemaErrorCode.VALIDATION_FAILED
|
|
2691
2695
|
);
|
|
2692
2696
|
}
|
|
2693
2697
|
}
|
|
@@ -2729,7 +2733,7 @@ function object(config) {
|
|
|
2729
2733
|
}
|
|
2730
2734
|
function validatePresetStructure(presetId, nodes, depth) {
|
|
2731
2735
|
const fail = (message, detail) => {
|
|
2732
|
-
throw new
|
|
2736
|
+
throw new chunkF3YPU2N6_js.ValidationError(message, [
|
|
2733
2737
|
{ path: ["documentLayout", "presets", presetId], message: detail }
|
|
2734
2738
|
]);
|
|
2735
2739
|
};
|
|
@@ -3752,7 +3756,7 @@ var ListViewTabConfigBuilder = class _ListViewTabConfigBuilder {
|
|
|
3752
3756
|
const protectedAttribute = findProtectedTabFilterAttribute(filters);
|
|
3753
3757
|
if (protectedAttribute) {
|
|
3754
3758
|
const message = `Tab filters cannot target "${protectedAttribute}". Use .visibility("private")`;
|
|
3755
|
-
throw new
|
|
3759
|
+
throw new chunkF3YPU2N6_js.ValidationError(message, [{ path: ["filters"], message }]);
|
|
3756
3760
|
}
|
|
3757
3761
|
this.tabData.filters = filters;
|
|
3758
3762
|
return this;
|
|
@@ -3966,7 +3970,7 @@ function jsonFlag(name, defaultValue) {
|
|
|
3966
3970
|
|
|
3967
3971
|
// src/feature-flags/flag-registry.ts
|
|
3968
3972
|
function duplicateFlagError(name) {
|
|
3969
|
-
return new
|
|
3973
|
+
return new chunkF3YPU2N6_js.DuplicateError(
|
|
3970
3974
|
"feature flag",
|
|
3971
3975
|
name,
|
|
3972
3976
|
`Flag "${name}" is already registered. Each flag name must be unique.`
|
|
@@ -4044,7 +4048,7 @@ var FlagRegistry = class {
|
|
|
4044
4048
|
getOrThrow(name) {
|
|
4045
4049
|
const flag = this.get(name);
|
|
4046
4050
|
if (!flag) {
|
|
4047
|
-
throw new
|
|
4051
|
+
throw new chunkF3YPU2N6_js.NotFoundError(
|
|
4048
4052
|
"Feature flag",
|
|
4049
4053
|
name,
|
|
4050
4054
|
void 0,
|
|
@@ -4201,19 +4205,19 @@ var FlagService = class {
|
|
|
4201
4205
|
*/
|
|
4202
4206
|
async setOverride(flagName, level, value, options = {}) {
|
|
4203
4207
|
if (!this.repository) {
|
|
4204
|
-
throw new
|
|
4208
|
+
throw new chunkF3YPU2N6_js.SchemaError(
|
|
4205
4209
|
"Cannot set override: no FeatureFlagsRepository configured. Add featureFlags to your DatabaseAdapter to enable runtime overrides.",
|
|
4206
|
-
|
|
4210
|
+
chunkF3YPU2N6_js.SchemaErrorCode.CONFIGURATION_REQUIRED
|
|
4207
4211
|
);
|
|
4208
4212
|
}
|
|
4209
4213
|
const flag = this.registry.get(flagName);
|
|
4210
4214
|
if (flag && !flag.allowedLevels.includes(level)) {
|
|
4211
4215
|
const message = `Flag "${flagName}" does not allow ${level}-level overrides. Allowed levels: ${flag.allowedLevels.join(", ")}`;
|
|
4212
|
-
throw new
|
|
4216
|
+
throw new chunkF3YPU2N6_js.ValidationError(message, [{ path: ["level"], message }]);
|
|
4213
4217
|
}
|
|
4214
4218
|
if (flag?.system) {
|
|
4215
4219
|
const message = `Flag "${flagName}" is a system flag and cannot be overridden via API.`;
|
|
4216
|
-
throw new
|
|
4220
|
+
throw new chunkF3YPU2N6_js.ValidationError(message, [{ path: ["flagName"], message }]);
|
|
4217
4221
|
}
|
|
4218
4222
|
await this.repository.setOverride({
|
|
4219
4223
|
flagName,
|
|
@@ -4233,9 +4237,9 @@ var FlagService = class {
|
|
|
4233
4237
|
*/
|
|
4234
4238
|
async deleteOverride(flagName, level, targetId) {
|
|
4235
4239
|
if (!this.repository) {
|
|
4236
|
-
throw new
|
|
4240
|
+
throw new chunkF3YPU2N6_js.SchemaError(
|
|
4237
4241
|
"Cannot delete override: no FeatureFlagsRepository configured.",
|
|
4238
|
-
|
|
4242
|
+
chunkF3YPU2N6_js.SchemaErrorCode.CONFIGURATION_REQUIRED
|
|
4239
4243
|
);
|
|
4240
4244
|
}
|
|
4241
4245
|
await this.repository.deleteOverride(flagName, level, targetId);
|
|
@@ -4372,7 +4376,7 @@ var NativeObjectRegistryClass = class {
|
|
|
4372
4376
|
if (!object2.system) {
|
|
4373
4377
|
const message = `[NativeObjectRegistry] Cannot register object "${object2.name}" (id: ${object2.id}): missing system flag.
|
|
4374
4378
|
Native objects must have system=true. Did you call .runtime() on the builder? Remove that call \u2014 objects are system:true by default.`;
|
|
4375
|
-
throw new
|
|
4379
|
+
throw new chunkF3YPU2N6_js.ValidationError(message, []);
|
|
4376
4380
|
}
|
|
4377
4381
|
if (this.objects.has(object2.name)) {
|
|
4378
4382
|
const existing = this.objects.get(object2.name);
|
|
@@ -4380,7 +4384,7 @@ Native objects must have system=true. Did you call .runtime() on the builder? Re
|
|
|
4380
4384
|
- Existing: "${existing?.label}" (id: ${existing?.id})
|
|
4381
4385
|
- New: "${object2.label}" (id: ${object2.id})
|
|
4382
4386
|
Please use unique names for each native object.`;
|
|
4383
|
-
throw new
|
|
4387
|
+
throw new chunkF3YPU2N6_js.DuplicateError("object", object2.name, message);
|
|
4384
4388
|
}
|
|
4385
4389
|
this.objects.set(object2.name, cloneObjectDefinition(object2));
|
|
4386
4390
|
}
|
|
@@ -4412,7 +4416,7 @@ Please use unique names for each native object.`;
|
|
|
4412
4416
|
if (!object2) {
|
|
4413
4417
|
const message = `[NativeObjectRegistry] Native object "${name}" not found.
|
|
4414
4418
|
Available objects: ${this.listNames().join(", ")}`;
|
|
4415
|
-
throw new
|
|
4419
|
+
throw new chunkF3YPU2N6_js.NotFoundError("Native object", name, chunkF3YPU2N6_js.SchemaErrorCode.OBJECT_NOT_FOUND, message);
|
|
4416
4420
|
}
|
|
4417
4421
|
return object2;
|
|
4418
4422
|
}
|
|
@@ -4551,7 +4555,7 @@ var ViewRegistry = class {
|
|
|
4551
4555
|
const key = this.makeKey(view.object, view.name, view.type);
|
|
4552
4556
|
if (this.views.has(key)) {
|
|
4553
4557
|
const message = `[ViewRegistry] Duplicate view: "${view.name}" (${view.type}) for object "${view.object}"`;
|
|
4554
|
-
throw new
|
|
4558
|
+
throw new chunkF3YPU2N6_js.DuplicateError("view", key, message);
|
|
4555
4559
|
}
|
|
4556
4560
|
const storedView = cloneViewDefinition(view);
|
|
4557
4561
|
this.views.set(key, storedView);
|
|
@@ -4596,7 +4600,7 @@ var ViewRegistry = class {
|
|
|
4596
4600
|
const availableNames = available.map((v) => `${v.name} (${v.type})`).join(", ") || "(none)";
|
|
4597
4601
|
const message = `[ViewRegistry] View "${viewName}" not found for object "${objectName}".
|
|
4598
4602
|
Available views: ${availableNames}`;
|
|
4599
|
-
throw new
|
|
4603
|
+
throw new chunkF3YPU2N6_js.NotFoundError("View", `${objectName}:${viewName}`, void 0, message);
|
|
4600
4604
|
}
|
|
4601
4605
|
return view;
|
|
4602
4606
|
}
|
|
@@ -4684,7 +4688,7 @@ var viewRegistry = new ViewRegistry();
|
|
|
4684
4688
|
// src/views/auto-generator.ts
|
|
4685
4689
|
function getRuntimeAttributes(attributes, excludeNames = []) {
|
|
4686
4690
|
return attributes.filter(
|
|
4687
|
-
(attr) => !(!
|
|
4691
|
+
(attr) => !(!chunkEDOEX3O7_js.getAttributeCapabilities(attr).lifecycle.visibleInRuntime || attr.system || excludeNames.includes(attr.name))
|
|
4688
4692
|
);
|
|
4689
4693
|
}
|
|
4690
4694
|
function sortAttributes(attributes) {
|
|
@@ -4717,7 +4721,7 @@ function generateDefaultDetailView(object2, options = {}) {
|
|
|
4717
4721
|
const { includeActivityTab = true, includeDocumentsTab = true, excludeAttributes = [] } = options;
|
|
4718
4722
|
const runtimeAttrs = getRuntimeAttributes(object2.attributes, excludeAttributes);
|
|
4719
4723
|
const sortedAttrs = sortAttributes(
|
|
4720
|
-
runtimeAttrs.filter((attr) =>
|
|
4724
|
+
runtimeAttrs.filter((attr) => chunkEDOEX3O7_js.getAttributeCapabilities(attr).presentation.formField)
|
|
4721
4725
|
);
|
|
4722
4726
|
const formTab = {
|
|
4723
4727
|
id: "form",
|
|
@@ -4774,7 +4778,7 @@ function generateDefaultListView(object2, options = {}) {
|
|
|
4774
4778
|
const { excludeAttributes = [], maxListColumns = 5 } = options;
|
|
4775
4779
|
const runtimeAttrs = getRuntimeAttributes(object2.attributes, excludeAttributes);
|
|
4776
4780
|
const sortedAttrs = sortAttributes(
|
|
4777
|
-
runtimeAttrs.filter((attr) =>
|
|
4781
|
+
runtimeAttrs.filter((attr) => chunkEDOEX3O7_js.getAttributeCapabilities(attr).presentation.defaultColumn)
|
|
4778
4782
|
);
|
|
4779
4783
|
const columns = sortedAttrs.slice(0, maxListColumns).map((attr) => attr.name);
|
|
4780
4784
|
const config = {
|
|
@@ -4904,7 +4908,7 @@ var FormRegistry = class {
|
|
|
4904
4908
|
const forms = Array.isArray(formOrForms) ? formOrForms : [formOrForms];
|
|
4905
4909
|
for (const f of forms) {
|
|
4906
4910
|
if (this.forms.has(f.name)) {
|
|
4907
|
-
throw new
|
|
4911
|
+
throw new chunkF3YPU2N6_js.DuplicateError("form", f.name, `[FormRegistry] Duplicate form: "${f.name}"`);
|
|
4908
4912
|
}
|
|
4909
4913
|
this.forms.set(f.name, cloneFormDefinition(f));
|
|
4910
4914
|
}
|
|
@@ -5482,7 +5486,7 @@ function assertAcyclicComputedDependencies(nodes) {
|
|
|
5482
5486
|
}
|
|
5483
5487
|
function parseCompileFormula(expression) {
|
|
5484
5488
|
try {
|
|
5485
|
-
return
|
|
5489
|
+
return chunkT7BST4JS_js.parseComputedFormula(expression);
|
|
5486
5490
|
} catch (error) {
|
|
5487
5491
|
if (error instanceof Error) {
|
|
5488
5492
|
throw new ComputedFormulaCompileError(error.message);
|
|
@@ -6393,11 +6397,11 @@ function evaluateComputedAst(node, input) {
|
|
|
6393
6397
|
return evaluateAst(node, input);
|
|
6394
6398
|
}
|
|
6395
6399
|
function evaluateComputedFormula(expression, input) {
|
|
6396
|
-
return evaluateAst(
|
|
6400
|
+
return evaluateAst(chunkT7BST4JS_js.parseComputedFormula(expression), input);
|
|
6397
6401
|
}
|
|
6398
6402
|
function evaluateComputedFormulaWithResult(expression, input, returnType, decimals) {
|
|
6399
6403
|
try {
|
|
6400
|
-
const raw = evaluateAst(
|
|
6404
|
+
const raw = evaluateAst(chunkT7BST4JS_js.parseComputedFormula(expression), input);
|
|
6401
6405
|
const value = returnType ? formatComputedResult(raw, returnType, decimals) : raw;
|
|
6402
6406
|
return { value };
|
|
6403
6407
|
} catch (error) {
|
|
@@ -6658,7 +6662,7 @@ var OPERATOR_SPECS = {
|
|
|
6658
6662
|
appliesTo: ["date"],
|
|
6659
6663
|
evaluateInMemory: (v, rv) => {
|
|
6660
6664
|
const d = toDate2(v);
|
|
6661
|
-
const bounds =
|
|
6665
|
+
const bounds = chunkEDOEX3O7_js.resolveIsWithinBounds(rv);
|
|
6662
6666
|
if (!(d && bounds)) return false;
|
|
6663
6667
|
return d.getTime() >= bounds.startMs && d.getTime() < bounds.endMs;
|
|
6664
6668
|
}
|
|
@@ -6738,7 +6742,7 @@ function toMultiValueOperator(op) {
|
|
|
6738
6742
|
// src/filters/evaluate.ts
|
|
6739
6743
|
var systemAttribute = (name, type) => ({ id: `system:${name}`, name, label: name, type, system: true });
|
|
6740
6744
|
var RECORD_SYSTEM_ATTRIBUTES = [
|
|
6741
|
-
...Object.entries(
|
|
6745
|
+
...Object.entries(chunkEDOEX3O7_js.SYSTEM_FILTER_ATTRIBUTE_TYPES).map(
|
|
6742
6746
|
([name, type]) => systemAttribute(name, type)
|
|
6743
6747
|
)
|
|
6744
6748
|
];
|
|
@@ -6882,10 +6886,10 @@ function canonicalStringify(value) {
|
|
|
6882
6886
|
case "object":
|
|
6883
6887
|
break;
|
|
6884
6888
|
default:
|
|
6885
|
-
throw new
|
|
6889
|
+
throw new chunkF3YPU2N6_js.ValidationError(`Cannot canonicalize value of type ${typeof v}`, []);
|
|
6886
6890
|
}
|
|
6887
6891
|
const obj = v;
|
|
6888
|
-
if (seen.has(obj)) throw new
|
|
6892
|
+
if (seen.has(obj)) throw new chunkF3YPU2N6_js.ValidationError("Cannot canonicalize circular structure", []);
|
|
6889
6893
|
seen.add(obj);
|
|
6890
6894
|
try {
|
|
6891
6895
|
if (Array.isArray(obj)) return `[${obj.map((e) => encode(e) ?? "null").join(",")}]`;
|
|
@@ -6970,10 +6974,10 @@ var attributeNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
|
|
|
6970
6974
|
'The attribute\'s machine name \u2014 the record\'s field key, and what `{{ name }}` refers to in a labelExpression. Must be a valid identifier: starts with a letter or underscore, then only letters/digits/underscores ("montantHt", "first_name", "FIRST_NAME" are valid; "first-name", "first name", "123name" are not). Max 63 characters. Cannot be a name reserved by the record shape itself (id, createdAt, updatedAt, createdBy, lastUpdatedBy, objectId, label, embeddingText, values, metadata, deletedAt, deletedBy, schemaVersion).'
|
|
6971
6975
|
);
|
|
6972
6976
|
var objectNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
|
|
6973
|
-
if (
|
|
6977
|
+
if (chunkEDOEX3O7_js.RESERVED_OBJECT_NAMES.includes(name)) {
|
|
6974
6978
|
ctx.addIssue({
|
|
6975
6979
|
code: z2.z.ZodIssueCode.custom,
|
|
6976
|
-
message: `"${name}" is a reserved object name (${
|
|
6980
|
+
message: `"${name}" is a reserved object name (${chunkEDOEX3O7_js.RESERVED_OBJECT_NAMES.join(", ")}) and cannot be used for a new object.`
|
|
6977
6981
|
});
|
|
6978
6982
|
}
|
|
6979
6983
|
try {
|
|
@@ -6987,7 +6991,7 @@ var objectNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
|
|
|
6987
6991
|
function withConfigCheck(schema) {
|
|
6988
6992
|
return schema.superRefine((attribute, ctx) => {
|
|
6989
6993
|
try {
|
|
6990
|
-
const parsedConfig =
|
|
6994
|
+
const parsedConfig = chunkT7BST4JS_js.parseAttributeConfigForCreate(attribute.type, {
|
|
6991
6995
|
...attribute.config ?? {},
|
|
6992
6996
|
description: attribute.description
|
|
6993
6997
|
});
|
|
@@ -7003,7 +7007,7 @@ function withConfigCheck(schema) {
|
|
|
7003
7007
|
});
|
|
7004
7008
|
}
|
|
7005
7009
|
} catch (error) {
|
|
7006
|
-
if (error instanceof
|
|
7010
|
+
if (error instanceof chunkF3YPU2N6_js.ValidationError) {
|
|
7007
7011
|
for (const issue of error.errors) {
|
|
7008
7012
|
ctx.addIssue({
|
|
7009
7013
|
code: z2.z.ZodIssueCode.custom,
|
|
@@ -7050,7 +7054,7 @@ var plannedObjectSchema = z2.z.object({
|
|
|
7050
7054
|
'Human-readable plural display label (e.g. "Devis"/"Invoices"). Defaults from `label` if omitted.'
|
|
7051
7055
|
),
|
|
7052
7056
|
description: z2.z.string().optional().describe("Help text describing what this object represents."),
|
|
7053
|
-
icon:
|
|
7057
|
+
icon: chunkT7BST4JS_js.iconNameSchema.describe(
|
|
7054
7058
|
"Required icon name for the object. Must be a catalogue value \u2014 call `search_icons` and use a name it returns verbatim. A name that is not in the catalogue is rejected without any hint as to what would have worked, so never guess one."
|
|
7055
7059
|
),
|
|
7056
7060
|
labelExpression: labelExpressionSchema.describe(
|
|
@@ -7108,13 +7112,13 @@ var proposedDefaultViewTargetSchema = z2.z.discriminatedUnion("viewType", [
|
|
|
7108
7112
|
z2.z.object({
|
|
7109
7113
|
objectName: viewTargetObjectNameSchema,
|
|
7110
7114
|
viewType: z2.z.literal("list").describe("Targets the object's default list view (the grid)."),
|
|
7111
|
-
canonicalConfig:
|
|
7115
|
+
canonicalConfig: chunkEDOEX3O7_js.listViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
|
|
7112
7116
|
baselineToken: z2.z.string().min(1).optional().describe(BASELINE_TOKEN_DESCRIPTION)
|
|
7113
7117
|
}).strict(),
|
|
7114
7118
|
z2.z.object({
|
|
7115
7119
|
objectName: viewTargetObjectNameSchema,
|
|
7116
7120
|
viewType: z2.z.literal("detail").describe("Targets the object's default detail view (the single-record view)."),
|
|
7117
|
-
canonicalConfig:
|
|
7121
|
+
canonicalConfig: chunkEDOEX3O7_js.detailViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
|
|
7118
7122
|
baselineToken: z2.z.string().min(1).optional().describe(BASELINE_TOKEN_DESCRIPTION)
|
|
7119
7123
|
}).strict()
|
|
7120
7124
|
]);
|
|
@@ -7128,13 +7132,13 @@ var persistedDefaultViewTargetSchema = z2.z.discriminatedUnion("viewType", [
|
|
|
7128
7132
|
z2.z.object({
|
|
7129
7133
|
objectName: z2.z.string().min(1),
|
|
7130
7134
|
viewType: z2.z.literal("list"),
|
|
7131
|
-
canonicalConfig:
|
|
7135
|
+
canonicalConfig: chunkEDOEX3O7_js.listViewConfigSchema,
|
|
7132
7136
|
...persistedBaselineFields
|
|
7133
7137
|
}).strict(),
|
|
7134
7138
|
z2.z.object({
|
|
7135
7139
|
objectName: z2.z.string().min(1),
|
|
7136
7140
|
viewType: z2.z.literal("detail"),
|
|
7137
|
-
canonicalConfig:
|
|
7141
|
+
canonicalConfig: chunkEDOEX3O7_js.detailViewConfigSchema,
|
|
7138
7142
|
...persistedBaselineFields
|
|
7139
7143
|
}).strict()
|
|
7140
7144
|
]).superRefine((target, ctx) => {
|
|
@@ -7363,255 +7367,255 @@ Object.defineProperty(exports, "indexBy", {
|
|
|
7363
7367
|
});
|
|
7364
7368
|
Object.defineProperty(exports, "ATTRIBUTE_FILTER_OPERATORS", {
|
|
7365
7369
|
enumerable: true,
|
|
7366
|
-
get: function () { return
|
|
7370
|
+
get: function () { return chunkEDOEX3O7_js.ATTRIBUTE_FILTER_OPERATORS; }
|
|
7367
7371
|
});
|
|
7368
7372
|
Object.defineProperty(exports, "LIST_VIEW_TAB_VISIBILITIES", {
|
|
7369
7373
|
enumerable: true,
|
|
7370
|
-
get: function () { return
|
|
7374
|
+
get: function () { return chunkEDOEX3O7_js.LIST_VIEW_TAB_VISIBILITIES; }
|
|
7371
7375
|
});
|
|
7372
7376
|
Object.defineProperty(exports, "NO_VALUE_OPERATORS", {
|
|
7373
7377
|
enumerable: true,
|
|
7374
|
-
get: function () { return
|
|
7378
|
+
get: function () { return chunkEDOEX3O7_js.NO_VALUE_OPERATORS; }
|
|
7375
7379
|
});
|
|
7376
7380
|
Object.defineProperty(exports, "OPERATORS_BY_TYPE", {
|
|
7377
7381
|
enumerable: true,
|
|
7378
|
-
get: function () { return
|
|
7382
|
+
get: function () { return chunkEDOEX3O7_js.OPERATORS_BY_TYPE; }
|
|
7379
7383
|
});
|
|
7380
7384
|
Object.defineProperty(exports, "REMOVED_OPERATOR_REPLACEMENTS", {
|
|
7381
7385
|
enumerable: true,
|
|
7382
|
-
get: function () { return
|
|
7386
|
+
get: function () { return chunkEDOEX3O7_js.REMOVED_OPERATOR_REPLACEMENTS; }
|
|
7383
7387
|
});
|
|
7384
7388
|
Object.defineProperty(exports, "RESERVED_ATTRIBUTE_NAMES", {
|
|
7385
7389
|
enumerable: true,
|
|
7386
|
-
get: function () { return
|
|
7390
|
+
get: function () { return chunkEDOEX3O7_js.RESERVED_ATTRIBUTE_NAMES; }
|
|
7387
7391
|
});
|
|
7388
7392
|
Object.defineProperty(exports, "RESERVED_OBJECT_NAMES", {
|
|
7389
7393
|
enumerable: true,
|
|
7390
|
-
get: function () { return
|
|
7394
|
+
get: function () { return chunkEDOEX3O7_js.RESERVED_OBJECT_NAMES; }
|
|
7391
7395
|
});
|
|
7392
7396
|
Object.defineProperty(exports, "RESOURCE_VISIBILITIES", {
|
|
7393
7397
|
enumerable: true,
|
|
7394
|
-
get: function () { return
|
|
7398
|
+
get: function () { return chunkEDOEX3O7_js.RESOURCE_VISIBILITIES; }
|
|
7395
7399
|
});
|
|
7396
7400
|
Object.defineProperty(exports, "SYNONYM_ALIASES", {
|
|
7397
7401
|
enumerable: true,
|
|
7398
|
-
get: function () { return
|
|
7402
|
+
get: function () { return chunkEDOEX3O7_js.SYNONYM_ALIASES; }
|
|
7399
7403
|
});
|
|
7400
7404
|
Object.defineProperty(exports, "SYSTEM_ATTRIBUTES", {
|
|
7401
7405
|
enumerable: true,
|
|
7402
|
-
get: function () { return
|
|
7406
|
+
get: function () { return chunkEDOEX3O7_js.SYSTEM_ATTRIBUTES; }
|
|
7403
7407
|
});
|
|
7404
7408
|
Object.defineProperty(exports, "SYSTEM_ATTRIBUTE_I18N_KEYS", {
|
|
7405
7409
|
enumerable: true,
|
|
7406
|
-
get: function () { return
|
|
7410
|
+
get: function () { return chunkEDOEX3O7_js.SYSTEM_ATTRIBUTE_I18N_KEYS; }
|
|
7407
7411
|
});
|
|
7408
7412
|
Object.defineProperty(exports, "SYSTEM_FIELD_NAMES", {
|
|
7409
7413
|
enumerable: true,
|
|
7410
|
-
get: function () { return
|
|
7414
|
+
get: function () { return chunkEDOEX3O7_js.SYSTEM_FIELD_NAMES; }
|
|
7411
7415
|
});
|
|
7412
7416
|
Object.defineProperty(exports, "SYSTEM_FILTER_ATTRIBUTE_TYPES", {
|
|
7413
7417
|
enumerable: true,
|
|
7414
|
-
get: function () { return
|
|
7418
|
+
get: function () { return chunkEDOEX3O7_js.SYSTEM_FILTER_ATTRIBUTE_TYPES; }
|
|
7415
7419
|
});
|
|
7416
7420
|
Object.defineProperty(exports, "collectQualifiedRuleIssues", {
|
|
7417
7421
|
enumerable: true,
|
|
7418
|
-
get: function () { return
|
|
7422
|
+
get: function () { return chunkEDOEX3O7_js.collectQualifiedRuleIssues; }
|
|
7419
7423
|
});
|
|
7420
7424
|
Object.defineProperty(exports, "currentActor", {
|
|
7421
7425
|
enumerable: true,
|
|
7422
|
-
get: function () { return
|
|
7426
|
+
get: function () { return chunkEDOEX3O7_js.currentActor; }
|
|
7423
7427
|
});
|
|
7424
7428
|
Object.defineProperty(exports, "detailTabSchema", {
|
|
7425
7429
|
enumerable: true,
|
|
7426
|
-
get: function () { return
|
|
7430
|
+
get: function () { return chunkEDOEX3O7_js.detailTabSchema; }
|
|
7427
7431
|
});
|
|
7428
7432
|
Object.defineProperty(exports, "detailViewConfigSchema", {
|
|
7429
7433
|
enumerable: true,
|
|
7430
|
-
get: function () { return
|
|
7434
|
+
get: function () { return chunkEDOEX3O7_js.detailViewConfigSchema; }
|
|
7431
7435
|
});
|
|
7432
7436
|
Object.defineProperty(exports, "getAttributeCapabilities", {
|
|
7433
7437
|
enumerable: true,
|
|
7434
|
-
get: function () { return
|
|
7438
|
+
get: function () { return chunkEDOEX3O7_js.getAttributeCapabilities; }
|
|
7435
7439
|
});
|
|
7436
7440
|
Object.defineProperty(exports, "getAttributeFilterOperators", {
|
|
7437
7441
|
enumerable: true,
|
|
7438
|
-
get: function () { return
|
|
7442
|
+
get: function () { return chunkEDOEX3O7_js.getAttributeFilterOperators; }
|
|
7439
7443
|
});
|
|
7440
7444
|
Object.defineProperty(exports, "getRollupFilterOperators", {
|
|
7441
7445
|
enumerable: true,
|
|
7442
|
-
get: function () { return
|
|
7446
|
+
get: function () { return chunkEDOEX3O7_js.getRollupFilterOperators; }
|
|
7443
7447
|
});
|
|
7444
7448
|
Object.defineProperty(exports, "getSystemAttributeI18nKey", {
|
|
7445
7449
|
enumerable: true,
|
|
7446
|
-
get: function () { return
|
|
7450
|
+
get: function () { return chunkEDOEX3O7_js.getSystemAttributeI18nKey; }
|
|
7447
7451
|
});
|
|
7448
7452
|
Object.defineProperty(exports, "getSystemAttributeList", {
|
|
7449
7453
|
enumerable: true,
|
|
7450
|
-
get: function () { return
|
|
7454
|
+
get: function () { return chunkEDOEX3O7_js.getSystemAttributeList; }
|
|
7451
7455
|
});
|
|
7452
7456
|
Object.defineProperty(exports, "inverseSourceSchema", {
|
|
7453
7457
|
enumerable: true,
|
|
7454
|
-
get: function () { return
|
|
7458
|
+
get: function () { return chunkEDOEX3O7_js.inverseSourceSchema; }
|
|
7455
7459
|
});
|
|
7456
7460
|
Object.defineProperty(exports, "isAttributeFilterable", {
|
|
7457
7461
|
enumerable: true,
|
|
7458
|
-
get: function () { return
|
|
7462
|
+
get: function () { return chunkEDOEX3O7_js.isAttributeFilterable; }
|
|
7459
7463
|
});
|
|
7460
7464
|
Object.defineProperty(exports, "isAttributeGroupable", {
|
|
7461
7465
|
enumerable: true,
|
|
7462
|
-
get: function () { return
|
|
7466
|
+
get: function () { return chunkEDOEX3O7_js.isAttributeGroupable; }
|
|
7463
7467
|
});
|
|
7464
7468
|
Object.defineProperty(exports, "isAttributeKanbanGroupable", {
|
|
7465
7469
|
enumerable: true,
|
|
7466
|
-
get: function () { return
|
|
7470
|
+
get: function () { return chunkEDOEX3O7_js.isAttributeKanbanGroupable; }
|
|
7467
7471
|
});
|
|
7468
7472
|
Object.defineProperty(exports, "isAttributeSearchable", {
|
|
7469
7473
|
enumerable: true,
|
|
7470
|
-
get: function () { return
|
|
7474
|
+
get: function () { return chunkEDOEX3O7_js.isAttributeSearchable; }
|
|
7471
7475
|
});
|
|
7472
7476
|
Object.defineProperty(exports, "isDynamicValue", {
|
|
7473
7477
|
enumerable: true,
|
|
7474
|
-
get: function () { return
|
|
7478
|
+
get: function () { return chunkEDOEX3O7_js.isDynamicValue; }
|
|
7475
7479
|
});
|
|
7476
7480
|
Object.defineProperty(exports, "isManagedSystemAttribute", {
|
|
7477
7481
|
enumerable: true,
|
|
7478
|
-
get: function () { return
|
|
7482
|
+
get: function () { return chunkEDOEX3O7_js.isManagedSystemAttribute; }
|
|
7479
7483
|
});
|
|
7480
7484
|
Object.defineProperty(exports, "isNoValueOperator", {
|
|
7481
7485
|
enumerable: true,
|
|
7482
|
-
get: function () { return
|
|
7486
|
+
get: function () { return chunkEDOEX3O7_js.isNoValueOperator; }
|
|
7483
7487
|
});
|
|
7484
7488
|
Object.defineProperty(exports, "isRelativeDateValue", {
|
|
7485
7489
|
enumerable: true,
|
|
7486
|
-
get: function () { return
|
|
7490
|
+
get: function () { return chunkEDOEX3O7_js.isRelativeDateValue; }
|
|
7487
7491
|
});
|
|
7488
7492
|
Object.defineProperty(exports, "listViewConfigSchema", {
|
|
7489
7493
|
enumerable: true,
|
|
7490
|
-
get: function () { return
|
|
7494
|
+
get: function () { return chunkEDOEX3O7_js.listViewConfigSchema; }
|
|
7491
7495
|
});
|
|
7492
7496
|
Object.defineProperty(exports, "listViewTabSchema", {
|
|
7493
7497
|
enumerable: true,
|
|
7494
|
-
get: function () { return
|
|
7498
|
+
get: function () { return chunkEDOEX3O7_js.listViewTabSchema; }
|
|
7495
7499
|
});
|
|
7496
7500
|
Object.defineProperty(exports, "normalizeFilterRule", {
|
|
7497
7501
|
enumerable: true,
|
|
7498
|
-
get: function () { return
|
|
7502
|
+
get: function () { return chunkEDOEX3O7_js.normalizeFilterRule; }
|
|
7499
7503
|
});
|
|
7500
7504
|
Object.defineProperty(exports, "normalizeOperator", {
|
|
7501
7505
|
enumerable: true,
|
|
7502
|
-
get: function () { return
|
|
7506
|
+
get: function () { return chunkEDOEX3O7_js.normalizeOperator; }
|
|
7503
7507
|
});
|
|
7504
7508
|
Object.defineProperty(exports, "now", {
|
|
7505
7509
|
enumerable: true,
|
|
7506
|
-
get: function () { return
|
|
7510
|
+
get: function () { return chunkEDOEX3O7_js.now; }
|
|
7507
7511
|
});
|
|
7508
7512
|
Object.defineProperty(exports, "parseViewConfig", {
|
|
7509
7513
|
enumerable: true,
|
|
7510
|
-
get: function () { return
|
|
7514
|
+
get: function () { return chunkEDOEX3O7_js.parseViewConfig; }
|
|
7511
7515
|
});
|
|
7512
7516
|
Object.defineProperty(exports, "relationSourceSchema", {
|
|
7513
7517
|
enumerable: true,
|
|
7514
|
-
get: function () { return
|
|
7518
|
+
get: function () { return chunkEDOEX3O7_js.relationSourceSchema; }
|
|
7515
7519
|
});
|
|
7516
7520
|
Object.defineProperty(exports, "resolveIsWithinBounds", {
|
|
7517
7521
|
enumerable: true,
|
|
7518
|
-
get: function () { return
|
|
7522
|
+
get: function () { return chunkEDOEX3O7_js.resolveIsWithinBounds; }
|
|
7519
7523
|
});
|
|
7520
7524
|
Object.defineProperty(exports, "tableSourceSchema", {
|
|
7521
7525
|
enumerable: true,
|
|
7522
|
-
get: function () { return
|
|
7526
|
+
get: function () { return chunkEDOEX3O7_js.tableSourceSchema; }
|
|
7523
7527
|
});
|
|
7524
7528
|
Object.defineProperty(exports, "toUtcDayString", {
|
|
7525
7529
|
enumerable: true,
|
|
7526
|
-
get: function () { return
|
|
7530
|
+
get: function () { return chunkEDOEX3O7_js.toUtcDayString; }
|
|
7527
7531
|
});
|
|
7528
7532
|
Object.defineProperty(exports, "today", {
|
|
7529
7533
|
enumerable: true,
|
|
7530
|
-
get: function () { return
|
|
7534
|
+
get: function () { return chunkEDOEX3O7_js.today; }
|
|
7531
7535
|
});
|
|
7532
7536
|
Object.defineProperty(exports, "validateQualifiedRule", {
|
|
7533
7537
|
enumerable: true,
|
|
7534
|
-
get: function () { return
|
|
7538
|
+
get: function () { return chunkEDOEX3O7_js.validateQualifiedRule; }
|
|
7535
7539
|
});
|
|
7536
7540
|
Object.defineProperty(exports, "viewConfigByTypeSchema", {
|
|
7537
7541
|
enumerable: true,
|
|
7538
|
-
get: function () { return
|
|
7542
|
+
get: function () { return chunkEDOEX3O7_js.viewConfigByTypeSchema; }
|
|
7539
7543
|
});
|
|
7540
7544
|
Object.defineProperty(exports, "viewTypeSchema", {
|
|
7541
7545
|
enumerable: true,
|
|
7542
|
-
get: function () { return
|
|
7546
|
+
get: function () { return chunkEDOEX3O7_js.viewTypeSchema; }
|
|
7543
7547
|
});
|
|
7544
7548
|
Object.defineProperty(exports, "ComputedFormulaParseError", {
|
|
7545
7549
|
enumerable: true,
|
|
7546
|
-
get: function () { return
|
|
7550
|
+
get: function () { return chunkT7BST4JS_js.ComputedFormulaParseError; }
|
|
7547
7551
|
});
|
|
7548
7552
|
Object.defineProperty(exports, "SCHEMA_LIMITS", {
|
|
7549
7553
|
enumerable: true,
|
|
7550
|
-
get: function () { return
|
|
7554
|
+
get: function () { return chunkT7BST4JS_js.SCHEMA_LIMITS; }
|
|
7551
7555
|
});
|
|
7552
7556
|
Object.defineProperty(exports, "colorIdSchema", {
|
|
7553
7557
|
enumerable: true,
|
|
7554
|
-
get: function () { return
|
|
7558
|
+
get: function () { return chunkT7BST4JS_js.colorIdSchema; }
|
|
7555
7559
|
});
|
|
7556
7560
|
Object.defineProperty(exports, "iconNameSchema", {
|
|
7557
7561
|
enumerable: true,
|
|
7558
|
-
get: function () { return
|
|
7562
|
+
get: function () { return chunkT7BST4JS_js.iconNameSchema; }
|
|
7559
7563
|
});
|
|
7560
7564
|
Object.defineProperty(exports, "multiselectOptionWriteSchema", {
|
|
7561
7565
|
enumerable: true,
|
|
7562
|
-
get: function () { return
|
|
7566
|
+
get: function () { return chunkT7BST4JS_js.multiselectOptionWriteSchema; }
|
|
7563
7567
|
});
|
|
7564
7568
|
Object.defineProperty(exports, "parseAttributeConfig", {
|
|
7565
7569
|
enumerable: true,
|
|
7566
|
-
get: function () { return
|
|
7570
|
+
get: function () { return chunkT7BST4JS_js.parseAttributeConfig; }
|
|
7567
7571
|
});
|
|
7568
7572
|
Object.defineProperty(exports, "parseAttributeConfigForCreate", {
|
|
7569
7573
|
enumerable: true,
|
|
7570
|
-
get: function () { return
|
|
7574
|
+
get: function () { return chunkT7BST4JS_js.parseAttributeConfigForCreate; }
|
|
7571
7575
|
});
|
|
7572
7576
|
Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
|
|
7573
7577
|
enumerable: true,
|
|
7574
|
-
get: function () { return
|
|
7578
|
+
get: function () { return chunkT7BST4JS_js.parseAttributeConfigForUpdate; }
|
|
7575
7579
|
});
|
|
7576
7580
|
Object.defineProperty(exports, "parseComputedFormula", {
|
|
7577
7581
|
enumerable: true,
|
|
7578
|
-
get: function () { return
|
|
7582
|
+
get: function () { return chunkT7BST4JS_js.parseComputedFormula; }
|
|
7579
7583
|
});
|
|
7580
7584
|
Object.defineProperty(exports, "selectOptionWriteSchema", {
|
|
7581
7585
|
enumerable: true,
|
|
7582
|
-
get: function () { return
|
|
7586
|
+
get: function () { return chunkT7BST4JS_js.selectOptionWriteSchema; }
|
|
7583
7587
|
});
|
|
7584
7588
|
Object.defineProperty(exports, "statusGroupSchema", {
|
|
7585
7589
|
enumerable: true,
|
|
7586
|
-
get: function () { return
|
|
7590
|
+
get: function () { return chunkT7BST4JS_js.statusGroupSchema; }
|
|
7587
7591
|
});
|
|
7588
7592
|
Object.defineProperty(exports, "statusOptionWriteSchema", {
|
|
7589
7593
|
enumerable: true,
|
|
7590
|
-
get: function () { return
|
|
7594
|
+
get: function () { return chunkT7BST4JS_js.statusOptionWriteSchema; }
|
|
7591
7595
|
});
|
|
7592
7596
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
7593
7597
|
enumerable: true,
|
|
7594
|
-
get: function () { return
|
|
7598
|
+
get: function () { return chunkRAF6K6VG_js.createFormAttributeValidator; }
|
|
7595
7599
|
});
|
|
7596
7600
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
7597
7601
|
enumerable: true,
|
|
7598
|
-
get: function () { return
|
|
7602
|
+
get: function () { return chunkRAF6K6VG_js.rejectUnknownAttributesOrThrow; }
|
|
7599
7603
|
});
|
|
7600
7604
|
Object.defineProperty(exports, "validateDraft", {
|
|
7601
7605
|
enumerable: true,
|
|
7602
|
-
get: function () { return
|
|
7606
|
+
get: function () { return chunkRAF6K6VG_js.validateDraft; }
|
|
7603
7607
|
});
|
|
7604
7608
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
7605
7609
|
enumerable: true,
|
|
7606
|
-
get: function () { return
|
|
7610
|
+
get: function () { return chunkRAF6K6VG_js.validateDraftOrThrow; }
|
|
7607
7611
|
});
|
|
7608
7612
|
Object.defineProperty(exports, "validateObject", {
|
|
7609
7613
|
enumerable: true,
|
|
7610
|
-
get: function () { return
|
|
7614
|
+
get: function () { return chunkRAF6K6VG_js.validateObject; }
|
|
7611
7615
|
});
|
|
7612
7616
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
7613
7617
|
enumerable: true,
|
|
7614
|
-
get: function () { return
|
|
7618
|
+
get: function () { return chunkRAF6K6VG_js.validateObjectOrThrow; }
|
|
7615
7619
|
});
|
|
7616
7620
|
Object.defineProperty(exports, "createCheckboxValidator", {
|
|
7617
7621
|
enumerable: true,
|
|
@@ -7639,155 +7643,155 @@ Object.defineProperty(exports, "resolveTextPattern", {
|
|
|
7639
7643
|
});
|
|
7640
7644
|
Object.defineProperty(exports, "AccessDeniedError", {
|
|
7641
7645
|
enumerable: true,
|
|
7642
|
-
get: function () { return
|
|
7646
|
+
get: function () { return chunkF3YPU2N6_js.AccessDeniedError; }
|
|
7643
7647
|
});
|
|
7644
7648
|
Object.defineProperty(exports, "AttributeInUseError", {
|
|
7645
7649
|
enumerable: true,
|
|
7646
|
-
get: function () { return
|
|
7650
|
+
get: function () { return chunkF3YPU2N6_js.AttributeInUseError; }
|
|
7647
7651
|
});
|
|
7648
7652
|
Object.defineProperty(exports, "AttributeNotFoundError", {
|
|
7649
7653
|
enumerable: true,
|
|
7650
|
-
get: function () { return
|
|
7654
|
+
get: function () { return chunkF3YPU2N6_js.AttributeNotFoundError; }
|
|
7651
7655
|
});
|
|
7652
7656
|
Object.defineProperty(exports, "ChangeTypeNotSupportedError", {
|
|
7653
7657
|
enumerable: true,
|
|
7654
|
-
get: function () { return
|
|
7658
|
+
get: function () { return chunkF3YPU2N6_js.ChangeTypeNotSupportedError; }
|
|
7655
7659
|
});
|
|
7656
7660
|
Object.defineProperty(exports, "ConcurrentModificationError", {
|
|
7657
7661
|
enumerable: true,
|
|
7658
|
-
get: function () { return
|
|
7662
|
+
get: function () { return chunkF3YPU2N6_js.ConcurrentModificationError; }
|
|
7659
7663
|
});
|
|
7660
7664
|
Object.defineProperty(exports, "DestructiveSyncNotAllowedError", {
|
|
7661
7665
|
enumerable: true,
|
|
7662
|
-
get: function () { return
|
|
7666
|
+
get: function () { return chunkF3YPU2N6_js.DestructiveSyncNotAllowedError; }
|
|
7663
7667
|
});
|
|
7664
7668
|
Object.defineProperty(exports, "DuplicateError", {
|
|
7665
7669
|
enumerable: true,
|
|
7666
|
-
get: function () { return
|
|
7670
|
+
get: function () { return chunkF3YPU2N6_js.DuplicateError; }
|
|
7667
7671
|
});
|
|
7668
7672
|
Object.defineProperty(exports, "ForbiddenError", {
|
|
7669
7673
|
enumerable: true,
|
|
7670
|
-
get: function () { return
|
|
7674
|
+
get: function () { return chunkF3YPU2N6_js.ForbiddenError; }
|
|
7671
7675
|
});
|
|
7672
7676
|
Object.defineProperty(exports, "MemoryNotFoundError", {
|
|
7673
7677
|
enumerable: true,
|
|
7674
|
-
get: function () { return
|
|
7678
|
+
get: function () { return chunkF3YPU2N6_js.MemoryNotFoundError; }
|
|
7675
7679
|
});
|
|
7676
7680
|
Object.defineProperty(exports, "MigrationTimeoutError", {
|
|
7677
7681
|
enumerable: true,
|
|
7678
|
-
get: function () { return
|
|
7682
|
+
get: function () { return chunkF3YPU2N6_js.MigrationTimeoutError; }
|
|
7679
7683
|
});
|
|
7680
7684
|
Object.defineProperty(exports, "NotFoundError", {
|
|
7681
7685
|
enumerable: true,
|
|
7682
|
-
get: function () { return
|
|
7686
|
+
get: function () { return chunkF3YPU2N6_js.NotFoundError; }
|
|
7683
7687
|
});
|
|
7684
7688
|
Object.defineProperty(exports, "NotImplementedError", {
|
|
7685
7689
|
enumerable: true,
|
|
7686
|
-
get: function () { return
|
|
7690
|
+
get: function () { return chunkF3YPU2N6_js.NotImplementedError; }
|
|
7687
7691
|
});
|
|
7688
7692
|
Object.defineProperty(exports, "ObjectNotFoundError", {
|
|
7689
7693
|
enumerable: true,
|
|
7690
|
-
get: function () { return
|
|
7694
|
+
get: function () { return chunkF3YPU2N6_js.ObjectNotFoundError; }
|
|
7691
7695
|
});
|
|
7692
7696
|
Object.defineProperty(exports, "ObjectReferencedError", {
|
|
7693
7697
|
enumerable: true,
|
|
7694
|
-
get: function () { return
|
|
7698
|
+
get: function () { return chunkF3YPU2N6_js.ObjectReferencedError; }
|
|
7695
7699
|
});
|
|
7696
7700
|
Object.defineProperty(exports, "OrphanSystemAttributeError", {
|
|
7697
7701
|
enumerable: true,
|
|
7698
|
-
get: function () { return
|
|
7702
|
+
get: function () { return chunkF3YPU2N6_js.OrphanSystemAttributeError; }
|
|
7699
7703
|
});
|
|
7700
7704
|
Object.defineProperty(exports, "ProtectedResourceError", {
|
|
7701
7705
|
enumerable: true,
|
|
7702
|
-
get: function () { return
|
|
7706
|
+
get: function () { return chunkF3YPU2N6_js.ProtectedResourceError; }
|
|
7703
7707
|
});
|
|
7704
7708
|
Object.defineProperty(exports, "ProtectedRoleError", {
|
|
7705
7709
|
enumerable: true,
|
|
7706
|
-
get: function () { return
|
|
7710
|
+
get: function () { return chunkF3YPU2N6_js.ProtectedRoleError; }
|
|
7707
7711
|
});
|
|
7708
7712
|
Object.defineProperty(exports, "RecordNotFoundError", {
|
|
7709
7713
|
enumerable: true,
|
|
7710
|
-
get: function () { return
|
|
7714
|
+
get: function () { return chunkF3YPU2N6_js.RecordNotFoundError; }
|
|
7711
7715
|
});
|
|
7712
7716
|
Object.defineProperty(exports, "RecordReferencedError", {
|
|
7713
7717
|
enumerable: true,
|
|
7714
|
-
get: function () { return
|
|
7718
|
+
get: function () { return chunkF3YPU2N6_js.RecordReferencedError; }
|
|
7715
7719
|
});
|
|
7716
7720
|
Object.defineProperty(exports, "RepositoryError", {
|
|
7717
7721
|
enumerable: true,
|
|
7718
|
-
get: function () { return
|
|
7722
|
+
get: function () { return chunkF3YPU2N6_js.RepositoryError; }
|
|
7719
7723
|
});
|
|
7720
7724
|
Object.defineProperty(exports, "RoleNotFoundError", {
|
|
7721
7725
|
enumerable: true,
|
|
7722
|
-
get: function () { return
|
|
7726
|
+
get: function () { return chunkF3YPU2N6_js.RoleNotFoundError; }
|
|
7723
7727
|
});
|
|
7724
7728
|
Object.defineProperty(exports, "SchemaError", {
|
|
7725
7729
|
enumerable: true,
|
|
7726
|
-
get: function () { return
|
|
7730
|
+
get: function () { return chunkF3YPU2N6_js.SchemaError; }
|
|
7727
7731
|
});
|
|
7728
7732
|
Object.defineProperty(exports, "SchemaErrorCode", {
|
|
7729
7733
|
enumerable: true,
|
|
7730
|
-
get: function () { return
|
|
7734
|
+
get: function () { return chunkF3YPU2N6_js.SchemaErrorCode; }
|
|
7731
7735
|
});
|
|
7732
7736
|
Object.defineProperty(exports, "SchemaPlanNotFoundError", {
|
|
7733
7737
|
enumerable: true,
|
|
7734
|
-
get: function () { return
|
|
7738
|
+
get: function () { return chunkF3YPU2N6_js.SchemaPlanNotFoundError; }
|
|
7735
7739
|
});
|
|
7736
7740
|
Object.defineProperty(exports, "SearchBackendError", {
|
|
7737
7741
|
enumerable: true,
|
|
7738
|
-
get: function () { return
|
|
7742
|
+
get: function () { return chunkF3YPU2N6_js.SearchBackendError; }
|
|
7739
7743
|
});
|
|
7740
7744
|
Object.defineProperty(exports, "StorageError", {
|
|
7741
7745
|
enumerable: true,
|
|
7742
|
-
get: function () { return
|
|
7746
|
+
get: function () { return chunkF3YPU2N6_js.StorageError; }
|
|
7743
7747
|
});
|
|
7744
7748
|
Object.defineProperty(exports, "SyncCascadeError", {
|
|
7745
7749
|
enumerable: true,
|
|
7746
|
-
get: function () { return
|
|
7750
|
+
get: function () { return chunkF3YPU2N6_js.SyncCascadeError; }
|
|
7747
7751
|
});
|
|
7748
7752
|
Object.defineProperty(exports, "SyncConflictError", {
|
|
7749
7753
|
enumerable: true,
|
|
7750
|
-
get: function () { return
|
|
7754
|
+
get: function () { return chunkF3YPU2N6_js.SyncConflictError; }
|
|
7751
7755
|
});
|
|
7752
7756
|
Object.defineProperty(exports, "SyncError", {
|
|
7753
7757
|
enumerable: true,
|
|
7754
|
-
get: function () { return
|
|
7758
|
+
get: function () { return chunkF3YPU2N6_js.SyncError; }
|
|
7755
7759
|
});
|
|
7756
7760
|
Object.defineProperty(exports, "SystemEntityImmutableError", {
|
|
7757
7761
|
enumerable: true,
|
|
7758
|
-
get: function () { return
|
|
7762
|
+
get: function () { return chunkF3YPU2N6_js.SystemEntityImmutableError; }
|
|
7759
7763
|
});
|
|
7760
7764
|
Object.defineProperty(exports, "ValidationError", {
|
|
7761
7765
|
enumerable: true,
|
|
7762
|
-
get: function () { return
|
|
7766
|
+
get: function () { return chunkF3YPU2N6_js.ValidationError; }
|
|
7763
7767
|
});
|
|
7764
7768
|
Object.defineProperty(exports, "isAttributeInUseError", {
|
|
7765
7769
|
enumerable: true,
|
|
7766
|
-
get: function () { return
|
|
7770
|
+
get: function () { return chunkF3YPU2N6_js.isAttributeInUseError; }
|
|
7767
7771
|
});
|
|
7768
7772
|
Object.defineProperty(exports, "isNotFoundError", {
|
|
7769
7773
|
enumerable: true,
|
|
7770
|
-
get: function () { return
|
|
7774
|
+
get: function () { return chunkF3YPU2N6_js.isNotFoundError; }
|
|
7771
7775
|
});
|
|
7772
7776
|
Object.defineProperty(exports, "isObjectReferencedError", {
|
|
7773
7777
|
enumerable: true,
|
|
7774
|
-
get: function () { return
|
|
7778
|
+
get: function () { return chunkF3YPU2N6_js.isObjectReferencedError; }
|
|
7775
7779
|
});
|
|
7776
7780
|
Object.defineProperty(exports, "isProtectedResourceError", {
|
|
7777
7781
|
enumerable: true,
|
|
7778
|
-
get: function () { return
|
|
7782
|
+
get: function () { return chunkF3YPU2N6_js.isProtectedResourceError; }
|
|
7779
7783
|
});
|
|
7780
7784
|
Object.defineProperty(exports, "isRecordReferencedError", {
|
|
7781
7785
|
enumerable: true,
|
|
7782
|
-
get: function () { return
|
|
7786
|
+
get: function () { return chunkF3YPU2N6_js.isRecordReferencedError; }
|
|
7783
7787
|
});
|
|
7784
7788
|
Object.defineProperty(exports, "isSchemaError", {
|
|
7785
7789
|
enumerable: true,
|
|
7786
|
-
get: function () { return
|
|
7790
|
+
get: function () { return chunkF3YPU2N6_js.isSchemaError; }
|
|
7787
7791
|
});
|
|
7788
7792
|
Object.defineProperty(exports, "isValidationError", {
|
|
7789
7793
|
enumerable: true,
|
|
7790
|
-
get: function () { return
|
|
7794
|
+
get: function () { return chunkF3YPU2N6_js.isValidationError; }
|
|
7791
7795
|
});
|
|
7792
7796
|
Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
|
|
7793
7797
|
enumerable: true,
|
|
@@ -7998,6 +8002,7 @@ exports.proposedDefaultViewTargetSchema = proposedDefaultViewTargetSchema;
|
|
|
7998
8002
|
exports.registry = registry;
|
|
7999
8003
|
exports.relation = relation;
|
|
8000
8004
|
exports.relationGroup = relationGroup;
|
|
8005
|
+
exports.relationPropertyDefs = relationPropertyDefs;
|
|
8001
8006
|
exports.renderLabelExpression = renderLabelExpression;
|
|
8002
8007
|
exports.resetViewToDefault = resetViewToDefault;
|
|
8003
8008
|
exports.resolveAttributeDefaultValue = resolveAttributeDefaultValue;
|