@becomes/cms-bundler
Version:
Bundler package for the BCMS
37 lines (36 loc) • 969 B
TypeScript
import { ObjectSchema } from './object-schema';
import { Plugin } from './plugin';
export interface Config {
backend: {
port: number;
security: {
jwt: {
issuer: string;
secret: string;
expireIn: number;
};
};
database: {
fs?: string;
mongodb?: {
selfHosted?: {
host: string;
port: number;
name: string;
user: string;
password: string;
prefix: string;
};
atlas?: {
name: string;
user: string;
password: string;
prefix: string;
cluster: string;
};
};
};
};
plugins: Plugin[];
}
export declare const ConfigSchema: ObjectSchema;