@lifeready/core 1.1.9 → 1.1.11
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 +65 -8
- 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/item2/item2.service.js +5 -1
- package/esm2015/lib/item2/item2.types.js +1 -1
- package/esm2015/lib/password/password.service.js +2 -2
- package/esm2015/lib/server-config/server-config.gql.js +9 -0
- package/esm2015/lib/server-config/server-config.service.js +41 -0
- package/esm2015/lib/time/time.service.js +2 -2
- package/esm2015/public-api.js +2 -1
- package/fesm2015/lifeready-core.js +49 -3
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/api/types/lr-graphql.types.d.ts +3 -0
- package/lib/item2/item2.service.d.ts +2 -2
- package/lib/item2/item2.types.d.ts +3 -2
- package/lib/server-config/server-config.gql.d.ts +5 -0
- package/lib/server-config/server-config.service.d.ts +9 -0
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -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 { BeginDeleteChildItemLinksWindowOptions, ChangeDirectoryParentsOptions, ChangeFileParentsOptions, CreateDirectoryOptions, CreateDirectoryTreeOptions, CreateFileOptions, DownloadFileContentOptions, FileParentDirectoryInput,
|
|
10
|
+
import { BeginDeleteChildItemLinksWindowOptions, ChangeDirectoryParentsOptions, ChangeFileParentsOptions, CreateDirectoryOptions, CreateDirectoryTreeOptions, CreateFileOptions, DownloadFileContentOptions, FileParentDirectoryInput, IdKeyPair, ParentDirectoryInput, ParentRootDirectoryInput, RevertFileOptions, SetDirectoryConfidentialOptions, SetFileConfidentialOptions, UpdateDirectoryOptions, UpdateFileOptions } from './item2.types';
|
|
11
11
|
export declare class Item2Service extends LrService {
|
|
12
12
|
private ngZone;
|
|
13
13
|
private injector;
|
|
@@ -194,7 +194,7 @@ export declare class Item2Service extends LrService {
|
|
|
194
194
|
* @returns The ID of the temp directory
|
|
195
195
|
*
|
|
196
196
|
*/
|
|
197
|
-
ensureTempDirectory(): Promise<
|
|
197
|
+
ensureTempDirectory(): Promise<IdKeyPair>;
|
|
198
198
|
createDirectoryTree(options: CreateDirectoryTreeOptions): Promise<import("./item2.gql").ChangeDirectoryParentsMutationResult>;
|
|
199
199
|
/**
|
|
200
200
|
* You must run this mutation within the temp directory cleanup window on the
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { JSONObject, LinkTypeField, LrRelayIdInput } from '../api/types';
|
|
2
|
-
export interface
|
|
2
|
+
export interface IdKeyPair {
|
|
3
3
|
id: string;
|
|
4
4
|
keyId: string;
|
|
5
5
|
}
|
|
6
|
+
export declare type IdKeyId = IdKeyPair;
|
|
6
7
|
export interface ParentDirectoryOptions {
|
|
7
8
|
directoryId: LrRelayIdInput;
|
|
8
9
|
wrappingKeyId?: LrRelayIdInput;
|
|
@@ -74,7 +75,7 @@ export interface BeginDeleteChildItemLinksWindowOptions {
|
|
|
74
75
|
}
|
|
75
76
|
export interface CreateDirectoryTreeOptions extends Omit<CreateDirectoryOptions, 'asRootDirectory'> {
|
|
76
77
|
requestWindowMs: number;
|
|
77
|
-
createContent: (directory:
|
|
78
|
+
createContent: (directory: IdKeyPair) => void | Promise<void>;
|
|
78
79
|
}
|
|
79
80
|
export interface SetFileConfidentialOptions {
|
|
80
81
|
fileId: LrRelayIdInput;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Injector, NgZone } from '@angular/core';
|
|
2
|
+
import { LrService } from '../api/lr-graphql';
|
|
3
|
+
export declare class ServerConfigService extends LrService {
|
|
4
|
+
private ngZone;
|
|
5
|
+
private injector;
|
|
6
|
+
private serverConfig;
|
|
7
|
+
constructor(ngZone: NgZone, injector: Injector);
|
|
8
|
+
getConfig(): Promise<Pick<import("../api/types").ServerConfig, "relayConnectionMaxLimit">>;
|
|
9
|
+
}
|