mirror of
https://github.com/strapi/strapi.git
synced 2025-07-25 18:05:07 +00:00
12 lines
350 B
JavaScript
12 lines
350 B
JavaScript
'use strict';
|
|
|
|
// contentTypes and components reserved names
|
|
const RESERVED_MODEL_NAMES = ['admin', 'boolean', 'date', 'date-time', 'time', 'upload'];
|
|
// attribute reserved names
|
|
const RESERVED_ATTRIBUTE_NAMES = ['_id', 'id', 'length', 'attributes', 'relations', 'changed'];
|
|
|
|
module.exports = {
|
|
RESERVED_MODEL_NAMES,
|
|
RESERVED_ATTRIBUTE_NAMES,
|
|
};
|