
export enum InputValueOption {
	string = 'String',
	password = 'Password',
	number = 'Number',
	bool = 'Bool',
	arrayString = 'Array:String',
	object = 'Object',
	content = 'Content',
	// templates = 'Templates',
	// webroutes = 'WebRoutes',
	// mailtemplates = 'MailTemplates',
	// user = 'User',
}
export enum InputValueModeOption {
	text = 'Text',
	html = 'HTML',
	yaml = 'YAML',
	json = 'JSON',
	toml = 'TOML',
	none = '',
}
export enum InputValidateOption {
	email = 'Email',
	none = '',
}
export interface SecStateType {
	view: boolean
	enabled: boolean
	help: boolean
}
export interface SecViewType {
	[key: string]: SecStateType
}
export interface VarsDataType {
	[key: string]: VarDefType
}
export interface VarDefType {
	[key: string]: any
	typ: InputValueOption
	valid?: InputValidateOption
	dflt: string
	labelitms?: string
	vars?: VarsDataType
}
export interface VarNumDefType {
	typ: string
	dflt: number
}
export interface VarBoolDefType {
	typ: string
	dflt: boolean
}