@milaboratories/pl-model-common 1.10.3 → 1.10.4

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_kit.d.ts","sourceRoot":"","sources":["../src/driver_kit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE3E,qEAAqE;AACrE,MAAM,WAAW,SAAS;IACxB,4CAA4C;IAC5C,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAEhC,oDAAoD;IACpD,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC;IAE/B;;;;;;;SAOK;IACL,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAE5B,2DAA2D;IAC3D,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;CACrC"}
1
+ {"version":3,"file":"driver_kit.d.ts","sourceRoot":"","sources":["../src/driver_kit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE5F,qEAAqE;AACrE,MAAM,WAAW,SAAS;IACxB,4CAA4C;IAC5C,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAEhC,oDAAoD;IACpD,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC;IAE/B;;;;;;;SAOK;IACL,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAE5B,2DAA2D;IAC3D,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;CACrC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * plblob+folder://signature@sufolder_with_unzipped_blob/
3
+ */
4
+ export type FolderURL = `plblob+folder://${string}`;
5
+ export type ArchiveFormat = 'zip' | 'tar' | 'tgz';
6
+ export interface BlobToURLDriver {
7
+ getPathForCustomProtocol(url: FolderURL): string;
8
+ }
9
+ //# sourceMappingURL=blob_to_url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blob_to_url.d.ts","sourceRoot":"","sources":["../../src/drivers/blob_to_url.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,mBAAmB,MAAM,EAAE,CAAC;AAEpD,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAElD,MAAM,WAAW,eAAe;IAC9B,wBAAwB,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,CAAC;CAClD"}
@@ -1,4 +1,5 @@
1
1
  export * from './interfaces';
2
+ export * from './blob_to_url';
2
3
  export * from './blob';
3
4
  export * from './upload';
4
5
  export * from './log';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/drivers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,MAAM,CAAC;AAErB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/drivers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,MAAM,CAAC;AAErB,cAAc,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/pl-model-common",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "description": "Platforma SDK Model",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
package/src/driver_kit.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BlobDriver, LogsDriver, LsDriver, PFrameDriver } from './drivers';
1
+ import { BlobDriver, BlobToURLDriver, LogsDriver, LsDriver, PFrameDriver } from './drivers';
2
2
 
3
3
  /** Set of all drivers exposed in UI SDK via the platforma object. */
4
4
  export interface DriverKit {
@@ -0,0 +1,10 @@
1
+ /**
2
+ * plblob+folder://signature@sufolder_with_unzipped_blob/
3
+ */
4
+ export type FolderURL = `plblob+folder://${string}`;
5
+
6
+ export type ArchiveFormat = 'zip' | 'tar' | 'tgz';
7
+
8
+ export interface BlobToURLDriver {
9
+ getPathForCustomProtocol(url: FolderURL): string;
10
+ }
@@ -1,5 +1,6 @@
1
1
  export * from './interfaces';
2
2
 
3
+ export * from './blob_to_url';
3
4
  export * from './blob';
4
5
  export * from './upload';
5
6
  export * from './log';