diff --git a/ui/@types/conditions.d.ts b/ui/@types/conditions.d.ts new file mode 100644 index 00000000..a6d440d3 --- /dev/null +++ b/ui/@types/conditions.d.ts @@ -0,0 +1,12 @@ +export type ConditionItem = { + id?: string + name: string + filter: string + cli: string + [key: string]: any +} + +export type ImportedConditionItem = ConditionItem & { + _type: string + _version: string +} diff --git a/ui/components/ConditionForm.vue b/ui/components/ConditionForm.vue index 263acb22..97537ab6 100644 --- a/ui/components/ConditionForm.vue +++ b/ui/components/ConditionForm.vue @@ -206,77 +206,37 @@ -