1 | export declare const DEFAULT_CONFIG_FILENAME = "fab.config.json5";
|
2 | export declare const DEFAULT_MIME_TYPE = "text/html; charset=utf-8";
|
3 | export declare const NO_RESPONSE_STATUS_CODE = 444;
|
4 | export declare const IMMUTABLE_HEADERS: {
|
5 | 'Cache-Control': string;
|
6 | };
|
7 | export declare const NON_IMMUTABLE_HEADERS: {
|
8 | 'Cache-Control': string;
|
9 | };
|
10 | export declare const REGEXP_VALUE_PATTERN: RegExp;
|
11 | export declare const ENV_VAR_SYNTAX: RegExp;
|
12 | declare const CF_WORKERS_CONFIG: {
|
13 | account_id: string;
|
14 | zone_id: string;
|
15 | route: string;
|
16 | api_token: string;
|
17 | workers_dev: boolean;
|
18 | script_name: string;
|
19 | };
|
20 | declare const AWS_LAMBDA_CONFIG: {
|
21 | access_key: string;
|
22 | secret_key: string;
|
23 | region: string;
|
24 | cf_distribution_id: string;
|
25 | lambda_arn: string;
|
26 | };
|
27 | declare const AWS_S3_CONFIG: {
|
28 | access_key: string;
|
29 | secret_key: string;
|
30 | region: string;
|
31 | bucket_name: string;
|
32 | };
|
33 | export declare namespace ConfigTypes {
|
34 | type CFWorkers = typeof CF_WORKERS_CONFIG;
|
35 | type AwsLambda = typeof AWS_LAMBDA_CONFIG;
|
36 | type AwsS3 = typeof AWS_S3_CONFIG;
|
37 | type Union = CFWorkers | AwsLambda | AwsS3;
|
38 | }
|
39 | declare type HostingProvider = {
|
40 | package_name: string;
|
41 | capabilities: {
|
42 | server: boolean;
|
43 | assets: boolean;
|
44 | };
|
45 | config: ConfigTypes.Union;
|
46 | extension: string;
|
47 | };
|
48 | export declare const HOSTING_PROVIDERS: {
|
49 | [key: string]: HostingProvider;
|
50 | };
|
51 | export {};
|