mapcomplete/UI/Studio/configMeta.ts

24 lines
566 B
TypeScript

import { JsonSchema, JsonSchemaType } from "./jsonSchema"
export interface ConfigMeta {
path: string[]
type: JsonSchemaType | JsonSchema[]
hints: {
group?: string
typehint?: string
/**
* If multiple subcategories can be chosen
*/
types?: string
question?: string
iftrue?: string
iffalse?: string
ifunset?: string
inline?: string
default?: string
typesdefault?: string
suggestions?: []
}
required: boolean
description: string
}