2023-06-16 02:36:11 +02:00
|
|
|
import { JsonSchema, JsonSchemaType } from "./jsonSchema"
|
|
|
|
|
|
|
|
export interface ConfigMeta {
|
|
|
|
path: string[]
|
|
|
|
type: JsonSchemaType | JsonSchema[]
|
|
|
|
hints: {
|
|
|
|
group?: string
|
|
|
|
typehint?: string
|
2023-06-21 17:13:09 +02:00
|
|
|
/**
|
|
|
|
* If multiple subcategories can be chosen
|
|
|
|
*/
|
|
|
|
types?: string
|
2023-06-16 02:36:11 +02:00
|
|
|
question?: string
|
2023-06-23 16:14:43 +02:00
|
|
|
iftrue?: string
|
|
|
|
iffalse?: string
|
2023-06-16 02:36:11 +02:00
|
|
|
ifunset?: string
|
2023-06-18 00:44:57 +02:00
|
|
|
inline?: string
|
2023-06-21 17:13:09 +02:00
|
|
|
default?: string
|
2023-06-23 16:14:43 +02:00
|
|
|
typesdefault?: string
|
|
|
|
suggestions?: []
|
2023-06-16 02:36:11 +02:00
|
|
|
}
|
|
|
|
required: boolean
|
|
|
|
description: string
|
|
|
|
}
|