mirror of
https://github.com/strapi/strapi.git
synced 2025-07-13 20:11:47 +00:00
42 lines
701 B
JavaScript
42 lines
701 B
JavaScript
'use strict';
|
|
|
|
const strapi = {
|
|
plugins: {
|
|
'users-permissions': {
|
|
contentTypes: {
|
|
role: {
|
|
attributes: {
|
|
name: {
|
|
type: 'string',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
routes: {
|
|
'content-api': {
|
|
routes: [],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
api: {
|
|
restaurant: {
|
|
contentTypes: {
|
|
restaurant: {
|
|
attributes: {
|
|
name: {
|
|
type: 'string',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
routes: {
|
|
restaurant: { routes: [] },
|
|
},
|
|
},
|
|
},
|
|
contentType: () => ({ info: {}, attributes: { test: { type: 'string' } } }),
|
|
};
|
|
|
|
module.exports = strapi;
|