@becomes/cms-cloud-client
Version:
SDK for accessing BCMS Cloud API
72 lines (71 loc) • 1.7 kB
TypeScript
export declare class Config {
static origin: string;
static port: number;
static local: boolean;
static prod: boolean;
static db: {
cluster: string;
host: string;
mongo: boolean;
name: string;
password: string;
prfx: string;
user: string;
};
static jwt: {
issuer: string;
secret: string;
expIn: number;
};
static s3: {
use: boolean;
bucketName: string;
scope: string;
url: string;
};
static cloudFlare: {
yourbcms: {
use: boolean;
zoneId: string;
dnsToken: string;
};
};
static instanceProxy: {
secret: string;
domain: string;
};
static mailjet: {
use: boolean;
user: string;
pass: string;
sender: string;
};
static paddle: {
pubKey: string;
managedSubMonthId: string;
managedSubMonthWithTrailId: string;
managedSubYearId: string;
managedSubYearWithTrailId: string;
selfHostedId: string;
};
static shim: {
versionsUrl: string;
};
static do: {
use: boolean;
inst: {
vpc: string;
size: string;
image: string;
region: string;
sshKeyId: string;
};
dropletSshKey: string;
};
static readonly redisUrl: string;
static readonly oauthGithubClientId: string;
static readonly oauthGithubClientSecret: string;
static readonly oauthGoogleClientId: string;
static readonly oauthGoogleClientSecret: string;
}
export type ConfigType = typeof Config;