@coko/server
Version:
Reusable server for use by Coko's projects
90 lines • 2.05 kB
TypeScript
declare const _default: {
/**
* DATABASE
*/
db: {
host: string;
port: number;
database: string;
user: string;
password: string;
allowSelfSignedCertificates: boolean;
caCert: string;
};
subscriptionsDb: {
host: string;
port: number;
database: string;
user: string;
password: string;
allowSelfSignedCertificates: boolean;
caCert: string;
};
jobQueueDb: {
host: string;
port: number;
database: string;
user: string;
password: string;
allowSelfSignedCertificates: boolean;
caCert: string;
};
acquireConnectionTimeout: number;
/**
* OTHER
*/
adminUser: {
username: string;
password: string;
email: string;
givenNames: string;
surname: string;
};
clientUrl: string;
components: any[];
corsOrigin: string;
fileStorage: {
accessKeyId: string;
secretAccessKey: string;
url: string;
publicUrl: string;
bucket: string;
region: string;
maximumWidthForSmallImages: number;
maximumWidthForMediumImages: number;
s3ForcePathStyle: true;
s3SeparateDeleteOperations: boolean;
};
mailer: {
from: string;
transport: {
host: string;
port: number;
auth: {
user: string;
pass: string;
};
};
};
passwordResetRedirect: string;
port: number;
secret: string;
sentry: {
dsn: string;
environment: string;
};
serverUrl: string;
staticFolders: any[];
suppressLoggerInTestEnv: boolean;
teams: {
global: {
displayName: string;
role: string;
}[];
nonGlobal: any[];
};
tokenExpiresIn: number;
useGraphQLServer: boolean;
};
export default _default;
//# sourceMappingURL=defaultConfig.d.ts.map