@open-wa/wa-automate-types-only 4.47.4 → 4.47.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api/model/config.d.ts +14 -1
- package/dist/cli/server.d.ts +1 -1
- package/package.json +1 -1
@@ -14,7 +14,10 @@ export declare enum QRFormat {
|
|
14
14
|
export declare enum CLOUD_PROVIDERS {
|
15
15
|
GCP = "GCP",
|
16
16
|
WASABI = "WASABI",
|
17
|
-
AWS = "AWS"
|
17
|
+
AWS = "AWS",
|
18
|
+
CONTABO = "CONTABO",
|
19
|
+
DO = "DO",
|
20
|
+
MINIO = "MINIO"
|
18
21
|
}
|
19
22
|
export declare enum DIRECTORY_STRATEGY {
|
20
23
|
/**
|
@@ -703,6 +706,16 @@ export interface ConfigObject {
|
|
703
706
|
* env: `OW_DIRECTORY`
|
704
707
|
*/
|
705
708
|
directory?: DIRECTORY_STRATEGY | string;
|
709
|
+
/**
|
710
|
+
* Setting this to true will make the uploaded file public
|
711
|
+
*/
|
712
|
+
public?: boolean;
|
713
|
+
/**
|
714
|
+
* Extra headers to add to the upload request
|
715
|
+
*/
|
716
|
+
headers?: {
|
717
|
+
[k: string]: string;
|
718
|
+
};
|
706
719
|
};
|
707
720
|
/**
|
708
721
|
* What to do when an error is detected on a client method.
|
package/dist/cli/server.d.ts
CHANGED
@@ -8,7 +8,7 @@ export declare type cliFlags = {
|
|
8
8
|
};
|
9
9
|
export declare const setupHttpServer: (cliConfig: cliFlags) => void;
|
10
10
|
export declare const setUpExpressApp: () => void;
|
11
|
-
export declare const enableCORSRequests: () => void;
|
11
|
+
export declare const enableCORSRequests: (cliConfig: cliFlags) => void;
|
12
12
|
export declare const setupAuthenticationLayer: (cliConfig: cliFlags) => void;
|
13
13
|
export declare const setupApiDocs: (cliConfig: cliFlags) => void;
|
14
14
|
export declare const setupSwaggerStatsMiddleware: (cliConfig: cliFlags) => Promise<void>;
|