@lifeready/core 5.0.8 → 5.0.9
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 +7 -7
- 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/types/lr-graphql.types.js +1 -1
- package/esm2015/lib/key-exchange/key-exchange2.gql.js +2 -1
- package/esm2015/lib/trusted-party/trusted-party.gql.js +3 -3
- package/esm2015/lib/trusted-party/trusted-party2.gql.js +5 -5
- package/fesm2015/lifeready-core.js +7 -6
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/api/types/lr-graphql.types.d.ts +24 -0
- package/lib/key-exchange/key-exchange2.gql.d.ts +3 -1
- package/lib/trusted-party/trusted-party2.gql.d.ts +4 -4
- package/package.json +1 -1
|
@@ -113,6 +113,8 @@ export interface DirectoryNode extends Node, TimeStamped, AccessControlledResour
|
|
|
113
113
|
descendants?: Descendants;
|
|
114
114
|
lock?: LockField;
|
|
115
115
|
lockVersion?: string;
|
|
116
|
+
tpShared?: Connection<TpSharedDirectoryNode>;
|
|
117
|
+
nTpShared?: TpSharedDirectoryNodeLrNList;
|
|
116
118
|
}
|
|
117
119
|
export interface FileNode extends Node, TimeStamped, AccessControlledResource {
|
|
118
120
|
currentVersion?: FileVersionNode;
|
|
@@ -123,6 +125,8 @@ export interface FileNode extends Node, TimeStamped, AccessControlledResource {
|
|
|
123
125
|
nParentDirectoryLinks?: FileLinkNodeLrNList;
|
|
124
126
|
lock?: LockField;
|
|
125
127
|
lockVersion?: string;
|
|
128
|
+
tpShared?: Connection<TpSharedFileNode>;
|
|
129
|
+
nTpShared?: TpSharedFileNodeLrNList;
|
|
126
130
|
}
|
|
127
131
|
export interface DirectoryLinkNode extends Node, TimeStamped {
|
|
128
132
|
parentDirectory?: DirectoryNode;
|
|
@@ -140,6 +144,26 @@ export interface DirectoryLinkNodeLrNList {
|
|
|
140
144
|
export interface FileLinkNodeLrNList {
|
|
141
145
|
list?: FileLinkNode[];
|
|
142
146
|
}
|
|
147
|
+
export interface TpSharedDirectoryNode extends Node, TimeStamped {
|
|
148
|
+
item?: DirectoryNode;
|
|
149
|
+
tp?: TpNode;
|
|
150
|
+
role?: AccessRoleChoice;
|
|
151
|
+
issuer?: UserNode;
|
|
152
|
+
isIssuer?: boolean;
|
|
153
|
+
}
|
|
154
|
+
export interface TpSharedDirectoryNodeLrNList {
|
|
155
|
+
list?: TpSharedDirectoryNode[];
|
|
156
|
+
}
|
|
157
|
+
export interface TpSharedFileNode extends Node, TimeStamped {
|
|
158
|
+
item?: FileNode;
|
|
159
|
+
tp?: TpNode;
|
|
160
|
+
role?: AccessRoleChoice;
|
|
161
|
+
issuer?: UserNode;
|
|
162
|
+
isIssuer?: boolean;
|
|
163
|
+
}
|
|
164
|
+
export interface TpSharedFileNodeLrNList {
|
|
165
|
+
list?: TpSharedFileNode[];
|
|
166
|
+
}
|
|
143
167
|
export interface Descendants {
|
|
144
168
|
directories?: Connection<DirectoryNode>;
|
|
145
169
|
files?: Connection<FileNode>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JWK } from 'node-jose';
|
|
2
|
-
import { Connection, DateTime, ID, JSONObject, LrEmail, OtKeyCipherClearJson2 } from '../api/types';
|
|
2
|
+
import { Connection, DateTime, ID, JSONObject, JSONString, LrEmail, OtKeyCipherClearJson2 } from '../api/types';
|
|
3
3
|
export declare type KeyExchangeState2 = 'IN_PROGRESS' | 'COMPLETED' | 'DECLINED' | 'CANCELLED' | 'DELETED';
|
|
4
4
|
export interface KeyExchangeFragment {
|
|
5
5
|
id: ID;
|
|
@@ -10,6 +10,8 @@ export interface KeyExchangeFragment {
|
|
|
10
10
|
initiator: {
|
|
11
11
|
id: ID;
|
|
12
12
|
username: string;
|
|
13
|
+
config: JSONString;
|
|
14
|
+
configJson: JSONObject;
|
|
13
15
|
};
|
|
14
16
|
responder: {
|
|
15
17
|
id: ID;
|
|
@@ -7,7 +7,7 @@ export interface DeleteTpMutation {
|
|
|
7
7
|
export declare const DeleteTpMutation: import("../_common/ast").TypedDocumentNode<DeleteTpMutation>;
|
|
8
8
|
export interface ShareDirectoryMutation {
|
|
9
9
|
shareDirectory: {
|
|
10
|
-
|
|
10
|
+
tpSharedDirectory: {
|
|
11
11
|
id: ID;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
@@ -15,7 +15,7 @@ export interface ShareDirectoryMutation {
|
|
|
15
15
|
export declare const ShareDirectoryMutation: import("../_common/ast").TypedDocumentNode<ShareDirectoryMutation>;
|
|
16
16
|
export interface UnshareDirectoryMutation {
|
|
17
17
|
unshareDirectory: {
|
|
18
|
-
|
|
18
|
+
tpSharedDirectory: {
|
|
19
19
|
id: ID;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
@@ -23,7 +23,7 @@ export interface UnshareDirectoryMutation {
|
|
|
23
23
|
export declare const UnshareDirectoryMutation: import("../_common/ast").TypedDocumentNode<UnshareDirectoryMutation>;
|
|
24
24
|
export interface ShareFileMutation {
|
|
25
25
|
shareFile: {
|
|
26
|
-
|
|
26
|
+
tpSharedFile: {
|
|
27
27
|
id: ID;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
@@ -31,7 +31,7 @@ export interface ShareFileMutation {
|
|
|
31
31
|
export declare const ShareFileMutation: import("../_common/ast").TypedDocumentNode<ShareFileMutation>;
|
|
32
32
|
export interface UnshareFileMutation {
|
|
33
33
|
unshareFile: {
|
|
34
|
-
|
|
34
|
+
tpSharedFile: {
|
|
35
35
|
id: ID;
|
|
36
36
|
};
|
|
37
37
|
};
|