mapcomplete/UI/Studio/configMeta.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
566 B
TypeScript
Raw Normal View History

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
/**
* If multiple subcategories can be chosen
*/
types?: string
2023-06-16 02:36:11 +02:00
question?: string
iftrue?: string
iffalse?: string
2023-06-16 02:36:11 +02:00
ifunset?: string
inline?: string
default?: string
typesdefault?: string
suggestions?: []
2023-06-16 02:36:11 +02:00
}
required: boolean
description: string
}