@lifeready/core 8.0.7 → 8.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 +72 -0
- 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/query-processor/query-processor.service.js +13 -1
- package/esm2015/lib/item/item.service.js +37 -1
- package/esm2015/lib/item/item.types.js +1 -1
- package/esm2015/lib/scenario/scenario.service.js +2 -1
- package/fesm2015/lifeready-core.js +49 -0
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/item/item.service.d.ts +11 -1
- package/lib/item/item.types.d.ts +3 -0
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ 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
9
|
import { LockService } from '../lock/lock.service';
|
|
10
|
-
import { ArchiveDirectoryOptions, BeginDeleteChildItemLinksWindowOptions, ChangeDirectoryParentsOptions, ChangeFileParentsOptions, CreateDirectoryOptions, CreateDirectoryTreeOptions, CreateFileOptions, DownloadFileContentOptions, IdKeyPair, ParentDirectoryInput, ParentRootDirectoryInput, RevertFileOptions, SetDirectoryConfidentialOptions, SetFileConfidentialOptions, UnarchiveDirectoryOptions, UpdateDirectoryOptions, UpdateFileOptions } from './item.types';
|
|
10
|
+
import { ArchiveDirectoryOptions, BeginDeleteChildItemLinksWindowOptions, ChangeDirectoryParentsOptions, ChangeFileParentsOptions, CreateDirectoryOptions, CreateDirectoryTreeOptions, CreateFileOptions, CreateFileUsingTempOptions, DownloadFileContentOptions, IdKeyPair, ParentDirectoryInput, ParentRootDirectoryInput, RevertFileOptions, SetDirectoryConfidentialOptions, SetFileConfidentialOptions, UnarchiveDirectoryOptions, UpdateDirectoryOptions, UpdateFileOptions } from './item.types';
|
|
11
11
|
export declare class ItemService extends LrService {
|
|
12
12
|
private ngZone;
|
|
13
13
|
private injector;
|
|
@@ -164,6 +164,16 @@ export declare class ItemService extends LrService {
|
|
|
164
164
|
directoriesToAdd: ParentDirectoryInput[];
|
|
165
165
|
};
|
|
166
166
|
}>>;
|
|
167
|
+
createFileUsingTempMutation(options: CreateFileUsingTempOptions): Promise<{
|
|
168
|
+
mutation: LrMutation<import("./item.gql").ChangeFileParentsMutationResult, {
|
|
169
|
+
input: {
|
|
170
|
+
fileId: string;
|
|
171
|
+
directoriesToRemove: string[];
|
|
172
|
+
directoriesToAdd: ParentDirectoryInput[];
|
|
173
|
+
};
|
|
174
|
+
}>;
|
|
175
|
+
file: IdKeyPair;
|
|
176
|
+
}>;
|
|
167
177
|
setFileConfidential(options: SetFileConfidentialOptions): Promise<import("./item.gql").SetFileConfidentialMutationResult>;
|
|
168
178
|
setFileConfidentialMutation(options: SetFileConfidentialOptions): Promise<LrMutation<import("./item.gql").SetFileConfidentialMutationResult, {
|
|
169
179
|
input: {
|
package/lib/item/item.types.d.ts
CHANGED
|
@@ -73,6 +73,9 @@ export interface CreateDirectoryTreeOptions extends Omit<SomeRequired<CreateDire
|
|
|
73
73
|
requestWindowMs: number;
|
|
74
74
|
createContent: (directory: IdKeyPair) => Promise<void>;
|
|
75
75
|
}
|
|
76
|
+
export interface CreateFileUsingTempOptions extends CreateFileOptions {
|
|
77
|
+
requestWindowMs: number;
|
|
78
|
+
}
|
|
76
79
|
export interface SetFileConfidentialOptions {
|
|
77
80
|
fileId: LrRelayIdInput;
|
|
78
81
|
confidential: boolean;
|