@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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SCHEMA_LIMITS, iconNameSchema } from './chunk-
|
|
2
|
-
import { ValidationError } from './chunk-
|
|
1
|
+
import { SCHEMA_LIMITS, iconNameSchema } from './chunk-VVYIFBFQ.mjs';
|
|
2
|
+
import { ValidationError } from './chunk-K4UER3DU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
// src/types/system-attributes.ts
|
|
@@ -311,19 +311,19 @@ function isAttributeGroupable(attribute) {
|
|
|
311
311
|
function isAttributeKanbanGroupable(attribute) {
|
|
312
312
|
return getAttributeCapabilities(attribute).query.kanbanGroupable;
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
if (targetType && hasFilterOperatorEntry(targetType)) {
|
|
322
|
-
return ATTRIBUTE_FILTER_OPERATORS[targetType];
|
|
323
|
-
}
|
|
324
|
-
return ATTRIBUTE_FILTER_OPERATORS.number;
|
|
314
|
+
function resolveEffectiveFilterType(attribute) {
|
|
315
|
+
if (attribute.type !== "rollup") return attribute.type;
|
|
316
|
+
const rollup = attribute;
|
|
317
|
+
if (rollup.function === "earliest" || rollup.function === "latest") return "date";
|
|
318
|
+
if (rollup.function === "original") {
|
|
319
|
+
const targetType = rollup.targetAttributeType;
|
|
320
|
+
if (targetType && hasFilterOperatorEntry(targetType)) return targetType;
|
|
325
321
|
}
|
|
326
|
-
return
|
|
322
|
+
return "number";
|
|
323
|
+
}
|
|
324
|
+
function getRollupFilterOperators(attr) {
|
|
325
|
+
const effectiveType = resolveEffectiveFilterType(attr);
|
|
326
|
+
return hasFilterOperatorEntry(effectiveType) ? ATTRIBUTE_FILTER_OPERATORS[effectiveType] : ATTRIBUTE_FILTER_OPERATORS.number;
|
|
327
327
|
}
|
|
328
328
|
function getRawFilterOperators(attribute) {
|
|
329
329
|
if (attribute.type === "rollup") {
|
|
@@ -422,6 +422,90 @@ function now() {
|
|
|
422
422
|
return { dynamic: "date", anchor: "now" };
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
+
// src/filters/extract-filter-value.ts
|
|
426
|
+
function toAmount(value) {
|
|
427
|
+
if (typeof value === "number") return Number.isFinite(value) ? value : null;
|
|
428
|
+
if (typeof value === "string" && value.trim() !== "") {
|
|
429
|
+
const parsed = Number(value);
|
|
430
|
+
return Number.isFinite(parsed) ? parsed : null;
|
|
431
|
+
}
|
|
432
|
+
return null;
|
|
433
|
+
}
|
|
434
|
+
function extractCurrencyFilterValue(value) {
|
|
435
|
+
if (value !== null && typeof value === "object") {
|
|
436
|
+
return "value" in value ? toAmount(value.value) : null;
|
|
437
|
+
}
|
|
438
|
+
return toAmount(value);
|
|
439
|
+
}
|
|
440
|
+
function extractFilterValue(value) {
|
|
441
|
+
if (value === null || value === void 0) return null;
|
|
442
|
+
if (typeof value === "object" && "value" in value) {
|
|
443
|
+
return value.value ?? null;
|
|
444
|
+
}
|
|
445
|
+
return value;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// src/filters/polarity.ts
|
|
449
|
+
var NEGATIVE_OPERATORS = /* @__PURE__ */ new Set([
|
|
450
|
+
"is_not",
|
|
451
|
+
"not_contains",
|
|
452
|
+
"none_of",
|
|
453
|
+
"is_empty"
|
|
454
|
+
]);
|
|
455
|
+
var NEGATIVE_TO_POSITIVE = {
|
|
456
|
+
is_not: "is",
|
|
457
|
+
not_contains: "contains",
|
|
458
|
+
none_of: "any_of",
|
|
459
|
+
is_empty: "is_not_empty"
|
|
460
|
+
};
|
|
461
|
+
function getOperatorPolarity(op) {
|
|
462
|
+
return NEGATIVE_OPERATORS.has(op) ? "none" : "any";
|
|
463
|
+
}
|
|
464
|
+
function normalizeForEdgeRpc(op) {
|
|
465
|
+
return NEGATIVE_TO_POSITIVE[op] ?? op;
|
|
466
|
+
}
|
|
467
|
+
var SINGLE_TO_MULTI = {
|
|
468
|
+
is: "any_of",
|
|
469
|
+
is_not: "none_of"
|
|
470
|
+
};
|
|
471
|
+
function toMultiValueOperator(op) {
|
|
472
|
+
return SINGLE_TO_MULTI[op] ?? op;
|
|
473
|
+
}
|
|
474
|
+
var SET_MEMBERSHIP_OPERATORS = new Set(
|
|
475
|
+
Object.values(SINGLE_TO_MULTI).filter((op) => op !== void 0)
|
|
476
|
+
);
|
|
477
|
+
function isSetMembershipOperator(op) {
|
|
478
|
+
return SET_MEMBERSHIP_OPERATORS.has(op);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
// src/filters/canonicalize-value.ts
|
|
482
|
+
function canonicalizeFilterValue(rule, effectiveType) {
|
|
483
|
+
const value = rule.value;
|
|
484
|
+
if (isNoValueOperator(rule.operator)) return;
|
|
485
|
+
if (value === null || value === void 0) return;
|
|
486
|
+
if (isDynamicValue(value)) return;
|
|
487
|
+
if (isSetMembershipOperator(rule.operator)) {
|
|
488
|
+
if (!Array.isArray(value)) rule.value = [value];
|
|
489
|
+
return;
|
|
490
|
+
}
|
|
491
|
+
if (effectiveType !== "currency") return;
|
|
492
|
+
const amount = extractCurrencyFilterValue(value);
|
|
493
|
+
if (amount !== null) {
|
|
494
|
+
rule.value = amount;
|
|
495
|
+
return;
|
|
496
|
+
}
|
|
497
|
+
if (!hasCurrencyAmount(value)) return;
|
|
498
|
+
const message = `Filter on a currency attribute expected a numeric amount, received ${JSON.stringify(
|
|
499
|
+
value
|
|
500
|
+
)}`;
|
|
501
|
+
throw new ValidationError(message, [{ path: ["value"], message }]);
|
|
502
|
+
}
|
|
503
|
+
function hasCurrencyAmount(value) {
|
|
504
|
+
if (typeof value !== "object") return true;
|
|
505
|
+
if (!("value" in value)) return false;
|
|
506
|
+
return value.value != null;
|
|
507
|
+
}
|
|
508
|
+
|
|
425
509
|
// src/filters/normalize-operator.ts
|
|
426
510
|
var SYNONYM_ALIASES = {
|
|
427
511
|
// equality
|
|
@@ -505,6 +589,12 @@ function resolveIsWithinBounds(value, now2 = /* @__PURE__ */ new Date()) {
|
|
|
505
589
|
if (!(Number.isFinite(bounds.startMs) && Number.isFinite(bounds.endMs))) return null;
|
|
506
590
|
return bounds;
|
|
507
591
|
}
|
|
592
|
+
function resolveUtcDayBounds(ms) {
|
|
593
|
+
if (!Number.isFinite(ms)) return null;
|
|
594
|
+
const startMs = utcDayStart(new Date(ms));
|
|
595
|
+
if (!Number.isFinite(startMs)) return null;
|
|
596
|
+
return { startMs, endMs: startMs + MS_PER_DAY };
|
|
597
|
+
}
|
|
508
598
|
function toUtcDayString(ms) {
|
|
509
599
|
return new Date(ms).toISOString().slice(0, 10);
|
|
510
600
|
}
|
|
@@ -601,6 +691,11 @@ function assertRelativeDateValue(rule) {
|
|
|
601
691
|
throw new ValidationError(m, [{ path: ["value"], message: m }]);
|
|
602
692
|
}
|
|
603
693
|
}
|
|
694
|
+
function applyCanonicalForm(rule, operator, effectiveType) {
|
|
695
|
+
rule.operator = operator;
|
|
696
|
+
canonicalizeFilterValue(rule, effectiveType);
|
|
697
|
+
assertRelativeDateValue(rule);
|
|
698
|
+
}
|
|
604
699
|
function assertDynamicValueForAttribute(rule, attrType) {
|
|
605
700
|
if (!isDynamicValue(rule.value)) return;
|
|
606
701
|
const v = rule.value;
|
|
@@ -641,26 +736,24 @@ function validateQualifiedRule(rule, context) {
|
|
|
641
736
|
]);
|
|
642
737
|
}
|
|
643
738
|
const effectiveType = SYSTEM_FILTER_ATTRIBUTE_TYPES[rule.attribute] ?? "text";
|
|
644
|
-
const
|
|
645
|
-
if (!systemOps.includes(
|
|
739
|
+
const normalizedOperator2 = resolveCanonicalOperator(rule.operator, effectiveType);
|
|
740
|
+
if (!systemOps.includes(normalizedOperator2)) {
|
|
646
741
|
const summary = `Operator "${rule.operator}" is not valid for system attribute "${rule.attribute}". Valid operators: ${systemOps.join(", ")}.`;
|
|
647
742
|
throw new ValidationError(summary, [{ path: ["operator"], message: summary }]);
|
|
648
743
|
}
|
|
649
|
-
rule
|
|
650
|
-
assertRelativeDateValue(rule);
|
|
744
|
+
applyCanonicalForm(rule, normalizedOperator2, effectiveType);
|
|
651
745
|
return;
|
|
652
746
|
}
|
|
653
747
|
if (!rule.property) {
|
|
654
748
|
assertDynamicValueForAttribute(rule, rootAttr.type);
|
|
655
749
|
const ops = getAttributeFilterOperators(rootAttr);
|
|
656
|
-
const
|
|
657
|
-
if (!ops.includes(
|
|
750
|
+
const normalizedOperator2 = resolveCanonicalOperator(rule.operator, rootAttr.type);
|
|
751
|
+
if (!ops.includes(normalizedOperator2)) {
|
|
658
752
|
const validList = ops.length ? ops.join(", ") : "(not filterable)";
|
|
659
753
|
const summary = `Operator "${rule.operator}" is not valid for attribute "${rootAttr.name}". Valid operators: ${validList}.`;
|
|
660
754
|
throw new ValidationError(summary, [{ path: ["operator"], message: summary }]);
|
|
661
755
|
}
|
|
662
|
-
rule
|
|
663
|
-
assertRelativeDateValue(rule);
|
|
756
|
+
applyCanonicalForm(rule, normalizedOperator2, resolveEffectiveFilterType(rootAttr));
|
|
664
757
|
return;
|
|
665
758
|
}
|
|
666
759
|
if (!REFERENCE_TYPES.has(rootAttr.type)) {
|
|
@@ -681,8 +774,8 @@ function validateQualifiedRule(rule, context) {
|
|
|
681
774
|
[{ path: ["property"], message: `Unknown property: ${rule.property}` }]
|
|
682
775
|
);
|
|
683
776
|
}
|
|
684
|
-
|
|
685
|
-
|
|
777
|
+
const normalizedOperator = assertOperatorForType(rule.operator, propDef.type, "property");
|
|
778
|
+
applyCanonicalForm(rule, normalizedOperator, propDef.type);
|
|
686
779
|
}
|
|
687
780
|
|
|
688
781
|
// src/types/objects.ts
|
|
@@ -1212,4 +1305,4 @@ function parseViewConfig(type, input) {
|
|
|
1212
1305
|
}
|
|
1213
1306
|
}
|
|
1214
1307
|
|
|
1215
|
-
export { ATTRIBUTE_FILTER_OPERATORS, LIST_VIEW_TAB_VISIBILITIES, NO_VALUE_OPERATORS, OPERATORS_BY_TYPE, REMOVED_OPERATOR_REPLACEMENTS, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_FILTER_ATTRIBUTE_TYPES, collectQualifiedRuleIssues, currentActor, detailTabSchema, detailViewConfigSchema, getAttributeCapabilities, getAttributeFilterOperators, getRollupFilterOperators2 as getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, inverseSourceSchema, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isAttributeSortable, isDynamicValue, isManagedSystemAttribute, isNoValueOperator, isRelativeDateValue, listViewConfigSchema, listViewTabSchema, normalizeFilterRule, normalizeOperator, now, parseViewConfig, relationSourceSchema, resolveIsWithinBounds, tableSourceSchema, toUtcDayString, today, validateQualifiedRule, viewConfigByTypeSchema, viewTypeSchema };
|
|
1308
|
+
export { ATTRIBUTE_FILTER_OPERATORS, LIST_VIEW_TAB_VISIBILITIES, NO_VALUE_OPERATORS, OPERATORS_BY_TYPE, REMOVED_OPERATOR_REPLACEMENTS, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FIELD_NAMES, SYSTEM_FILTER_ATTRIBUTE_TYPES, canonicalizeFilterValue, collectQualifiedRuleIssues, currentActor, detailTabSchema, detailViewConfigSchema, extractCurrencyFilterValue, extractFilterValue, getAttributeCapabilities, getAttributeFilterOperators, getOperatorPolarity, getRollupFilterOperators2 as getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, inverseSourceSchema, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isAttributeSortable, isDynamicValue, isManagedSystemAttribute, isNoValueOperator, isRelativeDateValue, isSetMembershipOperator, listViewConfigSchema, listViewTabSchema, normalizeFilterRule, normalizeForEdgeRpc, normalizeOperator, now, parseViewConfig, relationSourceSchema, resolveEffectiveFilterType, resolveIsWithinBounds, resolveUtcDayBounds, tableSourceSchema, toMultiValueOperator, toUtcDayString, today, validateQualifiedRule, viewConfigByTypeSchema, viewTypeSchema };
|
package/dist/exceptions.d.mts
CHANGED
|
@@ -52,6 +52,7 @@ declare const SchemaErrorCode: {
|
|
|
52
52
|
readonly OBJECT_REFERENCED: "SCHEMA_OBJECT_REFERENCED";
|
|
53
53
|
readonly CONFIGURATION_REQUIRED: "CONFIGURATION_REQUIRED";
|
|
54
54
|
readonly SEARCH_ADAPTER_REQUIRED: "SEARCH_ADAPTER_REQUIRED";
|
|
55
|
+
readonly CRON_REGISTRATION_FAILED: "CRON_REGISTRATION_FAILED";
|
|
55
56
|
readonly SEARCH_BACKEND_FAILED: "SEARCH_BACKEND_FAILED";
|
|
56
57
|
readonly INVARIANT_VIOLATION: "INVARIANT_VIOLATION";
|
|
57
58
|
readonly TENANT_CONTEXT_MISSING: "TENANT_CONTEXT_MISSING";
|
|
@@ -91,12 +92,6 @@ declare const SchemaErrorCode: {
|
|
|
91
92
|
readonly DOCUMENT_RECORD_OBJECT_MISMATCH: "DOCUMENT_RECORD_OBJECT_MISMATCH";
|
|
92
93
|
readonly DOCUMENT_FOLDER_SERVICE_UNAVAILABLE: "DOCUMENT_FOLDER_SERVICE_UNAVAILABLE";
|
|
93
94
|
readonly DOCUMENT_FOLDER_PATH_NOT_FOUND: "DOCUMENT_FOLDER_PATH_NOT_FOUND";
|
|
94
|
-
readonly EMAIL_IMAGE_PROXY_INVALID_TOKEN: "EMAIL_IMAGE_PROXY_INVALID_TOKEN";
|
|
95
|
-
readonly EMAIL_IMAGE_PROXY_EXPIRED_TOKEN: "EMAIL_IMAGE_PROXY_EXPIRED_TOKEN";
|
|
96
|
-
readonly EMAIL_IMAGE_PROXY_TOO_LARGE: "EMAIL_IMAGE_PROXY_TOO_LARGE";
|
|
97
|
-
readonly EMAIL_IMAGE_PROXY_UNSUPPORTED_CONTENT_TYPE: "EMAIL_IMAGE_PROXY_UNSUPPORTED_CONTENT_TYPE";
|
|
98
|
-
readonly EMAIL_IMAGE_PROXY_UNSAFE_URL: "EMAIL_IMAGE_PROXY_UNSAFE_URL";
|
|
99
|
-
readonly EMAIL_IMAGE_PROXY_UPSTREAM_FAILED: "EMAIL_IMAGE_PROXY_UPSTREAM_FAILED";
|
|
100
95
|
readonly EMAIL_PROVIDER_API_FAILED: "EMAIL_PROVIDER_API_FAILED";
|
|
101
96
|
readonly EMAIL_BATCH_ITEM_FAILED: "EMAIL_BATCH_ITEM_FAILED";
|
|
102
97
|
readonly REFLEX_INVALID_TRANSITION: "REFLEX_INVALID_TRANSITION";
|
package/dist/exceptions.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ declare const SchemaErrorCode: {
|
|
|
52
52
|
readonly OBJECT_REFERENCED: "SCHEMA_OBJECT_REFERENCED";
|
|
53
53
|
readonly CONFIGURATION_REQUIRED: "CONFIGURATION_REQUIRED";
|
|
54
54
|
readonly SEARCH_ADAPTER_REQUIRED: "SEARCH_ADAPTER_REQUIRED";
|
|
55
|
+
readonly CRON_REGISTRATION_FAILED: "CRON_REGISTRATION_FAILED";
|
|
55
56
|
readonly SEARCH_BACKEND_FAILED: "SEARCH_BACKEND_FAILED";
|
|
56
57
|
readonly INVARIANT_VIOLATION: "INVARIANT_VIOLATION";
|
|
57
58
|
readonly TENANT_CONTEXT_MISSING: "TENANT_CONTEXT_MISSING";
|
|
@@ -91,12 +92,6 @@ declare const SchemaErrorCode: {
|
|
|
91
92
|
readonly DOCUMENT_RECORD_OBJECT_MISMATCH: "DOCUMENT_RECORD_OBJECT_MISMATCH";
|
|
92
93
|
readonly DOCUMENT_FOLDER_SERVICE_UNAVAILABLE: "DOCUMENT_FOLDER_SERVICE_UNAVAILABLE";
|
|
93
94
|
readonly DOCUMENT_FOLDER_PATH_NOT_FOUND: "DOCUMENT_FOLDER_PATH_NOT_FOUND";
|
|
94
|
-
readonly EMAIL_IMAGE_PROXY_INVALID_TOKEN: "EMAIL_IMAGE_PROXY_INVALID_TOKEN";
|
|
95
|
-
readonly EMAIL_IMAGE_PROXY_EXPIRED_TOKEN: "EMAIL_IMAGE_PROXY_EXPIRED_TOKEN";
|
|
96
|
-
readonly EMAIL_IMAGE_PROXY_TOO_LARGE: "EMAIL_IMAGE_PROXY_TOO_LARGE";
|
|
97
|
-
readonly EMAIL_IMAGE_PROXY_UNSUPPORTED_CONTENT_TYPE: "EMAIL_IMAGE_PROXY_UNSUPPORTED_CONTENT_TYPE";
|
|
98
|
-
readonly EMAIL_IMAGE_PROXY_UNSAFE_URL: "EMAIL_IMAGE_PROXY_UNSAFE_URL";
|
|
99
|
-
readonly EMAIL_IMAGE_PROXY_UPSTREAM_FAILED: "EMAIL_IMAGE_PROXY_UPSTREAM_FAILED";
|
|
100
95
|
readonly EMAIL_PROVIDER_API_FAILED: "EMAIL_PROVIDER_API_FAILED";
|
|
101
96
|
readonly EMAIL_BATCH_ITEM_FAILED: "EMAIL_BATCH_ITEM_FAILED";
|
|
102
97
|
readonly REFLEX_INVALID_TRANSITION: "REFLEX_INVALID_TRANSITION";
|
package/dist/exceptions.js
CHANGED
|
@@ -1,158 +1,158 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRYAQOR7M_js = require('./chunk-RYAQOR7M.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AccessDeniedError", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkRYAQOR7M_js.AccessDeniedError; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "AttributeInUseError", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkRYAQOR7M_js.AttributeInUseError; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "AttributeNotFoundError", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkRYAQOR7M_js.AttributeNotFoundError; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ChangeTypeNotSupportedError", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkRYAQOR7M_js.ChangeTypeNotSupportedError; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ConcurrentModificationError", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRYAQOR7M_js.ConcurrentModificationError; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DestructiveSyncNotAllowedError", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkRYAQOR7M_js.DestructiveSyncNotAllowedError; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "DuplicateError", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkRYAQOR7M_js.DuplicateError; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "ForbiddenError", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkRYAQOR7M_js.ForbiddenError; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MemoryNotFoundError", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkRYAQOR7M_js.MemoryNotFoundError; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "MigrationTimeoutError", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkRYAQOR7M_js.MigrationTimeoutError; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "NotFoundError", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkRYAQOR7M_js.NotFoundError; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "NotImplementedError", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkRYAQOR7M_js.NotImplementedError; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ObjectNotFoundError", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkRYAQOR7M_js.ObjectNotFoundError; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "ObjectReferencedError", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkRYAQOR7M_js.ObjectReferencedError; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "OrphanSystemAttributeError", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkRYAQOR7M_js.OrphanSystemAttributeError; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ProtectedResourceError", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkRYAQOR7M_js.ProtectedResourceError; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProtectedRoleError", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkRYAQOR7M_js.ProtectedRoleError; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "RecordNotFoundError", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkRYAQOR7M_js.RecordNotFoundError; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "RecordReferencedError", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkRYAQOR7M_js.RecordReferencedError; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "RepositoryError", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkRYAQOR7M_js.RepositoryError; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "RoleNotFoundError", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkRYAQOR7M_js.RoleNotFoundError; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "SchemaError", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkRYAQOR7M_js.SchemaError; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "SchemaErrorCode", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkRYAQOR7M_js.SchemaErrorCode; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "SchemaPlanNotFoundError", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkRYAQOR7M_js.SchemaPlanNotFoundError; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "SearchBackendError", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkRYAQOR7M_js.SearchBackendError; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "StorageError", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkRYAQOR7M_js.StorageError; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "SyncCascadeError", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkRYAQOR7M_js.SyncCascadeError; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "SyncConflictError", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkRYAQOR7M_js.SyncConflictError; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "SyncError", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkRYAQOR7M_js.SyncError; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "SystemEntityImmutableError", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkRYAQOR7M_js.SystemEntityImmutableError; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "ValidationError", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkRYAQOR7M_js.ValidationError; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "isAttributeInUseError", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkRYAQOR7M_js.isAttributeInUseError; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "isNotFoundError", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkRYAQOR7M_js.isNotFoundError; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "isObjectReferencedError", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkRYAQOR7M_js.isObjectReferencedError; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "isProtectedResourceError", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkRYAQOR7M_js.isProtectedResourceError; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "isRecordReferencedError", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkRYAQOR7M_js.isRecordReferencedError; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "isSchemaError", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkRYAQOR7M_js.isSchemaError; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "isValidationError", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkRYAQOR7M_js.isValidationError; }
|
|
158
158
|
});
|
package/dist/exceptions.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError } from './chunk-
|
|
1
|
+
export { AccessDeniedError, AttributeInUseError, AttributeNotFoundError, ChangeTypeNotSupportedError, ConcurrentModificationError, DestructiveSyncNotAllowedError, DuplicateError, ForbiddenError, MemoryNotFoundError, MigrationTimeoutError, NotFoundError, NotImplementedError, ObjectNotFoundError, ObjectReferencedError, OrphanSystemAttributeError, ProtectedResourceError, ProtectedRoleError, RecordNotFoundError, RecordReferencedError, RepositoryError, RoleNotFoundError, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, SearchBackendError, StorageError, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, ValidationError, isAttributeInUseError, isNotFoundError, isObjectReferencedError, isProtectedResourceError, isRecordReferencedError, isSchemaError, isValidationError } from './chunk-K4UER3DU.mjs';
|