@lifeready/core 8.0.4 → 8.0.5
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 +12 -141
- 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/trusted-party/trusted-party.gql.js +1 -37
- package/esm2015/lib/trusted-party/trusted-party.service.js +2 -81
- package/esm2015/lib/trusted-party/trusted-party.types.js +1 -1
- package/fesm2015/lifeready-core.js +0 -115
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/trusted-party/trusted-party.gql.d.ts +0 -32
- package/lib/trusted-party/trusted-party.service.d.ts +2 -40
- package/lib/trusted-party/trusted-party.types.d.ts +0 -11
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -5,38 +5,6 @@ export interface DeleteTpMutation {
|
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
7
|
export declare const DeleteTpMutation: import("../_common/ast").TypedDocumentNode<DeleteTpMutation>;
|
|
8
|
-
export interface ShareDirectoryMutation {
|
|
9
|
-
shareDirectory: {
|
|
10
|
-
directoryShare: {
|
|
11
|
-
id: ID;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export declare const ShareDirectoryMutation: import("../_common/ast").TypedDocumentNode<ShareDirectoryMutation>;
|
|
16
|
-
export interface UnshareDirectoryMutation {
|
|
17
|
-
unshareDirectory: {
|
|
18
|
-
directoryShare: {
|
|
19
|
-
id: ID;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export declare const UnshareDirectoryMutation: import("../_common/ast").TypedDocumentNode<UnshareDirectoryMutation>;
|
|
24
|
-
export interface ShareFileMutation {
|
|
25
|
-
shareFile: {
|
|
26
|
-
fileShare: {
|
|
27
|
-
id: ID;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export declare const ShareFileMutation: import("../_common/ast").TypedDocumentNode<ShareFileMutation>;
|
|
32
|
-
export interface UnshareFileMutation {
|
|
33
|
-
unshareFile: {
|
|
34
|
-
fileShare: {
|
|
35
|
-
id: ID;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export declare const UnshareFileMutation: import("../_common/ast").TypedDocumentNode<UnshareFileMutation>;
|
|
40
8
|
export interface CreateDirectoryShareMutationResult {
|
|
41
9
|
createDirectoryShare: {
|
|
42
10
|
directoryShare: {
|
|
@@ -6,8 +6,8 @@ import { ItemService } from '../item/item.service';
|
|
|
6
6
|
import { KeyFactoryService } from '../key/key-factory.service';
|
|
7
7
|
import { KeyGraphService } from '../key/key-graph.service';
|
|
8
8
|
import { KeyService } from '../key/key.service';
|
|
9
|
-
import { CompleteTpMkReshareMutation, DeleteTpMutation, RequestTpMkReshareMutation, RespondTpMkReshareMutation
|
|
10
|
-
import { CompleteDetachedItemShareOptions, CreateItemShareOptions,
|
|
9
|
+
import { CompleteTpMkReshareMutation, DeleteTpMutation, RequestTpMkReshareMutation, RespondTpMkReshareMutation } from './trusted-party.gql';
|
|
10
|
+
import { CompleteDetachedItemShareOptions, CreateItemShareOptions, UpdateItemShareOptions } from './trusted-party.types';
|
|
11
11
|
export declare class TrustedPartyService extends LrService {
|
|
12
12
|
private ngZone;
|
|
13
13
|
private injector;
|
|
@@ -23,44 +23,6 @@ export declare class TrustedPartyService extends LrService {
|
|
|
23
23
|
id: string;
|
|
24
24
|
};
|
|
25
25
|
}>;
|
|
26
|
-
shareDirectory(options: ShareItemOptions): Promise<ShareDirectoryMutation>;
|
|
27
|
-
shareDirectoryMutation(options: ShareItemOptions): Promise<LrMutation<ShareDirectoryMutation, {
|
|
28
|
-
input: {
|
|
29
|
-
id: string;
|
|
30
|
-
tpId: string;
|
|
31
|
-
accessRole: import("../api/types").AccessRoleChoice;
|
|
32
|
-
keyId: string;
|
|
33
|
-
wrappingKeyId: string;
|
|
34
|
-
wrappedKey: string;
|
|
35
|
-
};
|
|
36
|
-
}>>;
|
|
37
|
-
shareFile(options: ShareItemOptions): Promise<ShareFileMutation>;
|
|
38
|
-
shareFileMutation(options: ShareItemOptions): Promise<LrMutation<ShareFileMutation, {
|
|
39
|
-
input: {
|
|
40
|
-
id: string;
|
|
41
|
-
tpId: string;
|
|
42
|
-
accessRole: import("../api/types").AccessRoleChoice;
|
|
43
|
-
keyId: string;
|
|
44
|
-
wrappingKeyId: string;
|
|
45
|
-
wrappedKey: string;
|
|
46
|
-
};
|
|
47
|
-
}>>;
|
|
48
|
-
private prepareShareItemMutation;
|
|
49
|
-
unshareDirectory(options: UnshareItemOptions): Promise<UnshareDirectoryMutation>;
|
|
50
|
-
unshareDirectoryMutation(options: UnshareItemOptions): Promise<LrMutation<UnshareDirectoryMutation, {
|
|
51
|
-
input: {
|
|
52
|
-
id: string;
|
|
53
|
-
tpId: string;
|
|
54
|
-
};
|
|
55
|
-
}>>;
|
|
56
|
-
unshareFile(options: UnshareItemOptions): Promise<UnshareDirectoryMutation>;
|
|
57
|
-
unshareFileMutation(options: UnshareItemOptions): Promise<LrMutation<UnshareDirectoryMutation, {
|
|
58
|
-
input: {
|
|
59
|
-
id: string;
|
|
60
|
-
tpId: string;
|
|
61
|
-
};
|
|
62
|
-
}>>;
|
|
63
|
-
private unshareItemMutation;
|
|
64
26
|
createDirectoryShare(options: CreateItemShareOptions): Promise<import("./trusted-party.gql").CreateDirectoryShareMutationResult>;
|
|
65
27
|
createDirectoryShareMutation(options: CreateItemShareOptions): Promise<LrMutation<import("./trusted-party.gql").CreateDirectoryShareMutationResult, {
|
|
66
28
|
input: {
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
import { AccessRoleChoice, LrRelayIdInput, ShareTypeChoice } from '../api/types';
|
|
2
|
-
export interface ShareItemOptions {
|
|
3
|
-
itemId: LrRelayIdInput;
|
|
4
|
-
itemKeyId?: LrRelayIdInput;
|
|
5
|
-
tpId: LrRelayIdInput;
|
|
6
|
-
tpSharedKeyId?: LrRelayIdInput;
|
|
7
|
-
accessRole: AccessRoleChoice;
|
|
8
|
-
}
|
|
9
|
-
export interface UnshareItemOptions {
|
|
10
|
-
itemId: string;
|
|
11
|
-
tpId: string;
|
|
12
|
-
}
|
|
13
2
|
export interface CreateItemShareOptions {
|
|
14
3
|
itemId: LrRelayIdInput;
|
|
15
4
|
itemKeyId?: LrRelayIdInput;
|