tibi-docs/api/collections/forms.yml

39 lines
727 B
YAML
Raw Permalink Normal View History

2024-01-27 19:58:35 +01:00
name: forms
uploadPath: ../media/forms
meta:
label: Formulare
muiIcon: web
backup:
active: true
collectionName: backups
views:
- type: table
columns:
- source: formular
permissions:
public:
methods:
get: true
post: true
put: false
delete: false
user:
methods:
get: true
post: true
put: true
delete: true
hooks:
post:
create:
type: javascript
file: hooks/forms/post_create.js
return:
type: javascript
file: hooks/forms/post_return.js
fields:
2024-02-13 17:36:09 +01:00
- !include fields/form.yml