@nmshd/consumption 3.9.4 → 3.9.6
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/buildInformation.js +5 -5
- package/dist/consumption/CoreErrors.d.ts +16 -4
- package/dist/consumption/CoreErrors.d.ts.map +1 -1
- package/dist/consumption/CoreErrors.js +44 -17
- package/dist/consumption/CoreErrors.js.map +1 -1
- package/dist/modules/attributes/AttributesController.d.ts.map +1 -1
- package/dist/modules/attributes/AttributesController.js +21 -21
- package/dist/modules/attributes/AttributesController.js.map +1 -1
- package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.d.ts +1 -1
- package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.d.ts.map +1 -1
- package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.js +1 -1
- package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.js.map +1 -1
- package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.d.ts +1 -1
- package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.d.ts.map +1 -1
- package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.js +1 -1
- package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.js.map +1 -1
- package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.d.ts +1 -1
- package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.d.ts.map +1 -1
- package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.js +1 -1
- package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.js.map +1 -1
- package/dist/modules/attributes/local/LocalAttribute.d.ts +3 -6
- package/dist/modules/attributes/local/LocalAttribute.d.ts.map +1 -1
- package/dist/modules/attributes/local/LocalAttribute.js.map +1 -1
- package/dist/modules/attributes/local/QueryTranslator.d.ts.map +1 -1
- package/dist/modules/attributes/local/QueryTranslator.js +9 -11
- package/dist/modules/attributes/local/QueryTranslator.js.map +1 -1
- package/lib-web/nmshd.consumption.js +84 -59
- package/lib-web/nmshd.consumption.js.map +1 -1
- package/lib-web/nmshd.consumption.min.js +1 -1
- package/lib-web/nmshd.consumption.min.js.map +1 -1
- package/package.json +3 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute, IRelationshipAttribute, RelationshipAttribute, RelationshipAttributeJSON } from "@nmshd/content";
|
|
2
2
|
import { CoreAddress, CoreDate, CoreId, CoreSynchronizable, ICoreDate, ICoreId, ICoreSynchronizable } from "@nmshd/transport";
|
|
3
3
|
import { ILocalAttributeShareInfo, LocalAttributeShareInfo, LocalAttributeShareInfoJSON } from "./LocalAttributeShareInfo";
|
|
4
4
|
export interface LocalAttributeJSON {
|
|
@@ -19,33 +19,30 @@ export interface ILocalAttribute extends ICoreSynchronizable {
|
|
|
19
19
|
}
|
|
20
20
|
export type OwnSharedIdentityAttribute = LocalAttribute & {
|
|
21
21
|
content: IdentityAttribute;
|
|
22
|
-
} & {
|
|
23
22
|
shareInfo: LocalAttributeShareInfo & {
|
|
24
23
|
sourceAttribute: CoreId;
|
|
25
24
|
};
|
|
26
25
|
};
|
|
27
26
|
export type OwnSharedRelationshipAttribute = LocalAttribute & {
|
|
28
27
|
content: RelationshipAttribute;
|
|
29
|
-
} & {
|
|
30
28
|
shareInfo: LocalAttributeShareInfo & {
|
|
31
29
|
sourceAttribute: undefined;
|
|
32
30
|
};
|
|
33
31
|
};
|
|
34
32
|
export type PeerSharedIdentityAttribute = LocalAttribute & {
|
|
35
33
|
content: IdentityAttribute;
|
|
36
|
-
} & {
|
|
37
34
|
shareInfo: LocalAttributeShareInfo & {
|
|
38
35
|
sourceAttribute: undefined;
|
|
39
36
|
};
|
|
40
37
|
};
|
|
41
38
|
export type PeerSharedRelationshipAttribute = LocalAttribute & {
|
|
42
39
|
content: RelationshipAttribute;
|
|
43
|
-
} & {
|
|
44
40
|
shareInfo: LocalAttributeShareInfo & {
|
|
45
41
|
sourceAttribute: undefined;
|
|
46
42
|
};
|
|
47
43
|
};
|
|
48
|
-
export type RepositoryAttribute =
|
|
44
|
+
export type RepositoryAttribute = LocalAttribute & {
|
|
45
|
+
content: IdentityAttribute;
|
|
49
46
|
shareInfo: undefined;
|
|
50
47
|
};
|
|
51
48
|
export declare class LocalAttribute extends CoreSynchronizable implements ILocalAttribute {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocalAttribute.d.ts","sourceRoot":"","sources":["../../../../src/modules/attributes/local/LocalAttribute.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,kBAAkB,EAClB,sBAAsB,EACtB,
|
|
1
|
+
{"version":3,"file":"LocalAttribute.d.ts","sourceRoot":"","sources":["../../../../src/modules/attributes/local/LocalAttribute.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,kBAAkB,EAAE,SAAS,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG9H,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAE3H,MAAM,WAAW,kBAAkB;IAC/B,OAAO,EAAE,qBAAqB,GAAG,yBAAyB,CAAC;IAC3D,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,2BAA2B,CAAC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;IACxD,OAAO,EAAE,kBAAkB,GAAG,sBAAsB,CAAC;IACrD,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAA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C,EAAE,CAAC,EAAE,MAAM,EACX,QAAQ,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,cAAc,CAAC;CAU7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocalAttribute.js","sourceRoot":"","sources":["../../../../src/modules/attributes/local/LocalAttribute.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,4CAQwB;AACxB,gDAA8H;AAC9H,uDAA0C;AAC1C,wEAAqE;AACrE,uEAA2H;
|
|
1
|
+
{"version":3,"file":"LocalAttribute.js","sourceRoot":"","sources":["../../../../src/modules/attributes/local/LocalAttribute.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,4CAQwB;AACxB,gDAA8H;AAC9H,uDAA0C;AAC1C,wEAAqE;AACrE,uEAA2H;AA8CpH,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,8BAAkB;IAA/C;;QACsB,wBAAmB,GAAG;YAC3C,OAAO;YACP,UAAU;YACV,IAAA,yBAAM,EAAiB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1C,IAAA,yBAAM,EAAiB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;YACzC,IAAA,yBAAM,EAAiB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC;YAC5C,IAAA,yBAAM,EAAiB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1C,IAAA,yBAAM,EAAiB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;SAC5C,CAAC;QAEuB,uBAAkB,GAAG,CAAC,IAAA,yBAAM,EAAiB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAwH7F,CAAC;IA9FU,4BAA4B,CAAC,UAAuB,EAAE,WAAyB;QAClF,OAAO,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gBAAgB,CAAC;AAOxB,qBAAa,gCAAgC;WAC3B,SAAS,CAAC,KAAK,EAAE,sBAAsB,GAAG,GAAG;IAI3D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAoD/B;CACN;AAED,qBAAa,oCAAoC;WAC/B,SAAS,CAAC,KAAK,EAAE,0BAA0B,GAAG,GAAG;IAI/D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAsC/B;CACN;AAED,qBAAa,8CAA8C;WACzC,SAAS,CAAC,KAAK,EAAE,oCAAoC,GAAG,GAAG;IAIzE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"QueryTranslator.d.ts","sourceRoot":"","sources":["../../../../src/modules/attributes/local/QueryTranslator.ts"],"names":[],"mappings":"AACA,OAAO,EAIH,sBAAsB,EAKtB,0BAA0B,EAC1B,oCAAoC,EACvC,MAAM,gBAAgB,CAAC;AAOxB,qBAAa,gCAAgC;WAC3B,SAAS,CAAC,KAAK,EAAE,sBAAsB,GAAG,GAAG;IAI3D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAoD/B;CACN;AAED,qBAAa,oCAAoC;WAC/B,SAAS,CAAC,KAAK,EAAE,0BAA0B,GAAG,GAAG;IAI/D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAsC/B;CACN;AAED,qBAAa,8CAA8C;WACzC,SAAS,CAAC,KAAK,EAAE,oCAAoC,GAAG,GAAG;IAIzE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAyC/B;CACN"}
|
|
@@ -19,9 +19,9 @@ class IdentityAttributeQueryTranslator {
|
|
|
19
19
|
},
|
|
20
20
|
alias: {
|
|
21
21
|
// @type of attributeValue
|
|
22
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.valueType)]:
|
|
22
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.valueType)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.value)}.@type`,
|
|
23
23
|
// @type of attribute
|
|
24
|
-
attributeType:
|
|
24
|
+
attributeType: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.@type`
|
|
25
25
|
},
|
|
26
26
|
custom: {
|
|
27
27
|
// tags
|
|
@@ -76,11 +76,11 @@ class RelationshipAttributeQueryTranslator {
|
|
|
76
76
|
},
|
|
77
77
|
alias: {
|
|
78
78
|
// key
|
|
79
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.key)]:
|
|
79
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.key)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.key)}`,
|
|
80
80
|
// @type of attribute
|
|
81
|
-
attributeType:
|
|
81
|
+
attributeType: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.@type`,
|
|
82
82
|
// owner
|
|
83
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.owner)]:
|
|
83
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.owner)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.owner)}`
|
|
84
84
|
},
|
|
85
85
|
custom: {
|
|
86
86
|
// validFrom
|
|
@@ -122,15 +122,13 @@ class ThirdPartyRelationshipAttributeQueryTranslator {
|
|
|
122
122
|
},
|
|
123
123
|
alias: {
|
|
124
124
|
// key
|
|
125
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.key)]:
|
|
125
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.key)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.key)}`,
|
|
126
126
|
// @type of attribute
|
|
127
|
-
attributeType:
|
|
127
|
+
attributeType: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.@type`,
|
|
128
128
|
// owner
|
|
129
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.owner)]:
|
|
129
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.owner)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.owner)}`,
|
|
130
130
|
// peer
|
|
131
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.thirdParty)]:
|
|
132
|
-
`${(0, ts_simple_nameof_1.nameof)((x) => x.shareInfo)}.${(0, ts_simple_nameof_1.nameof)((x) => x.peer)}`
|
|
133
|
-
]
|
|
131
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.thirdParty)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.shareInfo)}.${(0, ts_simple_nameof_1.nameof)((x) => x.peer)}`
|
|
134
132
|
},
|
|
135
133
|
custom: {
|
|
136
134
|
// validFrom
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTranslator.js","sourceRoot":"","sources":["../../../../src/modules/attributes/local/QueryTranslator.ts"],"names":[],"mappings":";;;AAAA,0EAAiE;AAajE,iCAAiC;AACjC,uDAA0C;AAC1C,4EAAyE;AAIzE,MAAa,gCAAgC;IAClC,MAAM,CAAC,SAAS,CAAC,KAA6B;QACjD,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAC,CAAC;IAC5F,CAAC;aAEuB,eAAU,GAAG,IAAI,uCAAe,CAAC;QACrD,SAAS,EAAE;YACP,CAAC,IAAA,yBAAM,EAA0B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI;YACtD,CAAC,IAAA,yBAAM,EAA0B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI;YAC3D,CAAC,IAAA,yBAAM,EAA0B,CAAC,CAAC,EAAE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E,EAAE;gBAC1F,IAAI,CAAC,KAAK,EAAE,CAAC;oBACT,OAAO;gBACX,CAAC;gBACD,MAAM,gBAAgB,GAAG,gBAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC;gBACpE,KAAK,CAAC,GAAG,IAAA,yBAAM,EAAiB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,IAAA,yBAAM,EAAwB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG;oBACtG,IAAI,EAAE,gBAAgB;iBACzB,CAAC;YACN,CAAC;SACJ;KACJ,CAAC,CAAC;;AA9CP,wGA+CC"}
|
|
@@ -15,7 +15,7 @@ exports.QueryTranslator = void 0;
|
|
|
15
15
|
class QueryTranslator {
|
|
16
16
|
static defaultKeyRegex = /^[a-zA-Z_@][a-zA-Z@0-9-_]*(\.[a-zA-Z_@][a-zA-Z@0-9-_]*)*$/;
|
|
17
17
|
static defaultValRegex = undefined;
|
|
18
|
-
static defaultArrRegex = /^[a-zA-
|
|
18
|
+
static defaultArrRegex = /^[a-zA-Z@æøå0-9-_.]+(\[])?$/i;
|
|
19
19
|
ops;
|
|
20
20
|
alias;
|
|
21
21
|
blacklist;
|
|
@@ -28293,11 +28293,11 @@ const content_1 = __webpack_require__(/*! @nmshd/content */ "@nmshd/content");
|
|
|
28293
28293
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
28294
28294
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
28295
28295
|
exports.buildInformation = {
|
|
28296
|
-
version: "3.9.
|
|
28297
|
-
build: "
|
|
28298
|
-
date: "2024-
|
|
28299
|
-
commit: "
|
|
28300
|
-
dependencies: {"@js-soft/docdb-querytranslator":"^1.1.
|
|
28296
|
+
version: "3.9.6",
|
|
28297
|
+
build: "58",
|
|
28298
|
+
date: "2024-03-25T15:42:14+00:00",
|
|
28299
|
+
commit: "b1a5a4f756dcd3635e5444209cd1d665c5579997",
|
|
28300
|
+
dependencies: {"@js-soft/docdb-querytranslator":"^1.1.3","@nmshd/iql":"^1.0.2","ts-simple-nameof":"^1.3.1"},
|
|
28301
28301
|
libraries: {
|
|
28302
28302
|
transport: transport_1.buildInformation,
|
|
28303
28303
|
crypto: crypto_1.buildInformation,
|
|
@@ -28504,8 +28504,8 @@ exports.CoreErrors = void 0;
|
|
|
28504
28504
|
const ts_utils_1 = __webpack_require__(/*! @js-soft/ts-utils */ "../../node_modules/@js-soft/ts-utils/dist/index.js");
|
|
28505
28505
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
28506
28506
|
class Attributes {
|
|
28507
|
-
|
|
28508
|
-
return new transport_1.CoreError("error.consumption.attributes.
|
|
28507
|
+
successorIsNotAValidAttribute(error) {
|
|
28508
|
+
return new transport_1.CoreError("error.consumption.attributes.successorIsNotAValidAttribute", "Validation failed during creation of successor.", error, undefined, error instanceof Error ? error : undefined);
|
|
28509
28509
|
}
|
|
28510
28510
|
successionMustNotChangeKey() {
|
|
28511
28511
|
return new transport_1.CoreError("error.consumption.attributes.successionMustNotChangeKey", "The predecessor attribute's key does not match that of the successor. The succession of a relationship attribute must not change the key.");
|
|
@@ -28513,11 +28513,17 @@ class Attributes {
|
|
|
28513
28513
|
successionPeerIsNotOwner() {
|
|
28514
28514
|
return new transport_1.CoreError("error.consumption.attributes.successionPeerIsNotOwner", "The peer of the succeeded attribute is not its owner. This may be an attempt of spoofing.");
|
|
28515
28515
|
}
|
|
28516
|
-
|
|
28517
|
-
|
|
28518
|
-
|
|
28519
|
-
|
|
28520
|
-
return new transport_1.CoreError("error.consumption.attributes.
|
|
28516
|
+
predecessorSourceAttributeIsNotRepositoryAttribute() {
|
|
28517
|
+
return new transport_1.CoreError("error.consumption.attributes.predecessorSourceAttributeIsNotRepositoryAttribute", "Predecessor source attribute is not a repository attribute.");
|
|
28518
|
+
}
|
|
28519
|
+
successorSourceAttributeIsNotRepositoryAttribute() {
|
|
28520
|
+
return new transport_1.CoreError("error.consumption.attributes.successorSourceAttributeIsNotRepositoryAttribute", "Successor source attribute is not a repository attribute.");
|
|
28521
|
+
}
|
|
28522
|
+
successorSourceDoesNotSucceedPredecessorSource() {
|
|
28523
|
+
return new transport_1.CoreError("error.consumption.attributes.successorSourceDoesNotSucceedPredecessorSource", "Predecessor source attribute is not succeeded by successor source attribute.");
|
|
28524
|
+
}
|
|
28525
|
+
sourceContentIsNotEqualToCopyContent() {
|
|
28526
|
+
return new transport_1.CoreError("error.consumption.attributes.sourceContentIsNotEqualToCopyContent", "Successor source attribute contents don't match successor shared attribute copy.");
|
|
28521
28527
|
}
|
|
28522
28528
|
cannotSucceedChildOfComplexAttribute(parentId) {
|
|
28523
28529
|
return new transport_1.CoreError("error.consumption.attributes.cannotSucceedChildOfComplexAttribute", `The attribute you want to succeed is child attribute of a complex attribute (id: ${parentId}), and cannot be succeeded on its own. Instead, succeed the parent which will implicitly succeed all its children.`);
|
|
@@ -28531,17 +28537,38 @@ class Attributes {
|
|
|
28531
28537
|
errorMessage += ` ${comment}`;
|
|
28532
28538
|
return new transport_1.CoreError("error.consumption.attributes.successorMustNotHaveASuccessor", errorMessage);
|
|
28533
28539
|
}
|
|
28534
|
-
|
|
28535
|
-
|
|
28536
|
-
if (comment)
|
|
28537
|
-
errorMessage += ` ${comment}`;
|
|
28538
|
-
return new transport_1.CoreError("error.consumption.attributes.invalidPredecessor", errorMessage);
|
|
28540
|
+
predecessorIsNotRepositoryAttribute() {
|
|
28541
|
+
return new transport_1.CoreError("error.consumption.attributes.predecessorIsNotRepositoryAttribute", "Predecessor is not a repository attribute.");
|
|
28539
28542
|
}
|
|
28540
|
-
|
|
28541
|
-
|
|
28542
|
-
|
|
28543
|
-
|
|
28544
|
-
return new transport_1.CoreError("error.consumption.attributes.
|
|
28543
|
+
predecessorIsNotOwnSharedIdentityAttribute() {
|
|
28544
|
+
return new transport_1.CoreError("error.consumption.attributes.predecessorIsNotOwnSharedIdentityAttribute", "Predecessor is not an own shared identity attribute.");
|
|
28545
|
+
}
|
|
28546
|
+
predecessorIsNotPeerSharedIdentityAttribute() {
|
|
28547
|
+
return new transport_1.CoreError("error.consumption.attributes.predecessorIsNotPeerSharedIdentityAttribute", "Predecessor is not a peer shared identity attribute.");
|
|
28548
|
+
}
|
|
28549
|
+
predecessorIsNotOwnSharedRelationshipAttribute() {
|
|
28550
|
+
return new transport_1.CoreError("error.consumption.attributes.predecessorIsNotOwnSharedRelationshipAttribute", "Predecessor is not an own shared relationship attribute.");
|
|
28551
|
+
}
|
|
28552
|
+
predecessorIsNotPeerSharedRelationshipAttribute() {
|
|
28553
|
+
return new transport_1.CoreError("error.consumption.attributes.predecessorIsNotPeerSharedRelationshipAttribute", "Predecessor is not a peer shared relationship attribute.");
|
|
28554
|
+
}
|
|
28555
|
+
successorIsNotRepositoryAttribute() {
|
|
28556
|
+
return new transport_1.CoreError("error.consumption.attributes.successorIsNotRepositoryAttribute", "Successor is not a repository attribute.");
|
|
28557
|
+
}
|
|
28558
|
+
successorIsNotOwnSharedIdentityAttribute() {
|
|
28559
|
+
return new transport_1.CoreError("error.consumption.attributes.successorIsNotOwnSharedIdentityAttribute", "Successor is not an own shared identity attribute.");
|
|
28560
|
+
}
|
|
28561
|
+
successorIsNotPeerSharedIdentityAttribute() {
|
|
28562
|
+
return new transport_1.CoreError("error.consumption.attributes.successorIsNotPeerSharedIdentityAttribute", "Successor is not a peer shared identity attribute.");
|
|
28563
|
+
}
|
|
28564
|
+
successorIsNotOwnSharedRelationshipAttribute() {
|
|
28565
|
+
return new transport_1.CoreError("error.consumption.attributes.successorIsNotOwnSharedRelationshipAttribute", "Successor is not an own shared relationship attribute.");
|
|
28566
|
+
}
|
|
28567
|
+
successorIsNotPeerSharedRelationshipAttribute() {
|
|
28568
|
+
return new transport_1.CoreError("error.consumption.attributes.successorIsNotPeerSharedRelationshipAttribute", "Successor is not a peer shared relationship attribute.");
|
|
28569
|
+
}
|
|
28570
|
+
setPredecessorIdDoesNotMatchActualPredecessorId() {
|
|
28571
|
+
return new transport_1.CoreError("error.consumption.attributes.setPredecessorIdDoesNotMatchActualPredecessorId", "The predecessor's id and the explicitly set value for the successor's succeeds field don't match.");
|
|
28545
28572
|
}
|
|
28546
28573
|
predecessorDoesNotExist() {
|
|
28547
28574
|
return new transport_1.CoreError("error.consumption.attributes.predecessorDoesNotExist", "The predecessor does not exist.");
|
|
@@ -29314,7 +29341,7 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29314
29341
|
parsedSuccessorParams = AttributeSuccessorParams_1.AttributeSuccessorParams.from(successorParams);
|
|
29315
29342
|
}
|
|
29316
29343
|
catch (e) {
|
|
29317
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29344
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotAValidAttribute(e));
|
|
29318
29345
|
}
|
|
29319
29346
|
const commonValidation = await this.validateAttributeSuccessionCommon(predecessorId, parsedSuccessorParams);
|
|
29320
29347
|
if (commonValidation.isError())
|
|
@@ -29330,10 +29357,10 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29330
29357
|
parentId: parsedSuccessorParams.parentId
|
|
29331
29358
|
});
|
|
29332
29359
|
if (!predecessor.isRepositoryAttribute(this.identity.address)) {
|
|
29333
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29360
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.predecessorIsNotRepositoryAttribute());
|
|
29334
29361
|
}
|
|
29335
29362
|
if (!successor.isRepositoryAttribute(this.identity.address)) {
|
|
29336
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29363
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotRepositoryAttribute());
|
|
29337
29364
|
}
|
|
29338
29365
|
return common_1.ValidationResult.success();
|
|
29339
29366
|
}
|
|
@@ -29343,7 +29370,7 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29343
29370
|
parsedSuccessorParams = AttributeSuccessorParams_1.AttributeSuccessorParams.from(successorParams);
|
|
29344
29371
|
}
|
|
29345
29372
|
catch (e) {
|
|
29346
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29373
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotAValidAttribute(e));
|
|
29347
29374
|
}
|
|
29348
29375
|
const commonValidation = await this.validateAttributeSuccessionCommon(predecessorId, parsedSuccessorParams);
|
|
29349
29376
|
if (commonValidation.isError())
|
|
@@ -29359,10 +29386,10 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29359
29386
|
parentId: parsedSuccessorParams.parentId
|
|
29360
29387
|
});
|
|
29361
29388
|
if (!predecessor.isOwnSharedIdentityAttribute(this.identity.address)) {
|
|
29362
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29389
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.predecessorIsNotOwnSharedIdentityAttribute());
|
|
29363
29390
|
}
|
|
29364
29391
|
if (!successor.isOwnSharedIdentityAttribute(this.identity.address)) {
|
|
29365
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29392
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotOwnSharedIdentityAttribute());
|
|
29366
29393
|
}
|
|
29367
29394
|
if (!predecessor.shareInfo.peer.equals(successor.shareInfo.peer)) {
|
|
29368
29395
|
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successionMustNotChangePeer());
|
|
@@ -29374,20 +29401,20 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29374
29401
|
const predecessorSourceVersionIds = (await this.getVersionsOfAttribute(predecessor.shareInfo.sourceAttribute)).map((x) => x.id.toString());
|
|
29375
29402
|
const successorSourceVersionIds = (await this.getVersionsOfAttribute(successor.shareInfo.sourceAttribute)).map((x) => x.id.toString());
|
|
29376
29403
|
if (typeof predecessorSource === "undefined" || !predecessorSource.isRepositoryAttribute(this.identity.address)) {
|
|
29377
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29404
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.predecessorSourceAttributeIsNotRepositoryAttribute());
|
|
29378
29405
|
}
|
|
29379
29406
|
if (typeof successorSource === "undefined" || !successorSource.isRepositoryAttribute(this.identity.address)) {
|
|
29380
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29407
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorSourceAttributeIsNotRepositoryAttribute());
|
|
29381
29408
|
}
|
|
29382
29409
|
if (typeof successorSource.succeeds === "undefined" ||
|
|
29383
29410
|
!predecessorSourceVersionIds.some((id) => id === successorSource.succeeds?.toString()) ||
|
|
29384
29411
|
typeof predecessorSource.succeededBy === "undefined" ||
|
|
29385
29412
|
!successorSourceVersionIds.some((id) => id === predecessorSource.succeededBy?.toString())) {
|
|
29386
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29413
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorSourceDoesNotSucceedPredecessorSource());
|
|
29387
29414
|
}
|
|
29388
29415
|
const repositoryAttributeContentMatchesItsSharedAttribute = lodash_1.default.isEqual(predecessorSource.content, predecessor.content) && lodash_1.default.isEqual(successorSource.content, successor.content);
|
|
29389
29416
|
if (!repositoryAttributeContentMatchesItsSharedAttribute) {
|
|
29390
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29417
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.sourceContentIsNotEqualToCopyContent());
|
|
29391
29418
|
}
|
|
29392
29419
|
return common_1.ValidationResult.success();
|
|
29393
29420
|
}
|
|
@@ -29397,7 +29424,7 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29397
29424
|
parsedSuccessorParams = AttributeSuccessorParams_1.AttributeSuccessorParams.from(successorParams);
|
|
29398
29425
|
}
|
|
29399
29426
|
catch (e) {
|
|
29400
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29427
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotAValidAttribute(e));
|
|
29401
29428
|
}
|
|
29402
29429
|
const commonValidation = await this.validateAttributeSuccessionCommon(predecessorId, parsedSuccessorParams);
|
|
29403
29430
|
if (commonValidation.isError())
|
|
@@ -29413,10 +29440,10 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29413
29440
|
parentId: parsedSuccessorParams.parentId
|
|
29414
29441
|
});
|
|
29415
29442
|
if (!predecessor.isOwnSharedRelationshipAttribute(this.identity.address)) {
|
|
29416
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29443
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.predecessorIsNotOwnSharedRelationshipAttribute());
|
|
29417
29444
|
}
|
|
29418
29445
|
if (!successor.isOwnSharedRelationshipAttribute(this.identity.address)) {
|
|
29419
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29446
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotOwnSharedRelationshipAttribute());
|
|
29420
29447
|
}
|
|
29421
29448
|
if (successor.content.key !== predecessor.content.key) {
|
|
29422
29449
|
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successionMustNotChangeKey());
|
|
@@ -29432,7 +29459,7 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29432
29459
|
parsedSuccessorParams = AttributeSuccessorParams_1.AttributeSuccessorParams.from(successorParams);
|
|
29433
29460
|
}
|
|
29434
29461
|
catch (e) {
|
|
29435
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29462
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotAValidAttribute(e));
|
|
29436
29463
|
}
|
|
29437
29464
|
const commonValidation = await this.validateAttributeSuccessionCommon(predecessorId, parsedSuccessorParams);
|
|
29438
29465
|
if (commonValidation.isError())
|
|
@@ -29448,10 +29475,10 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29448
29475
|
parentId: parsedSuccessorParams.parentId
|
|
29449
29476
|
});
|
|
29450
29477
|
if (!predecessor.isPeerSharedIdentityAttribute()) {
|
|
29451
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29478
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.predecessorIsNotPeerSharedIdentityAttribute());
|
|
29452
29479
|
}
|
|
29453
29480
|
if (!successor.isPeerSharedIdentityAttribute()) {
|
|
29454
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29481
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotPeerSharedIdentityAttribute());
|
|
29455
29482
|
}
|
|
29456
29483
|
if (!predecessor.shareInfo.peer.equals(successor.shareInfo.peer)) {
|
|
29457
29484
|
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successionMustNotChangePeer());
|
|
@@ -29464,7 +29491,7 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29464
29491
|
parsedSuccessorParams = AttributeSuccessorParams_1.AttributeSuccessorParams.from(successorParams);
|
|
29465
29492
|
}
|
|
29466
29493
|
catch (e) {
|
|
29467
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29494
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotAValidAttribute(e));
|
|
29468
29495
|
}
|
|
29469
29496
|
const commonValidation = await this.validateAttributeSuccessionCommon(predecessorId, parsedSuccessorParams);
|
|
29470
29497
|
if (commonValidation.isError())
|
|
@@ -29480,10 +29507,10 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29480
29507
|
parentId: parsedSuccessorParams.parentId
|
|
29481
29508
|
});
|
|
29482
29509
|
if (!predecessor.isPeerSharedRelationshipAttribute()) {
|
|
29483
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29510
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.predecessorIsNotPeerSharedRelationshipAttribute());
|
|
29484
29511
|
}
|
|
29485
29512
|
if (!successor.isPeerSharedRelationshipAttribute()) {
|
|
29486
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29513
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotPeerSharedRelationshipAttribute());
|
|
29487
29514
|
}
|
|
29488
29515
|
if (successor.content.key !== predecessor.content.key) {
|
|
29489
29516
|
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successionMustNotChangeKey());
|
|
@@ -29499,7 +29526,7 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29499
29526
|
parsedSuccessorParams = AttributeSuccessorParams_1.AttributeSuccessorParams.from(successorParams);
|
|
29500
29527
|
}
|
|
29501
29528
|
catch (e) {
|
|
29502
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29529
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorIsNotAValidAttribute(e));
|
|
29503
29530
|
}
|
|
29504
29531
|
const successor = LocalAttribute_1.LocalAttribute.from({
|
|
29505
29532
|
id: transport_1.CoreId.from(parsedSuccessorParams.id ?? "dummy"),
|
|
@@ -29517,7 +29544,7 @@ class AttributesController extends ConsumptionBaseController_1.ConsumptionBaseCo
|
|
|
29517
29544
|
}
|
|
29518
29545
|
}
|
|
29519
29546
|
if (typeof successor.succeeds !== "undefined" && !predecessorId.equals(successor.succeeds.toString())) {
|
|
29520
|
-
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.
|
|
29547
|
+
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.setPredecessorIdDoesNotMatchActualPredecessorId());
|
|
29521
29548
|
}
|
|
29522
29549
|
if (typeof successor.succeededBy !== "undefined") {
|
|
29523
29550
|
return common_1.ValidationResult.error(CoreErrors_1.CoreErrors.attributes.successorMustNotHaveASuccessor());
|
|
@@ -29723,7 +29750,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
29723
29750
|
exports.OwnSharedAttributeSucceededEvent = void 0;
|
|
29724
29751
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
29725
29752
|
class OwnSharedAttributeSucceededEvent extends transport_1.TransportDataEvent {
|
|
29726
|
-
static { this.namespace = "consumption.
|
|
29753
|
+
static { this.namespace = "consumption.ownSharedAttributeSucceeded"; }
|
|
29727
29754
|
constructor(eventTargetAddress, predecessor, successor) {
|
|
29728
29755
|
super(OwnSharedAttributeSucceededEvent.namespace, eventTargetAddress, { predecessor, successor });
|
|
29729
29756
|
}
|
|
@@ -29745,7 +29772,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
29745
29772
|
exports.PeerSharedAttributeSucceededEvent = void 0;
|
|
29746
29773
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
29747
29774
|
class PeerSharedAttributeSucceededEvent extends transport_1.TransportDataEvent {
|
|
29748
|
-
static { this.namespace = "consumption.
|
|
29775
|
+
static { this.namespace = "consumption.peerSharedAttributeSucceeded"; }
|
|
29749
29776
|
constructor(eventTargetAddress, predecessor, successor) {
|
|
29750
29777
|
super(PeerSharedAttributeSucceededEvent.namespace, eventTargetAddress, { predecessor, successor });
|
|
29751
29778
|
}
|
|
@@ -29767,7 +29794,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
29767
29794
|
exports.RepositoryAttributeSucceededEvent = void 0;
|
|
29768
29795
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
29769
29796
|
class RepositoryAttributeSucceededEvent extends transport_1.TransportDataEvent {
|
|
29770
|
-
static { this.namespace = "consumption.
|
|
29797
|
+
static { this.namespace = "consumption.repositoryAttributeSucceeded"; }
|
|
29771
29798
|
constructor(eventTargetAddress, predecessor, successor) {
|
|
29772
29799
|
super(RepositoryAttributeSucceededEvent.namespace, eventTargetAddress, { predecessor, successor });
|
|
29773
29800
|
}
|
|
@@ -30340,9 +30367,9 @@ class IdentityAttributeQueryTranslator {
|
|
|
30340
30367
|
},
|
|
30341
30368
|
alias: {
|
|
30342
30369
|
// @type of attributeValue
|
|
30343
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.valueType)]:
|
|
30370
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.valueType)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.value)}.@type`,
|
|
30344
30371
|
// @type of attribute
|
|
30345
|
-
attributeType:
|
|
30372
|
+
attributeType: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.@type`
|
|
30346
30373
|
},
|
|
30347
30374
|
custom: {
|
|
30348
30375
|
// tags
|
|
@@ -30397,11 +30424,11 @@ class RelationshipAttributeQueryTranslator {
|
|
|
30397
30424
|
},
|
|
30398
30425
|
alias: {
|
|
30399
30426
|
// key
|
|
30400
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.key)]:
|
|
30427
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.key)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.key)}`,
|
|
30401
30428
|
// @type of attribute
|
|
30402
|
-
attributeType:
|
|
30429
|
+
attributeType: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.@type`,
|
|
30403
30430
|
// owner
|
|
30404
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.owner)]:
|
|
30431
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.owner)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.owner)}`
|
|
30405
30432
|
},
|
|
30406
30433
|
custom: {
|
|
30407
30434
|
// validFrom
|
|
@@ -30443,15 +30470,13 @@ class ThirdPartyRelationshipAttributeQueryTranslator {
|
|
|
30443
30470
|
},
|
|
30444
30471
|
alias: {
|
|
30445
30472
|
// key
|
|
30446
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.key)]:
|
|
30473
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.key)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.key)}`,
|
|
30447
30474
|
// @type of attribute
|
|
30448
|
-
attributeType:
|
|
30475
|
+
attributeType: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.@type`,
|
|
30449
30476
|
// owner
|
|
30450
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.owner)]:
|
|
30477
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.owner)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.owner)}`,
|
|
30451
30478
|
// peer
|
|
30452
|
-
[(0, ts_simple_nameof_1.nameof)((x) => x.thirdParty)]:
|
|
30453
|
-
`${(0, ts_simple_nameof_1.nameof)((x) => x.shareInfo)}.${(0, ts_simple_nameof_1.nameof)((x) => x.peer)}`
|
|
30454
|
-
]
|
|
30479
|
+
[(0, ts_simple_nameof_1.nameof)((x) => x.thirdParty)]: `${(0, ts_simple_nameof_1.nameof)((x) => x.shareInfo)}.${(0, ts_simple_nameof_1.nameof)((x) => x.peer)}`
|
|
30455
30480
|
},
|
|
30456
30481
|
custom: {
|
|
30457
30482
|
// validFrom
|
|
@@ -34091,7 +34116,7 @@ exports.validate = validate;
|
|
|
34091
34116
|
/***/ ((module) => {
|
|
34092
34117
|
|
|
34093
34118
|
"use strict";
|
|
34094
|
-
// @generated by Peggy 4.0.
|
|
34119
|
+
// @generated by Peggy 4.0.2.
|
|
34095
34120
|
//
|
|
34096
34121
|
// https://peggyjs.org/
|
|
34097
34122
|
|