@cloud-cli/on 1.33.1 → 1.34.1
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/dist/file-storage.d.ts +19 -0
- package/dist/file-storage.d.ts.map +1 -0
- package/dist/on.js +1680 -1513
- package/dist/queue.d.ts +9 -0
- package/dist/queue.d.ts.map +1 -1
- package/dist/safe-eval.d.ts.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/worker.d.ts.map +1 -1
- package/dist/workflows.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type StoredFile = {
|
|
2
|
+
path: string;
|
|
3
|
+
content: string;
|
|
4
|
+
};
|
|
5
|
+
export declare class FileStorage {
|
|
6
|
+
private readonly baseUrl;
|
|
7
|
+
private readonly binId;
|
|
8
|
+
private readonly authorization?;
|
|
9
|
+
constructor();
|
|
10
|
+
get enabled(): boolean;
|
|
11
|
+
private headers;
|
|
12
|
+
private request;
|
|
13
|
+
save(ownerKey: string, files: StoredFile[]): Promise<void>;
|
|
14
|
+
load(ownerKey: string): Promise<StoredFile[]>;
|
|
15
|
+
private create;
|
|
16
|
+
private index;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=file-storage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-storage.d.ts","sourceRoot":"","sources":["../src/file-storage.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpD,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAS;;IAUxC,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,OAAO,CAAC,OAAO;YAID,OAAO;IASf,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAa1D,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;YAWrC,MAAM;YASN,KAAK;CASpB"}
|