We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91bbd9c commit 848fe33Copy full SHA for 848fe33
packages/core/server/util/enabledContentTypes.ts
@@ -1,9 +1,9 @@
1
import get from 'lodash/get';
2
-import { UID, Schema } from '@strapi/strapi';
+import { Schema } from '@strapi/strapi';
3
4
import { pluginId } from './pluginId';
5
6
-export const isContentTypeEnabled = (ct: UID.ContentType) => {
+export const isContentTypeEnabled = (ct: Schema.ContentType) => {
7
let contentType: Schema.ContentType;
8
9
if (typeof ct === 'string') {
0 commit comments