@webiny/app-headless-cms 5.34.0 → 5.34.1-beta.1

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,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare const _default: () => (import("../../types").CmsEditorFormSettingsPlugin | import("../../types").CmsIconsPlugin | import("@webiny/app-admin/types").AdminInstallationPlugin | import("@webiny/app-admin/types").AdminAppPermissionRendererPlugin | import("../../types").CmsFieldValueTransformer<{
2
+ declare const _default: () => (import("../../types").CmsEditorFormSettingsPlugin | import("../../types").CmsIconsPlugin | import("../../types").CmsFieldValueTransformer<{
3
3
  id: string;
4
4
  type: string;
5
5
  fieldId: string;
@@ -26,7 +26,7 @@ declare const _default: () => (import("../../types").CmsEditorFormSettingsPlugin
26
26
  name: string;
27
27
  };
28
28
  tags?: string[] | undefined;
29
- }>[] | import("@webiny/app/types").RoutePlugin[] | import("@webiny/app").ApolloCacheObjectIdPlugin<import("@webiny/app/plugins/ApolloCacheObjectIdPlugin").ApolloCacheObject> | import("../../types").CmsContentDetailsPlugin[] | {
29
+ }>[] | import("@webiny/app/types").RoutePlugin[] | import("@webiny/app-admin/types").AdminInstallationPlugin | import("@webiny/app-admin/types").AdminAppPermissionRendererPlugin | import("@webiny/app").ApolloCacheObjectIdPlugin<import("@webiny/app/plugins/ApolloCacheObjectIdPlugin").ApolloCacheObject> | import("../../types").CmsContentDetailsPlugin[] | {
30
30
  name: string;
31
31
  type: string;
32
32
  render(): JSX.Element;
@@ -13,10 +13,6 @@ var React = _interopRequireWildcard(require("react"));
13
13
 
14
14
  var _RevisionSelector = _interopRequireDefault(require("./revisionSelector/RevisionSelector"));
15
15
 
16
- var _RequestReview = require("./requestReview/RequestReview");
17
-
18
- var _RequestChanges = require("./requestChanges/RequestChanges");
19
-
20
16
  var _SaveContent = _interopRequireDefault(require("./saveContent/SaveContent"));
21
17
 
22
18
  var _SaveAndPublishContent = require("./saveAndPublishContent/SaveAndPublishContent");
@@ -29,18 +25,6 @@ var plugins = [{
29
25
  render: function render(props) {
30
26
  return /*#__PURE__*/React.createElement(_RevisionSelector.default, props);
31
27
  }
32
- }, {
33
- name: "cms-content-details-header-request-review",
34
- type: "cms-content-details-header-right",
35
- render: function render(props) {
36
- return /*#__PURE__*/React.createElement(_RequestReview.RequestReview, props);
37
- }
38
- }, {
39
- name: "cms-content-details-header-request-changes",
40
- type: "cms-content-details-header-right",
41
- render: function render(props) {
42
- return /*#__PURE__*/React.createElement(_RequestChanges.RequestChanges, props);
43
- }
44
28
  }, {
45
29
  name: "cms-content-details-header-save",
46
30
  type: "cms-content-details-header-right",
@@ -1 +1 @@
1
- {"version":3,"names":["plugins","name","type","render","props"],"sources":["index.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { CmsContentDetailsPlugin } from \"~/types\";\nimport RevisionSelector from \"./revisionSelector/RevisionSelector\";\nimport { RequestReview } from \"./requestReview/RequestReview\";\nimport { RequestChanges } from \"./requestChanges/RequestChanges\";\nimport SaveContentButton from \"./saveContent/SaveContent\";\nimport { SaveAndPublishButton } from \"./saveAndPublishContent/SaveAndPublishContent\";\nimport ContentFormOptionsMenu from \"./contentFormOptionsMenu/ContentFormOptionsMenu\";\n\nconst plugins: CmsContentDetailsPlugin[] = [\n {\n name: \"cms-content-details-revision-selector\",\n type: \"cms-content-details-header-left\",\n render(props) {\n return <RevisionSelector {...props} />;\n }\n },\n {\n name: \"cms-content-details-header-request-review\",\n type: \"cms-content-details-header-right\",\n render(props) {\n return <RequestReview {...props} />;\n }\n },\n {\n name: \"cms-content-details-header-request-changes\",\n type: \"cms-content-details-header-right\",\n render(props) {\n return <RequestChanges {...props} />;\n }\n },\n {\n name: \"cms-content-details-header-save\",\n type: \"cms-content-details-header-right\",\n render(props) {\n return <SaveContentButton {...props} />;\n }\n },\n {\n name: \"cms-content-details-header-save-and-publish\",\n type: \"cms-content-details-header-right\",\n render(props) {\n return <SaveAndPublishButton {...props} />;\n }\n },\n {\n name: \"cms-content-details-header-option-menu\",\n type: \"cms-content-details-header-right\",\n render(props) {\n return <ContentFormOptionsMenu {...props} />;\n }\n }\n];\n\nexport default plugins;\n"],"mappings":";;;;;;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA,IAAMA,OAAkC,GAAG,CACvC;EACIC,IAAI,EAAE,uCADV;EAEIC,IAAI,EAAE,iCAFV;EAGIC,MAHJ,kBAGWC,KAHX,EAGkB;IACV,oBAAO,oBAAC,yBAAD,EAAsBA,KAAtB,CAAP;EACH;AALL,CADuC,EAQvC;EACIH,IAAI,EAAE,2CADV;EAEIC,IAAI,EAAE,kCAFV;EAGIC,MAHJ,kBAGWC,KAHX,EAGkB;IACV,oBAAO,oBAAC,4BAAD,EAAmBA,KAAnB,CAAP;EACH;AALL,CARuC,EAevC;EACIH,IAAI,EAAE,4CADV;EAEIC,IAAI,EAAE,kCAFV;EAGIC,MAHJ,kBAGWC,KAHX,EAGkB;IACV,oBAAO,oBAAC,8BAAD,EAAoBA,KAApB,CAAP;EACH;AALL,CAfuC,EAsBvC;EACIH,IAAI,EAAE,iCADV;EAEIC,IAAI,EAAE,kCAFV;EAGIC,MAHJ,kBAGWC,KAHX,EAGkB;IACV,oBAAO,oBAAC,oBAAD,EAAuBA,KAAvB,CAAP;EACH;AALL,CAtBuC,EA6BvC;EACIH,IAAI,EAAE,6CADV;EAEIC,IAAI,EAAE,kCAFV;EAGIC,MAHJ,kBAGWC,KAHX,EAGkB;IACV,oBAAO,oBAAC,2CAAD,EAA0BA,KAA1B,CAAP;EACH;AALL,CA7BuC,EAoCvC;EACIH,IAAI,EAAE,wCADV;EAEIC,IAAI,EAAE,kCAFV;EAGIC,MAHJ,kBAGWC,KAHX,EAGkB;IACV,oBAAO,oBAAC,+BAAD,EAA4BA,KAA5B,CAAP;EACH;AALL,CApCuC,CAA3C;eA6CeJ,O"}
1
+ {"version":3,"names":["plugins","name","type","render","props"],"sources":["index.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { CmsContentDetailsPlugin } from \"~/types\";\nimport RevisionSelector from \"./revisionSelector/RevisionSelector\";\nimport SaveContentButton from \"./saveContent/SaveContent\";\nimport { SaveAndPublishButton } from \"./saveAndPublishContent/SaveAndPublishContent\";\nimport ContentFormOptionsMenu from \"./contentFormOptionsMenu/ContentFormOptionsMenu\";\n\nconst plugins: CmsContentDetailsPlugin[] = [\n {\n name: \"cms-content-details-revision-selector\",\n type: \"cms-content-details-header-left\",\n render(props) {\n return <RevisionSelector {...props} />;\n }\n },\n {\n name: \"cms-content-details-header-save\",\n type: \"cms-content-details-header-right\",\n render(props) {\n return <SaveContentButton {...props} />;\n }\n },\n {\n name: \"cms-content-details-header-save-and-publish\",\n type: \"cms-content-details-header-right\",\n render(props) {\n return <SaveAndPublishButton {...props} />;\n }\n },\n {\n name: \"cms-content-details-header-option-menu\",\n type: \"cms-content-details-header-right\",\n render(props) {\n return <ContentFormOptionsMenu {...props} />;\n }\n }\n];\n\nexport default plugins;\n"],"mappings":";;;;;;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AAEA,IAAMA,OAAkC,GAAG,CACvC;EACIC,IAAI,EAAE,uCADV;EAEIC,IAAI,EAAE,iCAFV;EAGIC,MAHJ,kBAGWC,KAHX,EAGkB;IACV,oBAAO,oBAAC,yBAAD,EAAsBA,KAAtB,CAAP;EACH;AALL,CADuC,EAQvC;EACIH,IAAI,EAAE,iCADV;EAEIC,IAAI,EAAE,kCAFV;EAGIC,MAHJ,kBAGWC,KAHX,EAGkB;IACV,oBAAO,oBAAC,oBAAD,EAAuBA,KAAvB,CAAP;EACH;AALL,CARuC,EAevC;EACIH,IAAI,EAAE,6CADV;EAEIC,IAAI,EAAE,kCAFV;EAGIC,MAHJ,kBAGWC,KAHX,EAGkB;IACV,oBAAO,oBAAC,2CAAD,EAA0BA,KAA1B,CAAP;EACH;AALL,CAfuC,EAsBvC;EACIH,IAAI,EAAE,wCADV;EAEIC,IAAI,EAAE,kCAFV;EAGIC,MAHJ,kBAGWC,KAHX,EAGkB;IACV,oBAAO,oBAAC,+BAAD,EAA4BA,KAA5B,CAAP;EACH;AALL,CAtBuC,CAA3C;eA+BeJ,O"}
package/allPlugins.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare const _default: (import("./types").CmsModelFieldTypePlugin | import("./types").CmsEditorFieldRendererPlugin | import("./types").CmsEditorFieldRendererPlugin[] | import("./types").CmsModelFieldValidatorPlugin<any> | import("./types").CmsModelFieldRegexValidatorExpressionPlugin | (import("./types").CmsEditorFormSettingsPlugin | import("./types").CmsIconsPlugin | import("@webiny/app-admin/types").AdminInstallationPlugin | import("@webiny/app-admin/types").AdminAppPermissionRendererPlugin | import("./types").CmsFieldValueTransformer<{
2
+ declare const _default: (import("./types").CmsModelFieldTypePlugin | import("./types").CmsEditorFieldRendererPlugin | import("./types").CmsEditorFieldRendererPlugin[] | import("./types").CmsModelFieldValidatorPlugin<any> | import("./types").CmsModelFieldRegexValidatorExpressionPlugin | (import("./types").CmsEditorFormSettingsPlugin | import("./types").CmsIconsPlugin | import("./types").CmsFieldValueTransformer<{
3
3
  id: string;
4
4
  type: string;
5
5
  fieldId: string;
@@ -26,7 +26,7 @@ declare const _default: (import("./types").CmsModelFieldTypePlugin | import("./t
26
26
  name: string;
27
27
  };
28
28
  tags?: string[] | undefined;
29
- }>[] | import("@webiny/app/types").RoutePlugin[] | import("@webiny/app").ApolloCacheObjectIdPlugin<import("@webiny/app/plugins/ApolloCacheObjectIdPlugin").ApolloCacheObject> | import("./types").CmsContentDetailsPlugin[] | {
29
+ }>[] | import("@webiny/app/types").RoutePlugin[] | import("@webiny/app-admin/types").AdminInstallationPlugin | import("@webiny/app-admin/types").AdminAppPermissionRendererPlugin | import("@webiny/app").ApolloCacheObjectIdPlugin<import("@webiny/app/plugins/ApolloCacheObjectIdPlugin").ApolloCacheObject> | import("./types").CmsContentDetailsPlugin[] | {
30
30
  name: string;
31
31
  type: string;
32
32
  render(): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/app-headless-cms",
3
- "version": "5.34.0",
3
+ "version": "5.34.1-beta.1",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,20 +27,20 @@
27
27
  "@material-design-icons/svg": "0.14.2",
28
28
  "@svgr/webpack": "6.4.0",
29
29
  "@types/react": "17.0.39",
30
- "@webiny/app": "5.34.0",
31
- "@webiny/app-admin": "5.34.0",
32
- "@webiny/app-graphql-playground": "5.34.0",
33
- "@webiny/app-i18n": "5.34.0",
34
- "@webiny/app-plugin-admin-welcome-screen": "5.34.0",
35
- "@webiny/app-security": "5.34.0",
36
- "@webiny/error": "5.34.0",
37
- "@webiny/form": "5.34.0",
38
- "@webiny/plugins": "5.34.0",
39
- "@webiny/react-composition": "5.34.0",
40
- "@webiny/react-router": "5.34.0",
41
- "@webiny/ui": "5.34.0",
42
- "@webiny/utils": "5.34.0",
43
- "@webiny/validation": "5.34.0",
30
+ "@webiny/app": "5.34.1-beta.1",
31
+ "@webiny/app-admin": "5.34.1-beta.1",
32
+ "@webiny/app-graphql-playground": "5.34.1-beta.1",
33
+ "@webiny/app-i18n": "5.34.1-beta.1",
34
+ "@webiny/app-plugin-admin-welcome-screen": "5.34.1-beta.1",
35
+ "@webiny/app-security": "5.34.1-beta.1",
36
+ "@webiny/error": "5.34.1-beta.1",
37
+ "@webiny/form": "5.34.1-beta.1",
38
+ "@webiny/plugins": "5.34.1-beta.1",
39
+ "@webiny/react-composition": "5.34.1-beta.1",
40
+ "@webiny/react-router": "5.34.1-beta.1",
41
+ "@webiny/ui": "5.34.1-beta.1",
42
+ "@webiny/utils": "5.34.1-beta.1",
43
+ "@webiny/validation": "5.34.1-beta.1",
44
44
  "apollo-cache": "1.3.5",
45
45
  "apollo-client": "2.6.10",
46
46
  "apollo-link": "1.2.14",
@@ -72,8 +72,8 @@
72
72
  "@babel/preset-env": "^7.19.4",
73
73
  "@babel/preset-react": "^7.16.0",
74
74
  "@babel/preset-typescript": "^7.18.6",
75
- "@webiny/cli": "^5.34.0",
76
- "@webiny/project-utils": "^5.34.0",
75
+ "@webiny/cli": "^5.34.1-beta.1",
76
+ "@webiny/project-utils": "^5.34.1-beta.1",
77
77
  "babel-plugin-emotion": "^9.2.8",
78
78
  "babel-plugin-lodash": "^3.3.4",
79
79
  "babel-plugin-module-resolver": "^4.1.0",
@@ -104,5 +104,5 @@
104
104
  ]
105
105
  }
106
106
  },
107
- "gitHead": "16af8737377a9ae1dd6ac4ecffec5625726c814e"
107
+ "gitHead": "29b0835bc90440f6463ab03419a68e7fbead6044"
108
108
  }
@@ -1 +0,0 @@
1
- export declare const RequestChanges: import("@webiny/react-composition").ComposableFC<unknown>;
@@ -1,13 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.RequestChanges = void 0;
7
-
8
- var _reactComposition = require("@webiny/react-composition");
9
-
10
- var RequestChanges = (0, _reactComposition.makeComposable)("RequestChanges", function () {
11
- return null;
12
- });
13
- exports.RequestChanges = RequestChanges;
@@ -1 +0,0 @@
1
- {"version":3,"names":["RequestChanges","makeComposable"],"sources":["RequestChanges.tsx"],"sourcesContent":["import { makeComposable } from \"@webiny/react-composition\";\n\nexport const RequestChanges = makeComposable(\"RequestChanges\", () => {\n return null;\n});\n"],"mappings":";;;;;;;AAAA;;AAEO,IAAMA,cAAc,GAAG,IAAAC,gCAAA,EAAe,gBAAf,EAAiC,YAAM;EACjE,OAAO,IAAP;AACH,CAF6B,CAAvB"}
@@ -1 +0,0 @@
1
- export declare const RequestReview: import("@webiny/react-composition").ComposableFC<unknown>;
@@ -1,13 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.RequestReview = void 0;
7
-
8
- var _reactComposition = require("@webiny/react-composition");
9
-
10
- var RequestReview = (0, _reactComposition.makeComposable)("RequestReview", function () {
11
- return null;
12
- });
13
- exports.RequestReview = RequestReview;
@@ -1 +0,0 @@
1
- {"version":3,"names":["RequestReview","makeComposable"],"sources":["RequestReview.tsx"],"sourcesContent":["import { makeComposable } from \"@webiny/react-composition\";\n\nexport const RequestReview = makeComposable(\"RequestReview\", () => {\n return null;\n});\n"],"mappings":";;;;;;;AAAA;;AAEO,IAAMA,aAAa,GAAG,IAAAC,gCAAA,EAAe,eAAf,EAAgC,YAAM;EAC/D,OAAO,IAAP;AACH,CAF4B,CAAtB"}