wm-AllKids-tibi2023/api/collections/forms.yml

43 lines
802 B
YAML
Raw Normal View History

2023-09-17 13:24:39 +02:00
name: forms
uploadPath: ../media/forms
meta:
label: Formulare
muiIcon: web
2023-10-15 12:52:56 +02:00
backup:
active: true
collectionName: backups
2023-09-17 13:24:39 +02:00
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:
- type: object
name: formular
meta:
label: Formular
widget: jsonField