@milaboratories/pl-drivers 1.6.13 → 1.7.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../../src/drivers/download_blob_url/driver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAW,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,KAAK,EACV,QAAQ,EACR,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAO7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AACjG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAW,MAAM,QAAQ,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAM7D,MAAM,MAAM,0BAA0B,GAAG;IACvC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF;uDACuD;AACvD,qBAAa,uBAAwB,YAAW,eAAe;IAS3D,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,IAAI;IAZvB,OAAO,CAAC,YAAY,CAAgD;IACpE,OAAO,CAAC,aAAa,CAAgB;IAErC;mCAC+B;IAC/B,OAAO,CAAC,KAAK,CAAuC;gBAGjC,MAAM,EAAE,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MlE;mCAC+B;IACzB,WAAW,CAAC,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA8BzF,2CAA2C;IACrC,UAAU;IAgBhB,OAAO,CAAC,UAAU;IAgBlB,OAAO,CAAC,UAAU;IAMlB,OAAO,CAAC,WAAW;CAGpB"}
@@ -1,6 +1 @@
1
- import { FolderURL } from '@milaboratories/pl-model-common';
2
- import { Signer } from '@milaboratories/ts-helpers';
3
- export declare function newFolderURL(signer: Signer, saveDir: string, fPath: string): FolderURL;
4
- export declare function isFolderURL(url: string): url is FolderURL;
5
- export declare function getPathForFolderURL(signer: Signer, url: FolderURL, rootDir: string): string;
6
1
  //# sourceMappingURL=url.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../src/drivers/download_blob_url/url.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAEjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAGzD,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,CAKtF;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,SAAS,CAGzD;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAY3F"}
1
+ {"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../src/drivers/download_blob_url/url.ts"],"names":[],"mappings":""}
@@ -1,29 +1,40 @@
1
- import { ComputableCtx, Watcher, ChangeSource, Computable } from '@milaboratories/computable';
2
- import { MiLogger, CallersCounter } from '@milaboratories/ts-helpers';
1
+ import { ComputableCtx, Watcher, Computable } from '@milaboratories/computable';
2
+ import { MiLogger, Signer } from '@milaboratories/ts-helpers';
3
3
  import { Dispatcher } from 'undici';
4
- import { RemoteFileDownloader } from '../helpers/download';
4
+ import { BlockUIURL, FrontendDriver } from '@milaboratories/pl-model-common';
5
+ import { DownloadByUrlTask } from './task';
5
6
  export interface DownloadUrlSyncReader {
6
7
  /** Returns a Computable that (when the time will come)
7
8
  * downloads an archive from an URL,
8
9
  * extracts it to the local dir and returns a path to that dir. */
9
- getPath(url: URL): Computable<PathResult | undefined>;
10
+ getUrl(url: URL): Computable<UrlResult | undefined>;
10
11
  }
11
- export interface PathResult {
12
- /** Path to the downloadable blob, might be undefined when the error happened. */
13
- path?: string;
12
+ export interface UrlResult {
13
+ /** Path to the downloadable blob along with the signature and a custom protocol,
14
+ * might be undefined when the error happened. */
15
+ url?: BlockUIURL;
14
16
  /** Error that happened when the archive were downloaded. */
15
17
  error?: string;
16
18
  }
17
19
  export type DownloadUrlDriverOps = {
20
+ /** A soft limit of the amount of blob storage, in bytes.
21
+ * Once exceeded, the download driver will start deleting blobs one by one
22
+ * when they become unneeded.
23
+ * */
18
24
  cacheSoftSizeBytes: number;
25
+ /** Whether to gunzip the downloaded archive (it will be untared automatically). */
19
26
  withGunzip: boolean;
27
+ /** Max number of concurrent downloads while calculating computable states
28
+ * derived from this driver.
29
+ * */
20
30
  nConcurrentDownloads: number;
21
31
  };
22
32
  /** Downloads .tar or .tar.gz archives by given URLs
23
33
  * and extracts them into saveDir. */
24
- export declare class DownloadUrlDriver implements DownloadUrlSyncReader {
34
+ export declare class DownloadUrlDriver implements DownloadUrlSyncReader, FrontendDriver {
25
35
  private readonly logger;
26
36
  private readonly saveDir;
37
+ private readonly signer;
27
38
  private readonly opts;
28
39
  private readonly downloadHelper;
29
40
  private urlToDownload;
@@ -31,12 +42,13 @@ export declare class DownloadUrlDriver implements DownloadUrlSyncReader {
31
42
  /** Writes and removes files to a hard drive and holds a counter for every
32
43
  * file that should be kept. */
33
44
  private cache;
34
- constructor(logger: MiLogger, httpClient: Dispatcher, saveDir: string, opts?: DownloadUrlDriverOps);
45
+ constructor(logger: MiLogger, httpClient: Dispatcher, saveDir: string, signer: Signer, opts?: DownloadUrlDriverOps);
35
46
  /** Use to get a path result inside a computable context */
36
- getPath(url: URL, ctx: ComputableCtx): PathResult | undefined;
47
+ getUrl(url: URL, ctx: ComputableCtx): UrlResult | undefined;
37
48
  /** Returns a Computable that do the work */
38
- getPath(url: URL): Computable<PathResult | undefined>;
39
- getPathNoCtx(url: URL, w: Watcher, callerId: string): PathResult | undefined;
49
+ getUrl(url: URL): Computable<UrlResult | undefined>;
50
+ getUrlNoCtx(url: URL, w: Watcher, callerId: string): UrlResult | undefined;
51
+ getPathForBlockUI(url: string): string;
40
52
  /** Downloads and extracts a tar archive if it wasn't downloaded yet. */
41
53
  downloadUrl(task: DownloadByUrlTask, callerId: string): Promise<void>;
42
54
  /** Removes a directory and aborts a downloading task when all callers
@@ -48,32 +60,4 @@ export declare class DownloadUrlDriver implements DownloadUrlSyncReader {
48
60
  private removeTask;
49
61
  private getFilePath;
50
62
  }
51
- /** Downloads and extracts an archive to a directory. */
52
- declare class DownloadByUrlTask {
53
- private readonly logger;
54
- readonly path: string;
55
- readonly url: URL;
56
- readonly counter: CallersCounter;
57
- readonly change: ChangeSource;
58
- private readonly signalCtl;
59
- error: string | undefined;
60
- done: boolean;
61
- size: number;
62
- constructor(logger: MiLogger, path: string, url: URL);
63
- info(): {
64
- url: string;
65
- path: string;
66
- done: boolean;
67
- size: number;
68
- error: string | undefined;
69
- };
70
- attach(w: Watcher, callerId: string): void;
71
- download(clientDownload: RemoteFileDownloader, withGunzip: boolean): Promise<void>;
72
- private downloadAndUntar;
73
- getPath(): PathResult | undefined;
74
- private setDone;
75
- private setError;
76
- abort(reason: string): void;
77
- }
78
- export {};
79
- //# sourceMappingURL=download_url.d.ts.map
63
+ //# sourceMappingURL=driver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"driver.d.ts","sourceR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1B,MAAM,EAAE,QAAQ,EACjC,UAAU,EAAE,UAAU,EACL,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,oBAItB;IAOH,2DAA2D;IAC3D,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,aAAa,GAAG,SAAS,GAAG,SAAS;IAE3D,4CAA4C;IAC5C,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,UAAU,CAAC,SAAS,GAAG,SAAS,CAAC;IAwBnD,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM;IAkBlD,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAQtC,wEAAwE;IAClE,WAAW,CAAC,IAAI,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM;IAM3D;mCAC+B;IACzB,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA+B5D,2CAA2C;IACrC,UAAU;IAgBhB,OAAO,CAAC,UAAU;IAclB,OAAO,CAAC,UAAU;IAMlB,OAAO,CAAC,WAAW;CAIpB"}
@@ -0,0 +1,40 @@
1
+ import { Watcher, ChangeSource } from '@milaboratories/computable';
2
+ import { MiLogger, Signer, CallersCounter } from '@milaboratories/ts-helpers';
3
+ import { RemoteFileDownloader } from '../../helpers/download';
4
+ import { UrlResult } from './driver';
5
+ /** Downloads and extracts an archive to a directory. */
6
+ export declare class DownloadByUrlTask {
7
+ private readonly logger;
8
+ readonly path: string;
9
+ readonly url: URL;
10
+ readonly signer: Signer;
11
+ readonly saveDir: string;
12
+ readonly counter: CallersCounter;
13
+ readonly change: ChangeSource;
14
+ private readonly signalCtl;
15
+ error: string | undefined;
16
+ done: boolean;
17
+ size: number;
18
+ constructor(logger: MiLogger, path: string, url: URL, signer: Signer, saveDir: string);
19
+ info(): {
20
+ url: string;
21
+ path: string;
22
+ done: boolean;
23
+ size: number;
24
+ error: string | undefined;
25
+ };
26
+ attach(w: Watcher, callerId: string): void;
27
+ download(clientDownload: RemoteFileDownloader, withGunzip: boolean): Promise<void>;
28
+ private downloadAndUntar;
29
+ getUrl(): UrlResult | undefined;
30
+ private setDone;
31
+ private setError;
32
+ abort(reason: string): void;
33
+ }
34
+ /** Throws when a downloading aborts. */
35
+ export declare class URLAborted extends Error {
36
+ name: string;
37
+ }
38
+ /** Do rm -rf on dir. */
39
+ export declare function rmRFDir(path: string): Promise<void>;
40
+ //# sourceMappingURL=task.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../src/drivers/download_url/task.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,KAAK,EACV,QAAQ,EACR,MAAM,EACP,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,cAAc,EAKf,MAAM,4BAA4B,CAAC;AAMpC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,wDAAwD;AACxD,qBAAa,iBAAiB;IAS1B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM;IACrB,QAAQ,CAAC,GAAG,EAAE,GAAG;IACjB,QAAQ,CAAC,MAAM,EAAE,MAAM;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM;IAZ1B,QAAQ,CAAC,OAAO,iBAAwB;IACxC,QAAQ,CAAC,MAAM,eAAsB;IACrC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAyB;IACnD,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,UAAS;IACb,IAAI,SAAK;gBAGU,MAAM,EAAE,QAAQ,EACxB,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM;IAGnB,IAAI;;;;;;;IAUX,MAAM,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM;IAK7B,QAAQ,CAAC,cAAc,EAAE,oBAAoB,EAAE,UAAU,EAAE,OAAO;YAkB1D,gBAAgB;IA4B9B,MAAM,IAAI,SAAS,GAAG,SAAS;IAU/B,OAAO,CAAC,OAAO;IAKf,OAAO,CAAC,QAAQ;IAIhB,KAAK,CAAC,MAAM,EAAE,MAAM;CAGrB;AAED,wCAAwC;AACxC,qBAAa,UAAW,SAAQ,KAAK;IACnC,IAAI,SAAgB;CACrB;AAmBD,wBAAwB;AACxB,wBAAsB,OAAO,CAAC,IAAI,EAAE,MAAM,iBAEzC"}
@@ -0,0 +1,13 @@
1
+ import { FolderURL, BlockUIURL } from '@milaboratories/pl-model-common';
2
+ import { Signer } from '@milaboratories/ts-helpers';
3
+ /** Creates a new plblob+folder URL. */
4
+ export declare function newFolderURL(signer: Signer, saveDir: string, fPath: string): FolderURL;
5
+ /** Creates a new block-ui URL. */
6
+ export declare function newBlockUIURL(signer: Signer, saveDir: string, fPath: string): BlockUIURL;
7
+ /** Checks the signature and path injections.
8
+ * @returns the path to the file inside the root directory. */
9
+ export declare function getPathForFolderURL(signer: Signer, url: FolderURL, rootDir: string): string;
10
+ /** Checks the signature and path injections.
11
+ * @returns the path to the file inside the root directory. */
12
+ export declare function getPathForBlockUIURL(signer: Signer, url: BlockUIURL, rootDir: string): string;
13
+ //# sourceMappingURL=url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../src/drivers/urls/url.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAGzD,uCAAuC;AACvC,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,CAKtF;AAED,kCAAkC;AAClC,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,CAKxF;AAED;8DAC8D;AAC9D,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAE3F;AAED;8DAC8D;AAC9D,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAE7F"}
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ export * from './drivers/upload';
11
11
  export * from './drivers/upload_task';
12
12
  export * from './drivers/logs_stream';
13
13
  export * from './drivers/logs';
14
- export * from './drivers/download_url';
14
+ export * from './drivers/download_url/driver';
15
15
  export * from './drivers/ls';
16
16
  export * from './drivers/virtual_storages';
17
17
  export * from './drivers/helpers/helpers';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AAEvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AAEvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}