@stacksjs/storage 0.59.6 → 0.59.7
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/zip.d.ts +6 -6
- package/package.json +1 -1
package/dist/zip.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ import type { ZlibCompressionOptions } from 'bun';
|
|
|
4
4
|
interface ZipOptions {
|
|
5
5
|
cwd?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function zip(from: string | string[], to?: string, options?: ZipOptions): Promise<
|
|
8
|
-
export declare function unzip(paths: string | string[]): Promise<
|
|
9
|
-
export declare function archive(paths: string | string[]): Promise<
|
|
10
|
-
export declare function unarchive(paths: string | string[]): Promise<
|
|
11
|
-
export declare function compress(paths: string[]): Promise<
|
|
12
|
-
export declare function decompress(paths: string | string[]): Promise<
|
|
7
|
+
export declare function zip(from: string | string[], to?: string, options?: ZipOptions): Promise<import("neverthrow").Result<Subprocess, CommandError>>;
|
|
8
|
+
export declare function unzip(paths: string | string[]): Promise<import("neverthrow").Result<Subprocess, CommandError>>;
|
|
9
|
+
export declare function archive(paths: string | string[]): Promise<import("neverthrow").Result<Subprocess, CommandError>>;
|
|
10
|
+
export declare function unarchive(paths: string | string[]): Promise<import("neverthrow").Result<Subprocess, CommandError>>;
|
|
11
|
+
export declare function compress(paths: string[]): Promise<import("neverthrow").Result<Subprocess, CommandError>>;
|
|
12
|
+
export declare function decompress(paths: string | string[]): Promise<import("neverthrow").Result<Subprocess, CommandError>>;
|
|
13
13
|
export declare function gzipSync(data: Uint8Array, options?: ZlibCompressionOptions): Uint8Array;
|
|
14
14
|
export declare function gunzipSync(data: Uint8Array): Uint8Array;
|
|
15
15
|
export declare function deflateSync(data: Uint8Array, options?: ZlibCompressionOptions): Uint8Array;
|