@strapi/content-type-builder 5.1.1 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const index = require("../_chunks/index-ENqmvu9e.js");
3
+ const index = require("../_chunks/index-BmIHFU11.js");
4
4
  require("@strapi/icons");
5
5
  exports.default = index.index;
6
6
  exports.private_AutoReloadOverlayBlockerProvider = index.AutoReloadOverlayBlockerProvider;
@@ -1,4 +1,4 @@
1
- import { K, J, u } from "../_chunks/index-Cd8NY-bm.mjs";
1
+ import { K, J, u } from "../_chunks/index-D1jirvar.mjs";
2
2
  import "@strapi/icons";
3
3
  export {
4
4
  K as default,
@@ -12,13 +12,11 @@ export declare const createContentTypeSchema: ({ usedContentTypeNames, reservedM
12
12
  singularName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
13
13
  draftAndPublish: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
14
14
  kind: yup.default<string | undefined, Record<string, any>, string | undefined>;
15
- reviewWorkflows: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
16
15
  }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
17
16
  displayName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
18
17
  pluralName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
19
18
  singularName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
20
19
  draftAndPublish: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
21
20
  kind: yup.default<string | undefined, Record<string, any>, string | undefined>;
22
- reviewWorkflows: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
23
21
  }>>;
24
22
  export {};
@@ -1656,7 +1656,6 @@ const createSchema = (types, relations, { modelType } = {}) => {
1656
1656
  pluginOptions: utils.yup.object(),
1657
1657
  collectionName: utils.yup.string().nullable().test(isValidCollectionName),
1658
1658
  attributes: createAttributesValidator({ types, relations, modelType }),
1659
- reviewWorkflows: utils.yup.boolean(),
1660
1659
  draftAndPublish: utils.yup.boolean()
1661
1660
  };
1662
1661
  if (modelType === modelTypes.CONTENT_TYPE) {