module.exports = { create: { requestBody: [ '!year', 'festivals' ] }, destroy: { params: ['!id'], service: 'delete' }, update: { params: ['!id'], requestBody: [ 'year', 'festivals' ] }, show: { parameters: { params: ['!id'] }, service: 'fetch' }, index: { parameters: { query: { year:'year', festivals :'festivals' } }, service: 'query', options: { query: ['skip', 'limit'], sort: ['meta.createdAt'], desc: true, count: true } }, };