2023-02-13 12:41:30 +00:00
|
|
|
import { ConvictSchema } from "./types";
|
|
|
|
|
|
|
|
|
|
export interface IAppMetaConfig {
|
|
|
|
|
name: string;
|
|
|
|
|
version: string;
|
|
|
|
|
figletFont: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const AppMetaConfig: ConvictSchema<IAppMetaConfig> = {
|
|
|
|
|
version: {
|
|
|
|
|
doc: "The current application version",
|
|
|
|
|
format: String,
|
|
|
|
|
env: "npm_package_version",
|
2023-03-13 11:46:12 +00:00
|
|
|
default: undefined,
|
2023-02-13 12:41:30 +00:00
|
|
|
skipGenerate: true,
|
|
|
|
|
},
|
|
|
|
|
name: {
|
|
|
|
|
doc: "Application name",
|
|
|
|
|
format: String,
|
|
|
|
|
env: "npm_package_name",
|
2023-03-13 11:46:12 +00:00
|
|
|
default: undefined,
|
2023-02-13 12:41:30 +00:00
|
|
|
skipGenerate: true,
|
|
|
|
|
},
|
|
|
|
|
figletFont: {
|
|
|
|
|
doc: "The figlet font name used to print the site name on boot",
|
|
|
|
|
format: String,
|
|
|
|
|
env: "FIGLET_FONT",
|
|
|
|
|
default: "Sub-Zero",
|
|
|
|
|
skipGenerate: true,
|
|
|
|
|
},
|
|
|
|
|
};
|