mirror of
https://github.com/strapi/strapi.git
synced 2025-07-18 22:45:47 +00:00
12 lines
300 B
JavaScript
12 lines
300 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
// contentTypes and components reserved names
|
||
|
const RESERVED_MODEL_NAMES = ['admin'];
|
||
|
// attribute reserved names
|
||
|
const RESERVED_ATTRIBUTE_NAMES = ['_id', 'id', 'length', 'attributes', 'relations', 'changed'];
|
||
|
|
||
|
module.exports = {
|
||
|
RESERVED_MODEL_NAMES,
|
||
|
RESERVED_ATTRIBUTE_NAMES,
|
||
|
};
|