@lifeready/core 8.0.8 → 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.
@@ -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: {
@@ -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;