first docs
This commit is contained in:
92
api/collections/democol.yml
Normal file
92
api/collections/democol.yml
Normal file
@@ -0,0 +1,92 @@
|
||||
name: content
|
||||
|
||||
uploadPath: ../media/content
|
||||
|
||||
meta:
|
||||
|
||||
imageFilter: !include ../_imagefilter.yml
|
||||
|
||||
projections:
|
||||
list:
|
||||
select:
|
||||
title: 1
|
||||
date: 1
|
||||
full:
|
||||
select:
|
||||
|
||||
permissions:
|
||||
public:
|
||||
methods:
|
||||
get: true
|
||||
post: false
|
||||
put: false
|
||||
delete: false
|
||||
|
||||
user:
|
||||
methods:
|
||||
get: true
|
||||
post: false
|
||||
put: false
|
||||
delete: false
|
||||
|
||||
token:${TOKEN}:
|
||||
get: true
|
||||
post: true
|
||||
put: true
|
||||
delete: true
|
||||
|
||||
pages:
|
||||
methods:
|
||||
get: true
|
||||
post: true
|
||||
put: true
|
||||
delete: true
|
||||
|
||||
hooks:
|
||||
get:
|
||||
read:
|
||||
type: javascript
|
||||
file: hooks/democol/get_read.js
|
||||
return:
|
||||
type: javascript
|
||||
file: hooks/democol/get_return.js
|
||||
|
||||
post:
|
||||
bind:
|
||||
type: javascript
|
||||
file: hooks/democol/post_bind.js
|
||||
validate:
|
||||
type: javascript
|
||||
file: hooks/democol/post_validate.js
|
||||
create:
|
||||
type: javascript
|
||||
file: hooks/democol/post_create.js
|
||||
return:
|
||||
type: javascript
|
||||
file: hooks/democol/post_return.js
|
||||
|
||||
put:
|
||||
bind:
|
||||
type: javascript
|
||||
file: hooks/democol/put_bind.js
|
||||
validate:
|
||||
type: javascript
|
||||
file: hooks/democol/put_validate.js
|
||||
update:
|
||||
type: javascript
|
||||
file: hooks/democol/put_create.js
|
||||
return:
|
||||
type: javascript
|
||||
file: hooks/democol/put_return.js
|
||||
|
||||
delete:
|
||||
delete:
|
||||
type: javascript
|
||||
file: hooks/democol/delete_delete.js
|
||||
return:
|
||||
type: javascript
|
||||
file: hooks/democol/delete_return.js
|
||||
|
||||
|
||||
fields:
|
||||
- !include fields/title.yml
|
||||
0
api/collections/fields/date.yml
Normal file
0
api/collections/fields/date.yml
Normal file
0
api/collections/fields/title.yml
Normal file
0
api/collections/fields/title.yml
Normal file
0
api/collections/hooks/config.js
Normal file
0
api/collections/hooks/config.js
Normal file
0
api/collections/hooks/democol/get_read.js
Normal file
0
api/collections/hooks/democol/get_read.js
Normal file
0
api/collections/hooks/democol/get_return.js
Normal file
0
api/collections/hooks/democol/get_return.js
Normal file
0
api/collections/hooks/lib/util.js
Normal file
0
api/collections/hooks/lib/util.js
Normal file
0
api/collections/templates/email_body.html.tpl
Normal file
0
api/collections/templates/email_body.html.tpl
Normal file
0
api/collections/templates/email_body.txt.tpl
Normal file
0
api/collections/templates/email_body.txt.tpl
Normal file
0
api/collections/templates/email_subject.txt.tpl
Normal file
0
api/collections/templates/email_subject.txt.tpl
Normal file
Reference in New Issue
Block a user