aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorElizabeth Danzberger <lizzy7128@tutanota.de>2024-07-16 11:48:17 -0400
committerJulius Härtl <jus@bitgrid.net>2024-07-25 11:11:39 +0200
commit27271c5452f2b71676c9db698e00d2e6b0dcb32d (patch)
treeb2830a7259ef8b4ab01f8934f52a9c20c82257da /lib
parent05cbb4168ed4761f65c7828c6bb6deb8f9786089 (diff)
downloadnextcloud-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.php6
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";
}