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