2018-06-24 01:32:01 +03:00
|
|
|
/* eslint-disable */
|
|
|
|
module.exports.QUERY = {
|
|
|
|
tag: {
|
2019-01-04 23:59:39 +03:00
|
|
|
controller: 'tagsPublic',
|
2018-06-24 01:32:01 +03:00
|
|
|
type: 'read',
|
|
|
|
resource: 'tags',
|
|
|
|
options: {
|
|
|
|
slug: '%s',
|
|
|
|
visibility: 'public'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
author: {
|
2019-02-25 21:52:17 +03:00
|
|
|
controller: 'authorsPublic',
|
2018-08-16 12:48:33 +03:00
|
|
|
type: 'read',
|
2019-01-04 23:59:39 +03:00
|
|
|
resource: 'authors',
|
2018-08-16 12:48:33 +03:00
|
|
|
options: {
|
2019-01-04 23:59:39 +03:00
|
|
|
slug: '%s'
|
2018-06-24 01:32:01 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
post: {
|
2019-02-22 06:17:14 +03:00
|
|
|
controller: 'postsPublic',
|
2018-06-24 01:32:01 +03:00
|
|
|
type: 'read',
|
|
|
|
resource: 'posts',
|
|
|
|
options: {
|
2019-01-04 23:59:39 +03:00
|
|
|
slug: '%s'
|
2018-06-24 01:32:01 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
page: {
|
2019-02-22 06:17:14 +03:00
|
|
|
controller: 'pagesPublic',
|
2018-06-24 01:32:01 +03:00
|
|
|
type: 'read',
|
2019-01-04 23:59:39 +03:00
|
|
|
resource: 'pages',
|
2018-06-24 01:32:01 +03:00
|
|
|
options: {
|
2019-01-04 23:59:39 +03:00
|
|
|
slug: '%s'
|
2018-06-24 01:32:01 +03:00
|
|
|
}
|
2019-01-04 23:59:39 +03:00
|
|
|
},
|
|
|
|
preview: {
|
|
|
|
controller: 'preview',
|
|
|
|
resource: 'preview'
|
2018-06-24 01:32:01 +03:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports.TAXONOMIES = {
|
|
|
|
tag: {
|
|
|
|
filter: 'tags:\'%s\'+tags.visibility:public',
|
2020-04-16 12:23:38 +03:00
|
|
|
editRedirect: '#/tags/:slug/',
|
2019-01-04 23:59:39 +03:00
|
|
|
resource: 'tags'
|
2018-06-24 01:32:01 +03:00
|
|
|
},
|
|
|
|
author: {
|
|
|
|
filter: 'authors:\'%s\'',
|
2020-07-21 13:38:56 +03:00
|
|
|
editRedirect: '#/staff/:slug/',
|
2019-01-04 23:59:39 +03:00
|
|
|
resource: 'authors'
|
2018-06-24 01:32:01 +03:00
|
|
|
}
|
|
|
|
};
|
|
|
|
/* eslint-enable */
|