@stndrds/schema 1.0.0-alpha.226 → 1.0.0-alpha.228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{attributes-C6pCxr5P.d.mts → attributes-D6PICHuH.d.mts} +1 -1
- package/dist/{attributes-DZIol94T.d.ts → attributes-c0_kaRr7.d.ts} +1 -1
- package/dist/{helpers-Ca3PIt9O.d.mts → helpers-8AfBPkSS.d.mts} +2 -2
- package/dist/{helpers-B3EPtA8t.d.ts → helpers-D5Vsw5Ps.d.ts} +2 -2
- package/dist/index.d.mts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +141 -76
- package/dist/index.mjs +74 -11
- package/dist/{types-CBV2_ikK.d.ts → types-D6oD2MXG.d.ts} +1 -1
- package/dist/{types-DjGoodOL.d.mts → types-OTEsO6Ho.d.mts} +1 -1
- package/dist/validation/all.d.mts +3 -3
- package/dist/validation/all.d.ts +3 -3
- package/dist/validation/all.js +10 -10
- package/dist/validation/all.mjs +3 -3
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/file.d.mts +2 -2
- package/dist/validation/complex/file.d.ts +2 -2
- package/dist/validation/complex/location.d.mts +2 -2
- package/dist/validation/complex/location.d.ts +2 -2
- package/dist/validation/complex/phone.d.mts +2 -2
- package/dist/validation/complex/phone.d.ts +2 -2
- package/dist/validation/complex/relation.d.mts +2 -2
- package/dist/validation/complex/relation.d.ts +2 -2
- package/dist/validation/complex/richtext.d.mts +2 -2
- package/dist/validation/complex/richtext.d.ts +2 -2
- package/dist/validation/complex/select.d.mts +2 -2
- package/dist/validation/complex/select.d.ts +2 -2
- package/dist/validation/complex/user.d.mts +2 -2
- package/dist/validation/complex/user.d.ts +2 -2
- package/dist/validation/computed/formula.d.mts +2 -2
- package/dist/validation/computed/formula.d.ts +2 -2
- package/dist/validation/computed/rollup.d.mts +2 -2
- package/dist/validation/computed/rollup.d.ts +2 -2
- package/dist/validation/config/index.d.mts +1 -1
- package/dist/validation/config/index.d.ts +1 -1
- package/dist/validation/core/index.d.mts +3 -3
- package/dist/validation/core/index.d.ts +3 -3
- package/dist/validation/object/index.d.mts +3 -3
- package/dist/validation/object/index.d.ts +3 -3
- package/dist/validation/object/index.js +16 -16
- package/dist/validation/object/index.mjs +3 -3
- package/dist/validation/primitives/checkbox.d.mts +2 -2
- package/dist/validation/primitives/checkbox.d.ts +2 -2
- package/dist/validation/primitives/date.d.mts +2 -2
- package/dist/validation/primitives/date.d.ts +2 -2
- package/dist/validation/primitives/number.d.mts +2 -2
- package/dist/validation/primitives/number.d.ts +2 -2
- package/dist/validation/primitives/text.d.mts +2 -2
- package/dist/validation/primitives/text.d.ts +2 -2
- package/package.json +2 -2
- package/dist/{chunk-6CTUPVHH.mjs → chunk-PWBKZKLY.mjs} +2 -2
- package/dist/{chunk-MUGKKCY3.js → chunk-WVYBALNG.js} +2 -2
package/dist/index.js
CHANGED
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
var chunkFRCDMQER_js = require('./chunk-FRCDMQER.js');
|
|
4
4
|
require('./chunk-PGERPYDR.js');
|
|
5
5
|
var chunkNSM2JPC3_js = require('./chunk-NSM2JPC3.js');
|
|
6
|
-
var
|
|
6
|
+
var chunkWVYBALNG_js = require('./chunk-WVYBALNG.js');
|
|
7
7
|
require('./chunk-5WATIVCA.js');
|
|
8
8
|
require('./chunk-O44XVGHE.js');
|
|
9
9
|
require('./chunk-YIP5FJ5H.js');
|
|
10
10
|
require('./chunk-SGSGREPG.js');
|
|
11
|
+
var chunkEBGRZUIH_js = require('./chunk-EBGRZUIH.js');
|
|
12
|
+
require('./chunk-EEH4XQ7W.js');
|
|
11
13
|
require('./chunk-EW5XR2X3.js');
|
|
12
14
|
require('./chunk-QWKLQRBX.js');
|
|
13
15
|
require('./chunk-KNGWHQLR.js');
|
|
@@ -16,8 +18,6 @@ require('./chunk-V2UA2D4E.js');
|
|
|
16
18
|
require('./chunk-ACKMC6FL.js');
|
|
17
19
|
require('./chunk-Q5DIOYUE.js');
|
|
18
20
|
require('./chunk-E6JUYGJX.js');
|
|
19
|
-
var chunkEBGRZUIH_js = require('./chunk-EBGRZUIH.js');
|
|
20
|
-
require('./chunk-EEH4XQ7W.js');
|
|
21
21
|
var chunkYKWSHBT5_js = require('./chunk-YKWSHBT5.js');
|
|
22
22
|
var constants = require('@stndrds/constants');
|
|
23
23
|
var z3 = require('zod');
|
|
@@ -423,6 +423,52 @@ var AUTOFILL_ELIGIBLE_TYPES = [
|
|
|
423
423
|
"multiselect"
|
|
424
424
|
];
|
|
425
425
|
|
|
426
|
+
// src/types/audit.ts
|
|
427
|
+
var AUDIT_RESOURCE_TYPES = [
|
|
428
|
+
"record",
|
|
429
|
+
"object",
|
|
430
|
+
"attribute",
|
|
431
|
+
"user",
|
|
432
|
+
"role",
|
|
433
|
+
"settings",
|
|
434
|
+
"file"
|
|
435
|
+
];
|
|
436
|
+
var AUDIT_ACTIONS = [
|
|
437
|
+
// Records
|
|
438
|
+
"record.created",
|
|
439
|
+
"record.updated",
|
|
440
|
+
"record.deleted",
|
|
441
|
+
"record.restored",
|
|
442
|
+
"record.purged",
|
|
443
|
+
// Schema - Objects
|
|
444
|
+
"object.created",
|
|
445
|
+
"object.updated",
|
|
446
|
+
"object.deleted",
|
|
447
|
+
// Schema - Attributes
|
|
448
|
+
"attribute.created",
|
|
449
|
+
"attribute.updated",
|
|
450
|
+
"attribute.deleted",
|
|
451
|
+
// Users
|
|
452
|
+
"user.created",
|
|
453
|
+
"user.invited",
|
|
454
|
+
"user.updated",
|
|
455
|
+
"user.deleted",
|
|
456
|
+
"user.login",
|
|
457
|
+
"user.logout",
|
|
458
|
+
// Roles
|
|
459
|
+
"role.created",
|
|
460
|
+
"role.updated",
|
|
461
|
+
"role.deleted",
|
|
462
|
+
"role.assigned",
|
|
463
|
+
"role.revoked",
|
|
464
|
+
// Settings
|
|
465
|
+
"settings.updated",
|
|
466
|
+
// Files
|
|
467
|
+
"file.uploaded",
|
|
468
|
+
"file.updated",
|
|
469
|
+
"file.deleted"
|
|
470
|
+
];
|
|
471
|
+
|
|
426
472
|
// src/types/document-layout.ts
|
|
427
473
|
var MAX_PRESET_DEPTH = 5;
|
|
428
474
|
|
|
@@ -1300,7 +1346,7 @@ var BaseAttributeBuilder = class {
|
|
|
1300
1346
|
* @see https://standardschema.dev/
|
|
1301
1347
|
*/
|
|
1302
1348
|
get "~standard"() {
|
|
1303
|
-
const zodSchema =
|
|
1349
|
+
const zodSchema = chunkWVYBALNG_js.createAttributeValidator(this.build());
|
|
1304
1350
|
return createStandardSchemaProps(zodSchema);
|
|
1305
1351
|
}
|
|
1306
1352
|
constructor(type, name, label) {
|
|
@@ -2073,9 +2119,9 @@ var RollupAttributeBuilder = class extends BaseAttributeBuilder {
|
|
|
2073
2119
|
if (fn === "original" && targetType !== void 0 && targetType !== "select" && targetType !== "status" && targetType !== "multiselect") {
|
|
2074
2120
|
const relation2 = this.attr.relationAttribute ?? "relation";
|
|
2075
2121
|
const target = this.attr.targetAttribute ?? "field";
|
|
2076
|
-
throw new
|
|
2122
|
+
throw new chunkWVYBALNG_js.SchemaError(
|
|
2077
2123
|
`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}").`,
|
|
2078
|
-
|
|
2124
|
+
chunkWVYBALNG_js.SchemaErrorCode.VALIDATION_FAILED
|
|
2079
2125
|
);
|
|
2080
2126
|
}
|
|
2081
2127
|
return super.build();
|
|
@@ -2571,7 +2617,7 @@ var ObjectBuilder = class {
|
|
|
2571
2617
|
* @see https://standardschema.dev/
|
|
2572
2618
|
*/
|
|
2573
2619
|
get "~standard"() {
|
|
2574
|
-
const zodSchema =
|
|
2620
|
+
const zodSchema = chunkWVYBALNG_js.createObjectValidator(this.build());
|
|
2575
2621
|
return createStandardSchemaProps(zodSchema);
|
|
2576
2622
|
}
|
|
2577
2623
|
/**
|
|
@@ -2736,7 +2782,7 @@ var ObjectBuilder = class {
|
|
|
2736
2782
|
documentLayout(layout) {
|
|
2737
2783
|
if (layout.presets) {
|
|
2738
2784
|
for (const preset of layout.presets) {
|
|
2739
|
-
|
|
2785
|
+
validatePresetStructure(preset.id, preset.structure, 1);
|
|
2740
2786
|
}
|
|
2741
2787
|
}
|
|
2742
2788
|
this.obj.documentLayout = layout;
|
|
@@ -2785,26 +2831,26 @@ var ObjectBuilder = class {
|
|
|
2785
2831
|
throw new Error("[ObjectBuilder] Missing required field: label");
|
|
2786
2832
|
}
|
|
2787
2833
|
if (!this._labelExpression) {
|
|
2788
|
-
throw new
|
|
2834
|
+
throw new chunkWVYBALNG_js.SchemaError(
|
|
2789
2835
|
`Object "${this.obj.name}" must have a labelExpression. The labelExpression defines how records are displayed in lists and relations (e.g. "{{ name }}").`,
|
|
2790
|
-
|
|
2836
|
+
chunkWVYBALNG_js.SchemaErrorCode.VALIDATION_FAILED
|
|
2791
2837
|
);
|
|
2792
2838
|
}
|
|
2793
2839
|
const labelResult = labelExpressionSchema.safeParse(this._labelExpression);
|
|
2794
2840
|
if (!labelResult.success) {
|
|
2795
2841
|
const errorMsg = labelResult.error.issues[0]?.message ?? "Invalid labelExpression";
|
|
2796
|
-
throw new
|
|
2842
|
+
throw new chunkWVYBALNG_js.SchemaError(
|
|
2797
2843
|
`Invalid labelExpression for "${this.obj.name}": ${errorMsg}`,
|
|
2798
|
-
|
|
2844
|
+
chunkWVYBALNG_js.SchemaErrorCode.VALIDATION_FAILED
|
|
2799
2845
|
);
|
|
2800
2846
|
}
|
|
2801
2847
|
if (this._embeddingExpression !== void 0) {
|
|
2802
2848
|
const embeddingResult = labelExpressionSchema.safeParse(this._embeddingExpression);
|
|
2803
2849
|
if (!embeddingResult.success) {
|
|
2804
2850
|
const errorMsg = embeddingResult.error.issues[0]?.message ?? "Invalid embeddingExpression";
|
|
2805
|
-
throw new
|
|
2851
|
+
throw new chunkWVYBALNG_js.SchemaError(
|
|
2806
2852
|
`Invalid embeddingExpression for "${this.obj.name}": ${errorMsg}`,
|
|
2807
|
-
|
|
2853
|
+
chunkWVYBALNG_js.SchemaErrorCode.VALIDATION_FAILED
|
|
2808
2854
|
);
|
|
2809
2855
|
}
|
|
2810
2856
|
}
|
|
@@ -2845,7 +2891,7 @@ var ObjectBuilder = class {
|
|
|
2845
2891
|
objectNameSchema.parse(name);
|
|
2846
2892
|
} catch (error) {
|
|
2847
2893
|
if (error instanceof z3__default.default.ZodError) {
|
|
2848
|
-
throw new
|
|
2894
|
+
throw new chunkWVYBALNG_js.SchemaError(error.issues[0].message, chunkWVYBALNG_js.SchemaErrorCode.INVALID_OBJECT_NAME);
|
|
2849
2895
|
}
|
|
2850
2896
|
throw error;
|
|
2851
2897
|
}
|
|
@@ -2854,13 +2900,30 @@ var ObjectBuilder = class {
|
|
|
2854
2900
|
function object(config) {
|
|
2855
2901
|
return new ObjectBuilder(config);
|
|
2856
2902
|
}
|
|
2857
|
-
function
|
|
2903
|
+
function validatePresetStructure(presetId, nodes, depth) {
|
|
2904
|
+
const fail = (message, detail) => {
|
|
2905
|
+
throw new chunkWVYBALNG_js.ValidationError(message, [
|
|
2906
|
+
{ path: ["documentLayout", "presets", presetId], message: detail }
|
|
2907
|
+
]);
|
|
2908
|
+
};
|
|
2858
2909
|
if (depth > MAX_PRESET_DEPTH) {
|
|
2859
|
-
|
|
2910
|
+
fail(`Preset structure exceeds max depth of ${MAX_PRESET_DEPTH}`, "Preset structure too deep");
|
|
2860
2911
|
}
|
|
2912
|
+
const seenSiblingTitles = /* @__PURE__ */ new Set();
|
|
2861
2913
|
for (const node of nodes) {
|
|
2914
|
+
const title = node.title.trim();
|
|
2915
|
+
if (title.length === 0) {
|
|
2916
|
+
fail("Folder preset node title is required", "Empty folder title");
|
|
2917
|
+
}
|
|
2918
|
+
if (title.includes("/")) {
|
|
2919
|
+
fail("Folder preset node title cannot contain /", `Folder title contains /: "${title}"`);
|
|
2920
|
+
}
|
|
2921
|
+
if (seenSiblingTitles.has(title)) {
|
|
2922
|
+
fail("Folder preset sibling titles must be unique", `Duplicate folder title: "${title}"`);
|
|
2923
|
+
}
|
|
2924
|
+
seenSiblingTitles.add(title);
|
|
2862
2925
|
if (node.children && node.children.length > 0) {
|
|
2863
|
-
|
|
2926
|
+
validatePresetStructure(presetId, node.children, depth + 1);
|
|
2864
2927
|
}
|
|
2865
2928
|
}
|
|
2866
2929
|
}
|
|
@@ -4605,8 +4668,8 @@ var registry = new NativeObjectRegistryClass();
|
|
|
4605
4668
|
var SKILL_OBJECT = object({ name: "skill", label: "Skill" }).sealed().icon("sparkles").order(Number.MAX_SAFE_INTEGER).pluralLabel("Skills").labelExpression("{{ name }}").embeddingExpression("{{ name }}\n{{ description }}\n{{ content }}").attribute(text({ name: "name", label: "Name" }).maxLength(constants.SKILL_NAME_MAX_LENGTH).required()).attribute(
|
|
4606
4669
|
text({ name: "description", label: "Description" }).multiline().maxLength(constants.SKILL_DESCRIPTION_MAX_LENGTH).required()
|
|
4607
4670
|
).attribute(richtext({ name: "content", label: "Content" })).build();
|
|
4608
|
-
var SKILL_VIEW = detailView("skill-detail", "Skill").for("skill").default().sidePanel({ attributes: ["name", "description"] }).tab("content", "Content").richtext("content").titleAttribute("name").done().build();
|
|
4609
|
-
var SKILL_LIST_VIEW = listView("skill-list", "Skills").for("skill").default().tab("all", "All").table().columns("name", "description").sort("name", "asc").build();
|
|
4671
|
+
var SKILL_VIEW = detailView("skill-detail", "Skill").for("skill").version(2).default().sidePanel({ attributes: ["name", "description"] }).tab("content", "Content").richtext("content").titleAttribute("name").done().build();
|
|
4672
|
+
var SKILL_LIST_VIEW = listView("skill-list", "Skills").for("skill").version(2).default().tab("all", "All").table().columns("name", "description").sort("name", "asc").build();
|
|
4610
4673
|
|
|
4611
4674
|
// src/views/registry.ts
|
|
4612
4675
|
var ViewRegistry = class {
|
|
@@ -6838,7 +6901,7 @@ function assertOperatorForType(operator, type, context) {
|
|
|
6838
6901
|
if (!ops?.includes(operator)) {
|
|
6839
6902
|
const validList = ops?.length ? ops.join(", ") : "(no operators registered for this type)";
|
|
6840
6903
|
const summary = `Operator "${operator}" is not valid for ${context} type "${type}". Valid operators: ${validList}.`;
|
|
6841
|
-
throw new
|
|
6904
|
+
throw new chunkWVYBALNG_js.ValidationError(summary, [
|
|
6842
6905
|
{
|
|
6843
6906
|
path: ["operator"],
|
|
6844
6907
|
message: summary
|
|
@@ -6854,7 +6917,7 @@ function assertRelativeDateValue(rule) {
|
|
|
6854
6917
|
const valid = typeof v === "object" && v !== null && typeof v.amount === "number" && Number.isFinite(v.amount) && v.amount > 0 && typeof v.unit === "string" && RELATIVE_DATE_UNITS.has(v.unit) && typeof v.direction === "string" && RELATIVE_DATE_DIRECTIONS.has(v.direction);
|
|
6855
6918
|
if (!valid) {
|
|
6856
6919
|
const m = `Operator "is_within" requires a relative-date value { amount: positive number, unit: days|weeks|months|years, direction: past|future }`;
|
|
6857
|
-
throw new
|
|
6920
|
+
throw new chunkWVYBALNG_js.ValidationError(m, [{ path: ["value"], message: m }]);
|
|
6858
6921
|
}
|
|
6859
6922
|
}
|
|
6860
6923
|
function assertDynamicValueForAttribute(rule, attrType) {
|
|
@@ -6862,34 +6925,34 @@ function assertDynamicValueForAttribute(rule, attrType) {
|
|
|
6862
6925
|
const v = rule.value;
|
|
6863
6926
|
if (v.dynamic === "actor" && attrType !== "user") {
|
|
6864
6927
|
const m = `actor token (@me) is only valid on user attributes, not "${attrType}"`;
|
|
6865
|
-
throw new
|
|
6928
|
+
throw new chunkWVYBALNG_js.ValidationError(m, [{ path: ["value"], message: m }]);
|
|
6866
6929
|
}
|
|
6867
6930
|
if (v.dynamic === "date" && attrType !== "date") {
|
|
6868
6931
|
const m = `date token (@today/@now) is only valid on date attributes, not "${attrType}"`;
|
|
6869
|
-
throw new
|
|
6932
|
+
throw new chunkWVYBALNG_js.ValidationError(m, [{ path: ["value"], message: m }]);
|
|
6870
6933
|
}
|
|
6871
6934
|
}
|
|
6872
6935
|
function validateQualifiedRule(rule, context) {
|
|
6873
6936
|
const rootAttr = context.attributes.find((a) => a.name === rule.attribute);
|
|
6874
6937
|
const systemOps = SYSTEM_FILTER_OPERATORS[rule.attribute];
|
|
6875
6938
|
if (!(rootAttr || systemOps)) {
|
|
6876
|
-
throw new
|
|
6939
|
+
throw new chunkWVYBALNG_js.ValidationError(`Unknown attribute: ${rule.attribute}`, [
|
|
6877
6940
|
{ path: ["attribute"], message: `Unknown attribute: ${rule.attribute}` }
|
|
6878
6941
|
]);
|
|
6879
6942
|
}
|
|
6880
6943
|
if (rule.quantifier !== void 0 && !rule.property) {
|
|
6881
6944
|
const m = `quantifier is only valid on qualified edge rules (set "property")`;
|
|
6882
|
-
throw new
|
|
6945
|
+
throw new chunkWVYBALNG_js.ValidationError(m, [{ path: ["quantifier"], message: m }]);
|
|
6883
6946
|
}
|
|
6884
6947
|
if (!rootAttr) {
|
|
6885
6948
|
if (rule.property) {
|
|
6886
|
-
throw new
|
|
6949
|
+
throw new chunkWVYBALNG_js.ValidationError(`Cannot qualify system attribute "${rule.attribute}"`, [
|
|
6887
6950
|
{ path: ["property"], message: `"${rule.attribute}" is a system column, not a reference` }
|
|
6888
6951
|
]);
|
|
6889
6952
|
}
|
|
6890
6953
|
if (!systemOps.includes(rule.operator)) {
|
|
6891
6954
|
const summary = `Operator "${rule.operator}" is not valid for system attribute "${rule.attribute}". Valid operators: ${systemOps.join(", ")}.`;
|
|
6892
|
-
throw new
|
|
6955
|
+
throw new chunkWVYBALNG_js.ValidationError(summary, [{ path: ["operator"], message: summary }]);
|
|
6893
6956
|
}
|
|
6894
6957
|
assertRelativeDateValue(rule);
|
|
6895
6958
|
return;
|
|
@@ -6900,25 +6963,25 @@ function validateQualifiedRule(rule, context) {
|
|
|
6900
6963
|
if (!ops.includes(rule.operator)) {
|
|
6901
6964
|
const validList = ops.length ? ops.join(", ") : "(not filterable)";
|
|
6902
6965
|
const summary = `Operator "${rule.operator}" is not valid for attribute "${rootAttr.name}". Valid operators: ${validList}.`;
|
|
6903
|
-
throw new
|
|
6966
|
+
throw new chunkWVYBALNG_js.ValidationError(summary, [{ path: ["operator"], message: summary }]);
|
|
6904
6967
|
}
|
|
6905
6968
|
assertRelativeDateValue(rule);
|
|
6906
6969
|
return;
|
|
6907
6970
|
}
|
|
6908
6971
|
if (!REFERENCE_TYPES.has(rootAttr.type)) {
|
|
6909
|
-
throw new
|
|
6972
|
+
throw new chunkWVYBALNG_js.ValidationError(`Cannot qualify ${rootAttr.type} attribute "${rule.attribute}"`, [
|
|
6910
6973
|
{ path: ["property"], message: `Attribute "${rule.attribute}" is not a reference type` }
|
|
6911
6974
|
]);
|
|
6912
6975
|
}
|
|
6913
6976
|
const propSchema = rootAttr.properties;
|
|
6914
6977
|
if (!propSchema) {
|
|
6915
|
-
throw new
|
|
6978
|
+
throw new chunkWVYBALNG_js.ValidationError(`Attribute "${rule.attribute}" has no qualifyWith schema`, [
|
|
6916
6979
|
{ path: ["property"], message: `"${rule.attribute}" has no qualifyWith` }
|
|
6917
6980
|
]);
|
|
6918
6981
|
}
|
|
6919
6982
|
const propDef = propSchema.definitions.find((p) => p.name === rule.property);
|
|
6920
6983
|
if (!propDef) {
|
|
6921
|
-
throw new
|
|
6984
|
+
throw new chunkWVYBALNG_js.ValidationError(
|
|
6922
6985
|
`Property "${rule.property}" not defined on "${rule.attribute}".qualifyWith()`,
|
|
6923
6986
|
[{ path: ["property"], message: `Unknown property: ${rule.property}` }]
|
|
6924
6987
|
);
|
|
@@ -6961,179 +7024,179 @@ Object.defineProperty(exports, "parseComputedFormula", {
|
|
|
6961
7024
|
});
|
|
6962
7025
|
Object.defineProperty(exports, "AccessDeniedError", {
|
|
6963
7026
|
enumerable: true,
|
|
6964
|
-
get: function () { return
|
|
7027
|
+
get: function () { return chunkWVYBALNG_js.AccessDeniedError; }
|
|
6965
7028
|
});
|
|
6966
7029
|
Object.defineProperty(exports, "AttributeInUseError", {
|
|
6967
7030
|
enumerable: true,
|
|
6968
|
-
get: function () { return
|
|
7031
|
+
get: function () { return chunkWVYBALNG_js.AttributeInUseError; }
|
|
6969
7032
|
});
|
|
6970
7033
|
Object.defineProperty(exports, "AttributeNotFoundError", {
|
|
6971
7034
|
enumerable: true,
|
|
6972
|
-
get: function () { return
|
|
7035
|
+
get: function () { return chunkWVYBALNG_js.AttributeNotFoundError; }
|
|
6973
7036
|
});
|
|
6974
7037
|
Object.defineProperty(exports, "ChangeTypeNotSupportedError", {
|
|
6975
7038
|
enumerable: true,
|
|
6976
|
-
get: function () { return
|
|
7039
|
+
get: function () { return chunkWVYBALNG_js.ChangeTypeNotSupportedError; }
|
|
6977
7040
|
});
|
|
6978
7041
|
Object.defineProperty(exports, "ConcurrentModificationError", {
|
|
6979
7042
|
enumerable: true,
|
|
6980
|
-
get: function () { return
|
|
7043
|
+
get: function () { return chunkWVYBALNG_js.ConcurrentModificationError; }
|
|
6981
7044
|
});
|
|
6982
7045
|
Object.defineProperty(exports, "DestructiveSyncNotAllowedError", {
|
|
6983
7046
|
enumerable: true,
|
|
6984
|
-
get: function () { return
|
|
7047
|
+
get: function () { return chunkWVYBALNG_js.DestructiveSyncNotAllowedError; }
|
|
6985
7048
|
});
|
|
6986
7049
|
Object.defineProperty(exports, "DuplicateError", {
|
|
6987
7050
|
enumerable: true,
|
|
6988
|
-
get: function () { return
|
|
7051
|
+
get: function () { return chunkWVYBALNG_js.DuplicateError; }
|
|
6989
7052
|
});
|
|
6990
7053
|
Object.defineProperty(exports, "ForbiddenError", {
|
|
6991
7054
|
enumerable: true,
|
|
6992
|
-
get: function () { return
|
|
7055
|
+
get: function () { return chunkWVYBALNG_js.ForbiddenError; }
|
|
6993
7056
|
});
|
|
6994
7057
|
Object.defineProperty(exports, "MemoryNotFoundError", {
|
|
6995
7058
|
enumerable: true,
|
|
6996
|
-
get: function () { return
|
|
7059
|
+
get: function () { return chunkWVYBALNG_js.MemoryNotFoundError; }
|
|
6997
7060
|
});
|
|
6998
7061
|
Object.defineProperty(exports, "MigrationTimeoutError", {
|
|
6999
7062
|
enumerable: true,
|
|
7000
|
-
get: function () { return
|
|
7063
|
+
get: function () { return chunkWVYBALNG_js.MigrationTimeoutError; }
|
|
7001
7064
|
});
|
|
7002
7065
|
Object.defineProperty(exports, "NotFoundError", {
|
|
7003
7066
|
enumerable: true,
|
|
7004
|
-
get: function () { return
|
|
7067
|
+
get: function () { return chunkWVYBALNG_js.NotFoundError; }
|
|
7005
7068
|
});
|
|
7006
7069
|
Object.defineProperty(exports, "NotImplementedError", {
|
|
7007
7070
|
enumerable: true,
|
|
7008
|
-
get: function () { return
|
|
7071
|
+
get: function () { return chunkWVYBALNG_js.NotImplementedError; }
|
|
7009
7072
|
});
|
|
7010
7073
|
Object.defineProperty(exports, "ObjectNotFoundError", {
|
|
7011
7074
|
enumerable: true,
|
|
7012
|
-
get: function () { return
|
|
7075
|
+
get: function () { return chunkWVYBALNG_js.ObjectNotFoundError; }
|
|
7013
7076
|
});
|
|
7014
7077
|
Object.defineProperty(exports, "ObjectReferencedError", {
|
|
7015
7078
|
enumerable: true,
|
|
7016
|
-
get: function () { return
|
|
7079
|
+
get: function () { return chunkWVYBALNG_js.ObjectReferencedError; }
|
|
7017
7080
|
});
|
|
7018
7081
|
Object.defineProperty(exports, "OrphanSystemAttributeError", {
|
|
7019
7082
|
enumerable: true,
|
|
7020
|
-
get: function () { return
|
|
7083
|
+
get: function () { return chunkWVYBALNG_js.OrphanSystemAttributeError; }
|
|
7021
7084
|
});
|
|
7022
7085
|
Object.defineProperty(exports, "ProtectedResourceError", {
|
|
7023
7086
|
enumerable: true,
|
|
7024
|
-
get: function () { return
|
|
7087
|
+
get: function () { return chunkWVYBALNG_js.ProtectedResourceError; }
|
|
7025
7088
|
});
|
|
7026
7089
|
Object.defineProperty(exports, "ProtectedRoleError", {
|
|
7027
7090
|
enumerable: true,
|
|
7028
|
-
get: function () { return
|
|
7091
|
+
get: function () { return chunkWVYBALNG_js.ProtectedRoleError; }
|
|
7029
7092
|
});
|
|
7030
7093
|
Object.defineProperty(exports, "RecordNotFoundError", {
|
|
7031
7094
|
enumerable: true,
|
|
7032
|
-
get: function () { return
|
|
7095
|
+
get: function () { return chunkWVYBALNG_js.RecordNotFoundError; }
|
|
7033
7096
|
});
|
|
7034
7097
|
Object.defineProperty(exports, "RecordReferencedError", {
|
|
7035
7098
|
enumerable: true,
|
|
7036
|
-
get: function () { return
|
|
7099
|
+
get: function () { return chunkWVYBALNG_js.RecordReferencedError; }
|
|
7037
7100
|
});
|
|
7038
7101
|
Object.defineProperty(exports, "RepositoryError", {
|
|
7039
7102
|
enumerable: true,
|
|
7040
|
-
get: function () { return
|
|
7103
|
+
get: function () { return chunkWVYBALNG_js.RepositoryError; }
|
|
7041
7104
|
});
|
|
7042
7105
|
Object.defineProperty(exports, "RoleNotFoundError", {
|
|
7043
7106
|
enumerable: true,
|
|
7044
|
-
get: function () { return
|
|
7107
|
+
get: function () { return chunkWVYBALNG_js.RoleNotFoundError; }
|
|
7045
7108
|
});
|
|
7046
7109
|
Object.defineProperty(exports, "SchemaError", {
|
|
7047
7110
|
enumerable: true,
|
|
7048
|
-
get: function () { return
|
|
7111
|
+
get: function () { return chunkWVYBALNG_js.SchemaError; }
|
|
7049
7112
|
});
|
|
7050
7113
|
Object.defineProperty(exports, "SchemaErrorCode", {
|
|
7051
7114
|
enumerable: true,
|
|
7052
|
-
get: function () { return
|
|
7115
|
+
get: function () { return chunkWVYBALNG_js.SchemaErrorCode; }
|
|
7053
7116
|
});
|
|
7054
7117
|
Object.defineProperty(exports, "SearchBackendError", {
|
|
7055
7118
|
enumerable: true,
|
|
7056
|
-
get: function () { return
|
|
7119
|
+
get: function () { return chunkWVYBALNG_js.SearchBackendError; }
|
|
7057
7120
|
});
|
|
7058
7121
|
Object.defineProperty(exports, "StorageError", {
|
|
7059
7122
|
enumerable: true,
|
|
7060
|
-
get: function () { return
|
|
7123
|
+
get: function () { return chunkWVYBALNG_js.StorageError; }
|
|
7061
7124
|
});
|
|
7062
7125
|
Object.defineProperty(exports, "SyncCascadeError", {
|
|
7063
7126
|
enumerable: true,
|
|
7064
|
-
get: function () { return
|
|
7127
|
+
get: function () { return chunkWVYBALNG_js.SyncCascadeError; }
|
|
7065
7128
|
});
|
|
7066
7129
|
Object.defineProperty(exports, "SyncConflictError", {
|
|
7067
7130
|
enumerable: true,
|
|
7068
|
-
get: function () { return
|
|
7131
|
+
get: function () { return chunkWVYBALNG_js.SyncConflictError; }
|
|
7069
7132
|
});
|
|
7070
7133
|
Object.defineProperty(exports, "SyncError", {
|
|
7071
7134
|
enumerable: true,
|
|
7072
|
-
get: function () { return
|
|
7135
|
+
get: function () { return chunkWVYBALNG_js.SyncError; }
|
|
7073
7136
|
});
|
|
7074
7137
|
Object.defineProperty(exports, "SystemEntityImmutableError", {
|
|
7075
7138
|
enumerable: true,
|
|
7076
|
-
get: function () { return
|
|
7139
|
+
get: function () { return chunkWVYBALNG_js.SystemEntityImmutableError; }
|
|
7077
7140
|
});
|
|
7078
7141
|
Object.defineProperty(exports, "ValidationError", {
|
|
7079
7142
|
enumerable: true,
|
|
7080
|
-
get: function () { return
|
|
7143
|
+
get: function () { return chunkWVYBALNG_js.ValidationError; }
|
|
7081
7144
|
});
|
|
7082
7145
|
Object.defineProperty(exports, "computeRecordStatus", {
|
|
7083
7146
|
enumerable: true,
|
|
7084
|
-
get: function () { return
|
|
7147
|
+
get: function () { return chunkWVYBALNG_js.computeRecordStatus; }
|
|
7085
7148
|
});
|
|
7086
7149
|
Object.defineProperty(exports, "createFormAttributeValidator", {
|
|
7087
7150
|
enumerable: true,
|
|
7088
|
-
get: function () { return
|
|
7151
|
+
get: function () { return chunkWVYBALNG_js.createFormAttributeValidator; }
|
|
7089
7152
|
});
|
|
7090
7153
|
Object.defineProperty(exports, "isAttributeInUseError", {
|
|
7091
7154
|
enumerable: true,
|
|
7092
|
-
get: function () { return
|
|
7155
|
+
get: function () { return chunkWVYBALNG_js.isAttributeInUseError; }
|
|
7093
7156
|
});
|
|
7094
7157
|
Object.defineProperty(exports, "isNotFoundError", {
|
|
7095
7158
|
enumerable: true,
|
|
7096
|
-
get: function () { return
|
|
7159
|
+
get: function () { return chunkWVYBALNG_js.isNotFoundError; }
|
|
7097
7160
|
});
|
|
7098
7161
|
Object.defineProperty(exports, "isObjectReferencedError", {
|
|
7099
7162
|
enumerable: true,
|
|
7100
|
-
get: function () { return
|
|
7163
|
+
get: function () { return chunkWVYBALNG_js.isObjectReferencedError; }
|
|
7101
7164
|
});
|
|
7102
7165
|
Object.defineProperty(exports, "isProtectedResourceError", {
|
|
7103
7166
|
enumerable: true,
|
|
7104
|
-
get: function () { return
|
|
7167
|
+
get: function () { return chunkWVYBALNG_js.isProtectedResourceError; }
|
|
7105
7168
|
});
|
|
7106
7169
|
Object.defineProperty(exports, "isRecordReferencedError", {
|
|
7107
7170
|
enumerable: true,
|
|
7108
|
-
get: function () { return
|
|
7171
|
+
get: function () { return chunkWVYBALNG_js.isRecordReferencedError; }
|
|
7109
7172
|
});
|
|
7110
7173
|
Object.defineProperty(exports, "isSchemaError", {
|
|
7111
7174
|
enumerable: true,
|
|
7112
|
-
get: function () { return
|
|
7175
|
+
get: function () { return chunkWVYBALNG_js.isSchemaError; }
|
|
7113
7176
|
});
|
|
7114
7177
|
Object.defineProperty(exports, "isValidationError", {
|
|
7115
7178
|
enumerable: true,
|
|
7116
|
-
get: function () { return
|
|
7179
|
+
get: function () { return chunkWVYBALNG_js.isValidationError; }
|
|
7117
7180
|
});
|
|
7118
7181
|
Object.defineProperty(exports, "rejectUnknownAttributesOrThrow", {
|
|
7119
7182
|
enumerable: true,
|
|
7120
|
-
get: function () { return
|
|
7183
|
+
get: function () { return chunkWVYBALNG_js.rejectUnknownAttributesOrThrow; }
|
|
7121
7184
|
});
|
|
7122
7185
|
Object.defineProperty(exports, "validateDraft", {
|
|
7123
7186
|
enumerable: true,
|
|
7124
|
-
get: function () { return
|
|
7187
|
+
get: function () { return chunkWVYBALNG_js.validateDraft; }
|
|
7125
7188
|
});
|
|
7126
7189
|
Object.defineProperty(exports, "validateDraftOrThrow", {
|
|
7127
7190
|
enumerable: true,
|
|
7128
|
-
get: function () { return
|
|
7191
|
+
get: function () { return chunkWVYBALNG_js.validateDraftOrThrow; }
|
|
7129
7192
|
});
|
|
7130
7193
|
Object.defineProperty(exports, "validateObject", {
|
|
7131
7194
|
enumerable: true,
|
|
7132
|
-
get: function () { return
|
|
7195
|
+
get: function () { return chunkWVYBALNG_js.validateObject; }
|
|
7133
7196
|
});
|
|
7134
7197
|
Object.defineProperty(exports, "validateObjectOrThrow", {
|
|
7135
7198
|
enumerable: true,
|
|
7136
|
-
get: function () { return
|
|
7199
|
+
get: function () { return chunkWVYBALNG_js.validateObjectOrThrow; }
|
|
7137
7200
|
});
|
|
7138
7201
|
Object.defineProperty(exports, "DEFAULT_VALIDATION_MESSAGES", {
|
|
7139
7202
|
enumerable: true,
|
|
@@ -7147,6 +7210,8 @@ exports.ALLOWED_PROPERTY_TYPES = ALLOWED_PROPERTY_TYPES;
|
|
|
7147
7210
|
exports.ALL_ACTIONS = ALL_ACTIONS;
|
|
7148
7211
|
exports.ALL_SYSTEM_RESOURCES = ALL_SYSTEM_RESOURCES;
|
|
7149
7212
|
exports.ATTRIBUTE_FILTER_OPERATORS = ATTRIBUTE_FILTER_OPERATORS;
|
|
7213
|
+
exports.AUDIT_ACTIONS = AUDIT_ACTIONS;
|
|
7214
|
+
exports.AUDIT_RESOURCE_TYPES = AUDIT_RESOURCE_TYPES;
|
|
7150
7215
|
exports.AUTOFILL_ELIGIBLE_TYPES = AUTOFILL_ELIGIBLE_TYPES;
|
|
7151
7216
|
exports.ActivityTabConfig = ActivityTabConfig;
|
|
7152
7217
|
exports.BEHAVIOR_PROPERTIES = BEHAVIOR_PROPERTIES;
|