@stndrds/schema 1.0.0-alpha.276 → 1.0.0-alpha.277
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-D5zeUllO.d.mts → all-D-E8v5yo.d.mts} +1 -1
- package/dist/{all--B2_3ksI.d.ts → all-D5SkjRst.d.ts} +1 -1
- package/dist/{chunk-EDOEX3O7.js → chunk-F32XOFSP.js} +156 -54
- package/dist/{chunk-RAF6K6VG.js → chunk-FMLZHHWB.js} +19 -5
- package/dist/{chunk-QLU5QR7M.mjs → chunk-K4UER3DU.mjs} +2 -6
- package/dist/{chunk-T7BST4JS.js → chunk-KKR6I3YV.js} +3 -3
- package/dist/{chunk-RBG2YMF2.mjs → chunk-PSCSTHUB.mjs} +16 -3
- package/dist/{chunk-F3YPU2N6.js → chunk-RYAQOR7M.js} +2 -6
- package/dist/{chunk-U7QUIEFF.mjs → chunk-VVYIFBFQ.mjs} +1 -1
- package/dist/{chunk-4USPA67J.mjs → chunk-XQEDMB6B.mjs} +118 -25
- package/dist/exceptions.d.mts +1 -6
- package/dist/exceptions.d.ts +1 -6
- package/dist/exceptions.js +39 -39
- package/dist/exceptions.mjs +1 -1
- package/dist/{index-Bq1KrQkR.d.ts → index-AJeEKoy6.d.ts} +24 -234
- package/dist/{index-DtxtOBYT.d.mts → index-ApHE8c1J.d.mts} +24 -234
- package/dist/index.d.mts +404 -10
- package/dist/index.d.ts +404 -10
- package/dist/index.js +257 -248
- package/dist/index.mjs +63 -90
- package/dist/validation/all.d.mts +2 -2
- package/dist/validation/all.d.ts +2 -2
- package/dist/validation/all.js +29 -29
- package/dist/validation/all.mjs +4 -4
- package/dist/validation/config/index.d.mts +1 -1
- package/dist/validation/config/index.d.ts +1 -1
- package/dist/validation/config/index.js +11 -11
- package/dist/validation/config/index.mjs +2 -2
- package/dist/validation/object/index.js +14 -14
- package/dist/validation/object/index.mjs +2 -2
- package/package.json +2 -2
package/dist/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 chunkF32XOFSP_js = require('./chunk-F32XOFSP.js');
|
|
5
|
+
var chunkKKR6I3YV_js = require('./chunk-KKR6I3YV.js');
|
|
6
|
+
var chunkFMLZHHWB_js = require('./chunk-FMLZHHWB.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 chunkRYAQOR7M_js = require('./chunk-RYAQOR7M.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 chunkF32XOFSP_js.isAttributeSortable(attr);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
// src/types/audit.ts
|
|
@@ -382,7 +382,7 @@ function isDateRangeValue(value) {
|
|
|
382
382
|
return typeof value === "object" && value !== null && typeof value.start === "string";
|
|
383
383
|
}
|
|
384
384
|
function normalizeDateValue(value, attr) {
|
|
385
|
-
if (value
|
|
385
|
+
if (chunkFMLZHHWB_js.isNullishOrEmptyString(value)) return null;
|
|
386
386
|
if (isDateRangeValue(value)) {
|
|
387
387
|
return attr.endDate ? { start: value.start, end: value.end ?? null } : value.start;
|
|
388
388
|
}
|
|
@@ -520,7 +520,7 @@ function formatMultiselect(value, attribute) {
|
|
|
520
520
|
return value.join(", ");
|
|
521
521
|
}
|
|
522
522
|
function formatAttributeValue(value, attribute) {
|
|
523
|
-
if (value
|
|
523
|
+
if (chunkFMLZHHWB_js.isNullishOrEmptyString(value)) {
|
|
524
524
|
return EMPTY_VALUE_PLACEHOLDER;
|
|
525
525
|
}
|
|
526
526
|
switch (attribute.type) {
|
|
@@ -673,7 +673,7 @@ function renderLabelExpression(template, values, fallback = DEFAULT_LABEL_FALLBA
|
|
|
673
673
|
break;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
const isEmpty2 = value
|
|
676
|
+
const isEmpty2 = chunkFMLZHHWB_js.isNullishOrEmptyString(value);
|
|
677
677
|
if (isEmpty2 && pipes.length === 0) return "";
|
|
678
678
|
for (const pipeExpr of pipes) {
|
|
679
679
|
const { name: pipeName, args } = parsePipeExpression(pipeExpr);
|
|
@@ -742,7 +742,7 @@ function relationPropertyDefs(attribute) {
|
|
|
742
742
|
return attribute.properties?.definitions;
|
|
743
743
|
}
|
|
744
744
|
function extractValueRefs(value) {
|
|
745
|
-
if (value
|
|
745
|
+
if (chunkFMLZHHWB_js.isNullishOrEmptyString(value)) return [];
|
|
746
746
|
if (typeof value === "string") return [{ id: value }];
|
|
747
747
|
if (Array.isArray(value)) return value.flatMap((item) => extractValueRefs(item));
|
|
748
748
|
if (typeof value === "object" && "id" in value) {
|
|
@@ -906,6 +906,7 @@ function isDefaultRole(roleName) {
|
|
|
906
906
|
}
|
|
907
907
|
var VALID_ICONS = new Set(constants.ICONS);
|
|
908
908
|
var ATTRIBUTE_NAME_REGEX = /^[a-zA-Z_][a-zA-Z0-9_]*$/;
|
|
909
|
+
var VIEW_NAME_REGEX = /^[a-z][a-z0-9-]*$/;
|
|
909
910
|
var MAX_NAME_LENGTH = 63;
|
|
910
911
|
var MAX_LABEL_LENGTH = 128;
|
|
911
912
|
var OBJECT_NAME_SCHEMA = z2__default.default.string().min(1, "Object name cannot be empty").max(63, "Object name is too long (max 63 characters)").regex(/^[a-z][a-z0-9-]*$/, {
|
|
@@ -916,11 +917,31 @@ function validateObjectName(name) {
|
|
|
916
917
|
OBJECT_NAME_SCHEMA.parse(name);
|
|
917
918
|
} catch (error) {
|
|
918
919
|
if (error instanceof z2__default.default.ZodError) {
|
|
919
|
-
throw new
|
|
920
|
+
throw new chunkRYAQOR7M_js.SchemaError(error.issues[0].message, chunkRYAQOR7M_js.SchemaErrorCode.INVALID_OBJECT_NAME);
|
|
920
921
|
}
|
|
921
922
|
throw error;
|
|
922
923
|
}
|
|
923
924
|
}
|
|
925
|
+
function validateViewName(name) {
|
|
926
|
+
if (!name || name.length === 0) {
|
|
927
|
+
throw new chunkRYAQOR7M_js.ValidationError("View name cannot be empty", [
|
|
928
|
+
{ path: ["name"], message: "View name cannot be empty" }
|
|
929
|
+
]);
|
|
930
|
+
}
|
|
931
|
+
if (name.length > MAX_NAME_LENGTH) {
|
|
932
|
+
throw new chunkRYAQOR7M_js.ValidationError("View name is too long", [
|
|
933
|
+
{ path: ["name"], message: `View name is too long (max ${MAX_NAME_LENGTH} characters)` }
|
|
934
|
+
]);
|
|
935
|
+
}
|
|
936
|
+
if (!VIEW_NAME_REGEX.test(name)) {
|
|
937
|
+
throw new chunkRYAQOR7M_js.ValidationError("Invalid view name format", [
|
|
938
|
+
{
|
|
939
|
+
path: ["name"],
|
|
940
|
+
message: "View name must be in kebab-case (e.g., 'detail', 'list-view')"
|
|
941
|
+
}
|
|
942
|
+
]);
|
|
943
|
+
}
|
|
944
|
+
}
|
|
924
945
|
function assertUniqueBy(items, getKey, buildError) {
|
|
925
946
|
const seen = /* @__PURE__ */ new Set();
|
|
926
947
|
for (const item of items) {
|
|
@@ -945,10 +966,10 @@ function validateAttributeName(name) {
|
|
|
945
966
|
"[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'"
|
|
946
967
|
);
|
|
947
968
|
}
|
|
948
|
-
if (
|
|
969
|
+
if (chunkF32XOFSP_js.RESERVED_ATTRIBUTE_NAMES.includes(name)) {
|
|
949
970
|
throw new Error(
|
|
950
971
|
`[AttributeBuilder] "${name}" is a reserved name and cannot be used as an attribute name.
|
|
951
|
-
Reserved names: ${
|
|
972
|
+
Reserved names: ${chunkF32XOFSP_js.RESERVED_ATTRIBUTE_NAMES.join(", ")}`
|
|
952
973
|
);
|
|
953
974
|
}
|
|
954
975
|
}
|
|
@@ -1015,7 +1036,7 @@ var DEFAULT_AGENT_EXECUTION_CONFIG = {
|
|
|
1015
1036
|
var AgentBuilder = class {
|
|
1016
1037
|
constructor(config) {
|
|
1017
1038
|
if (!config.name || config.name.trim().length === 0) {
|
|
1018
|
-
throw new
|
|
1039
|
+
throw new chunkRYAQOR7M_js.ValidationError("Agent name is required", []);
|
|
1019
1040
|
}
|
|
1020
1041
|
this.bp = { name: config.name, system: true, visibility: "workspace", triggers: [] };
|
|
1021
1042
|
}
|
|
@@ -1077,6 +1098,25 @@ var AgentBuilder = class {
|
|
|
1077
1098
|
Object.assign(this.bp, value);
|
|
1078
1099
|
return this;
|
|
1079
1100
|
}
|
|
1101
|
+
/**
|
|
1102
|
+
* Opt this agent into MCP servers: an array of server ids, or `"all"` to
|
|
1103
|
+
* mount every server the viewer can see. Absent by default — an agent that
|
|
1104
|
+
* never calls this stays tool-identical to one that predates the feature.
|
|
1105
|
+
* The opt-in only narrows; visibility is still enforced below it at
|
|
1106
|
+
* resolution time (`buildMcpToolset`), so naming an id the viewer cannot
|
|
1107
|
+
* see yields no tools from it, not an error.
|
|
1108
|
+
*
|
|
1109
|
+
* @example
|
|
1110
|
+
* ```typescript
|
|
1111
|
+
* agent({ name: "research-assistant" })
|
|
1112
|
+
* .mcpServers(["notion-workspace"])
|
|
1113
|
+
* // ...
|
|
1114
|
+
* ```
|
|
1115
|
+
*/
|
|
1116
|
+
mcpServers(value) {
|
|
1117
|
+
this.bp.mcpServers = Array.isArray(value) ? [...value] : value;
|
|
1118
|
+
return this;
|
|
1119
|
+
}
|
|
1080
1120
|
approval(value) {
|
|
1081
1121
|
this.bp.approval = { ...DEFAULT_APPROVAL_POLICY, ...this.bp.approval, ...value };
|
|
1082
1122
|
return this;
|
|
@@ -1130,13 +1170,13 @@ var AgentBuilder = class {
|
|
|
1130
1170
|
}
|
|
1131
1171
|
build() {
|
|
1132
1172
|
if (!this.bp.systemPrompt) {
|
|
1133
|
-
throw new
|
|
1173
|
+
throw new chunkRYAQOR7M_js.ValidationError(`Agent "${this.bp.name}": systemPrompt is required`, []);
|
|
1134
1174
|
}
|
|
1135
1175
|
if (!this.bp.model) {
|
|
1136
|
-
throw new
|
|
1176
|
+
throw new chunkRYAQOR7M_js.ValidationError(`Agent "${this.bp.name}": model is required`, []);
|
|
1137
1177
|
}
|
|
1138
1178
|
if (this.bp.system && this.bp.visibility === "private") {
|
|
1139
|
-
throw new
|
|
1179
|
+
throw new chunkRYAQOR7M_js.ValidationError(
|
|
1140
1180
|
`Agent "${this.bp.name}": system agents must use workspace visibility`,
|
|
1141
1181
|
[]
|
|
1142
1182
|
);
|
|
@@ -1144,7 +1184,7 @@ var AgentBuilder = class {
|
|
|
1144
1184
|
assertUniqueBy(
|
|
1145
1185
|
this.bp.triggers,
|
|
1146
1186
|
(t) => t.name,
|
|
1147
|
-
(name) => new
|
|
1187
|
+
(name) => new chunkRYAQOR7M_js.ValidationError(`Agent "${this.bp.name}": duplicate trigger name "${name}"`, [])
|
|
1148
1188
|
);
|
|
1149
1189
|
return {
|
|
1150
1190
|
...this.bp,
|
|
@@ -1199,7 +1239,7 @@ var BaseAttributeBuilder = class {
|
|
|
1199
1239
|
* @see https://standardschema.dev/
|
|
1200
1240
|
*/
|
|
1201
1241
|
get "~standard"() {
|
|
1202
|
-
const zodSchema =
|
|
1242
|
+
const zodSchema = chunkFMLZHHWB_js.createAttributeValidator(this.build());
|
|
1203
1243
|
return createStandardSchemaProps(zodSchema);
|
|
1204
1244
|
}
|
|
1205
1245
|
constructor(type, name, label) {
|
|
@@ -1946,9 +1986,9 @@ var RollupAttributeBuilder = class extends BaseAttributeBuilder {
|
|
|
1946
1986
|
if (fn === "original" && targetType !== void 0 && targetType !== "select" && targetType !== "status" && targetType !== "multiselect") {
|
|
1947
1987
|
const relation2 = this.attr.relationAttribute ?? "relation";
|
|
1948
1988
|
const target = this.attr.targetAttribute ?? "field";
|
|
1949
|
-
throw new
|
|
1989
|
+
throw new chunkRYAQOR7M_js.SchemaError(
|
|
1950
1990
|
`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}").`,
|
|
1951
|
-
|
|
1991
|
+
chunkRYAQOR7M_js.SchemaErrorCode.VALIDATION_FAILED
|
|
1952
1992
|
);
|
|
1953
1993
|
}
|
|
1954
1994
|
return super.build();
|
|
@@ -2458,7 +2498,7 @@ var ObjectBuilder = class {
|
|
|
2458
2498
|
* @see https://standardschema.dev/
|
|
2459
2499
|
*/
|
|
2460
2500
|
get "~standard"() {
|
|
2461
|
-
const zodSchema =
|
|
2501
|
+
const zodSchema = chunkFMLZHHWB_js.createObjectValidator(this.build());
|
|
2462
2502
|
return createStandardSchemaProps(zodSchema);
|
|
2463
2503
|
}
|
|
2464
2504
|
/**
|
|
@@ -2672,26 +2712,26 @@ var ObjectBuilder = class {
|
|
|
2672
2712
|
throw new Error("[ObjectBuilder] Missing required field: label");
|
|
2673
2713
|
}
|
|
2674
2714
|
if (!this._labelExpression) {
|
|
2675
|
-
throw new
|
|
2715
|
+
throw new chunkRYAQOR7M_js.SchemaError(
|
|
2676
2716
|
`Object "${this.obj.name}" must have a labelExpression. The labelExpression defines how records are displayed in lists and relations (e.g. "{{ name }}").`,
|
|
2677
|
-
|
|
2717
|
+
chunkRYAQOR7M_js.SchemaErrorCode.VALIDATION_FAILED
|
|
2678
2718
|
);
|
|
2679
2719
|
}
|
|
2680
2720
|
const labelResult = labelExpressionSchema.safeParse(this._labelExpression);
|
|
2681
2721
|
if (!labelResult.success) {
|
|
2682
2722
|
const errorMsg = labelResult.error.issues[0]?.message ?? "Invalid labelExpression";
|
|
2683
|
-
throw new
|
|
2723
|
+
throw new chunkRYAQOR7M_js.SchemaError(
|
|
2684
2724
|
`Invalid labelExpression for "${this.obj.name}": ${errorMsg}`,
|
|
2685
|
-
|
|
2725
|
+
chunkRYAQOR7M_js.SchemaErrorCode.VALIDATION_FAILED
|
|
2686
2726
|
);
|
|
2687
2727
|
}
|
|
2688
2728
|
if (this._embeddingExpression !== void 0) {
|
|
2689
2729
|
const embeddingResult = labelExpressionSchema.safeParse(this._embeddingExpression);
|
|
2690
2730
|
if (!embeddingResult.success) {
|
|
2691
2731
|
const errorMsg = embeddingResult.error.issues[0]?.message ?? "Invalid embeddingExpression";
|
|
2692
|
-
throw new
|
|
2732
|
+
throw new chunkRYAQOR7M_js.SchemaError(
|
|
2693
2733
|
`Invalid embeddingExpression for "${this.obj.name}": ${errorMsg}`,
|
|
2694
|
-
|
|
2734
|
+
chunkRYAQOR7M_js.SchemaErrorCode.VALIDATION_FAILED
|
|
2695
2735
|
);
|
|
2696
2736
|
}
|
|
2697
2737
|
}
|
|
@@ -2733,7 +2773,7 @@ function object(config) {
|
|
|
2733
2773
|
}
|
|
2734
2774
|
function validatePresetStructure(presetId, nodes, depth) {
|
|
2735
2775
|
const fail = (message, detail) => {
|
|
2736
|
-
throw new
|
|
2776
|
+
throw new chunkRYAQOR7M_js.ValidationError(message, [
|
|
2737
2777
|
{ path: ["documentLayout", "presets", presetId], message: detail }
|
|
2738
2778
|
]);
|
|
2739
2779
|
};
|
|
@@ -2758,6 +2798,8 @@ function validatePresetStructure(presetId, nodes, depth) {
|
|
|
2758
2798
|
}
|
|
2759
2799
|
}
|
|
2760
2800
|
}
|
|
2801
|
+
|
|
2802
|
+
// src/builders/view-builder.ts
|
|
2761
2803
|
var GroupBuilder = class {
|
|
2762
2804
|
constructor(id, label) {
|
|
2763
2805
|
this.data = { type: "fields", fields: [] };
|
|
@@ -2898,22 +2940,6 @@ var RelationGroupBuilder = class {
|
|
|
2898
2940
|
return this.data;
|
|
2899
2941
|
}
|
|
2900
2942
|
};
|
|
2901
|
-
function validateViewName(name, builderName, examples) {
|
|
2902
|
-
const viewNameSchema = z2.z.string().min(1, "View name cannot be empty").max(63, "View name is too long (max 63 characters)").regex(/^[a-z][a-z0-9-]*$/, {
|
|
2903
|
-
message: `Invalid view name format.
|
|
2904
|
-
Name must be in kebab-case:
|
|
2905
|
-
\u2705 Valid: ${examples.valid}
|
|
2906
|
-
\u274C Invalid: ${examples.invalid}`
|
|
2907
|
-
});
|
|
2908
|
-
try {
|
|
2909
|
-
viewNameSchema.parse(name);
|
|
2910
|
-
} catch (error) {
|
|
2911
|
-
if (error instanceof z2.z.ZodError) {
|
|
2912
|
-
throw new Error(`[${builderName}] ${error.issues[0].message}`);
|
|
2913
|
-
}
|
|
2914
|
-
throw error;
|
|
2915
|
-
}
|
|
2916
|
-
}
|
|
2917
2943
|
var TableTabConfig = class {
|
|
2918
2944
|
/** @internal */
|
|
2919
2945
|
constructor(view, tabData) {
|
|
@@ -3349,10 +3375,7 @@ var TabBuilder = class {
|
|
|
3349
3375
|
};
|
|
3350
3376
|
var DetailViewBuilder = class {
|
|
3351
3377
|
constructor(name, label) {
|
|
3352
|
-
validateViewName(name
|
|
3353
|
-
valid: "'detail', 'list-view', 'company-detail'",
|
|
3354
|
-
invalid: "'Detail', 'listView', 'list_view'"
|
|
3355
|
-
});
|
|
3378
|
+
validateViewName(name);
|
|
3356
3379
|
this.data = {
|
|
3357
3380
|
name,
|
|
3358
3381
|
label,
|
|
@@ -3472,10 +3495,7 @@ function findProtectedTabFilterAttribute(node) {
|
|
|
3472
3495
|
}
|
|
3473
3496
|
var ListViewBuilder = class {
|
|
3474
3497
|
constructor(name, label) {
|
|
3475
|
-
validateViewName(name
|
|
3476
|
-
valid: "'default', 'list-view', 'active-contacts'",
|
|
3477
|
-
invalid: "'Default', 'listView', 'list_view'"
|
|
3478
|
-
});
|
|
3498
|
+
validateViewName(name);
|
|
3479
3499
|
this.data = {
|
|
3480
3500
|
name,
|
|
3481
3501
|
label,
|
|
@@ -3756,7 +3776,7 @@ var ListViewTabConfigBuilder = class _ListViewTabConfigBuilder {
|
|
|
3756
3776
|
const protectedAttribute = findProtectedTabFilterAttribute(filters);
|
|
3757
3777
|
if (protectedAttribute) {
|
|
3758
3778
|
const message = `Tab filters cannot target "${protectedAttribute}". Use .visibility("private")`;
|
|
3759
|
-
throw new
|
|
3779
|
+
throw new chunkRYAQOR7M_js.ValidationError(message, [{ path: ["filters"], message }]);
|
|
3760
3780
|
}
|
|
3761
3781
|
this.tabData.filters = filters;
|
|
3762
3782
|
return this;
|
|
@@ -3970,7 +3990,7 @@ function jsonFlag(name, defaultValue) {
|
|
|
3970
3990
|
|
|
3971
3991
|
// src/feature-flags/flag-registry.ts
|
|
3972
3992
|
function duplicateFlagError(name) {
|
|
3973
|
-
return new
|
|
3993
|
+
return new chunkRYAQOR7M_js.DuplicateError(
|
|
3974
3994
|
"feature flag",
|
|
3975
3995
|
name,
|
|
3976
3996
|
`Flag "${name}" is already registered. Each flag name must be unique.`
|
|
@@ -4048,7 +4068,7 @@ var FlagRegistry = class {
|
|
|
4048
4068
|
getOrThrow(name) {
|
|
4049
4069
|
const flag = this.get(name);
|
|
4050
4070
|
if (!flag) {
|
|
4051
|
-
throw new
|
|
4071
|
+
throw new chunkRYAQOR7M_js.NotFoundError(
|
|
4052
4072
|
"Feature flag",
|
|
4053
4073
|
name,
|
|
4054
4074
|
void 0,
|
|
@@ -4205,19 +4225,19 @@ var FlagService = class {
|
|
|
4205
4225
|
*/
|
|
4206
4226
|
async setOverride(flagName, level, value, options = {}) {
|
|
4207
4227
|
if (!this.repository) {
|
|
4208
|
-
throw new
|
|
4228
|
+
throw new chunkRYAQOR7M_js.SchemaError(
|
|
4209
4229
|
"Cannot set override: no FeatureFlagsRepository configured. Add featureFlags to your DatabaseAdapter to enable runtime overrides.",
|
|
4210
|
-
|
|
4230
|
+
chunkRYAQOR7M_js.SchemaErrorCode.CONFIGURATION_REQUIRED
|
|
4211
4231
|
);
|
|
4212
4232
|
}
|
|
4213
4233
|
const flag = this.registry.get(flagName);
|
|
4214
4234
|
if (flag && !flag.allowedLevels.includes(level)) {
|
|
4215
4235
|
const message = `Flag "${flagName}" does not allow ${level}-level overrides. Allowed levels: ${flag.allowedLevels.join(", ")}`;
|
|
4216
|
-
throw new
|
|
4236
|
+
throw new chunkRYAQOR7M_js.ValidationError(message, [{ path: ["level"], message }]);
|
|
4217
4237
|
}
|
|
4218
4238
|
if (flag?.system) {
|
|
4219
4239
|
const message = `Flag "${flagName}" is a system flag and cannot be overridden via API.`;
|
|
4220
|
-
throw new
|
|
4240
|
+
throw new chunkRYAQOR7M_js.ValidationError(message, [{ path: ["flagName"], message }]);
|
|
4221
4241
|
}
|
|
4222
4242
|
await this.repository.setOverride({
|
|
4223
4243
|
flagName,
|
|
@@ -4237,9 +4257,9 @@ var FlagService = class {
|
|
|
4237
4257
|
*/
|
|
4238
4258
|
async deleteOverride(flagName, level, targetId) {
|
|
4239
4259
|
if (!this.repository) {
|
|
4240
|
-
throw new
|
|
4260
|
+
throw new chunkRYAQOR7M_js.SchemaError(
|
|
4241
4261
|
"Cannot delete override: no FeatureFlagsRepository configured.",
|
|
4242
|
-
|
|
4262
|
+
chunkRYAQOR7M_js.SchemaErrorCode.CONFIGURATION_REQUIRED
|
|
4243
4263
|
);
|
|
4244
4264
|
}
|
|
4245
4265
|
await this.repository.deleteOverride(flagName, level, targetId);
|
|
@@ -4376,7 +4396,7 @@ var NativeObjectRegistryClass = class {
|
|
|
4376
4396
|
if (!object2.system) {
|
|
4377
4397
|
const message = `[NativeObjectRegistry] Cannot register object "${object2.name}" (id: ${object2.id}): missing system flag.
|
|
4378
4398
|
Native objects must have system=true. Did you call .runtime() on the builder? Remove that call \u2014 objects are system:true by default.`;
|
|
4379
|
-
throw new
|
|
4399
|
+
throw new chunkRYAQOR7M_js.ValidationError(message, []);
|
|
4380
4400
|
}
|
|
4381
4401
|
if (this.objects.has(object2.name)) {
|
|
4382
4402
|
const existing = this.objects.get(object2.name);
|
|
@@ -4384,7 +4404,7 @@ Native objects must have system=true. Did you call .runtime() on the builder? Re
|
|
|
4384
4404
|
- Existing: "${existing?.label}" (id: ${existing?.id})
|
|
4385
4405
|
- New: "${object2.label}" (id: ${object2.id})
|
|
4386
4406
|
Please use unique names for each native object.`;
|
|
4387
|
-
throw new
|
|
4407
|
+
throw new chunkRYAQOR7M_js.DuplicateError("object", object2.name, message);
|
|
4388
4408
|
}
|
|
4389
4409
|
this.objects.set(object2.name, cloneObjectDefinition(object2));
|
|
4390
4410
|
}
|
|
@@ -4416,7 +4436,7 @@ Please use unique names for each native object.`;
|
|
|
4416
4436
|
if (!object2) {
|
|
4417
4437
|
const message = `[NativeObjectRegistry] Native object "${name}" not found.
|
|
4418
4438
|
Available objects: ${this.listNames().join(", ")}`;
|
|
4419
|
-
throw new
|
|
4439
|
+
throw new chunkRYAQOR7M_js.NotFoundError("Native object", name, chunkRYAQOR7M_js.SchemaErrorCode.OBJECT_NOT_FOUND, message);
|
|
4420
4440
|
}
|
|
4421
4441
|
return object2;
|
|
4422
4442
|
}
|
|
@@ -4555,7 +4575,7 @@ var ViewRegistry = class {
|
|
|
4555
4575
|
const key = this.makeKey(view.object, view.name, view.type);
|
|
4556
4576
|
if (this.views.has(key)) {
|
|
4557
4577
|
const message = `[ViewRegistry] Duplicate view: "${view.name}" (${view.type}) for object "${view.object}"`;
|
|
4558
|
-
throw new
|
|
4578
|
+
throw new chunkRYAQOR7M_js.DuplicateError("view", key, message);
|
|
4559
4579
|
}
|
|
4560
4580
|
const storedView = cloneViewDefinition(view);
|
|
4561
4581
|
this.views.set(key, storedView);
|
|
@@ -4600,7 +4620,7 @@ var ViewRegistry = class {
|
|
|
4600
4620
|
const availableNames = available.map((v) => `${v.name} (${v.type})`).join(", ") || "(none)";
|
|
4601
4621
|
const message = `[ViewRegistry] View "${viewName}" not found for object "${objectName}".
|
|
4602
4622
|
Available views: ${availableNames}`;
|
|
4603
|
-
throw new
|
|
4623
|
+
throw new chunkRYAQOR7M_js.NotFoundError("View", `${objectName}:${viewName}`, void 0, message);
|
|
4604
4624
|
}
|
|
4605
4625
|
return view;
|
|
4606
4626
|
}
|
|
@@ -4688,7 +4708,7 @@ var viewRegistry = new ViewRegistry();
|
|
|
4688
4708
|
// src/views/auto-generator.ts
|
|
4689
4709
|
function getRuntimeAttributes(attributes, excludeNames = []) {
|
|
4690
4710
|
return attributes.filter(
|
|
4691
|
-
(attr) => !(!
|
|
4711
|
+
(attr) => !(!chunkF32XOFSP_js.getAttributeCapabilities(attr).lifecycle.visibleInRuntime || attr.system || excludeNames.includes(attr.name))
|
|
4692
4712
|
);
|
|
4693
4713
|
}
|
|
4694
4714
|
function sortAttributes(attributes) {
|
|
@@ -4721,7 +4741,7 @@ function generateDefaultDetailView(object2, options = {}) {
|
|
|
4721
4741
|
const { includeActivityTab = true, includeDocumentsTab = true, excludeAttributes = [] } = options;
|
|
4722
4742
|
const runtimeAttrs = getRuntimeAttributes(object2.attributes, excludeAttributes);
|
|
4723
4743
|
const sortedAttrs = sortAttributes(
|
|
4724
|
-
runtimeAttrs.filter((attr) =>
|
|
4744
|
+
runtimeAttrs.filter((attr) => chunkF32XOFSP_js.getAttributeCapabilities(attr).presentation.formField)
|
|
4725
4745
|
);
|
|
4726
4746
|
const formTab = {
|
|
4727
4747
|
id: "form",
|
|
@@ -4778,7 +4798,7 @@ function generateDefaultListView(object2, options = {}) {
|
|
|
4778
4798
|
const { excludeAttributes = [], maxListColumns = 5 } = options;
|
|
4779
4799
|
const runtimeAttrs = getRuntimeAttributes(object2.attributes, excludeAttributes);
|
|
4780
4800
|
const sortedAttrs = sortAttributes(
|
|
4781
|
-
runtimeAttrs.filter((attr) =>
|
|
4801
|
+
runtimeAttrs.filter((attr) => chunkF32XOFSP_js.getAttributeCapabilities(attr).presentation.defaultColumn)
|
|
4782
4802
|
);
|
|
4783
4803
|
const columns = sortedAttrs.slice(0, maxListColumns).map((attr) => attr.name);
|
|
4784
4804
|
const config = {
|
|
@@ -4908,7 +4928,7 @@ var FormRegistry = class {
|
|
|
4908
4928
|
const forms = Array.isArray(formOrForms) ? formOrForms : [formOrForms];
|
|
4909
4929
|
for (const f of forms) {
|
|
4910
4930
|
if (this.forms.has(f.name)) {
|
|
4911
|
-
throw new
|
|
4931
|
+
throw new chunkRYAQOR7M_js.DuplicateError("form", f.name, `[FormRegistry] Duplicate form: "${f.name}"`);
|
|
4912
4932
|
}
|
|
4913
4933
|
this.forms.set(f.name, cloneFormDefinition(f));
|
|
4914
4934
|
}
|
|
@@ -5486,7 +5506,7 @@ function assertAcyclicComputedDependencies(nodes) {
|
|
|
5486
5506
|
}
|
|
5487
5507
|
function parseCompileFormula(expression) {
|
|
5488
5508
|
try {
|
|
5489
|
-
return
|
|
5509
|
+
return chunkKKR6I3YV_js.parseComputedFormula(expression);
|
|
5490
5510
|
} catch (error) {
|
|
5491
5511
|
if (error instanceof Error) {
|
|
5492
5512
|
throw new ComputedFormulaCompileError(error.message);
|
|
@@ -6237,9 +6257,9 @@ function evaluateCall(functionName, args) {
|
|
|
6237
6257
|
case "percent_not_empty":
|
|
6238
6258
|
return percentByEmptyState(args[0], false);
|
|
6239
6259
|
case "count_empty":
|
|
6240
|
-
return collectionItems(args[0]).filter(
|
|
6260
|
+
return collectionItems(args[0]).filter(chunkFMLZHHWB_js.isNullishOrEmptyString).length;
|
|
6241
6261
|
case "count_not_empty":
|
|
6242
|
-
return collectionItems(args[0]).filter((item) => !
|
|
6262
|
+
return collectionItems(args[0]).filter((item) => !chunkFMLZHHWB_js.isNullishOrEmptyString(item)).length;
|
|
6243
6263
|
case "count_unique":
|
|
6244
6264
|
return uniqueNonEmpty(collectionItems(args[0])).length;
|
|
6245
6265
|
default:
|
|
@@ -6282,14 +6302,14 @@ function percentByEmptyState(value, countEmpty) {
|
|
|
6282
6302
|
if (items.length === 0) {
|
|
6283
6303
|
return 0;
|
|
6284
6304
|
}
|
|
6285
|
-
const count = items.filter((item) =>
|
|
6305
|
+
const count = items.filter((item) => chunkFMLZHHWB_js.isNullishOrEmptyString(item) === countEmpty).length;
|
|
6286
6306
|
return count / items.length;
|
|
6287
6307
|
}
|
|
6288
6308
|
function uniqueNonEmpty(values) {
|
|
6289
6309
|
const seen = /* @__PURE__ */ new Set();
|
|
6290
6310
|
const result = [];
|
|
6291
6311
|
for (const value of values) {
|
|
6292
|
-
if (
|
|
6312
|
+
if (chunkFMLZHHWB_js.isNullishOrEmptyString(value)) {
|
|
6293
6313
|
continue;
|
|
6294
6314
|
}
|
|
6295
6315
|
const key = uniqueKey(value);
|
|
@@ -6310,9 +6330,6 @@ function collectionItems(value) {
|
|
|
6310
6330
|
function flatten(values) {
|
|
6311
6331
|
return values.flat(Number.POSITIVE_INFINITY);
|
|
6312
6332
|
}
|
|
6313
|
-
function isEmptyValue(value) {
|
|
6314
|
-
return value === null || value === void 0 || value === "";
|
|
6315
|
-
}
|
|
6316
6333
|
function toFiniteNumber(value) {
|
|
6317
6334
|
if (typeof value === "number") {
|
|
6318
6335
|
return Number.isFinite(value) ? value : null;
|
|
@@ -6397,11 +6414,11 @@ function evaluateComputedAst(node, input) {
|
|
|
6397
6414
|
return evaluateAst(node, input);
|
|
6398
6415
|
}
|
|
6399
6416
|
function evaluateComputedFormula(expression, input) {
|
|
6400
|
-
return evaluateAst(
|
|
6417
|
+
return evaluateAst(chunkKKR6I3YV_js.parseComputedFormula(expression), input);
|
|
6401
6418
|
}
|
|
6402
6419
|
function evaluateComputedFormulaWithResult(expression, input, returnType, decimals) {
|
|
6403
6420
|
try {
|
|
6404
|
-
const raw = evaluateAst(
|
|
6421
|
+
const raw = evaluateAst(chunkKKR6I3YV_js.parseComputedFormula(expression), input);
|
|
6405
6422
|
const value = returnType ? formatComputedResult(raw, returnType, decimals) : raw;
|
|
6406
6423
|
return { value };
|
|
6407
6424
|
} catch (error) {
|
|
@@ -6526,10 +6543,10 @@ var COMPUTED_FUNCTION_METADATA = [
|
|
|
6526
6543
|
];
|
|
6527
6544
|
|
|
6528
6545
|
// src/filters/operators.ts
|
|
6529
|
-
var isEmpty = (v) => v
|
|
6546
|
+
var isEmpty = (v) => chunkFMLZHHWB_js.isNullishOrEmptyString(v) || Array.isArray(v) && v.length === 0;
|
|
6530
6547
|
var toStr = (v) => v == null ? "" : String(v);
|
|
6531
6548
|
var toNum = (v) => {
|
|
6532
|
-
if (v
|
|
6549
|
+
if (chunkFMLZHHWB_js.isNullishOrEmptyString(v)) return null;
|
|
6533
6550
|
const n = typeof v === "number" ? v : Number(v);
|
|
6534
6551
|
return Number.isFinite(n) ? n : null;
|
|
6535
6552
|
};
|
|
@@ -6662,7 +6679,7 @@ var OPERATOR_SPECS = {
|
|
|
6662
6679
|
appliesTo: ["date"],
|
|
6663
6680
|
evaluateInMemory: (v, rv) => {
|
|
6664
6681
|
const d = toDate2(v);
|
|
6665
|
-
const bounds =
|
|
6682
|
+
const bounds = chunkF32XOFSP_js.resolveIsWithinBounds(rv);
|
|
6666
6683
|
if (!(d && bounds)) return false;
|
|
6667
6684
|
return d.getTime() >= bounds.startMs && d.getTime() < bounds.endMs;
|
|
6668
6685
|
}
|
|
@@ -6695,54 +6712,10 @@ var OPERATOR_SPECS = {
|
|
|
6695
6712
|
}
|
|
6696
6713
|
};
|
|
6697
6714
|
|
|
6698
|
-
// src/filters/extract-filter-value.ts
|
|
6699
|
-
function extractCurrencyFilterValue(value) {
|
|
6700
|
-
if (typeof value === "number") return value;
|
|
6701
|
-
if (value !== null && typeof value === "object" && "value" in value) {
|
|
6702
|
-
const inner = value.value;
|
|
6703
|
-
return typeof inner === "number" ? inner : null;
|
|
6704
|
-
}
|
|
6705
|
-
return null;
|
|
6706
|
-
}
|
|
6707
|
-
function extractFilterValue(value) {
|
|
6708
|
-
if (value === null || value === void 0) return null;
|
|
6709
|
-
if (typeof value === "object" && "value" in value) {
|
|
6710
|
-
return value.value ?? null;
|
|
6711
|
-
}
|
|
6712
|
-
return value;
|
|
6713
|
-
}
|
|
6714
|
-
|
|
6715
|
-
// src/filters/polarity.ts
|
|
6716
|
-
var NEGATIVE_OPERATORS = /* @__PURE__ */ new Set([
|
|
6717
|
-
"is_not",
|
|
6718
|
-
"not_contains",
|
|
6719
|
-
"none_of",
|
|
6720
|
-
"is_empty"
|
|
6721
|
-
]);
|
|
6722
|
-
var NEGATIVE_TO_POSITIVE = {
|
|
6723
|
-
is_not: "is",
|
|
6724
|
-
not_contains: "contains",
|
|
6725
|
-
none_of: "any_of",
|
|
6726
|
-
is_empty: "is_not_empty"
|
|
6727
|
-
};
|
|
6728
|
-
function getOperatorPolarity(op) {
|
|
6729
|
-
return NEGATIVE_OPERATORS.has(op) ? "none" : "any";
|
|
6730
|
-
}
|
|
6731
|
-
function normalizeForEdgeRpc(op) {
|
|
6732
|
-
return NEGATIVE_TO_POSITIVE[op] ?? op;
|
|
6733
|
-
}
|
|
6734
|
-
var SINGLE_TO_MULTI = {
|
|
6735
|
-
is: "any_of",
|
|
6736
|
-
is_not: "none_of"
|
|
6737
|
-
};
|
|
6738
|
-
function toMultiValueOperator(op) {
|
|
6739
|
-
return SINGLE_TO_MULTI[op] ?? op;
|
|
6740
|
-
}
|
|
6741
|
-
|
|
6742
6715
|
// src/filters/evaluate.ts
|
|
6743
6716
|
var systemAttribute = (name, type) => ({ id: `system:${name}`, name, label: name, type, system: true });
|
|
6744
6717
|
var RECORD_SYSTEM_ATTRIBUTES = [
|
|
6745
|
-
...Object.entries(
|
|
6718
|
+
...Object.entries(chunkF32XOFSP_js.SYSTEM_FILTER_ATTRIBUTE_TYPES).map(
|
|
6746
6719
|
([name, type]) => systemAttribute(name, type)
|
|
6747
6720
|
)
|
|
6748
6721
|
];
|
|
@@ -6783,7 +6756,7 @@ function evaluateRule(rule, values, attrByName) {
|
|
|
6783
6756
|
(definition) => definition.name === rule.property
|
|
6784
6757
|
);
|
|
6785
6758
|
if (!property) return false;
|
|
6786
|
-
const positiveOperator = normalizeForEdgeRpc(rule.operator);
|
|
6759
|
+
const positiveOperator = chunkF32XOFSP_js.normalizeForEdgeRpc(rule.operator);
|
|
6787
6760
|
const propertySpec = OPERATOR_SPECS[positiveOperator];
|
|
6788
6761
|
if (!propertySpec?.appliesTo.includes(property.type)) return false;
|
|
6789
6762
|
const rootValue = values[rule.attribute];
|
|
@@ -6801,7 +6774,7 @@ function evaluateRule(rule, values, attrByName) {
|
|
|
6801
6774
|
property
|
|
6802
6775
|
);
|
|
6803
6776
|
});
|
|
6804
|
-
return (rule.quantifier ?? getOperatorPolarity(rule.operator)) === "none" ? !matches : matches;
|
|
6777
|
+
return (rule.quantifier ?? chunkF32XOFSP_js.getOperatorPolarity(rule.operator)) === "none" ? !matches : matches;
|
|
6805
6778
|
}
|
|
6806
6779
|
const spec = OPERATOR_SPECS[rule.operator];
|
|
6807
6780
|
if (!spec) return false;
|
|
@@ -6849,7 +6822,7 @@ function normalizePhoneComparands(stored, rule) {
|
|
|
6849
6822
|
return [normalizeOne(stored), normalizeOne(rule)];
|
|
6850
6823
|
}
|
|
6851
6824
|
function normalizeComparableValue(type, value) {
|
|
6852
|
-
if (type === "currency") return extractCurrencyFilterValue(value);
|
|
6825
|
+
if (type === "currency") return chunkF32XOFSP_js.extractCurrencyFilterValue(value);
|
|
6853
6826
|
if (type === "date") {
|
|
6854
6827
|
if (value instanceof Date) return Number.isNaN(value.getTime()) ? null : value.toISOString();
|
|
6855
6828
|
return value;
|
|
@@ -6886,10 +6859,10 @@ function canonicalStringify(value) {
|
|
|
6886
6859
|
case "object":
|
|
6887
6860
|
break;
|
|
6888
6861
|
default:
|
|
6889
|
-
throw new
|
|
6862
|
+
throw new chunkRYAQOR7M_js.ValidationError(`Cannot canonicalize value of type ${typeof v}`, []);
|
|
6890
6863
|
}
|
|
6891
6864
|
const obj = v;
|
|
6892
|
-
if (seen.has(obj)) throw new
|
|
6865
|
+
if (seen.has(obj)) throw new chunkRYAQOR7M_js.ValidationError("Cannot canonicalize circular structure", []);
|
|
6893
6866
|
seen.add(obj);
|
|
6894
6867
|
try {
|
|
6895
6868
|
if (Array.isArray(obj)) return `[${obj.map((e) => encode(e) ?? "null").join(",")}]`;
|
|
@@ -6974,10 +6947,10 @@ var attributeNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
|
|
|
6974
6947
|
'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).'
|
|
6975
6948
|
);
|
|
6976
6949
|
var objectNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
|
|
6977
|
-
if (
|
|
6950
|
+
if (chunkF32XOFSP_js.RESERVED_OBJECT_NAMES.includes(name)) {
|
|
6978
6951
|
ctx.addIssue({
|
|
6979
6952
|
code: z2.z.ZodIssueCode.custom,
|
|
6980
|
-
message: `"${name}" is a reserved object name (${
|
|
6953
|
+
message: `"${name}" is a reserved object name (${chunkF32XOFSP_js.RESERVED_OBJECT_NAMES.join(", ")}) and cannot be used for a new object.`
|
|
6981
6954
|
});
|
|
6982
6955
|
}
|
|
6983
6956
|
try {
|
|
@@ -6991,7 +6964,7 @@ var objectNameSchema = z2.z.string().min(1).superRefine((name, ctx) => {
|
|
|
6991
6964
|
function withConfigCheck(schema) {
|
|
6992
6965
|
return schema.superRefine((attribute, ctx) => {
|
|
6993
6966
|
try {
|
|
6994
|
-
const parsedConfig =
|
|
6967
|
+
const parsedConfig = chunkKKR6I3YV_js.parseAttributeConfigForCreate(attribute.type, {
|
|
6995
6968
|
...attribute.config ?? {},
|
|
6996
6969
|
description: attribute.description
|
|
6997
6970
|
});
|
|
@@ -7007,7 +6980,7 @@ function withConfigCheck(schema) {
|
|
|
7007
6980
|
});
|
|
7008
6981
|
}
|
|
7009
6982
|
} catch (error) {
|
|
7010
|
-
if (error instanceof
|
|
6983
|
+
if (error instanceof chunkRYAQOR7M_js.ValidationError) {
|
|
7011
6984
|
for (const issue of error.errors) {
|
|
7012
6985
|
ctx.addIssue({
|
|
7013
6986
|
code: z2.z.ZodIssueCode.custom,
|
|
@@ -7054,7 +7027,7 @@ var plannedObjectSchema = z2.z.object({
|
|
|
7054
7027
|
'Human-readable plural display label (e.g. "Devis"/"Invoices"). Defaults from `label` if omitted.'
|
|
7055
7028
|
),
|
|
7056
7029
|
description: z2.z.string().optional().describe("Help text describing what this object represents."),
|
|
7057
|
-
icon:
|
|
7030
|
+
icon: chunkKKR6I3YV_js.iconNameSchema.describe(
|
|
7058
7031
|
"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."
|
|
7059
7032
|
),
|
|
7060
7033
|
labelExpression: labelExpressionSchema.describe(
|
|
@@ -7112,13 +7085,13 @@ var proposedDefaultViewTargetSchema = z2.z.discriminatedUnion("viewType", [
|
|
|
7112
7085
|
z2.z.object({
|
|
7113
7086
|
objectName: viewTargetObjectNameSchema,
|
|
7114
7087
|
viewType: z2.z.literal("list").describe("Targets the object's default list view (the grid)."),
|
|
7115
|
-
canonicalConfig:
|
|
7088
|
+
canonicalConfig: chunkF32XOFSP_js.listViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
|
|
7116
7089
|
baselineToken: z2.z.string().min(1).optional().describe(BASELINE_TOKEN_DESCRIPTION)
|
|
7117
7090
|
}).strict(),
|
|
7118
7091
|
z2.z.object({
|
|
7119
7092
|
objectName: viewTargetObjectNameSchema,
|
|
7120
7093
|
viewType: z2.z.literal("detail").describe("Targets the object's default detail view (the single-record view)."),
|
|
7121
|
-
canonicalConfig:
|
|
7094
|
+
canonicalConfig: chunkF32XOFSP_js.detailViewConfigSchema.describe(CANONICAL_CONFIG_DESCRIPTION),
|
|
7122
7095
|
baselineToken: z2.z.string().min(1).optional().describe(BASELINE_TOKEN_DESCRIPTION)
|
|
7123
7096
|
}).strict()
|
|
7124
7097
|
]);
|
|
@@ -7132,13 +7105,13 @@ var persistedDefaultViewTargetSchema = z2.z.discriminatedUnion("viewType", [
|
|
|
7132
7105
|
z2.z.object({
|
|
7133
7106
|
objectName: z2.z.string().min(1),
|
|
7134
7107
|
viewType: z2.z.literal("list"),
|
|
7135
|
-
canonicalConfig:
|
|
7108
|
+
canonicalConfig: chunkF32XOFSP_js.listViewConfigSchema,
|
|
7136
7109
|
...persistedBaselineFields
|
|
7137
7110
|
}).strict(),
|
|
7138
7111
|
z2.z.object({
|
|
7139
7112
|
objectName: z2.z.string().min(1),
|
|
7140
7113
|
viewType: z2.z.literal("detail"),
|
|
7141
|
-
canonicalConfig:
|
|
7114
|
+
canonicalConfig: chunkF32XOFSP_js.detailViewConfigSchema,
|
|
7142
7115
|
...persistedBaselineFields
|
|
7143
7116
|
}).strict()
|
|
7144
7117
|
]).superRefine((target, ctx) => {
|
|
@@ -7367,255 +7340,295 @@ Object.defineProperty(exports, "indexBy", {
|
|
|
7367
7340
|
});
|
|
7368
7341
|
Object.defineProperty(exports, "ATTRIBUTE_FILTER_OPERATORS", {
|
|
7369
7342
|
enumerable: true,
|
|
7370
|
-
get: function () { return
|
|
7343
|
+
get: function () { return chunkF32XOFSP_js.ATTRIBUTE_FILTER_OPERATORS; }
|
|
7371
7344
|
});
|
|
7372
7345
|
Object.defineProperty(exports, "LIST_VIEW_TAB_VISIBILITIES", {
|
|
7373
7346
|
enumerable: true,
|
|
7374
|
-
get: function () { return
|
|
7347
|
+
get: function () { return chunkF32XOFSP_js.LIST_VIEW_TAB_VISIBILITIES; }
|
|
7375
7348
|
});
|
|
7376
7349
|
Object.defineProperty(exports, "NO_VALUE_OPERATORS", {
|
|
7377
7350
|
enumerable: true,
|
|
7378
|
-
get: function () { return
|
|
7351
|
+
get: function () { return chunkF32XOFSP_js.NO_VALUE_OPERATORS; }
|
|
7379
7352
|
});
|
|
7380
7353
|
Object.defineProperty(exports, "OPERATORS_BY_TYPE", {
|
|
7381
7354
|
enumerable: true,
|
|
7382
|
-
get: function () { return
|
|
7355
|
+
get: function () { return chunkF32XOFSP_js.OPERATORS_BY_TYPE; }
|
|
7383
7356
|
});
|
|
7384
7357
|
Object.defineProperty(exports, "REMOVED_OPERATOR_REPLACEMENTS", {
|
|
7385
7358
|
enumerable: true,
|
|
7386
|
-
get: function () { return
|
|
7359
|
+
get: function () { return chunkF32XOFSP_js.REMOVED_OPERATOR_REPLACEMENTS; }
|
|
7387
7360
|
});
|
|
7388
7361
|
Object.defineProperty(exports, "RESERVED_ATTRIBUTE_NAMES", {
|
|
7389
7362
|
enumerable: true,
|
|
7390
|
-
get: function () { return
|
|
7363
|
+
get: function () { return chunkF32XOFSP_js.RESERVED_ATTRIBUTE_NAMES; }
|
|
7391
7364
|
});
|
|
7392
7365
|
Object.defineProperty(exports, "RESERVED_OBJECT_NAMES", {
|
|
7393
7366
|
enumerable: true,
|
|
7394
|
-
get: function () { return
|
|
7367
|
+
get: function () { return chunkF32XOFSP_js.RESERVED_OBJECT_NAMES; }
|
|
7395
7368
|
});
|
|
7396
7369
|
Object.defineProperty(exports, "RESOURCE_VISIBILITIES", {
|
|
7397
7370
|
enumerable: true,
|
|
7398
|
-
get: function () { return
|
|
7371
|
+
get: function () { return chunkF32XOFSP_js.RESOURCE_VISIBILITIES; }
|
|
7399
7372
|
});
|
|
7400
7373
|
Object.defineProperty(exports, "SYNONYM_ALIASES", {
|
|
7401
7374
|
enumerable: true,
|
|
7402
|
-
get: function () { return
|
|
7375
|
+
get: function () { return chunkF32XOFSP_js.SYNONYM_ALIASES; }
|
|
7403
7376
|
});
|
|
7404
7377
|
Object.defineProperty(exports, "SYSTEM_ATTRIBUTES", {
|
|
7405
7378
|
enumerable: true,
|
|
7406
|
-
get: function () { return
|
|
7379
|
+
get: function () { return chunkF32XOFSP_js.SYSTEM_ATTRIBUTES; }
|
|
7407
7380
|
});
|
|
7408
7381
|
Object.defineProperty(exports, "SYSTEM_ATTRIBUTE_I18N_KEYS", {
|
|
7409
7382
|
enumerable: true,
|
|
7410
|
-
get: function () { return
|
|
7383
|
+
get: function () { return chunkF32XOFSP_js.SYSTEM_ATTRIBUTE_I18N_KEYS; }
|
|
7411
7384
|
});
|
|
7412
7385
|
Object.defineProperty(exports, "SYSTEM_FIELD_NAMES", {
|
|
7413
7386
|
enumerable: true,
|
|
7414
|
-
get: function () { return
|
|
7387
|
+
get: function () { return chunkF32XOFSP_js.SYSTEM_FIELD_NAMES; }
|
|
7415
7388
|
});
|
|
7416
7389
|
Object.defineProperty(exports, "SYSTEM_FILTER_ATTRIBUTE_TYPES", {
|
|
7417
7390
|
enumerable: true,
|
|
7418
|
-
get: function () { return
|
|
7391
|
+
get: function () { return chunkF32XOFSP_js.SYSTEM_FILTER_ATTRIBUTE_TYPES; }
|
|
7392
|
+
});
|
|
7393
|
+
Object.defineProperty(exports, "canonicalizeFilterValue", {
|
|
7394
|
+
enumerable: true,
|
|
7395
|
+
get: function () { return chunkF32XOFSP_js.canonicalizeFilterValue; }
|
|
7419
7396
|
});
|
|
7420
7397
|
Object.defineProperty(exports, "collectQualifiedRuleIssues", {
|
|
7421
7398
|
enumerable: true,
|
|
7422
|
-
get: function () { return
|
|
7399
|
+
get: function () { return chunkF32XOFSP_js.collectQualifiedRuleIssues; }
|
|
7423
7400
|
});
|
|
7424
7401
|
Object.defineProperty(exports, "currentActor", {
|
|
7425
7402
|
enumerable: true,
|
|
7426
|
-
get: function () { return
|
|
7403
|
+
get: function () { return chunkF32XOFSP_js.currentActor; }
|
|
7427
7404
|
});
|
|
7428
7405
|
Object.defineProperty(exports, "detailTabSchema", {
|
|
7429
7406
|
enumerable: true,
|
|
7430
|
-
get: function () { return
|
|
7407
|
+
get: function () { return chunkF32XOFSP_js.detailTabSchema; }
|
|
7431
7408
|
});
|
|
7432
7409
|
Object.defineProperty(exports, "detailViewConfigSchema", {
|
|
7433
7410
|
enumerable: true,
|
|
7434
|
-
get: function () { return
|
|
7411
|
+
get: function () { return chunkF32XOFSP_js.detailViewConfigSchema; }
|
|
7412
|
+
});
|
|
7413
|
+
Object.defineProperty(exports, "extractCurrencyFilterValue", {
|
|
7414
|
+
enumerable: true,
|
|
7415
|
+
get: function () { return chunkF32XOFSP_js.extractCurrencyFilterValue; }
|
|
7416
|
+
});
|
|
7417
|
+
Object.defineProperty(exports, "extractFilterValue", {
|
|
7418
|
+
enumerable: true,
|
|
7419
|
+
get: function () { return chunkF32XOFSP_js.extractFilterValue; }
|
|
7435
7420
|
});
|
|
7436
7421
|
Object.defineProperty(exports, "getAttributeCapabilities", {
|
|
7437
7422
|
enumerable: true,
|
|
7438
|
-
get: function () { return
|
|
7423
|
+
get: function () { return chunkF32XOFSP_js.getAttributeCapabilities; }
|
|
7439
7424
|
});
|
|
7440
7425
|
Object.defineProperty(exports, "getAttributeFilterOperators", {
|
|
7441
7426
|
enumerable: true,
|
|
7442
|
-
get: function () { return
|
|
7427
|
+
get: function () { return chunkF32XOFSP_js.getAttributeFilterOperators; }
|
|
7428
|
+
});
|
|
7429
|
+
Object.defineProperty(exports, "getOperatorPolarity", {
|
|
7430
|
+
enumerable: true,
|
|
7431
|
+
get: function () { return chunkF32XOFSP_js.getOperatorPolarity; }
|
|
7443
7432
|
});
|
|
7444
7433
|
Object.defineProperty(exports, "getRollupFilterOperators", {
|
|
7445
7434
|
enumerable: true,
|
|
7446
|
-
get: function () { return
|
|
7435
|
+
get: function () { return chunkF32XOFSP_js.getRollupFilterOperators; }
|
|
7447
7436
|
});
|
|
7448
7437
|
Object.defineProperty(exports, "getSystemAttributeI18nKey", {
|
|
7449
7438
|
enumerable: true,
|
|
7450
|
-
get: function () { return
|
|
7439
|
+
get: function () { return chunkF32XOFSP_js.getSystemAttributeI18nKey; }
|
|
7451
7440
|
});
|
|
7452
7441
|
Object.defineProperty(exports, "getSystemAttributeList", {
|
|
7453
7442
|
enumerable: true,
|
|
7454
|
-
get: function () { return
|
|
7443
|
+
get: function () { return chunkF32XOFSP_js.getSystemAttributeList; }
|
|
7455
7444
|
});
|
|
7456
7445
|
Object.defineProperty(exports, "inverseSourceSchema", {
|
|
7457
7446
|
enumerable: true,
|
|
7458
|
-
get: function () { return
|
|
7447
|
+
get: function () { return chunkF32XOFSP_js.inverseSourceSchema; }
|
|
7459
7448
|
});
|
|
7460
7449
|
Object.defineProperty(exports, "isAttributeFilterable", {
|
|
7461
7450
|
enumerable: true,
|
|
7462
|
-
get: function () { return
|
|
7451
|
+
get: function () { return chunkF32XOFSP_js.isAttributeFilterable; }
|
|
7463
7452
|
});
|
|
7464
7453
|
Object.defineProperty(exports, "isAttributeGroupable", {
|
|
7465
7454
|
enumerable: true,
|
|
7466
|
-
get: function () { return
|
|
7455
|
+
get: function () { return chunkF32XOFSP_js.isAttributeGroupable; }
|
|
7467
7456
|
});
|
|
7468
7457
|
Object.defineProperty(exports, "isAttributeKanbanGroupable", {
|
|
7469
7458
|
enumerable: true,
|
|
7470
|
-
get: function () { return
|
|
7459
|
+
get: function () { return chunkF32XOFSP_js.isAttributeKanbanGroupable; }
|
|
7471
7460
|
});
|
|
7472
7461
|
Object.defineProperty(exports, "isAttributeSearchable", {
|
|
7473
7462
|
enumerable: true,
|
|
7474
|
-
get: function () { return
|
|
7463
|
+
get: function () { return chunkF32XOFSP_js.isAttributeSearchable; }
|
|
7475
7464
|
});
|
|
7476
7465
|
Object.defineProperty(exports, "isDynamicValue", {
|
|
7477
7466
|
enumerable: true,
|
|
7478
|
-
get: function () { return
|
|
7467
|
+
get: function () { return chunkF32XOFSP_js.isDynamicValue; }
|
|
7479
7468
|
});
|
|
7480
7469
|
Object.defineProperty(exports, "isManagedSystemAttribute", {
|
|
7481
7470
|
enumerable: true,
|
|
7482
|
-
get: function () { return
|
|
7471
|
+
get: function () { return chunkF32XOFSP_js.isManagedSystemAttribute; }
|
|
7483
7472
|
});
|
|
7484
7473
|
Object.defineProperty(exports, "isNoValueOperator", {
|
|
7485
7474
|
enumerable: true,
|
|
7486
|
-
get: function () { return
|
|
7475
|
+
get: function () { return chunkF32XOFSP_js.isNoValueOperator; }
|
|
7487
7476
|
});
|
|
7488
7477
|
Object.defineProperty(exports, "isRelativeDateValue", {
|
|
7489
7478
|
enumerable: true,
|
|
7490
|
-
get: function () { return
|
|
7479
|
+
get: function () { return chunkF32XOFSP_js.isRelativeDateValue; }
|
|
7480
|
+
});
|
|
7481
|
+
Object.defineProperty(exports, "isSetMembershipOperator", {
|
|
7482
|
+
enumerable: true,
|
|
7483
|
+
get: function () { return chunkF32XOFSP_js.isSetMembershipOperator; }
|
|
7491
7484
|
});
|
|
7492
7485
|
Object.defineProperty(exports, "listViewConfigSchema", {
|
|
7493
7486
|
enumerable: true,
|
|
7494
|
-
get: function () { return
|
|
7487
|
+
get: function () { return chunkF32XOFSP_js.listViewConfigSchema; }
|
|
7495
7488
|
});
|
|
7496
7489
|
Object.defineProperty(exports, "listViewTabSchema", {
|
|
7497
7490
|
enumerable: true,
|
|
7498
|
-
get: function () { return
|
|
7491
|
+
get: function () { return chunkF32XOFSP_js.listViewTabSchema; }
|
|
7499
7492
|
});
|
|
7500
7493
|
Object.defineProperty(exports, "normalizeFilterRule", {
|
|
7501
7494
|
enumerable: true,
|
|
7502
|
-
get: function () { return
|
|
7495
|
+
get: function () { return chunkF32XOFSP_js.normalizeFilterRule; }
|
|
7496
|
+
});
|
|
7497
|
+
Object.defineProperty(exports, "normalizeForEdgeRpc", {
|
|
7498
|
+
enumerable: true,
|
|
7499
|
+
get: function () { return chunkF32XOFSP_js.normalizeForEdgeRpc; }
|
|
7503
7500
|
});
|
|
7504
7501
|
Object.defineProperty(exports, "normalizeOperator", {
|
|
7505
7502
|
enumerable: true,
|
|
7506
|
-
get: function () { return
|
|
7503
|
+
get: function () { return chunkF32XOFSP_js.normalizeOperator; }
|
|
7507
7504
|
});
|
|
7508
7505
|
Object.defineProperty(exports, "now", {
|
|
7509
7506
|
enumerable: true,
|
|
7510
|
-
get: function () { return
|
|
7507
|
+
get: function () { return chunkF32XOFSP_js.now; }
|
|
7511
7508
|
});
|
|
7512
7509
|
Object.defineProperty(exports, "parseViewConfig", {
|
|
7513
7510
|
enumerable: true,
|
|
7514
|
-
get: function () { return
|
|
7511
|
+
get: function () { return chunkF32XOFSP_js.parseViewConfig; }
|
|
7515
7512
|
});
|
|
7516
7513
|
Object.defineProperty(exports, "relationSourceSchema", {
|
|
7517
7514
|
enumerable: true,
|
|
7518
|
-
get: function () { return
|
|
7515
|
+
get: function () { return chunkF32XOFSP_js.relationSourceSchema; }
|
|
7516
|
+
});
|
|
7517
|
+
Object.defineProperty(exports, "resolveEffectiveFilterType", {
|
|
7518
|
+
enumerable: true,
|
|
7519
|
+
get: function () { return chunkF32XOFSP_js.resolveEffectiveFilterType; }
|
|
7519
7520
|
});
|
|
7520
7521
|
Object.defineProperty(exports, "resolveIsWithinBounds", {
|
|
7521
7522
|
enumerable: true,
|
|
7522
|
-
get: function () { return
|
|
7523
|
+
get: function () { return chunkF32XOFSP_js.resolveIsWithinBounds; }
|
|
7524
|
+
});
|
|
7525
|
+
Object.defineProperty(exports, "resolveUtcDayBounds", {
|
|
7526
|
+
enumerable: true,
|
|
7527
|
+
get: function () { return chunkF32XOFSP_js.resolveUtcDayBounds; }
|
|
7523
7528
|
});
|
|
7524
7529
|
Object.defineProperty(exports, "tableSourceSchema", {
|
|
7525
7530
|
enumerable: true,
|
|
7526
|
-
get: function () { return
|
|
7531
|
+
get: function () { return chunkF32XOFSP_js.tableSourceSchema; }
|
|
7532
|
+
});
|
|
7533
|
+
Object.defineProperty(exports, "toMultiValueOperator", {
|
|
7534
|
+
enumerable: true,
|
|
7535
|
+
get: function () { return chunkF32XOFSP_js.toMultiValueOperator; }
|
|
7527
7536
|
});
|
|
7528
7537
|
Object.defineProperty(exports, "toUtcDayString", {
|
|
7529
7538
|
enumerable: true,
|
|
7530
|
-
get: function () { return
|
|
7539
|
+
get: function () { return chunkF32XOFSP_js.toUtcDayString; }
|
|
7531
7540
|
});
|
|
7532
7541
|
Object.defineProperty(exports, "today", {
|
|
7533
7542
|
enumerable: true,
|
|
7534
|
-
get: function () { return
|
|
7543
|
+
get: function () { return chunkF32XOFSP_js.today; }
|
|
7535
7544
|
});
|
|
7536
7545
|
Object.defineProperty(exports, "validateQualifiedRule", {
|
|
7537
7546
|
enumerable: true,
|
|
7538
|
-
get: function () { return
|
|
7547
|
+
get: function () { return chunkF32XOFSP_js.validateQualifiedRule; }
|
|
7539
7548
|
});
|
|
7540
7549
|
Object.defineProperty(exports, "viewConfigByTypeSchema", {
|
|
7541
7550
|
enumerable: true,
|
|
7542
|
-
get: function () { return
|
|
7551
|
+
get: function () { return chunkF32XOFSP_js.viewConfigByTypeSchema; }
|
|
7543
7552
|
});
|
|
7544
7553
|
Object.defineProperty(exports, "viewTypeSchema", {
|
|
7545
7554
|
enumerable: true,
|
|
7546
|
-
get: function () { return
|
|
7555
|
+
get: function () { return chunkF32XOFSP_js.viewTypeSchema; }
|
|
7547
7556
|
});
|
|
7548
7557
|
Object.defineProperty(exports, "ComputedFormulaParseError", {
|
|
7549
7558
|
enumerable: true,
|
|
7550
|
-
get: function () { return
|
|
7559
|
+
get: function () { return chunkKKR6I3YV_js.ComputedFormulaParseError; }
|
|
7551
7560
|
});
|
|
7552
7561
|
Object.defineProperty(exports, "SCHEMA_LIMITS", {
|
|
7553
7562
|
enumerable: true,
|
|
7554
|
-
get: function () { return
|
|
7563
|
+
get: function () { return chunkKKR6I3YV_js.SCHEMA_LIMITS; }
|
|
7555
7564
|
});
|
|
7556
7565
|
Object.defineProperty(exports, "colorIdSchema", {
|
|
7557
7566
|
enumerable: true,
|
|
7558
|
-
get: function () { return
|
|
7567
|
+
get: function () { return chunkKKR6I3YV_js.colorIdSchema; }
|
|
7559
7568
|
});
|
|
7560
7569
|
Object.defineProperty(exports, "iconNameSchema", {
|
|
7561
7570
|
enumerable: true,
|
|
7562
|
-
get: function () { return
|
|
7571
|
+
get: function () { return chunkKKR6I3YV_js.iconNameSchema; }
|
|
7563
7572
|
});
|
|
7564
7573
|
Object.defineProperty(exports, "multiselectOptionWriteSchema", {
|
|
7565
7574
|
enumerable: true,
|
|
7566
|
-
get: function () { return
|
|
7575
|
+
get: function () { return chunkKKR6I3YV_js.multiselectOptionWriteSchema; }
|
|
7567
7576
|
});
|
|
7568
7577
|
Object.defineProperty(exports, "parseAttributeConfig", {
|
|
7569
7578
|
enumerable: true,
|
|
7570
|
-
get: function () { return
|
|
7579
|
+
get: function () { return chunkKKR6I3YV_js.parseAttributeConfig; }
|
|
7571
7580
|
});
|
|
7572
7581
|
Object.defineProperty(exports, "parseAttributeConfigForCreate", {
|
|
7573
7582
|
enumerable: true,
|
|
7574
|
-
get: function () { return
|
|
7583
|
+
get: function () { return chunkKKR6I3YV_js.parseAttributeConfigForCreate; }
|
|
7575
7584
|
});
|
|
7576
7585
|
Object.defineProperty(exports, "parseAttributeConfigForUpdate", {
|
|
7577
7586
|
enumerable: true,
|
|
7578
|
-
get: function () { return
|
|
7587
|
+
get: function () { return chunkKKR6I3YV_js.parseAttributeConfigForUpdate; }
|
|
7579
7588
|
});
|
|
7580
7589
|
Object.defineProperty(exports, "parseComputedFormula", {
|
|
7581
7590
|
enumerable: true,
|
|
7582
|
-
get: function () { return
|
|
7591
|
+
get: function () { return chunkKKR6I3YV_js.parseComputedFormula; }
|
|
7583
7592
|
});
|
|
7584
7593
|
Object.defineProperty(exports, "selectOptionWriteSchema", {
|
|
7585
7594
|
enumerable: true,
|
|
7586
|
-
get: function () { return
|
|
7595
|
+
get: function () { return chunkKKR6I3YV_js.selectOptionWriteSchema; }
|
|
7587
7596
|
});
|
|
7588
7597
|
Object.defineProperty(exports, "statusGroupSchema", {
|
|
7589
7598
|
enumerable: true,
|
|
7590
|
-
get: function () { return
|
|
7599
|
+
get: function () { return chunkKKR6I3YV_js.statusGroupSchema; }
|
|
7591
7600
|
});
|
|
7592
7601
|
Object.defineProperty(exports, "statusOptionWriteSchema", {
|
|
7593
7602
|
enumerable: true,
|
|
7594
|
-
get: function () { return
|
|
7603
|
+
get: function () { return chunkKKR6I3YV_js.statusOptionWriteSchema; }
|
|
7595
7604
|
});
|
|
7596
7605
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
7597
7606
|
enumerable: true,
|
|
7598
|
-
get: function () { return
|
|
7607
|
+
get: function () { return chunkFMLZHHWB_js.createFormAttributeValidator; }
|
|
7608
|
+
});
|
|
7609
|
+
Object.defineProperty(exports, "isNullishOrEmptyString", {
|
|
7610
|
+
enumerable: true,
|
|
7611
|
+
get: function () { return chunkFMLZHHWB_js.isNullishOrEmptyString; }
|
|
7599
7612
|
});
|
|
7600
7613
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
7601
7614
|
enumerable: true,
|
|
7602
|
-
get: function () { return
|
|
7615
|
+
get: function () { return chunkFMLZHHWB_js.rejectUnknownAttributesOrThrow; }
|
|
7603
7616
|
});
|
|
7604
7617
|
Object.defineProperty(exports, "validateDraft", {
|
|
7605
7618
|
enumerable: true,
|
|
7606
|
-
get: function () { return
|
|
7619
|
+
get: function () { return chunkFMLZHHWB_js.validateDraft; }
|
|
7607
7620
|
});
|
|
7608
7621
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
7609
7622
|
enumerable: true,
|
|
7610
|
-
get: function () { return
|
|
7623
|
+
get: function () { return chunkFMLZHHWB_js.validateDraftOrThrow; }
|
|
7611
7624
|
});
|
|
7612
7625
|
Object.defineProperty(exports, "validateObject", {
|
|
7613
7626
|
enumerable: true,
|
|
7614
|
-
get: function () { return
|
|
7627
|
+
get: function () { return chunkFMLZHHWB_js.validateObject; }
|
|
7615
7628
|
});
|
|
7616
7629
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
7617
7630
|
enumerable: true,
|
|
7618
|
-
get: function () { return
|
|
7631
|
+
get: function () { return chunkFMLZHHWB_js.validateObjectOrThrow; }
|
|
7619
7632
|
});
|
|
7620
7633
|
Object.defineProperty(exports, "createCheckboxValidator", {
|
|
7621
7634
|
enumerable: true,
|
|
@@ -7643,155 +7656,155 @@ Object.defineProperty(exports, "resolveTextPattern", {
|
|
|
7643
7656
|
});
|
|
7644
7657
|
Object.defineProperty(exports, "AccessDeniedError", {
|
|
7645
7658
|
enumerable: true,
|
|
7646
|
-
get: function () { return
|
|
7659
|
+
get: function () { return chunkRYAQOR7M_js.AccessDeniedError; }
|
|
7647
7660
|
});
|
|
7648
7661
|
Object.defineProperty(exports, "AttributeInUseError", {
|
|
7649
7662
|
enumerable: true,
|
|
7650
|
-
get: function () { return
|
|
7663
|
+
get: function () { return chunkRYAQOR7M_js.AttributeInUseError; }
|
|
7651
7664
|
});
|
|
7652
7665
|
Object.defineProperty(exports, "AttributeNotFoundError", {
|
|
7653
7666
|
enumerable: true,
|
|
7654
|
-
get: function () { return
|
|
7667
|
+
get: function () { return chunkRYAQOR7M_js.AttributeNotFoundError; }
|
|
7655
7668
|
});
|
|
7656
7669
|
Object.defineProperty(exports, "ChangeTypeNotSupportedError", {
|
|
7657
7670
|
enumerable: true,
|
|
7658
|
-
get: function () { return
|
|
7671
|
+
get: function () { return chunkRYAQOR7M_js.ChangeTypeNotSupportedError; }
|
|
7659
7672
|
});
|
|
7660
7673
|
Object.defineProperty(exports, "ConcurrentModificationError", {
|
|
7661
7674
|
enumerable: true,
|
|
7662
|
-
get: function () { return
|
|
7675
|
+
get: function () { return chunkRYAQOR7M_js.ConcurrentModificationError; }
|
|
7663
7676
|
});
|
|
7664
7677
|
Object.defineProperty(exports, "DestructiveSyncNotAllowedError", {
|
|
7665
7678
|
enumerable: true,
|
|
7666
|
-
get: function () { return
|
|
7679
|
+
get: function () { return chunkRYAQOR7M_js.DestructiveSyncNotAllowedError; }
|
|
7667
7680
|
});
|
|
7668
7681
|
Object.defineProperty(exports, "DuplicateError", {
|
|
7669
7682
|
enumerable: true,
|
|
7670
|
-
get: function () { return
|
|
7683
|
+
get: function () { return chunkRYAQOR7M_js.DuplicateError; }
|
|
7671
7684
|
});
|
|
7672
7685
|
Object.defineProperty(exports, "ForbiddenError", {
|
|
7673
7686
|
enumerable: true,
|
|
7674
|
-
get: function () { return
|
|
7687
|
+
get: function () { return chunkRYAQOR7M_js.ForbiddenError; }
|
|
7675
7688
|
});
|
|
7676
7689
|
Object.defineProperty(exports, "MemoryNotFoundError", {
|
|
7677
7690
|
enumerable: true,
|
|
7678
|
-
get: function () { return
|
|
7691
|
+
get: function () { return chunkRYAQOR7M_js.MemoryNotFoundError; }
|
|
7679
7692
|
});
|
|
7680
7693
|
Object.defineProperty(exports, "MigrationTimeoutError", {
|
|
7681
7694
|
enumerable: true,
|
|
7682
|
-
get: function () { return
|
|
7695
|
+
get: function () { return chunkRYAQOR7M_js.MigrationTimeoutError; }
|
|
7683
7696
|
});
|
|
7684
7697
|
Object.defineProperty(exports, "NotFoundError", {
|
|
7685
7698
|
enumerable: true,
|
|
7686
|
-
get: function () { return
|
|
7699
|
+
get: function () { return chunkRYAQOR7M_js.NotFoundError; }
|
|
7687
7700
|
});
|
|
7688
7701
|
Object.defineProperty(exports, "NotImplementedError", {
|
|
7689
7702
|
enumerable: true,
|
|
7690
|
-
get: function () { return
|
|
7703
|
+
get: function () { return chunkRYAQOR7M_js.NotImplementedError; }
|
|
7691
7704
|
});
|
|
7692
7705
|
Object.defineProperty(exports, "ObjectNotFoundError", {
|
|
7693
7706
|
enumerable: true,
|
|
7694
|
-
get: function () { return
|
|
7707
|
+
get: function () { return chunkRYAQOR7M_js.ObjectNotFoundError; }
|
|
7695
7708
|
});
|
|
7696
7709
|
Object.defineProperty(exports, "ObjectReferencedError", {
|
|
7697
7710
|
enumerable: true,
|
|
7698
|
-
get: function () { return
|
|
7711
|
+
get: function () { return chunkRYAQOR7M_js.ObjectReferencedError; }
|
|
7699
7712
|
});
|
|
7700
7713
|
Object.defineProperty(exports, "OrphanSystemAttributeError", {
|
|
7701
7714
|
enumerable: true,
|
|
7702
|
-
get: function () { return
|
|
7715
|
+
get: function () { return chunkRYAQOR7M_js.OrphanSystemAttributeError; }
|
|
7703
7716
|
});
|
|
7704
7717
|
Object.defineProperty(exports, "ProtectedResourceError", {
|
|
7705
7718
|
enumerable: true,
|
|
7706
|
-
get: function () { return
|
|
7719
|
+
get: function () { return chunkRYAQOR7M_js.ProtectedResourceError; }
|
|
7707
7720
|
});
|
|
7708
7721
|
Object.defineProperty(exports, "ProtectedRoleError", {
|
|
7709
7722
|
enumerable: true,
|
|
7710
|
-
get: function () { return
|
|
7723
|
+
get: function () { return chunkRYAQOR7M_js.ProtectedRoleError; }
|
|
7711
7724
|
});
|
|
7712
7725
|
Object.defineProperty(exports, "RecordNotFoundError", {
|
|
7713
7726
|
enumerable: true,
|
|
7714
|
-
get: function () { return
|
|
7727
|
+
get: function () { return chunkRYAQOR7M_js.RecordNotFoundError; }
|
|
7715
7728
|
});
|
|
7716
7729
|
Object.defineProperty(exports, "RecordReferencedError", {
|
|
7717
7730
|
enumerable: true,
|
|
7718
|
-
get: function () { return
|
|
7731
|
+
get: function () { return chunkRYAQOR7M_js.RecordReferencedError; }
|
|
7719
7732
|
});
|
|
7720
7733
|
Object.defineProperty(exports, "RepositoryError", {
|
|
7721
7734
|
enumerable: true,
|
|
7722
|
-
get: function () { return
|
|
7735
|
+
get: function () { return chunkRYAQOR7M_js.RepositoryError; }
|
|
7723
7736
|
});
|
|
7724
7737
|
Object.defineProperty(exports, "RoleNotFoundError", {
|
|
7725
7738
|
enumerable: true,
|
|
7726
|
-
get: function () { return
|
|
7739
|
+
get: function () { return chunkRYAQOR7M_js.RoleNotFoundError; }
|
|
7727
7740
|
});
|
|
7728
7741
|
Object.defineProperty(exports, "SchemaError", {
|
|
7729
7742
|
enumerable: true,
|
|
7730
|
-
get: function () { return
|
|
7743
|
+
get: function () { return chunkRYAQOR7M_js.SchemaError; }
|
|
7731
7744
|
});
|
|
7732
7745
|
Object.defineProperty(exports, "SchemaErrorCode", {
|
|
7733
7746
|
enumerable: true,
|
|
7734
|
-
get: function () { return
|
|
7747
|
+
get: function () { return chunkRYAQOR7M_js.SchemaErrorCode; }
|
|
7735
7748
|
});
|
|
7736
7749
|
Object.defineProperty(exports, "SchemaPlanNotFoundError", {
|
|
7737
7750
|
enumerable: true,
|
|
7738
|
-
get: function () { return
|
|
7751
|
+
get: function () { return chunkRYAQOR7M_js.SchemaPlanNotFoundError; }
|
|
7739
7752
|
});
|
|
7740
7753
|
Object.defineProperty(exports, "SearchBackendError", {
|
|
7741
7754
|
enumerable: true,
|
|
7742
|
-
get: function () { return
|
|
7755
|
+
get: function () { return chunkRYAQOR7M_js.SearchBackendError; }
|
|
7743
7756
|
});
|
|
7744
7757
|
Object.defineProperty(exports, "StorageError", {
|
|
7745
7758
|
enumerable: true,
|
|
7746
|
-
get: function () { return
|
|
7759
|
+
get: function () { return chunkRYAQOR7M_js.StorageError; }
|
|
7747
7760
|
});
|
|
7748
7761
|
Object.defineProperty(exports, "SyncCascadeError", {
|
|
7749
7762
|
enumerable: true,
|
|
7750
|
-
get: function () { return
|
|
7763
|
+
get: function () { return chunkRYAQOR7M_js.SyncCascadeError; }
|
|
7751
7764
|
});
|
|
7752
7765
|
Object.defineProperty(exports, "SyncConflictError", {
|
|
7753
7766
|
enumerable: true,
|
|
7754
|
-
get: function () { return
|
|
7767
|
+
get: function () { return chunkRYAQOR7M_js.SyncConflictError; }
|
|
7755
7768
|
});
|
|
7756
7769
|
Object.defineProperty(exports, "SyncError", {
|
|
7757
7770
|
enumerable: true,
|
|
7758
|
-
get: function () { return
|
|
7771
|
+
get: function () { return chunkRYAQOR7M_js.SyncError; }
|
|
7759
7772
|
});
|
|
7760
7773
|
Object.defineProperty(exports, "SystemEntityImmutableError", {
|
|
7761
7774
|
enumerable: true,
|
|
7762
|
-
get: function () { return
|
|
7775
|
+
get: function () { return chunkRYAQOR7M_js.SystemEntityImmutableError; }
|
|
7763
7776
|
});
|
|
7764
7777
|
Object.defineProperty(exports, "ValidationError", {
|
|
7765
7778
|
enumerable: true,
|
|
7766
|
-
get: function () { return
|
|
7779
|
+
get: function () { return chunkRYAQOR7M_js.ValidationError; }
|
|
7767
7780
|
});
|
|
7768
7781
|
Object.defineProperty(exports, "isAttributeInUseError", {
|
|
7769
7782
|
enumerable: true,
|
|
7770
|
-
get: function () { return
|
|
7783
|
+
get: function () { return chunkRYAQOR7M_js.isAttributeInUseError; }
|
|
7771
7784
|
});
|
|
7772
7785
|
Object.defineProperty(exports, "isNotFoundError", {
|
|
7773
7786
|
enumerable: true,
|
|
7774
|
-
get: function () { return
|
|
7787
|
+
get: function () { return chunkRYAQOR7M_js.isNotFoundError; }
|
|
7775
7788
|
});
|
|
7776
7789
|
Object.defineProperty(exports, "isObjectReferencedError", {
|
|
7777
7790
|
enumerable: true,
|
|
7778
|
-
get: function () { return
|
|
7791
|
+
get: function () { return chunkRYAQOR7M_js.isObjectReferencedError; }
|
|
7779
7792
|
});
|
|
7780
7793
|
Object.defineProperty(exports, "isProtectedResourceError", {
|
|
7781
7794
|
enumerable: true,
|
|
7782
|
-
get: function () { return
|
|
7795
|
+
get: function () { return chunkRYAQOR7M_js.isProtectedResourceError; }
|
|
7783
7796
|
});
|
|
7784
7797
|
Object.defineProperty(exports, "isRecordReferencedError", {
|
|
7785
7798
|
enumerable: true,
|
|
7786
|
-
get: function () { return
|
|
7799
|
+
get: function () { return chunkRYAQOR7M_js.isRecordReferencedError; }
|
|
7787
7800
|
});
|
|
7788
7801
|
Object.defineProperty(exports, "isSchemaError", {
|
|
7789
7802
|
enumerable: true,
|
|
7790
|
-
get: function () { return
|
|
7803
|
+
get: function () { return chunkRYAQOR7M_js.isSchemaError; }
|
|
7791
7804
|
});
|
|
7792
7805
|
Object.defineProperty(exports, "isValidationError", {
|
|
7793
7806
|
enumerable: true,
|
|
7794
|
-
get: function () { return
|
|
7807
|
+
get: function () { return chunkRYAQOR7M_js.isValidationError; }
|
|
7795
7808
|
});
|
|
7796
7809
|
Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
|
|
7797
7810
|
enumerable: true,
|
|
@@ -7919,8 +7932,6 @@ exports.evaluateComputedFormulaWithResult = evaluateComputedFormulaWithResult;
|
|
|
7919
7932
|
exports.evaluateFilterState = evaluateFilterState;
|
|
7920
7933
|
exports.evaluateRecordFilterState = evaluateRecordFilterState;
|
|
7921
7934
|
exports.extractAttributeNames = extractAttributeNames;
|
|
7922
|
-
exports.extractCurrencyFilterValue = extractCurrencyFilterValue;
|
|
7923
|
-
exports.extractFilterValue = extractFilterValue;
|
|
7924
7935
|
exports.extractValueRefs = extractValueRefs;
|
|
7925
7936
|
exports.flagRegistry = flagRegistry;
|
|
7926
7937
|
exports.form = form;
|
|
@@ -7935,7 +7946,6 @@ exports.generateDefaultListView = generateDefaultListView;
|
|
|
7935
7946
|
exports.getActiveTab = getActiveTab;
|
|
7936
7947
|
exports.getErrorMessage = getErrorMessage;
|
|
7937
7948
|
exports.getLiveProtocolPayloadChannel = getLiveProtocolPayloadChannel;
|
|
7938
|
-
exports.getOperatorPolarity = getOperatorPolarity;
|
|
7939
7949
|
exports.getRecordCreatorPrincipalId = getRecordCreatorPrincipalId;
|
|
7940
7950
|
exports.getSlotFieldTargets = getSlotFieldTargets;
|
|
7941
7951
|
exports.getUserDisplayName = getUserDisplayName;
|
|
@@ -7984,7 +7994,6 @@ exports.location = location;
|
|
|
7984
7994
|
exports.matchesAccepts = matchesAccepts;
|
|
7985
7995
|
exports.multiselect = multiselect;
|
|
7986
7996
|
exports.normalizeDateValue = normalizeDateValue;
|
|
7987
|
-
exports.normalizeForEdgeRpc = normalizeForEdgeRpc;
|
|
7988
7997
|
exports.number = number;
|
|
7989
7998
|
exports.numberFlag = numberFlag;
|
|
7990
7999
|
exports.object = object;
|
|
@@ -8015,12 +8024,12 @@ exports.select = select;
|
|
|
8015
8024
|
exports.status = status;
|
|
8016
8025
|
exports.stringFlag = stringFlag;
|
|
8017
8026
|
exports.text = text;
|
|
8018
|
-
exports.toMultiValueOperator = toMultiValueOperator;
|
|
8019
8027
|
exports.toUndefinedIfEmpty = toUndefinedIfEmpty;
|
|
8020
8028
|
exports.user = user;
|
|
8021
8029
|
exports.validateAttributeName = validateAttributeName;
|
|
8022
8030
|
exports.validateLabelExpression = validateLabelExpression;
|
|
8023
8031
|
exports.validateObjectName = validateObjectName;
|
|
8032
|
+
exports.validateViewName = validateViewName;
|
|
8024
8033
|
exports.viewRegistry = viewRegistry;
|
|
8025
8034
|
exports.viewStateKey = viewStateKey;
|
|
8026
8035
|
exports.viewSyncPayload = viewSyncPayload;
|