mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-03 19:36:20 +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;
 |