diff options
author | Elizabeth Danzberger <lizzy7128@tutanota.de> | 2024-07-16 11:48:17 -0400 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2024-07-25 11:11:39 +0200 |
commit | 27271c5452f2b71676c9db698e00d2e6b0dcb32d (patch) | |
tree | b2830a7259ef8b4ab01f8934f52a9c20c82257da /lib | |
parent | 05cbb4168ed4761f65c7828c6bb6deb8f9786089 (diff) | |
download | nextcloud-server-27271c5452f2b71676c9db698e00d2e6b0dcb32d.tar.gz nextcloud-server-27271c5452f2b71676c9db698e00d2e6b0dcb32d.zip |
fix: Add proper field types
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/Files/Template/FieldType.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/public/Files/Template/FieldType.php b/lib/public/Files/Template/FieldType.php index cb9eccae14c..12ca7039da3 100644 --- a/lib/public/Files/Template/FieldType.php +++ b/lib/public/Files/Template/FieldType.php @@ -8,5 +8,9 @@ namespace OCP\Files\Template; enum FieldType: string { - case PlainText = "plain-text"; + case RichText = "rich-text"; + case CheckBox = "checkbox"; + case DropDownList = "drop-down-list"; + case Picture = "picture"; + case Date = "date"; } |