@strapi/content-type-builder 5.2.0 → 5.4.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.
- package/dist/_chunks/{ListView-C_cgtZD7.mjs → ListView-C40qzY4p.mjs} +2 -2
- package/dist/_chunks/{ListView-C_cgtZD7.mjs.map → ListView-C40qzY4p.mjs.map} +1 -1
- package/dist/_chunks/{ListView-wnjJ3mXF.js → ListView-CA5plw_m.js} +2 -2
- package/dist/_chunks/{ListView-wnjJ3mXF.js.map → ListView-CA5plw_m.js.map} +1 -1
- package/dist/_chunks/{index-BV3CkEAi.mjs → index-CdS6M8D7.mjs} +13 -11
- package/dist/_chunks/{index-BV3CkEAi.mjs.map → index-CdS6M8D7.mjs.map} +1 -1
- package/dist/_chunks/{index-Bu22n5tv.js → index-Cgg4JI-t.js} +13 -11
- package/dist/_chunks/{index-Bu22n5tv.js.map → index-Cgg4JI-t.js.map} +1 -1
- package/dist/_chunks/{index-CKPaBrjj.mjs → index-DZ0gHoPB.mjs} +15 -24
- package/dist/_chunks/index-DZ0gHoPB.mjs.map +1 -0
- package/dist/_chunks/{index-p_pT4i0d.js → index-DxJpZx5R.js} +15 -24
- package/dist/_chunks/index-DxJpZx5R.js.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/components/FormModal/contentType/createContentTypeSchema.d.ts +0 -2
- package/dist/server/index.js +0 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +0 -1
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/controllers/validation/model-schema.d.ts.map +1 -1
- package/package.json +9 -9
- package/dist/_chunks/index-CKPaBrjj.mjs.map +0 -1
- package/dist/_chunks/index-p_pT4i0d.js.map +0 -1
package/dist/admin/index.js
CHANGED
|
@@ -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-
|
|
3
|
+
const index = require("../_chunks/index-Cgg4JI-t.js");
|
|
4
4
|
require("@strapi/icons");
|
|
5
5
|
exports.default = index.index;
|
|
6
6
|
exports.private_AutoReloadOverlayBlockerProvider = index.AutoReloadOverlayBlockerProvider;
|
package/dist/admin/index.mjs
CHANGED
|
@@ -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 {};
|
package/dist/server/index.js
CHANGED
|
@@ -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) {
|