#119 #121 - Choice field enhancements

This commit is contained in:
Elio Struyf
2021-09-30 09:34:00 +02:00
parent f5e7526fae
commit 9eaf94de7a
8 changed files with 236 additions and 25 deletions
+3 -1
View File
@@ -1,4 +1,5 @@
import { FileType } from "vscode";
import { Choice } from "./Choice";
import { DashboardData } from "./DashboardData";
export interface PanelSettings {
@@ -27,8 +28,9 @@ export interface Field {
title?: string;
name: string;
type: "string" | "number" | "datetime" | "boolean" | "image" | "choice" | "tags" | "categories";
choices?: string[];
choices?: string[] | Choice[];
single?: boolean;
multiSelect?: boolean;
}
export interface DateInfo {