Skip to content

Commit

Permalink
fix: Add proper field types
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <[email protected]>
  • Loading branch information
elzody committed Jul 16, 2024
1 parent 5dc7bf1 commit f563e13
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/public/Files/Template/FieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}

0 comments on commit f563e13

Please sign in to comment.