From cf14306c2b3f82a81f8d56669a71633b4d4b5fce Mon Sep 17 00:00:00 2001 From: marvin-borner@live.com Date: Mon, 16 Apr 2018 21:09:05 +0200 Subject: Main merge to user management system - files are now at /main/public/ --- .../admin/schema/requests/group/create.yaml | 35 ++++++++++++++++++++++ .../admin/schema/requests/group/edit-info.yaml | 27 +++++++++++++++++ .../admin/schema/requests/group/get-by-slug.yaml | 6 ++++ 3 files changed, 68 insertions(+) create mode 100755 main/app/sprinkles/admin/schema/requests/group/create.yaml create mode 100755 main/app/sprinkles/admin/schema/requests/group/edit-info.yaml create mode 100755 main/app/sprinkles/admin/schema/requests/group/get-by-slug.yaml (limited to 'main/app/sprinkles/admin/schema/requests/group') diff --git a/main/app/sprinkles/admin/schema/requests/group/create.yaml b/main/app/sprinkles/admin/schema/requests/group/create.yaml new file mode 100755 index 0000000..8f5261c --- /dev/null +++ b/main/app/sprinkles/admin/schema/requests/group/create.yaml @@ -0,0 +1,35 @@ +--- +name: + validators: + required: + label: "&NAME" + message: VALIDATE.REQUIRED + length: + label: "&NAME" + min: 1 + max: 255 + message: VALIDATE.LENGTH_RANGE + transformations: + - trim +slug: + validators: + required: + label: "&SLUG" + message: VALIDATE.REQUIRED + length: + label: "&SLUG" + min: 1 + max: 255 + message: VALIDATE.LENGTH_RANGE + transformations: + - trim +icon: + validators: + length: + label: "&ICON" + min: 1 + max: 100 + message: VALIDATE.LENGTH_RANGE + required: + message: VALIDATE.REQUIRED +description: diff --git a/main/app/sprinkles/admin/schema/requests/group/edit-info.yaml b/main/app/sprinkles/admin/schema/requests/group/edit-info.yaml new file mode 100755 index 0000000..6aa3f28 --- /dev/null +++ b/main/app/sprinkles/admin/schema/requests/group/edit-info.yaml @@ -0,0 +1,27 @@ +--- +name: + validators: + length: + label: "&NAME" + min: 1 + max: 255 + message: VALIDATE.LENGTH_RANGE + transformations: + - trim +slug: + validators: + length: + label: "&SLUG" + min: 1 + max: 255 + message: VALIDATE.LENGTH_RANGE + transformations: + - trim +icon: + validators: + length: + label: "&ICON" + min: 1 + max: 100 + message: VALIDATE.LENGTH_RANGE +description: diff --git a/main/app/sprinkles/admin/schema/requests/group/get-by-slug.yaml b/main/app/sprinkles/admin/schema/requests/group/get-by-slug.yaml new file mode 100755 index 0000000..2aa41b5 --- /dev/null +++ b/main/app/sprinkles/admin/schema/requests/group/get-by-slug.yaml @@ -0,0 +1,6 @@ +--- +slug: + validators: + required: + label: "&SLUG" + message: VALIDATE.REQUIRED -- cgit v1.2.3