@lifeready/core 1.0.20 → 1.0.21
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/bundles/lifeready-core.umd.js +42 -32
- package/bundles/lifeready-core.umd.js.map +1 -1
- package/bundles/lifeready-core.umd.min.js +1 -1
- package/bundles/lifeready-core.umd.min.js.map +1 -1
- package/esm2015/lib/api/key-exchange.types.js +1 -1
- package/esm2015/lib/api/message.service.js +1 -1
- package/esm2015/lib/api/types/lr-graphql.types.js +10 -1
- package/esm2015/lib/items2/item2.gql.js +1 -22
- package/esm2015/lib/items2/item2.gql.private.js +23 -0
- package/esm2015/lib/items2/item2.service.js +3 -2
- package/esm2015/lib/items2/item2.types.js +1 -1
- package/esm2015/lib/trusted-parties/tp-assembly.types.js +1 -1
- package/esm2015/lib/trusted-parties/tp-password-reset.service.js +1 -1
- package/fesm2015/lifeready-core.js +32 -22
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/api/key-exchange.types.d.ts +2 -2
- package/lib/api/message.service.d.ts +5 -4
- package/lib/api/types/lr-graphql.types.d.ts +14 -0
- package/lib/items2/item2.gql.d.ts +0 -18
- package/lib/items2/item2.gql.private.d.ts +19 -0
- package/lib/items2/item2.types.d.ts +5 -5
- package/lib/trusted-parties/tp-assembly.types.d.ts +3 -3
- package/lib/trusted-parties/tp-password-reset.service.d.ts +3 -3
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -5271,6 +5271,14 @@
|
|
|
5271
5271
|
ClaimApproverState["APPROVED"] = "APPROVED";
|
|
5272
5272
|
ClaimApproverState["REJECTED"] = "REJECTED";
|
|
5273
5273
|
})(exports.ClaimApproverState || (exports.ClaimApproverState = {}));
|
|
5274
|
+
(function (ScenarioLastClaimState) {
|
|
5275
|
+
ScenarioLastClaimState["CLAIMED"] = "CLAIMED";
|
|
5276
|
+
ScenarioLastClaimState["APPROVED"] = "APPROVED";
|
|
5277
|
+
ScenarioLastClaimState["REJECTED"] = "REJECTED";
|
|
5278
|
+
ScenarioLastClaimState["EXPIRED"] = "EXPIRED";
|
|
5279
|
+
ScenarioLastClaimState["CANCELLED"] = "CANCELLED";
|
|
5280
|
+
ScenarioLastClaimState["RESET"] = "RESET";
|
|
5281
|
+
})(exports.ScenarioLastClaimState || (exports.ScenarioLastClaimState = {}));
|
|
5274
5282
|
(function (LinkTypeField) {
|
|
5275
5283
|
LinkTypeField["HARD"] = "HARD";
|
|
5276
5284
|
LinkTypeField["SOFT"] = "SOFT";
|
|
@@ -12072,23 +12080,25 @@
|
|
|
12072
12080
|
})
|
|
12073
12081
|
], exports.LockService);
|
|
12074
12082
|
|
|
12075
|
-
var
|
|
12076
|
-
var
|
|
12077
|
-
var
|
|
12078
|
-
var
|
|
12079
|
-
var
|
|
12080
|
-
var
|
|
12081
|
-
var
|
|
12082
|
-
var
|
|
12083
|
-
var
|
|
12084
|
-
var
|
|
12085
|
-
var
|
|
12086
|
-
var
|
|
12087
|
-
var
|
|
12088
|
-
var
|
|
12089
|
-
|
|
12090
|
-
var
|
|
12091
|
-
var
|
|
12083
|
+
var CreateDirectoryMutation = gqlTyped(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\nmutation CreateDirectoryMutation($input: CreateDirectoryInput!) {\n createDirectory(input: $input) {\n directory {\n id\n keyId\n }\n }\n}\n"], ["\nmutation CreateDirectoryMutation($input: CreateDirectoryInput!) {\n createDirectory(input: $input) {\n directory {\n id\n keyId\n }\n }\n}\n"])));
|
|
12084
|
+
var UpdateDirectoryMutation = gqlTyped(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\nmutation UpdateDirectoryMutation($input: UpdateDirectoryInput!) {\n updateDirectory(input: $input) {\n directory {\n id\n modified\n }\n }\n}\n"], ["\nmutation UpdateDirectoryMutation($input: UpdateDirectoryInput!) {\n updateDirectory(input: $input) {\n directory {\n id\n modified\n }\n }\n}\n"])));
|
|
12085
|
+
var DeleteDirectoryMutation = gqlTyped(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\nmutation DeleteDirectoryMutation($input: DeleteDirectoryInput!) {\n deleteDirectory(input: $input) {\n id\n }\n}\n"], ["\nmutation DeleteDirectoryMutation($input: DeleteDirectoryInput!) {\n deleteDirectory(input: $input) {\n id\n }\n}\n"])));
|
|
12086
|
+
var CreateFileMutation$1 = gqlTyped(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\nmutation CreateFileMutation($input: CreateFileInput!) {\n createFile(input: $input) {\n file {\n id\n }\n }\n}\n"], ["\nmutation CreateFileMutation($input: CreateFileInput!) {\n createFile(input: $input) {\n file {\n id\n }\n }\n}\n"])));
|
|
12087
|
+
var UpdateFileMutation = gqlTyped(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\nmutation UpdateFileMutation($input: UpdateFileInput!) {\n updateFile(input: $input) {\n file {\n id\n }\n }\n}\n"], ["\nmutation UpdateFileMutation($input: UpdateFileInput!) {\n updateFile(input: $input) {\n file {\n id\n }\n }\n}\n"])));
|
|
12088
|
+
var RevertFileMutation = gqlTyped(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\nmutation RevertFileMutation($input: RevertFileInput!) {\n revertFile(input: $input) {\n file {\n id\n }\n }\n}\n"], ["\nmutation RevertFileMutation($input: RevertFileInput!) {\n revertFile(input: $input) {\n file {\n id\n }\n }\n}\n"])));
|
|
12089
|
+
var DeleteFileMutation$1 = gqlTyped(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\nmutation DeleteFileMutation($input: DeleteFileInput!) {\n deleteFile(input: $input) {\n id\n }\n}\n"], ["\nmutation DeleteFileMutation($input: DeleteFileInput!) {\n deleteFile(input: $input) {\n id\n }\n}\n"])));
|
|
12090
|
+
var ArchiveDirectoryMutation$1 = gqlTyped(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\nmutation ArchiveDirectoryMutation($input: ArchiveDirectoryInput!) {\n archiveDirectory(input: $input) {\n directory {\n id\n }\n }\n}\n"], ["\nmutation ArchiveDirectoryMutation($input: ArchiveDirectoryInput!) {\n archiveDirectory(input: $input) {\n directory {\n id\n }\n }\n}\n"])));
|
|
12091
|
+
var UnarchiveDirectoryMutation$1 = gqlTyped(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\nmutation UnarchiveDirectoryMutation($input: UnarchiveDirectoryInput!) {\n unarchiveDirectory(input: $input) {\n directory {\n id\n }\n }\n}\n"], ["\nmutation UnarchiveDirectoryMutation($input: UnarchiveDirectoryInput!) {\n unarchiveDirectory(input: $input) {\n directory {\n id\n }\n }\n}\n"])));
|
|
12092
|
+
var ChangeDirectoryParentsMutation = gqlTyped(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["\nmutation ChangeDirectoryParentsMutation($input: ChangeDirectoryParentsInput!) {\n changeDirectoryParents(input: $input) {\n directory {\n id\n }\n }\n}\n"], ["\nmutation ChangeDirectoryParentsMutation($input: ChangeDirectoryParentsInput!) {\n changeDirectoryParents(input: $input) {\n directory {\n id\n }\n }\n}\n"])));
|
|
12093
|
+
var ChangeFileParentsMutation = gqlTyped(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["\nmutation ChangeFileParentsMutation($input: ChangeFileParentsInput!) {\n changeFileParents(input: $input) {\n file {\n id\n }\n }\n}\n"], ["\nmutation ChangeFileParentsMutation($input: ChangeFileParentsInput!) {\n changeFileParents(input: $input) {\n file {\n id\n }\n }\n}\n"])));
|
|
12094
|
+
var BeginDeleteChildItemLinksWindowMutation = gqlTyped(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\nmutation BeginDeleteChildItemLinksWindowMutation($input: BeginDeleteChildItemLinksWindowInput!) {\n beginDeleteChildItemLinksWindow(input: $input) {\n begin\n end\n scheduled\n windowMs\n directory {\n id\n }\n }\n}\n"], ["\nmutation BeginDeleteChildItemLinksWindowMutation($input: BeginDeleteChildItemLinksWindowInput!) {\n beginDeleteChildItemLinksWindow(input: $input) {\n begin\n end\n scheduled\n windowMs\n directory {\n id\n }\n }\n}\n"])));
|
|
12095
|
+
var TempDirectoryQuery = gqlTyped(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\nquery TempDirectoryQuery($plainMeta: LrJSONFilter!) {\n rootDirectories(plainMeta: $plainMeta, first: 2, orderBy: \"created\") {\n edges {\n node {\n id\n keyId\n }\n }\n }\n lock {\n version\n }\n}\n"], ["\nquery TempDirectoryQuery($plainMeta: LrJSONFilter!) {\n rootDirectories(plainMeta: $plainMeta, first: 2, orderBy: \"created\") {\n edges {\n node {\n id\n keyId\n }\n }\n }\n lock {\n version\n }\n}\n"])));
|
|
12096
|
+
var templateObject_1$m, templateObject_2$i, templateObject_3$g, templateObject_4$f, templateObject_5$c, templateObject_6$a, templateObject_7$8, templateObject_8$7, templateObject_9$4, templateObject_10$4, templateObject_11$3, templateObject_12$2, templateObject_13$2;
|
|
12097
|
+
|
|
12098
|
+
var DirectoryKeyQuery = gqlTyped(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\nquery DirectoryKeyQuery($id: LrRelayIdInput!) {\n directory(id: $id) {\n keyId\n }\n}\n"], ["\nquery DirectoryKeyQuery($id: LrRelayIdInput!) {\n directory(id: $id) {\n keyId\n }\n}\n"])));
|
|
12099
|
+
var FileKeyQuery = gqlTyped(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\nquery FileKeyQuery($id: LrRelayIdInput!) {\n file(id: $id) {\n keyId\n }\n}\n"], ["\nquery FileKeyQuery($id: LrRelayIdInput!) {\n file(id: $id) {\n keyId\n }\n}\n"])));
|
|
12100
|
+
var FileStateKeyQuery = gqlTyped(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\nquery FileStateKeyQuery($id: LrRelayIdInput!) {\n fileState(id: $id) {\n keyId\n }\n}\n"], ["\nquery FileStateKeyQuery($id: LrRelayIdInput!) {\n fileState(id: $id) {\n keyId\n }\n}\n"])));
|
|
12101
|
+
var templateObject_1$n, templateObject_2$j, templateObject_3$h;
|
|
12092
12102
|
|
|
12093
12103
|
var Item2Service_1;
|
|
12094
12104
|
exports.Item2Service = Item2Service_1 = /** @class */ (function (_super) {
|
|
@@ -12823,16 +12833,16 @@
|
|
|
12823
12833
|
})
|
|
12824
12834
|
], exports.Item2Service);
|
|
12825
12835
|
|
|
12826
|
-
var DeleteTpMutation = gqlTyped(templateObject_1$
|
|
12827
|
-
var ShareDirectoryMutation = gqlTyped(templateObject_2$
|
|
12828
|
-
var UnshareDirectoryMutation = gqlTyped(templateObject_3$
|
|
12836
|
+
var DeleteTpMutation = gqlTyped(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\nmutation DeleteTpMutation($input: DeleteTpInput!) {\n deleteTp(input: $input) {\n id\n }\n}\n"], ["\nmutation DeleteTpMutation($input: DeleteTpInput!) {\n deleteTp(input: $input) {\n id\n }\n}\n"])));
|
|
12837
|
+
var ShareDirectoryMutation = gqlTyped(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n mutation ShareDirectoryMutation($input: ShareDirectoryInput!) {\n shareDirectory(input: $input) {\n tpDirectory {\n id\n }\n }\n }\n"], ["\n mutation ShareDirectoryMutation($input: ShareDirectoryInput!) {\n shareDirectory(input: $input) {\n tpDirectory {\n id\n }\n }\n }\n"])));
|
|
12838
|
+
var UnshareDirectoryMutation = gqlTyped(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n mutation UnshareDirectoryMutation($input: UnshareDirectoryInput!) {\n unshareDirectory(input: $input) {\n tpDirectory {\n id\n }\n }\n }\n"], ["\n mutation UnshareDirectoryMutation($input: UnshareDirectoryInput!) {\n unshareDirectory(input: $input) {\n tpDirectory {\n id\n }\n }\n }\n"])));
|
|
12829
12839
|
var ShareFileMutation = gqlTyped(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n mutation ShareFileMutation($input: ShareFileInput!) {\n shareFile(input: $input) {\n tpFile {\n id\n }\n }\n }\n"], ["\n mutation ShareFileMutation($input: ShareFileInput!) {\n shareFile(input: $input) {\n tpFile {\n id\n }\n }\n }\n"])));
|
|
12830
12840
|
var UnshareFileMutation = gqlTyped(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n mutation UnshareFileMutation($input: UnshareFileInput!) {\n unshareFile(input: $input) {\n tpFile {\n id\n }\n }\n }\n"], ["\n mutation UnshareFileMutation($input: UnshareFileInput!) {\n unshareFile(input: $input) {\n tpFile {\n id\n }\n }\n }\n"])));
|
|
12831
12841
|
var TpCurrentUserSharedKeyQuery = gqlTyped(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\nquery TpCurrentUserSharedKeyQuery($id: LrRelayIdInput!) {\n tp(id: $id){\n currentUserSharedKey {\n userSharedKey {\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n mkPxk {\n id\n }\n mkReshareRequestCipher\n mkReshareRequestSent\n mkReshareResponseCipher\n mkReshareResponseSent\n }\n }\n }\n}\n"], ["\nquery TpCurrentUserSharedKeyQuery($id: LrRelayIdInput!) {\n tp(id: $id){\n currentUserSharedKey {\n userSharedKey {\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n mkPxk {\n id\n }\n mkReshareRequestCipher\n mkReshareRequestSent\n mkReshareResponseCipher\n mkReshareResponseSent\n }\n }\n }\n}\n"])));
|
|
12832
12842
|
var RequestTpMkReshareMutation = gqlTyped(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\nmutation RequestTpMkReshareMutation($input: RequestTpMkReshareInput!) {\n requestTpMkReshare(input: $input) {\n id\n }\n}"], ["\nmutation RequestTpMkReshareMutation($input: RequestTpMkReshareInput!) {\n requestTpMkReshare(input: $input) {\n id\n }\n}"])));
|
|
12833
12843
|
var RespondTpMkReshareMutation = gqlTyped(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject(["\n mutation RespondTpMkReshareMutation($input: RespondTpMkReshareInput!) {\n respondTpMkReshare(input: $input) {\n id\n }\n }\n"], ["\n mutation RespondTpMkReshareMutation($input: RespondTpMkReshareInput!) {\n respondTpMkReshare(input: $input) {\n id\n }\n }\n"])));
|
|
12834
12844
|
var CompleteTpMkReshareMutation = gqlTyped(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\nmutation CompleteTpMkReshareMutation($input: CompleteTpMkReshareInput!) {\n completeTpMkReshare(input: $input) {\n id\n }\n}"], ["\nmutation CompleteTpMkReshareMutation($input: CompleteTpMkReshareInput!) {\n completeTpMkReshare(input: $input) {\n id\n }\n}"])));
|
|
12835
|
-
var templateObject_1$
|
|
12845
|
+
var templateObject_1$o, templateObject_2$k, templateObject_3$i, templateObject_4$g, templateObject_5$d, templateObject_6$b, templateObject_7$9, templateObject_8$8, templateObject_9$5;
|
|
12836
12846
|
|
|
12837
12847
|
exports.TrustedParty2Service = /** @class */ (function (_super) {
|
|
12838
12848
|
__extends(TrustedParty2Service, _super);
|
|
@@ -13525,12 +13535,12 @@
|
|
|
13525
13535
|
})
|
|
13526
13536
|
], exports.TpPasswordResetRequestService);
|
|
13527
13537
|
|
|
13528
|
-
var UpdateNotificationMutation = gqlTyped(templateObject_1$
|
|
13529
|
-
var UpdateAllNotificationsReadStateMutation = gqlTyped(templateObject_2$
|
|
13530
|
-
var DebugCreateNotificationMutation = gqlTyped(templateObject_3$
|
|
13538
|
+
var UpdateNotificationMutation = gqlTyped(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\nmutation UpdateNotificationMutation($input: UpdateNotificationInput!) {\n updateNotification(input: $input) {\n notification {\n id\n }\n }\n}\n"], ["\nmutation UpdateNotificationMutation($input: UpdateNotificationInput!) {\n updateNotification(input: $input) {\n notification {\n id\n }\n }\n}\n"])));
|
|
13539
|
+
var UpdateAllNotificationsReadStateMutation = gqlTyped(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\nmutation UpdateAllNotificationsReadStateMutation($input: UpdateAllNotificationsReadStateInput!) {\n updateAllNotificationsReadState(input: $input) {\n count\n }\n}\n"], ["\nmutation UpdateAllNotificationsReadStateMutation($input: UpdateAllNotificationsReadStateInput!) {\n updateAllNotificationsReadState(input: $input) {\n count\n }\n}\n"])));
|
|
13540
|
+
var DebugCreateNotificationMutation = gqlTyped(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\nmutation DebugCreateNotificationMutation($input: DebugCreateNotificationInput!) {\n debugCreateNotification(input: $input) {\n notification {\n id\n }\n }\n}\n"], ["\nmutation DebugCreateNotificationMutation($input: DebugCreateNotificationInput!) {\n debugCreateNotification(input: $input) {\n notification {\n id\n }\n }\n}\n"])));
|
|
13531
13541
|
var DebugDeleteAllNotificationsMutation = gqlTyped(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\nmutation DebugDeleteAllNotificationsMutation($input: DebugDeleteAllNotificationsInput!) {\n debugDeleteAllNotifications(input: $input) {\n count\n }\n}\n"], ["\nmutation DebugDeleteAllNotificationsMutation($input: DebugDeleteAllNotificationsInput!) {\n debugDeleteAllNotifications(input: $input) {\n count\n }\n}\n"])));
|
|
13532
13542
|
var UpdateNotificationFeatureStateMutation = gqlTyped(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\nmutation UpdateNotificationFeatureStateMutation($input: UpdateNotificationFeatureStateInput!) {\n updateNotificationFeatureState(input: $input) {\n featureState {\n notificationsLastViewed\n\t\t}\n }\n}\n"], ["\nmutation UpdateNotificationFeatureStateMutation($input: UpdateNotificationFeatureStateInput!) {\n updateNotificationFeatureState(input: $input) {\n featureState {\n notificationsLastViewed\n\t\t}\n }\n}\n"])));
|
|
13533
|
-
var templateObject_1$
|
|
13543
|
+
var templateObject_1$p, templateObject_2$l, templateObject_3$j, templateObject_4$h, templateObject_5$e;
|
|
13534
13544
|
|
|
13535
13545
|
exports.NotificationService = /** @class */ (function (_super) {
|
|
13536
13546
|
__extends(NotificationService, _super);
|
|
@@ -13666,15 +13676,15 @@
|
|
|
13666
13676
|
})
|
|
13667
13677
|
], exports.NotificationService);
|
|
13668
13678
|
|
|
13669
|
-
var CreateScenarioMutation = gqlTyped(templateObject_1$
|
|
13670
|
-
var UpdateScenarioMutation = gqlTyped(templateObject_2$
|
|
13671
|
-
var DeleteScenarioMutation = gqlTyped(templateObject_3$
|
|
13679
|
+
var CreateScenarioMutation = gqlTyped(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\nmutation CreateScenarioMutation($input: CreateScenarioInput!) {\n createScenario(input: $input) {\n scenario {\n id\n }\n }\n}\n"], ["\nmutation CreateScenarioMutation($input: CreateScenarioInput!) {\n createScenario(input: $input) {\n scenario {\n id\n }\n }\n}\n"])));
|
|
13680
|
+
var UpdateScenarioMutation = gqlTyped(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\nmutation UpdateScenarioMutation($input: UpdateScenarioInput!) {\n updateScenario(input: $input) {\n scenario {\n id\n }\n }\n}\n"], ["\nmutation UpdateScenarioMutation($input: UpdateScenarioInput!) {\n updateScenario(input: $input) {\n scenario {\n id\n }\n }\n}\n"])));
|
|
13681
|
+
var DeleteScenarioMutation = gqlTyped(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\nmutation DeleteScenarioMutation($input: DeleteScenarioInput!) {\n deleteScenario(input: $input) {\n id\n }\n}\n"], ["\nmutation DeleteScenarioMutation($input: DeleteScenarioInput!) {\n deleteScenario(input: $input) {\n id\n }\n}\n"])));
|
|
13672
13682
|
var CreateScenarioClaimMutation = gqlTyped(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\nmutation CreateScenarioClaimMutation($input: CreateScenarioClaimInput!) {\n createScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"], ["\nmutation CreateScenarioClaimMutation($input: CreateScenarioClaimInput!) {\n createScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"])));
|
|
13673
13683
|
var CancelScenarioClaimMutation = gqlTyped(templateObject_5$f || (templateObject_5$f = __makeTemplateObject(["\nmutation CancelScenarioClaimMutation($input: CancelScenarioClaimInput!) {\n cancelScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"], ["\nmutation CancelScenarioClaimMutation($input: CancelScenarioClaimInput!) {\n cancelScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"])));
|
|
13674
13684
|
var RejectScenarioClaimMutation = gqlTyped(templateObject_6$c || (templateObject_6$c = __makeTemplateObject(["\nmutation RejectScenarioClaimMutation($input: RejectScenarioClaimInput!) {\n rejectScenarioClaim(input: $input) {\n claimApprover {\n id\n }\n }\n}\n"], ["\nmutation RejectScenarioClaimMutation($input: RejectScenarioClaimInput!) {\n rejectScenarioClaim(input: $input) {\n claimApprover {\n id\n }\n }\n}\n"])));
|
|
13675
13685
|
var ApproveScenarioClaimMutation = gqlTyped(templateObject_7$a || (templateObject_7$a = __makeTemplateObject(["\nmutation ApproveScenarioClaimMutation($input: ApproveScenarioClaimInput!) {\n approveScenarioClaim(input: $input) {\n claimApprover {\n id\n }\n }\n}\n"], ["\nmutation ApproveScenarioClaimMutation($input: ApproveScenarioClaimInput!) {\n approveScenarioClaim(input: $input) {\n claimApprover {\n id\n }\n }\n}\n"])));
|
|
13676
13686
|
var ReceiveScenarioClaimMutation = gqlTyped(templateObject_8$9 || (templateObject_8$9 = __makeTemplateObject(["\nmutation ReceiveScenarioClaimMutation($input: ReceiveScenarioClaimInput!) {\n receiveScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"], ["\nmutation ReceiveScenarioClaimMutation($input: ReceiveScenarioClaimInput!) {\n receiveScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"])));
|
|
13677
|
-
var templateObject_1$
|
|
13687
|
+
var templateObject_1$q, templateObject_2$m, templateObject_3$k, templateObject_4$i, templateObject_5$f, templateObject_6$c, templateObject_7$a, templateObject_8$9;
|
|
13678
13688
|
|
|
13679
13689
|
var SCENARIO_SLIP39_PASSPHRASE = 'lifeready';
|
|
13680
13690
|
|
|
@@ -13708,9 +13718,9 @@
|
|
|
13708
13718
|
})
|
|
13709
13719
|
], exports.ɵq);
|
|
13710
13720
|
|
|
13711
|
-
var ScenarioQuery = gqlTyped(templateObject_1$
|
|
13712
|
-
var SharedScenarioQuery = gqlTyped(templateObject_2$
|
|
13713
|
-
var templateObject_1$
|
|
13721
|
+
var ScenarioQuery = gqlTyped(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\nquery ScenarioQuery(\n $scenarioId: LrRelayIdInput!\n) {\n scenario(id: $scenarioId) {\n id\n state\n assembly {\n quorum\n singleReject\n assemblyKey {\n id\n }\n subjectKey {\n id\n }\n subjectCipherData\n subAssemblies {\n edges {\n node {\n id\n subjectKey {\n id\n }\n subjectCipherData\n quorum\n singleReject\n approvers {\n edges {\n node {\n id\n tp {\n id\n }\n sharedKey {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n claimants {\n edges {\n node {\n tp {\n id\n }\n sharedKey {\n id\n }\n }\n }\n }\n receivers {\n edges {\n node {\n tp {\n id\n }\n sharedKey {\n id\n }\n sharedCipherData\n receiverDirectories {\n edges {\n node {\n id\n sharedCipherData\n sharedKey {\n id\n }\n accessRole\n itemKey {\n id\n }\n directory {\n id\n keyId\n }\n }\n }\n }\n receiverFiles {\n edges {\n node {\n id\n sharedCipherData\n sharedKey {\n id\n }\n accessRole\n itemKey {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n}"], ["\nquery ScenarioQuery(\n $scenarioId: LrRelayIdInput!\n) {\n scenario(id: $scenarioId) {\n id\n state\n assembly {\n quorum\n singleReject\n assemblyKey {\n id\n }\n subjectKey {\n id\n }\n subjectCipherData\n subAssemblies {\n edges {\n node {\n id\n subjectKey {\n id\n }\n subjectCipherData\n quorum\n singleReject\n approvers {\n edges {\n node {\n id\n tp {\n id\n }\n sharedKey {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n claimants {\n edges {\n node {\n tp {\n id\n }\n sharedKey {\n id\n }\n }\n }\n }\n receivers {\n edges {\n node {\n tp {\n id\n }\n sharedKey {\n id\n }\n sharedCipherData\n receiverDirectories {\n edges {\n node {\n id\n sharedCipherData\n sharedKey {\n id\n }\n accessRole\n itemKey {\n id\n }\n directory {\n id\n keyId\n }\n }\n }\n }\n receiverFiles {\n edges {\n node {\n id\n sharedCipherData\n sharedKey {\n id\n }\n accessRole\n itemKey {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n}"])));
|
|
13722
|
+
var SharedScenarioQuery = gqlTyped(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\nquery SharedScenarioQuery($scenarioId: LrRelayIdInput!) {\n sharedScenario(id: $scenarioId) {\n id\n state\n tp {\n id\n }\n asClaimant {\n sharedKey {\n id\n }\n sharedCipherData\n }\n asReceiver {\n sharedKey {\n id\n }\n sharedCipherData\n pbk {\n id\n }\n receiverDirectories {\n edges {\n node {\n id\n wrappedItemKey\n }\n }\n }\n }\n assembly {\n asApprovers {\n edges {\n node {\n id\n sharedKey {\n id\n }\n sharedCipherData\n }\n }\n }\n }\n sharedClaim {\n\t \t\tid\n isClaimant\n claim {\n state\n asClaimApprovers {\n edges {\n node {\n id\n state\n sharedKey {\n id\n }\n sharedCipherApprovalData\n sharedCipherPartialAssemblyKey\n receiverApprovals {\n edges {\n node {\n id\n pxk {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n asClaimReceiver {\n received\n approvals {\n edges {\n node {\n receiverCipher\n receiverCipherPartialAssemblyKey\n pxk {\n id\n }\n }\n }\n }\n }\n }\n }\n}\n"], ["\nquery SharedScenarioQuery($scenarioId: LrRelayIdInput!) {\n sharedScenario(id: $scenarioId) {\n id\n state\n tp {\n id\n }\n asClaimant {\n sharedKey {\n id\n }\n sharedCipherData\n }\n asReceiver {\n sharedKey {\n id\n }\n sharedCipherData\n pbk {\n id\n }\n receiverDirectories {\n edges {\n node {\n id\n wrappedItemKey\n }\n }\n }\n }\n assembly {\n asApprovers {\n edges {\n node {\n id\n sharedKey {\n id\n }\n sharedCipherData\n }\n }\n }\n }\n sharedClaim {\n\t \t\tid\n isClaimant\n claim {\n state\n asClaimApprovers {\n edges {\n node {\n id\n state\n sharedKey {\n id\n }\n sharedCipherApprovalData\n sharedCipherPartialAssemblyKey\n receiverApprovals {\n edges {\n node {\n id\n pxk {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n asClaimReceiver {\n received\n approvals {\n edges {\n node {\n receiverCipher\n receiverCipherPartialAssemblyKey\n pxk {\n id\n }\n }\n }\n }\n }\n }\n }\n}\n"])));
|
|
13723
|
+
var templateObject_1$r, templateObject_2$n;
|
|
13714
13724
|
|
|
13715
13725
|
function throwClaimIdMismatch() {
|
|
13716
13726
|
throw new LrBadArgumentException('claimId does not match with the current claimId of the scenario');
|