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 | endpoint: string;
|
33 | };
|
34 | export declare namespace ConfigTypes {
|
35 | type CFWorkers = typeof CF_WORKERS_CONFIG;
|
36 | type AwsLambda = typeof AWS_LAMBDA_CONFIG;
|
37 | type AwsS3 = typeof AWS_S3_CONFIG;
|
38 | type Union = CFWorkers | AwsLambda | AwsS3;
|
39 | }
|
40 | declare type HostingProvider = {
|
41 | package_name: string;
|
42 | capabilities: {
|
43 | server: boolean;
|
44 | assets: boolean;
|
45 | };
|
46 | config: ConfigTypes.Union;
|
47 | extension: string;
|
48 | };
|
49 | export declare const HOSTING_PROVIDERS: {
|
50 | [key: string]: HostingProvider;
|
51 | };
|
52 | export {};
|