mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-30 17:37:26 +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;
 | 
