@lifeready/core 8.0.1 → 8.0.3
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 +247 -183
- 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/_common/queries.gql.js +2 -149
- package/esm2015/lib/api/lr-graphql/lr-mutation.js +5 -3
- package/esm2015/lib/api/types/lr-graphql.types.js +11 -11
- package/esm2015/lib/item/item.gql.private.js +7 -7
- package/esm2015/lib/item/item.service.js +10 -10
- package/esm2015/lib/key/key-graph.service.js +14 -1
- package/esm2015/lib/key/key.types.js +1 -1
- package/esm2015/lib/scenario/scenario.gql.js +1 -1
- package/esm2015/lib/scenario/scenario.private.gql.js +36 -31
- package/esm2015/lib/scenario/scenario.service.js +55 -22
- package/esm2015/lib/scenario/scenario.types.js +1 -1
- package/esm2015/lib/trusted-party/trusted-party.gql.js +35 -35
- package/esm2015/lib/trusted-party/trusted-party.service.js +32 -32
- package/esm2015/lib/trusted-party/trusted-party.types.js +1 -1
- package/fesm2015/lifeready-core.js +195 -289
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/_common/queries.gql.d.ts +0 -6
- package/lib/api/types/lr-graphql.types.d.ts +24 -20
- package/lib/item/item.gql.private.d.ts +6 -6
- package/lib/item/item.service.d.ts +2 -2
- package/lib/key/key.types.d.ts +1 -0
- package/lib/scenario/scenario.gql.d.ts +1 -1
- package/lib/scenario/scenario.service.d.ts +68 -27
- package/lib/scenario/scenario.types.d.ts +1 -1
- package/lib/trusted-party/trusted-party.gql.d.ts +34 -34
- package/lib/trusted-party/trusted-party.service.d.ts +16 -16
- package/lib/trusted-party/trusted-party.types.d.ts +2 -2
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1383,6 +1383,19 @@ class KeyGraphService {
|
|
|
1383
1383
|
else {
|
|
1384
1384
|
nextRawKey = yield this.encryptionService.decrypt(wrappingKey, wrappedKey);
|
|
1385
1385
|
}
|
|
1386
|
+
// Handle nested keys. i.e. Enc{K1}{K2}{K3}(raw key 4), where:
|
|
1387
|
+
// K1: link.wrappingKey
|
|
1388
|
+
// K2: link.nestedWrappingKey[0]
|
|
1389
|
+
// K3: link.nestedWrappingKey[1]
|
|
1390
|
+
if (link.type == KeyGraphEdgeType.KeyLink) {
|
|
1391
|
+
const data = link.data;
|
|
1392
|
+
if (data.nestedWrappingKeyIds) {
|
|
1393
|
+
for (const nestedWrappingKeyId of data.nestedWrappingKeyIds) {
|
|
1394
|
+
const key = yield this.getKey(nestedWrappingKeyId);
|
|
1395
|
+
nextRawKey = yield this.encryptionService.decrypt(key.jwk, nextRawKey);
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1386
1399
|
dstKey.jwk = yield KeyFactoryService.asKey(nextRawKey);
|
|
1387
1400
|
dstKey.task = null;
|
|
1388
1401
|
});
|
|
@@ -1586,6 +1599,7 @@ const KeyGraphFragmentBase = `
|
|
|
1586
1599
|
keyLinks {
|
|
1587
1600
|
keyId
|
|
1588
1601
|
wrappingKeyId
|
|
1602
|
+
nestedWrappingKeyIds
|
|
1589
1603
|
wrappedKey
|
|
1590
1604
|
}
|
|
1591
1605
|
passKeys {
|
|
@@ -1604,51 +1618,6 @@ fragment KeyGraphFragment on KeyGraphType ${KeyGraphFragmentBase}
|
|
|
1604
1618
|
`;
|
|
1605
1619
|
const KeyGraphField = `keyGraph ${KeyGraphFragmentBase}`;
|
|
1606
1620
|
const FetchKeyGraphField = `keyGraph: fetchKeyGraph ${KeyGraphFragmentBase}`;
|
|
1607
|
-
const FileQuery = gql `
|
|
1608
|
-
query File($id: LrRelayIdInput!, $cachedKeyIds: [LrRelayIdInput!]) {
|
|
1609
|
-
file(id: $id) {
|
|
1610
|
-
id
|
|
1611
|
-
keyId
|
|
1612
|
-
currentVersion {
|
|
1613
|
-
id
|
|
1614
|
-
operation
|
|
1615
|
-
state {
|
|
1616
|
-
keyId
|
|
1617
|
-
plainMeta
|
|
1618
|
-
cipherMeta
|
|
1619
|
-
contentResource
|
|
1620
|
-
}
|
|
1621
|
-
}
|
|
1622
|
-
versions {
|
|
1623
|
-
edges {
|
|
1624
|
-
node {
|
|
1625
|
-
id
|
|
1626
|
-
state {
|
|
1627
|
-
keyId
|
|
1628
|
-
plainMeta
|
|
1629
|
-
cipherMeta
|
|
1630
|
-
contentResource
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
}
|
|
1635
|
-
parentDirectoryLinks {
|
|
1636
|
-
edges {
|
|
1637
|
-
node {
|
|
1638
|
-
parentDirectory {
|
|
1639
|
-
id
|
|
1640
|
-
plainMeta
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
keyGraph(cachedKeyIds: $cachedKeyIds) {
|
|
1647
|
-
...KeyGraphFragment
|
|
1648
|
-
}
|
|
1649
|
-
}
|
|
1650
|
-
${KeyGraphFragment}
|
|
1651
|
-
`;
|
|
1652
1621
|
const DirectoryQuery = gql `
|
|
1653
1622
|
query Directory($id: LrRelayIdInput!, $cachedKeyIds: [LrRelayIdInput!]) {
|
|
1654
1623
|
directory(id: $id) {
|
|
@@ -1663,109 +1632,6 @@ const DirectoryQuery = gql `
|
|
|
1663
1632
|
}
|
|
1664
1633
|
${KeyGraphFragment}
|
|
1665
1634
|
`;
|
|
1666
|
-
const CreateFileQuery = gql `
|
|
1667
|
-
mutation CreateFile($input: CreateFileInput!) {
|
|
1668
|
-
createFile(input: $input) {
|
|
1669
|
-
file {
|
|
1670
|
-
id
|
|
1671
|
-
}
|
|
1672
|
-
}
|
|
1673
|
-
}
|
|
1674
|
-
`;
|
|
1675
|
-
const UpdateFileQuery = gql `
|
|
1676
|
-
mutation UpdateFile($input: UpdateFileInput!) {
|
|
1677
|
-
updateFile(input: $input) {
|
|
1678
|
-
file {
|
|
1679
|
-
id
|
|
1680
|
-
currentVersion {
|
|
1681
|
-
id
|
|
1682
|
-
state {
|
|
1683
|
-
id
|
|
1684
|
-
}
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
}
|
|
1688
|
-
}
|
|
1689
|
-
`;
|
|
1690
|
-
const RevertFileQuery = gql `
|
|
1691
|
-
mutation RevertFile($input: RevertFileInput!) {
|
|
1692
|
-
revertFile(input: $input) {
|
|
1693
|
-
file {
|
|
1694
|
-
id
|
|
1695
|
-
currentVersion {
|
|
1696
|
-
id
|
|
1697
|
-
state {
|
|
1698
|
-
id
|
|
1699
|
-
}
|
|
1700
|
-
}
|
|
1701
|
-
}
|
|
1702
|
-
}
|
|
1703
|
-
}
|
|
1704
|
-
`;
|
|
1705
|
-
const MoveFileQuery = gql `
|
|
1706
|
-
mutation MoveFile(
|
|
1707
|
-
$fileId: LrRelayIdInput!
|
|
1708
|
-
$fromParentDirectoryId: LrRelayIdInput!
|
|
1709
|
-
$toParentDirectoryId: LrRelayIdInput!
|
|
1710
|
-
$wrappingKeyId: LrRelayIdInput!
|
|
1711
|
-
$wrappedKey: String!
|
|
1712
|
-
) {
|
|
1713
|
-
moveFile(
|
|
1714
|
-
input: {
|
|
1715
|
-
fileId: $fileId
|
|
1716
|
-
fromParentDirectoryId: $fromParentDirectoryId
|
|
1717
|
-
toParentDirectoryId: $toParentDirectoryId
|
|
1718
|
-
wrappingKeyId: $wrappingKeyId
|
|
1719
|
-
wrappedKey: $wrappedKey
|
|
1720
|
-
}
|
|
1721
|
-
) {
|
|
1722
|
-
file {
|
|
1723
|
-
id
|
|
1724
|
-
parentDirectoryLinks {
|
|
1725
|
-
edges {
|
|
1726
|
-
node {
|
|
1727
|
-
parentDirectory {
|
|
1728
|
-
plainMeta
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
}
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
`;
|
|
1737
|
-
const MoveDirectoryQuery = gql `
|
|
1738
|
-
mutation MoveDirectory(
|
|
1739
|
-
$directoryId: LrRelayIdInput!
|
|
1740
|
-
$fromParentDirectoryId: LrRelayIdInput
|
|
1741
|
-
$toParentDirectoryId: LrRelayIdInput!
|
|
1742
|
-
$wrappedKey: String!
|
|
1743
|
-
$wrappingKeyId: LrRelayIdInput!
|
|
1744
|
-
) {
|
|
1745
|
-
moveDirectory(
|
|
1746
|
-
input: {
|
|
1747
|
-
directoryId: $directoryId
|
|
1748
|
-
fromParentDirectoryId: $fromParentDirectoryId
|
|
1749
|
-
toParentDirectoryId: $toParentDirectoryId
|
|
1750
|
-
wrappedKey: $wrappedKey
|
|
1751
|
-
wrappingKeyId: $wrappingKeyId
|
|
1752
|
-
}
|
|
1753
|
-
) {
|
|
1754
|
-
directory {
|
|
1755
|
-
id
|
|
1756
|
-
parentDirectoryLinks {
|
|
1757
|
-
edges {
|
|
1758
|
-
node {
|
|
1759
|
-
parentDirectory {
|
|
1760
|
-
plainMeta
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1767
|
-
}
|
|
1768
|
-
`;
|
|
1769
1635
|
|
|
1770
1636
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1771
1637
|
/**
|
|
@@ -2415,7 +2281,9 @@ class LrMutation extends LrMutationBase {
|
|
|
2415
2281
|
const mutationNode = getMutation(mutationDoc);
|
|
2416
2282
|
const fragmentMap = {};
|
|
2417
2283
|
getFragments(fragments).forEach((fragment) => {
|
|
2418
|
-
|
|
2284
|
+
// Using '_' as the delimiter for the dummy suffix which only serves to make fragment names
|
|
2285
|
+
// unique since apollo client demands unique fragment names.
|
|
2286
|
+
fragmentMap[fragment.name.value.split('_')[0]] = fragment;
|
|
2419
2287
|
});
|
|
2420
2288
|
const replaceFieldSelection = (selection) => {
|
|
2421
2289
|
const field = selection;
|
|
@@ -2428,7 +2296,7 @@ class LrMutation extends LrMutationBase {
|
|
|
2428
2296
|
// a fragment using the same name as the mutation field.
|
|
2429
2297
|
// We will also rename the fragment to the same name.
|
|
2430
2298
|
field.selectionSet.selections = [
|
|
2431
|
-
Object.assign(Object.assign({}, fragmentSpreadAstSelection), { name: name(
|
|
2299
|
+
Object.assign(Object.assign({}, fragmentSpreadAstSelection), { name: name(fragment.name.value) }),
|
|
2432
2300
|
];
|
|
2433
2301
|
};
|
|
2434
2302
|
mutationNode.selectionSet.selections.forEach((selection) => {
|
|
@@ -2838,16 +2706,16 @@ var PlanState;
|
|
|
2838
2706
|
PlanState["ENABLED"] = "ENABLED";
|
|
2839
2707
|
PlanState["DISABLED"] = "DISABLED";
|
|
2840
2708
|
})(PlanState || (PlanState = {}));
|
|
2841
|
-
var
|
|
2842
|
-
(function (
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
})(
|
|
2846
|
-
var
|
|
2847
|
-
(function (
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
})(
|
|
2709
|
+
var ShareTypeChoice;
|
|
2710
|
+
(function (ShareTypeChoice) {
|
|
2711
|
+
ShareTypeChoice["TP"] = "TP";
|
|
2712
|
+
ShareTypeChoice["DETACHED"] = "DETACHED";
|
|
2713
|
+
})(ShareTypeChoice || (ShareTypeChoice = {}));
|
|
2714
|
+
var DetachedShareStateChoice;
|
|
2715
|
+
(function (DetachedShareStateChoice) {
|
|
2716
|
+
DetachedShareStateChoice["IN_PROGRESS"] = "IN_PROGRESS";
|
|
2717
|
+
DetachedShareStateChoice["COMPLETED"] = "COMPLETED";
|
|
2718
|
+
})(DetachedShareStateChoice || (DetachedShareStateChoice = {}));
|
|
2851
2719
|
var AccessRoleChoice;
|
|
2852
2720
|
(function (AccessRoleChoice) {
|
|
2853
2721
|
AccessRoleChoice["READER"] = "READER";
|
|
@@ -6136,18 +6004,18 @@ query FileKeyQuery($id: LrRelayIdInput!) {
|
|
|
6136
6004
|
}
|
|
6137
6005
|
}
|
|
6138
6006
|
`;
|
|
6139
|
-
const
|
|
6140
|
-
query
|
|
6141
|
-
|
|
6007
|
+
const DirectoryKeyFromDirectoryShareQuery = gqlTyped `
|
|
6008
|
+
query DirectoryKeyFromDirectoryShareQuery($id: LrRelayIdInput!) {
|
|
6009
|
+
directoryShare(id: $id) {
|
|
6142
6010
|
item {
|
|
6143
6011
|
keyId
|
|
6144
6012
|
}
|
|
6145
6013
|
}
|
|
6146
6014
|
}
|
|
6147
6015
|
`;
|
|
6148
|
-
const
|
|
6149
|
-
query
|
|
6150
|
-
|
|
6016
|
+
const FileKeyFromFileShareQuery = gqlTyped `
|
|
6017
|
+
query FileKeyFromFileShareQuery($id: LrRelayIdInput!) {
|
|
6018
|
+
fileShare(id: $id) {
|
|
6151
6019
|
item {
|
|
6152
6020
|
keyId
|
|
6153
6021
|
}
|
|
@@ -6207,24 +6075,24 @@ let ItemService = ItemService_1 = class ItemService extends LrService {
|
|
|
6207
6075
|
})).file.keyId;
|
|
6208
6076
|
});
|
|
6209
6077
|
}
|
|
6210
|
-
|
|
6078
|
+
getDirectoryKeyIdFromDirectoryShare(directoryShareId) {
|
|
6211
6079
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6212
6080
|
return (yield this.query({
|
|
6213
|
-
query:
|
|
6081
|
+
query: DirectoryKeyFromDirectoryShareQuery,
|
|
6214
6082
|
variables: {
|
|
6215
|
-
id:
|
|
6083
|
+
id: directoryShareId,
|
|
6216
6084
|
},
|
|
6217
|
-
})).
|
|
6085
|
+
})).directoryShare.item.keyId;
|
|
6218
6086
|
});
|
|
6219
6087
|
}
|
|
6220
|
-
|
|
6088
|
+
getFileKeyIdFromFileShare(fileShareId) {
|
|
6221
6089
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6222
6090
|
return (yield this.query({
|
|
6223
|
-
query:
|
|
6091
|
+
query: FileKeyFromFileShareQuery,
|
|
6224
6092
|
variables: {
|
|
6225
|
-
id:
|
|
6093
|
+
id: fileShareId,
|
|
6226
6094
|
},
|
|
6227
|
-
})).
|
|
6095
|
+
})).fileShare.item.keyId;
|
|
6228
6096
|
});
|
|
6229
6097
|
}
|
|
6230
6098
|
getDirectoryKey(directoryId, directoryKeyId) {
|
|
@@ -8701,36 +8569,38 @@ query ScenarioQuery(
|
|
|
8701
8569
|
id
|
|
8702
8570
|
}
|
|
8703
8571
|
sharedCipherData
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
sharedCipherData
|
|
8709
|
-
sharedKey {
|
|
8710
|
-
id
|
|
8711
|
-
}
|
|
8712
|
-
accessRole
|
|
8713
|
-
itemKey {
|
|
8714
|
-
id
|
|
8715
|
-
}
|
|
8716
|
-
directory {
|
|
8572
|
+
receiverItems {
|
|
8573
|
+
receiverDirectories {
|
|
8574
|
+
edges {
|
|
8575
|
+
node {
|
|
8717
8576
|
id
|
|
8718
|
-
|
|
8577
|
+
sharedCipherData
|
|
8578
|
+
sharedKey {
|
|
8579
|
+
id
|
|
8580
|
+
}
|
|
8581
|
+
accessRole
|
|
8582
|
+
itemKey {
|
|
8583
|
+
id
|
|
8584
|
+
}
|
|
8585
|
+
directory {
|
|
8586
|
+
id
|
|
8587
|
+
keyId
|
|
8588
|
+
}
|
|
8719
8589
|
}
|
|
8720
8590
|
}
|
|
8721
8591
|
}
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
node {
|
|
8726
|
-
id
|
|
8727
|
-
sharedCipherData
|
|
8728
|
-
sharedKey {
|
|
8729
|
-
id
|
|
8730
|
-
}
|
|
8731
|
-
accessRole
|
|
8732
|
-
itemKey {
|
|
8592
|
+
receiverFiles {
|
|
8593
|
+
edges {
|
|
8594
|
+
node {
|
|
8733
8595
|
id
|
|
8596
|
+
sharedCipherData
|
|
8597
|
+
sharedKey {
|
|
8598
|
+
id
|
|
8599
|
+
}
|
|
8600
|
+
accessRole
|
|
8601
|
+
itemKey {
|
|
8602
|
+
id
|
|
8603
|
+
}
|
|
8734
8604
|
}
|
|
8735
8605
|
}
|
|
8736
8606
|
}
|
|
@@ -8762,11 +8632,13 @@ query SharedScenarioQuery($scenarioId: LrRelayIdInput!) {
|
|
|
8762
8632
|
pbk {
|
|
8763
8633
|
id
|
|
8764
8634
|
}
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
|
|
8768
|
-
|
|
8769
|
-
|
|
8635
|
+
receiverItems {
|
|
8636
|
+
receiverDirectories {
|
|
8637
|
+
edges {
|
|
8638
|
+
node {
|
|
8639
|
+
id
|
|
8640
|
+
wrappedItemKey
|
|
8641
|
+
}
|
|
8770
8642
|
}
|
|
8771
8643
|
}
|
|
8772
8644
|
}
|
|
@@ -8815,6 +8687,7 @@ query SharedScenarioQuery($scenarioId: LrRelayIdInput!) {
|
|
|
8815
8687
|
}
|
|
8816
8688
|
asClaimReceiver {
|
|
8817
8689
|
received
|
|
8690
|
+
assemblyKeyId
|
|
8818
8691
|
approvals {
|
|
8819
8692
|
edges {
|
|
8820
8693
|
node {
|
|
@@ -8988,15 +8861,15 @@ let ScenarioService = class ScenarioService extends LrService {
|
|
|
8988
8861
|
}
|
|
8989
8862
|
receiveClaim(scenarioId, sharedClaimId) {
|
|
8990
8863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8991
|
-
return this.mutate(this.
|
|
8864
|
+
return this.mutate(this.receiveClaim2Mutation(scenarioId, sharedClaimId));
|
|
8992
8865
|
});
|
|
8993
8866
|
}
|
|
8994
|
-
|
|
8867
|
+
receiveClaim2Mutation(scenarioId, sharedClaimId) {
|
|
8995
8868
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8996
8869
|
return new LrMutation({
|
|
8997
8870
|
mutation: ReceiveScenarioClaimMutation,
|
|
8998
8871
|
variables: {
|
|
8999
|
-
input: yield this.
|
|
8872
|
+
input: yield this.prepareReceiveClaim2(scenarioId, sharedClaimId),
|
|
9000
8873
|
},
|
|
9001
8874
|
});
|
|
9002
8875
|
});
|
|
@@ -9143,19 +9016,28 @@ let ScenarioService = class ScenarioService extends LrService {
|
|
|
9143
9016
|
}
|
|
9144
9017
|
prepareReceiverDirectory(options, receiverSharedKey, assemblyKey) {
|
|
9145
9018
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9158
|
-
|
|
9019
|
+
if (options.accessRole == AccessRoleChoice.DENY) {
|
|
9020
|
+
// Cryptographic access to item is not required.
|
|
9021
|
+
return {
|
|
9022
|
+
directoryId: options.directoryId,
|
|
9023
|
+
accessRole: options.accessRole,
|
|
9024
|
+
wrappedItemKey: null,
|
|
9025
|
+
sharedCipherData: null,
|
|
9026
|
+
};
|
|
9027
|
+
}
|
|
9028
|
+
else {
|
|
9029
|
+
// TODO this should be batched
|
|
9030
|
+
const directoryKey = yield this.itemService.getDirectoryKey(options.directoryId, options.directoryKeyId);
|
|
9031
|
+
const sharedCipherData = yield this.keyGraph.encryptToString(receiverSharedKey, options.sharedCipherDataClearJson || '');
|
|
9032
|
+
let wrappedItemKey = yield this.keyGraph.encryptToString(receiverSharedKey, directoryKey.jwk.toJSON(true));
|
|
9033
|
+
wrappedItemKey = yield this.keyGraph.encryptToString(assemblyKey, wrappedItemKey);
|
|
9034
|
+
return {
|
|
9035
|
+
directoryId: options.directoryId,
|
|
9036
|
+
accessRole: options.accessRole,
|
|
9037
|
+
wrappedItemKey,
|
|
9038
|
+
sharedCipherData,
|
|
9039
|
+
};
|
|
9040
|
+
}
|
|
9159
9041
|
});
|
|
9160
9042
|
}
|
|
9161
9043
|
prepareCreateReceiver(options, assemblyKey) {
|
|
@@ -9172,7 +9054,7 @@ let ScenarioService = class ScenarioService extends LrService {
|
|
|
9172
9054
|
const deleteDirectoriesOptions = options.deleteDirectories || [];
|
|
9173
9055
|
const updateDirectoriesOptions = options.updateDirectories || [];
|
|
9174
9056
|
// Fill in any missing update directories
|
|
9175
|
-
mapEdges(existingReceiver.receiverDirectories).forEach((existingDirectory) => {
|
|
9057
|
+
mapEdges(existingReceiver.receiverItems.receiverDirectories).forEach((existingDirectory) => {
|
|
9176
9058
|
if (deleteDirectoriesOptions.includes(existingDirectory.directory.id)) {
|
|
9177
9059
|
return;
|
|
9178
9060
|
}
|
|
@@ -9195,7 +9077,7 @@ let ScenarioService = class ScenarioService extends LrService {
|
|
|
9195
9077
|
}
|
|
9196
9078
|
prepareExistingReceiver(existingReceiver, assemblyKey) {
|
|
9197
9079
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9198
|
-
const updateDirectories = mapEdges(existingReceiver.receiverDirectories).map((receiverDirectory) => ({
|
|
9080
|
+
const updateDirectories = mapEdges(existingReceiver.receiverItems.receiverDirectories).map((receiverDirectory) => ({
|
|
9199
9081
|
directoryId: receiverDirectory.directory.id,
|
|
9200
9082
|
directoryKeyId: receiverDirectory.directory.keyId,
|
|
9201
9083
|
accessRole: receiverDirectory.accessRole,
|
|
@@ -9254,7 +9136,29 @@ let ScenarioService = class ScenarioService extends LrService {
|
|
|
9254
9136
|
return mutationInput;
|
|
9255
9137
|
});
|
|
9256
9138
|
}
|
|
9257
|
-
|
|
9139
|
+
prepareReceiveClaim2(scenarioId, sharedClaimId) {
|
|
9140
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9141
|
+
// Get all the shared items
|
|
9142
|
+
const sharedScenario = (yield this.getSharedScenario(scenarioId, sharedClaimId)).sharedScenario;
|
|
9143
|
+
if (sharedScenario.state !== ScenarioState.APPROVED) {
|
|
9144
|
+
throwClaimNotApproved();
|
|
9145
|
+
}
|
|
9146
|
+
const approvals = mapEdges(sharedScenario.sharedClaim.asClaimReceiver.approvals);
|
|
9147
|
+
const assemblyKey = yield this.recoverAssemblyKey(approvals);
|
|
9148
|
+
// Wrap assembly key with shared key.
|
|
9149
|
+
//???
|
|
9150
|
+
// This sharedKey is created just for this scenario. It's wrapped by the tpSharedKey.
|
|
9151
|
+
const sharedKey = yield this.keyGraph.getKey(sharedScenario.asReceiver.sharedKey.id);
|
|
9152
|
+
const sharedKeyWrappedAssemblyKey = yield this.keyGraph.encryptToString(sharedKey, assemblyKey.toJSON(true));
|
|
9153
|
+
return {
|
|
9154
|
+
scenarioClaimId: sharedClaimId,
|
|
9155
|
+
sharedKeyWrappedAssemblyKey,
|
|
9156
|
+
sharedKeyId: sharedKey.id,
|
|
9157
|
+
assemblyKeyId: sharedScenario.sharedClaim.asClaimReceiver.assemblyKeyId,
|
|
9158
|
+
};
|
|
9159
|
+
});
|
|
9160
|
+
}
|
|
9161
|
+
prepareReceiveClaim(scenarioId, sharedClaimId) {
|
|
9258
9162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9259
9163
|
// Get all the shared items
|
|
9260
9164
|
const sharedScenario = (yield this.getSharedScenario(scenarioId, sharedClaimId)).sharedScenario;
|
|
@@ -9264,12 +9168,14 @@ let ScenarioService = class ScenarioService extends LrService {
|
|
|
9264
9168
|
const approvals = mapEdges(sharedScenario.sharedClaim.asClaimReceiver.approvals);
|
|
9265
9169
|
const assemblyKey = yield this.recoverAssemblyKey(approvals);
|
|
9266
9170
|
// Decrypt all items
|
|
9267
|
-
const receiverDirectories = yield Promise.all(sharedScenario.asReceiver.receiverDirectories.edges
|
|
9171
|
+
const receiverDirectories = yield Promise.all(sharedScenario.asReceiver.receiverItems.receiverDirectories.edges
|
|
9268
9172
|
.map((edge) => edge.node)
|
|
9269
9173
|
.map((receiverDirectory) => __awaiter(this, void 0, void 0, function* () {
|
|
9270
9174
|
const wrappedItemKey = yield this.encryptionService.decrypt(assemblyKey, receiverDirectory.wrappedItemKey);
|
|
9271
9175
|
return {
|
|
9272
9176
|
receiverDirectoryId: receiverDirectory.id,
|
|
9177
|
+
// Looks like receiverDirectory.wrappedItemKey has no other content in side it except a wrapped key.
|
|
9178
|
+
// So we can turn this in to a doubly wrapped key and just release the assembly key.
|
|
9273
9179
|
receiverSharedKeyWrappedItemKey: wrappedItemKey,
|
|
9274
9180
|
};
|
|
9275
9181
|
})));
|
|
@@ -10083,7 +9989,7 @@ mutation DeleteTpMutation($input: DeleteTpInput!) {
|
|
|
10083
9989
|
const ShareDirectoryMutation = gqlTyped `
|
|
10084
9990
|
mutation ShareDirectoryMutation($input: ShareDirectoryInput!) {
|
|
10085
9991
|
shareDirectory(input: $input) {
|
|
10086
|
-
|
|
9992
|
+
directoryShare {
|
|
10087
9993
|
id
|
|
10088
9994
|
}
|
|
10089
9995
|
}
|
|
@@ -10092,7 +9998,7 @@ const ShareDirectoryMutation = gqlTyped `
|
|
|
10092
9998
|
const UnshareDirectoryMutation = gqlTyped `
|
|
10093
9999
|
mutation UnshareDirectoryMutation($input: UnshareDirectoryInput!) {
|
|
10094
10000
|
unshareDirectory(input: $input) {
|
|
10095
|
-
|
|
10001
|
+
directoryShare {
|
|
10096
10002
|
id
|
|
10097
10003
|
}
|
|
10098
10004
|
}
|
|
@@ -10101,7 +10007,7 @@ const UnshareDirectoryMutation = gqlTyped `
|
|
|
10101
10007
|
const ShareFileMutation = gqlTyped `
|
|
10102
10008
|
mutation ShareFileMutation($input: ShareFileInput!) {
|
|
10103
10009
|
shareFile(input: $input) {
|
|
10104
|
-
|
|
10010
|
+
fileShare {
|
|
10105
10011
|
id
|
|
10106
10012
|
}
|
|
10107
10013
|
}
|
|
@@ -10110,75 +10016,75 @@ const ShareFileMutation = gqlTyped `
|
|
|
10110
10016
|
const UnshareFileMutation = gqlTyped `
|
|
10111
10017
|
mutation UnshareFileMutation($input: UnshareFileInput!) {
|
|
10112
10018
|
unshareFile(input: $input) {
|
|
10113
|
-
|
|
10019
|
+
fileShare {
|
|
10114
10020
|
id
|
|
10115
10021
|
}
|
|
10116
10022
|
}
|
|
10117
10023
|
}
|
|
10118
10024
|
`;
|
|
10119
|
-
const
|
|
10120
|
-
mutation
|
|
10121
|
-
|
|
10122
|
-
|
|
10025
|
+
const CreateDirectoryShareMutation = gqlTyped `
|
|
10026
|
+
mutation CreateDirectoryShareMutation($input: CreateDirectoryShareInput!) {
|
|
10027
|
+
createDirectoryShare(input: $input) {
|
|
10028
|
+
directoryShare {
|
|
10123
10029
|
id
|
|
10124
10030
|
}
|
|
10125
10031
|
}
|
|
10126
10032
|
}
|
|
10127
10033
|
`;
|
|
10128
|
-
const
|
|
10129
|
-
mutation
|
|
10130
|
-
|
|
10131
|
-
|
|
10034
|
+
const CreateFileShareMutation = gqlTyped `
|
|
10035
|
+
mutation CreateFileShareMutation($input: CreateFileShareInput!) {
|
|
10036
|
+
createFileShare(input: $input) {
|
|
10037
|
+
fileShare {
|
|
10132
10038
|
id
|
|
10133
10039
|
}
|
|
10134
10040
|
}
|
|
10135
10041
|
}
|
|
10136
10042
|
`;
|
|
10137
|
-
const
|
|
10138
|
-
mutation
|
|
10139
|
-
|
|
10140
|
-
|
|
10043
|
+
const UpdateDirectoryShareMutation = gqlTyped `
|
|
10044
|
+
mutation UpdateDirectoryShareMutation($input: UpdateDirectoryShareInput!) {
|
|
10045
|
+
updateDirectoryShare(input: $input) {
|
|
10046
|
+
directoryShare {
|
|
10141
10047
|
id
|
|
10142
10048
|
}
|
|
10143
10049
|
}
|
|
10144
10050
|
}
|
|
10145
10051
|
`;
|
|
10146
|
-
const
|
|
10147
|
-
mutation
|
|
10148
|
-
|
|
10149
|
-
|
|
10052
|
+
const UpdateFileShareMutation = gqlTyped `
|
|
10053
|
+
mutation UpdateFileShareMutation($input: UpdateFileShareInput!) {
|
|
10054
|
+
updateFileShare(input: $input) {
|
|
10055
|
+
fileShare {
|
|
10150
10056
|
id
|
|
10151
10057
|
}
|
|
10152
10058
|
}
|
|
10153
10059
|
}
|
|
10154
10060
|
`;
|
|
10155
|
-
const
|
|
10156
|
-
mutation
|
|
10157
|
-
|
|
10061
|
+
const DeleteDirectoryShareMutation = gqlTyped `
|
|
10062
|
+
mutation DeleteDirectoryShareMutation($input: DeleteDirectoryShareInput!) {
|
|
10063
|
+
deleteDirectoryShare(input: $input) {
|
|
10158
10064
|
id
|
|
10159
10065
|
}
|
|
10160
10066
|
}
|
|
10161
10067
|
`;
|
|
10162
|
-
const
|
|
10163
|
-
mutation
|
|
10164
|
-
|
|
10068
|
+
const DeleteFileShareMutation = gqlTyped `
|
|
10069
|
+
mutation DeleteFileShareMutation($input: DeleteFileShareInput!) {
|
|
10070
|
+
deleteFileShare(input: $input) {
|
|
10165
10071
|
id
|
|
10166
10072
|
}
|
|
10167
10073
|
}
|
|
10168
10074
|
`;
|
|
10169
|
-
const
|
|
10170
|
-
mutation
|
|
10171
|
-
|
|
10172
|
-
|
|
10075
|
+
const CompleteDetachedDirectoryShareMutation = gqlTyped `
|
|
10076
|
+
mutation CompleteDetachedDirectoryShareMutation($input: CompleteDetachedDirectoryShareInput!) {
|
|
10077
|
+
completeDetachedDirectoryShare(input: $input) {
|
|
10078
|
+
directoryShare {
|
|
10173
10079
|
id
|
|
10174
10080
|
}
|
|
10175
10081
|
}
|
|
10176
10082
|
}
|
|
10177
10083
|
`;
|
|
10178
|
-
const
|
|
10179
|
-
mutation
|
|
10180
|
-
|
|
10181
|
-
|
|
10084
|
+
const CompleteDetachedFileShareMutation = gqlTyped `
|
|
10085
|
+
mutation CompleteDetachedFileShareMutation($input: CompleteDetachedFileShareInput!) {
|
|
10086
|
+
completeDetachedFileShare(input: $input) {
|
|
10087
|
+
fileShare {
|
|
10182
10088
|
id
|
|
10183
10089
|
}
|
|
10184
10090
|
}
|
|
@@ -10331,28 +10237,28 @@ let TrustedPartyService = class TrustedPartyService extends LrService {
|
|
|
10331
10237
|
});
|
|
10332
10238
|
});
|
|
10333
10239
|
}
|
|
10334
|
-
|
|
10240
|
+
createDirectoryShare(options) {
|
|
10335
10241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10336
|
-
return this.mutate(this.
|
|
10242
|
+
return this.mutate(this.createDirectoryShareMutation(options));
|
|
10337
10243
|
});
|
|
10338
10244
|
}
|
|
10339
|
-
|
|
10245
|
+
createDirectoryShareMutation(options) {
|
|
10340
10246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10341
10247
|
return new LrMutation({
|
|
10342
|
-
mutation:
|
|
10248
|
+
mutation: CreateDirectoryShareMutation,
|
|
10343
10249
|
variables: yield this.prepareCreateSharedItemMutation(Object.assign(Object.assign({}, options), { isDirectory: true })),
|
|
10344
10250
|
});
|
|
10345
10251
|
});
|
|
10346
10252
|
}
|
|
10347
|
-
|
|
10253
|
+
createFileShare(options) {
|
|
10348
10254
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10349
|
-
return this.mutate(this.
|
|
10255
|
+
return this.mutate(this.createFileShareMutation(options));
|
|
10350
10256
|
});
|
|
10351
10257
|
}
|
|
10352
|
-
|
|
10258
|
+
createFileShareMutation(options) {
|
|
10353
10259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10354
10260
|
return new LrMutation({
|
|
10355
|
-
mutation:
|
|
10261
|
+
mutation: CreateFileShareMutation,
|
|
10356
10262
|
variables: yield this.prepareCreateSharedItemMutation(Object.assign(Object.assign({}, options), { isDirectory: false })),
|
|
10357
10263
|
});
|
|
10358
10264
|
});
|
|
@@ -10380,28 +10286,28 @@ let TrustedPartyService = class TrustedPartyService extends LrService {
|
|
|
10380
10286
|
};
|
|
10381
10287
|
});
|
|
10382
10288
|
}
|
|
10383
|
-
|
|
10289
|
+
updateDirectoryShare(options) {
|
|
10384
10290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10385
|
-
return this.mutate(this.
|
|
10291
|
+
return this.mutate(this.updateDirectoryShareMutation(options));
|
|
10386
10292
|
});
|
|
10387
10293
|
}
|
|
10388
|
-
|
|
10294
|
+
updateDirectoryShareMutation(options) {
|
|
10389
10295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10390
10296
|
return new LrMutation({
|
|
10391
|
-
mutation:
|
|
10297
|
+
mutation: UpdateDirectoryShareMutation,
|
|
10392
10298
|
variables: this.prepareUpdateSharedItemMutation(options),
|
|
10393
10299
|
});
|
|
10394
10300
|
});
|
|
10395
10301
|
}
|
|
10396
|
-
|
|
10302
|
+
updateFileShare(options) {
|
|
10397
10303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10398
|
-
return this.mutate(this.
|
|
10304
|
+
return this.mutate(this.updateFileShareMutation(options));
|
|
10399
10305
|
});
|
|
10400
10306
|
}
|
|
10401
|
-
|
|
10307
|
+
updateFileShareMutation(options) {
|
|
10402
10308
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10403
10309
|
return new LrMutation({
|
|
10404
|
-
mutation:
|
|
10310
|
+
mutation: UpdateFileShareMutation,
|
|
10405
10311
|
variables: this.prepareUpdateSharedItemMutation(options),
|
|
10406
10312
|
});
|
|
10407
10313
|
});
|
|
@@ -10415,15 +10321,15 @@ let TrustedPartyService = class TrustedPartyService extends LrService {
|
|
|
10415
10321
|
},
|
|
10416
10322
|
};
|
|
10417
10323
|
}
|
|
10418
|
-
|
|
10324
|
+
deleteDirectoryShare(id) {
|
|
10419
10325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10420
|
-
return this.mutate(this.
|
|
10326
|
+
return this.mutate(this.deleteDirectoryShareMutation(id));
|
|
10421
10327
|
});
|
|
10422
10328
|
}
|
|
10423
|
-
|
|
10329
|
+
deleteDirectoryShareMutation(id) {
|
|
10424
10330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10425
10331
|
return new LrMutation({
|
|
10426
|
-
mutation:
|
|
10332
|
+
mutation: DeleteDirectoryShareMutation,
|
|
10427
10333
|
variables: {
|
|
10428
10334
|
input: {
|
|
10429
10335
|
id,
|
|
@@ -10432,28 +10338,28 @@ let TrustedPartyService = class TrustedPartyService extends LrService {
|
|
|
10432
10338
|
});
|
|
10433
10339
|
});
|
|
10434
10340
|
}
|
|
10435
|
-
|
|
10341
|
+
completeDetachedDirectoryShare(options) {
|
|
10436
10342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10437
|
-
return this.mutate(this.
|
|
10343
|
+
return this.mutate(this.completeDetachedDirectoryShareMutation(options));
|
|
10438
10344
|
});
|
|
10439
10345
|
}
|
|
10440
|
-
|
|
10346
|
+
completeDetachedDirectoryShareMutation(options) {
|
|
10441
10347
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10442
10348
|
return new LrMutation({
|
|
10443
|
-
mutation:
|
|
10349
|
+
mutation: CompleteDetachedDirectoryShareMutation,
|
|
10444
10350
|
variables: yield this.prepareCompleteDetachedSharedItemMutation(Object.assign(Object.assign({}, options), { isDirectory: true })),
|
|
10445
10351
|
});
|
|
10446
10352
|
});
|
|
10447
10353
|
}
|
|
10448
|
-
|
|
10354
|
+
completeDetachedFileShare(options) {
|
|
10449
10355
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10450
|
-
return this.mutate(this.
|
|
10356
|
+
return this.mutate(this.completeDetachedFileShareMutation(options));
|
|
10451
10357
|
});
|
|
10452
10358
|
}
|
|
10453
|
-
|
|
10359
|
+
completeDetachedFileShareMutation(options) {
|
|
10454
10360
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10455
10361
|
return new LrMutation({
|
|
10456
|
-
mutation:
|
|
10362
|
+
mutation: CompleteDetachedFileShareMutation,
|
|
10457
10363
|
variables: yield this.prepareCompleteDetachedSharedItemMutation(Object.assign(Object.assign({}, options), { isDirectory: false })),
|
|
10458
10364
|
});
|
|
10459
10365
|
});
|
|
@@ -10462,8 +10368,8 @@ let TrustedPartyService = class TrustedPartyService extends LrService {
|
|
|
10462
10368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10463
10369
|
const { sharedItemId, itemKeyId, isDirectory } = options;
|
|
10464
10370
|
const itemKey = yield this.keyGraph.getKey(itemKeyId, () => isDirectory
|
|
10465
|
-
? this.itemService.
|
|
10466
|
-
: this.itemService.
|
|
10371
|
+
? this.itemService.getDirectoryKeyIdFromDirectoryShare(sharedItemId)
|
|
10372
|
+
: this.itemService.getFileKeyIdFromFileShare(sharedItemId));
|
|
10467
10373
|
const rootKey = this.keyService.currentRootKey;
|
|
10468
10374
|
const wrappedKey = yield this.keyGraph.wrapKey(rootKey, itemKey.jwk);
|
|
10469
10375
|
return {
|
|
@@ -10755,5 +10661,5 @@ UserService.ctorParameters = () => [
|
|
|
10755
10661
|
* Generated bundle index. Do not edit.
|
|
10756
10662
|
*/
|
|
10757
10663
|
|
|
10758
|
-
export { AccessRoleChoice, AccessRoleChoiceOrder, AccessRoleMethodChoice, ApiContactCard, ApiCurrentUser, ApproveScenarioClaimMutation, ApproveTpPasswordResetRequestMutation, ArchiveDirectoryMutation, ArchiveFileMutation, AuthService, BeginDeleteChildItemLinksWindowMutation, CancelKeyExchangeMutation, CancelScenarioClaimMutation, CancelTpPasswordResetRequestMutation, CancelUserDeleteMutation, ChangeDirectoryParentsMutation, ChangeFileParentsMutation, ClaimApproverState, ClaimState, CognitoChallengeName, CommonProcessorsService, CompleteKeyExchangeOtkMutation, CompleteTpPasswordResetRequestMutation, Config, ContactCard2Service, ContactCardAddress, ContactCardName, ContactCardsQuery, CreateContactCardMutation$1 as CreateContactCardMutation, CreateDirectoryMutation, CreateFileMutation,
|
|
10664
|
+
export { AccessRoleChoice, AccessRoleChoiceOrder, AccessRoleMethodChoice, ApiContactCard, ApiCurrentUser, ApproveScenarioClaimMutation, ApproveTpPasswordResetRequestMutation, ArchiveDirectoryMutation, ArchiveFileMutation, AuthService, BeginDeleteChildItemLinksWindowMutation, CancelKeyExchangeMutation, CancelScenarioClaimMutation, CancelTpPasswordResetRequestMutation, CancelUserDeleteMutation, ChangeDirectoryParentsMutation, ChangeFileParentsMutation, ClaimApproverState, ClaimState, CognitoChallengeName, CommonProcessorsService, CompleteKeyExchangeOtkMutation, CompleteTpPasswordResetRequestMutation, Config, ContactCard2Service, ContactCardAddress, ContactCardName, ContactCardsQuery, CreateContactCardMutation$1 as CreateContactCardMutation, CreateDirectoryMutation, CreateFileMutation, CreateLbopQuery, CreateScenarioClaimMutation, CreateScenarioMutation, CreateTpAssemblyKeyChallengeMutation, CreateTpPasswordResetMutation, CurrentUserKey, CurrentUserQuery, CurrentUserSharedKeyQuery2, DebugExpireScenarioClaimMutation, DebugExpireTpPasswordResetRequestMutation, DeclineKeyExchangeMutation, DefaultProcessorOptions, DeleteDirectoryMutation, DeleteFileMutation, DeleteLbopQuery, DeleteScenarioMutation, DeleteTpPasswordResetMutation, DetachedShareStateChoice, DirectoryQuery, ERROR_SOURCE, FeatureAction, Features, FetchKeyGraphField, FileOperationField, FileUploadService, GetOwnedContactCardKeyIdsQuery, GetReceivedContactCardKeyIdQuery, IdleService, InitiateKeyExchangeOtkMutation, ItemService, KC_CONFIG, KcAuthException, KcBadArgumentException, KcBadLogicException, KcBadRequestException, KcBadSignatureException, KcBadStateException, KcBadTimeSyncException, KcCodeMismatchException, KcConcurrentAccessException, KcEncryptionException, KcError, KcErrorCode, KcException, KcInternalErrorException, KcLbopErrorCode, KcLockedException, KcNotFoundException, KcSuspiciousOperationException, KcUnsupportedException, KeyExchangeFields, KeyExchangeMode, KeyExchangeOtkState, KeyExchangeQuery2, KeyExchangeService, KeyExchangeState, KeyExchangeTokenQuery2, KeyExchangesQuery2, KeyGraphField, KeyGraphFragment, LbopQuery, LbopService, LbopsQuery, LifeReadyModule, LinkTypeField, LockService, LockState, LoginHistoryQuery, LrApolloService, LrGraphQLService, LrMergedMutation, LrMutation, LrMutationBase, LrService, MainContactCardFields, MainContactCardPlainFields, MainContactCardProperty, NotificationService, OwnerPlainDataJson, PasswordChangeStatus, PasswordCheck, PasswordService, PermissionChoice, PersistService, PlanService, PlanState, PlanStateField, PreCompleteTpPasswordResetRequestMutation, ProfileDetailsService, ProfileService, QueryProcessorService, ReceiveScenarioClaimMutation, RecoveryStatus, RegisterResult, RegisterService, RejectScenarioClaimMutation, RejectTpPasswordResetRequestMutation, ReminderService, RequestUserDeleteMutation, RespondKeyExchangeOtkMutation, RevertFileMutation, ScenarioLastClaimState, ScenarioService, ScenarioState, ServerConfigService, ServerTimeQuery, SetDirectoryConfidentialMutation, SetFileConfidentialMutation, ShareTypeChoice, SharedContactCard2Service, SharedTrustedPartyDetails, SharedVaultFeature, TPFeatures, TempDirectoryQuery, TimeService, TpAssemblyState, TpClaimApproverState, TpClaimState, TpPasswordResetRequestService, TpPasswordResetService, TpPasswordResetUserService, TrustedPartiesQuery, TrustedParty, TrustedPartyDetails, TrustedPartyProperties, TrustedPartyService, TrustedPartyType, TwoFactorService, UnarchiveDirectoryMutation, UnarchiveFileMutation, UpdateContactCardMutation$1 as UpdateContactCardMutation, UpdateDirectoryMutation, UpdateFileMutation, UpdateLbopQuery, UpdateOwnedContactCardMutation, UpdateReceivedContactCardMutation, UpdateScenarioMutation, UpdateTpPasswordResetMutation, UserDeleteState, UserService, UserSharedKeyFields, WebCryptoService, awsFetch, configureAmplifyAuth, configureApollo, fragmentSpreadAstSelection, gqlTyped, handleApolloError, handleCognitoCallback, httpOptions, mapEdges, processConnection, throwClaimIdMismatch, throwClaimNotApproved, KeyGraphService as ɵa, EncryptionService as ɵb, KeyService as ɵc, KeyFactoryService as ɵd, LrService as ɵe, RunOutsideAngular as ɵf, LrGraphQLService as ɵg, KeyMetaService as ɵh, TpPasswordResetAssemblyController as ɵi, TpAssemblyController as ɵj, SharedContactCardFields as ɵk, SharedContactCardService as ɵl, ScenarioAssemblyController as ɵm, TpPasswordResetPrivateService as ɵn };
|
|
10759
10665
|
//# sourceMappingURL=lifeready-core.js.map
|