2018-06-24 00:32:01 +02:00
|
|
|
/* eslint-disable */
|
|
|
|
module.exports.QUERY = {
|
|
|
|
tag: {
|
|
|
|
alias: 'tags',
|
|
|
|
type: 'read',
|
|
|
|
resource: 'tags',
|
|
|
|
options: {
|
|
|
|
slug: '%s',
|
|
|
|
visibility: 'public'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
author: {
|
2018-11-07 15:29:37 +01:00
|
|
|
alias: 'authors',
|
2018-08-16 11:48:33 +02:00
|
|
|
type: 'read',
|
|
|
|
resource: 'users',
|
|
|
|
options: {
|
|
|
|
slug: '%s',
|
|
|
|
visibility: 'public'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
user: {
|
2018-11-07 15:29:37 +01:00
|
|
|
alias: 'authors',
|
2018-06-24 00:32:01 +02:00
|
|
|
type: 'read',
|
|
|
|
resource: 'users',
|
|
|
|
options: {
|
|
|
|
slug: '%s',
|
|
|
|
visibility: 'public'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
post: {
|
|
|
|
alias: 'posts',
|
|
|
|
type: 'read',
|
|
|
|
resource: 'posts',
|
|
|
|
options: {
|
|
|
|
slug: '%s',
|
|
|
|
status: 'published',
|
|
|
|
page: 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
page: {
|
|
|
|
alias: 'pages',
|
|
|
|
type: 'read',
|
|
|
|
resource: 'posts',
|
|
|
|
options: {
|
|
|
|
slug: '%s',
|
|
|
|
status: 'published',
|
|
|
|
page: 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports.TAXONOMIES = {
|
|
|
|
tag: {
|
|
|
|
filter: 'tags:\'%s\'+tags.visibility:public',
|
|
|
|
editRedirect: '#/settings/tags/:slug/'
|
|
|
|
},
|
|
|
|
author: {
|
|
|
|
filter: 'authors:\'%s\'',
|
|
|
|
editRedirect: '#/team/:slug/'
|
|
|
|
}
|
|
|
|
};
|
|
|
|
/* eslint-enable */
|