@webiny/app-serverless-cms 0.0.0-unstable.d7f521b032 → 0.0.0-unstable.de38392959

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/Admin.d.ts CHANGED
@@ -2,5 +2,6 @@ import React from "react";
2
2
  import { AdminProps as BaseAdminProps } from "@webiny/app-admin";
3
3
  export interface AdminProps extends Omit<BaseAdminProps, "createApolloClient"> {
4
4
  createApolloClient?: BaseAdminProps["createApolloClient"];
5
+ children?: React.ReactNode;
5
6
  }
6
7
  export declare const Admin: React.NamedExoticComponent<AdminProps>;
package/Admin.js CHANGED
@@ -17,31 +17,36 @@ var _appPageBuilder = require("@webiny/app-page-builder");
17
17
  var _appFormBuilder = require("@webiny/app-form-builder");
18
18
  var _appHeadlessCms = require("@webiny/app-headless-cms");
19
19
  var _appAdminRmwc = require("@webiny/app-admin-rmwc");
20
- var _appFileManager = require("@webiny/app-file-manager");
20
+ var _app = require("@webiny/app-file-manager/app");
21
21
  var _appGraphqlPlayground = require("@webiny/app-graphql-playground");
22
22
  var _appSecurityAccessManagement = require("@webiny/app-security-access-management");
23
23
  var _plugins2 = require("@webiny/app/plugins");
24
- var _plugins3 = _interopRequireDefault(require("@webiny/app-file-manager/admin/plugins"));
25
24
  var _appFileManagerS = _interopRequireDefault(require("@webiny/app-file-manager-s3"));
26
25
  var _apolloClientFactory = require("./apolloClientFactory");
27
26
  var _apolloLinks = _interopRequireDefault(require("./apolloLinks"));
28
27
  var _ViewCompositionProvider = require("@webiny/app-admin/base/providers/ViewCompositionProvider");
29
28
  var _appApw = require("@webiny/app-apw");
30
29
  var _appTenantManager = require("@webiny/app-tenant-manager");
30
+ var _appAuditLogs = require("@webiny/app-audit-logs");
31
+ var _lexicalEditorPbElement = require("@webiny/lexical-editor-pb-element");
32
+ var _lexicalEditorActions = require("@webiny/lexical-editor-actions");
31
33
  var _appMailer = require("@webiny/app-mailer");
34
+ var _appAco = require("@webiny/app-aco");
32
35
  var App = function App(props) {
33
36
  var createApolloClient = props.createApolloClient || _apolloClientFactory.createApolloClient;
34
37
  var ViewCompositionProvider = (0, _ViewCompositionProvider.createViewCompositionProvider)();
35
- _plugins.plugins.register((0, _plugins2.imagePlugin)(), (0, _plugins3.default)(), (0, _appFileManagerS.default)(), _apolloLinks.default);
38
+ _plugins.plugins.register((0, _plugins2.imagePlugin)(), (0, _appFileManagerS.default)(), _apolloLinks.default);
36
39
  return /*#__PURE__*/_react.default.createElement(_appAdmin.Admin, {
37
40
  createApolloClient: createApolloClient
38
- }, /*#__PURE__*/_react.default.createElement(_appAdminRmwc.RMWC, null), /*#__PURE__*/_react.default.createElement(_appTenancy.Tenancy, null), /*#__PURE__*/_react.default.createElement(_appSecurity.Security, null), /*#__PURE__*/_react.default.createElement(_appSecurityAccessManagement.AccessManagement, null), /*#__PURE__*/_react.default.createElement(_appAdmin.AppInstaller, null), /*#__PURE__*/_react.default.createElement(_appFileManager.FileManager, null), /*#__PURE__*/_react.default.createElement(_appGraphqlPlayground.GraphQLPlayground, {
41
+ }, /*#__PURE__*/_react.default.createElement(_appAdminRmwc.RMWC, null), /*#__PURE__*/_react.default.createElement(_appTenancy.Tenancy, null), /*#__PURE__*/_react.default.createElement(_appSecurity.Security, null), /*#__PURE__*/_react.default.createElement(_appSecurityAccessManagement.AccessManagement, null), /*#__PURE__*/_react.default.createElement(_appAdmin.AppInstaller, null), /*#__PURE__*/_react.default.createElement(_appAco.Folders, null), /*#__PURE__*/_react.default.createElement(_app.FileManager, null), /*#__PURE__*/_react.default.createElement(_appGraphqlPlayground.GraphQLPlayground, {
39
42
  createApolloClient: createApolloClient
40
43
  }), /*#__PURE__*/_react.default.createElement(_appI18n.I18N, null), /*#__PURE__*/_react.default.createElement(_appI18nContent.I18NContent, null), /*#__PURE__*/_react.default.createElement(_appAdmin.Provider, {
41
44
  hoc: ViewCompositionProvider
42
- }), /*#__PURE__*/_react.default.createElement(_appPageBuilder.PageBuilder, null), /*#__PURE__*/_react.default.createElement(_appFormBuilder.FormBuilder, null), /*#__PURE__*/_react.default.createElement(_appHeadlessCms.HeadlessCMS, {
45
+ }), /*#__PURE__*/_react.default.createElement(_appPageBuilder.PageBuilder, null), /*#__PURE__*/_react.default.createElement(_lexicalEditorPbElement.LexicalEditorPlugin, null), /*#__PURE__*/_react.default.createElement(_lexicalEditorActions.LexicalEditorActions, null), /*#__PURE__*/_react.default.createElement(_appFormBuilder.FormBuilder, null), /*#__PURE__*/_react.default.createElement(_appHeadlessCms.HeadlessCMS, {
43
46
  createApolloClient: createApolloClient
44
- }), /*#__PURE__*/_react.default.createElement(_appApw.AdvancedPublishingWorkflow, null), /*#__PURE__*/_react.default.createElement(_appTenantManager.TenantManager, null), /*#__PURE__*/_react.default.createElement(_appMailer.Module, null), props.children);
47
+ }), /*#__PURE__*/_react.default.createElement(_appApw.AdvancedPublishingWorkflow, null), /*#__PURE__*/_react.default.createElement(_appTenantManager.TenantManager, null), /*#__PURE__*/_react.default.createElement(_appAuditLogs.AuditLogs, null), /*#__PURE__*/_react.default.createElement(_appMailer.Module, null), props.children);
45
48
  };
46
49
  var Admin = /*#__PURE__*/(0, _react.memo)(App);
47
- exports.Admin = Admin;
50
+ exports.Admin = Admin;
51
+
52
+ //# sourceMappingURL=Admin.js.map
package/Admin.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["App","props","createApolloClient","defaultApolloClientFactory","ViewCompositionProvider","createViewCompositionProvider","plugins","register","imagePlugin","fileManagerPlugins","fileStorageS3Plugin","apolloLinks","children","Admin","memo"],"sources":["Admin.tsx"],"sourcesContent":["import React, { memo } from \"react\";\nimport { plugins } from \"@webiny/plugins\";\nimport {\n Admin as BaseAdmin,\n AdminProps as BaseAdminProps,\n AppInstaller,\n Provider\n} from \"@webiny/app-admin\";\nimport { Tenancy } from \"@webiny/app-tenancy\";\nimport { Security } from \"@webiny/app-security\";\nimport { I18N } from \"@webiny/app-i18n\";\nimport { I18NContent } from \"@webiny/app-i18n-content\";\nimport { PageBuilder } from \"@webiny/app-page-builder\";\nimport { FormBuilder } from \"@webiny/app-form-builder\";\nimport { HeadlessCMS } from \"@webiny/app-headless-cms\";\nimport { RMWC } from \"@webiny/app-admin-rmwc\";\nimport { FileManager } from \"@webiny/app-file-manager\";\nimport { GraphQLPlayground } from \"@webiny/app-graphql-playground\";\nimport { AccessManagement } from \"@webiny/app-security-access-management\";\nimport { imagePlugin } from \"@webiny/app/plugins\";\nimport fileManagerPlugins from \"@webiny/app-file-manager/admin/plugins\";\nimport fileStorageS3Plugin from \"@webiny/app-file-manager-s3\";\nimport { createApolloClient as defaultApolloClientFactory } from \"./apolloClientFactory\";\nimport apolloLinks from \"./apolloLinks\";\nimport { createViewCompositionProvider } from \"@webiny/app-admin/base/providers/ViewCompositionProvider\";\nimport { AdvancedPublishingWorkflow } from \"@webiny/app-apw\";\nimport { TenantManager } from \"@webiny/app-tenant-manager\";\nimport { Module as MailerSettings } from \"@webiny/app-mailer\";\n\nexport interface AdminProps extends Omit<BaseAdminProps, \"createApolloClient\"> {\n createApolloClient?: BaseAdminProps[\"createApolloClient\"];\n}\n\nconst App = (props: AdminProps) => {\n const createApolloClient = props.createApolloClient || defaultApolloClientFactory;\n const ViewCompositionProvider = createViewCompositionProvider();\n\n plugins.register(imagePlugin(), fileManagerPlugins(), fileStorageS3Plugin(), apolloLinks);\n\n return (\n <BaseAdmin createApolloClient={createApolloClient}>\n <RMWC />\n <Tenancy />\n <Security />\n <AccessManagement />\n <AppInstaller />\n <FileManager />\n <GraphQLPlayground createApolloClient={createApolloClient} />\n <I18N />\n <I18NContent />\n <Provider hoc={ViewCompositionProvider} />\n <PageBuilder />\n <FormBuilder />\n <HeadlessCMS createApolloClient={createApolloClient} />\n <AdvancedPublishingWorkflow />\n <TenantManager />\n <MailerSettings />\n {props.children}\n </BaseAdmin>\n );\n};\n\nexport const Admin = memo<AdminProps>(App);\n"],"mappings":";;;;;;;;AAAA;AACA;AACA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA,IAAMA,GAAG,GAAG,SAANA,GAAG,CAAIC,KAAiB,EAAK;EAC/B,IAAMC,kBAAkB,GAAGD,KAAK,CAACC,kBAAkB,IAAIC,uCAA0B;EACjF,IAAMC,uBAAuB,GAAG,IAAAC,sDAA6B,GAAE;EAE/DC,gBAAO,CAACC,QAAQ,CAAC,IAAAC,qBAAW,GAAE,EAAE,IAAAC,iBAAkB,GAAE,EAAE,IAAAC,wBAAmB,GAAE,EAAEC,oBAAW,CAAC;EAEzF,oBACI,6BAAC,eAAS;IAAC,kBAAkB,EAAET;EAAmB,gBAC9C,6BAAC,kBAAI,OAAG,eACR,6BAAC,mBAAO,OAAG,eACX,6BAAC,qBAAQ,OAAG,eACZ,6BAAC,6CAAgB,OAAG,eACpB,6BAAC,sBAAY,OAAG,eAChB,6BAAC,2BAAW,OAAG,eACf,6BAAC,uCAAiB;IAAC,kBAAkB,EAAEA;EAAmB,EAAG,eAC7D,6BAAC,aAAI,OAAG,eACR,6BAAC,2BAAW,OAAG,eACf,6BAAC,kBAAQ;IAAC,GAAG,EAAEE;EAAwB,EAAG,eAC1C,6BAAC,2BAAW,OAAG,eACf,6BAAC,2BAAW,OAAG,eACf,6BAAC,2BAAW;IAAC,kBAAkB,EAAEF;EAAmB,EAAG,eACvD,6BAAC,kCAA0B,OAAG,eAC9B,6BAAC,+BAAa,OAAG,eACjB,6BAAC,iBAAc,OAAG,EACjBD,KAAK,CAACW,QAAQ,CACP;AAEpB,CAAC;AAEM,IAAMC,KAAK,gBAAG,IAAAC,WAAI,EAAad,GAAG,CAAC;AAAC"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_plugins","_appAdmin","_appTenancy","_appSecurity","_appI18n","_appI18nContent","_appPageBuilder","_appFormBuilder","_appHeadlessCms","_appAdminRmwc","_app","_appGraphqlPlayground","_appSecurityAccessManagement","_plugins2","_appFileManagerS","_interopRequireDefault","_apolloClientFactory","_apolloLinks","_ViewCompositionProvider","_appApw","_appTenantManager","_appAuditLogs","_lexicalEditorPbElement","_lexicalEditorActions","_appMailer","_appAco","App","props","createApolloClient","defaultApolloClientFactory","ViewCompositionProvider","createViewCompositionProvider","plugins","register","imagePlugin","fileStorageS3Plugin","apolloLinks","default","createElement","Admin","RMWC","Tenancy","Security","AccessManagement","AppInstaller","Folders","FileManager","GraphQLPlayground","I18N","I18NContent","Provider","hoc","PageBuilder","LexicalEditorPlugin","LexicalEditorActions","FormBuilder","HeadlessCMS","AdvancedPublishingWorkflow","TenantManager","AuditLogs","Module","children","memo","exports"],"sources":["Admin.tsx"],"sourcesContent":["import React, { memo } from \"react\";\nimport { plugins } from \"@webiny/plugins\";\nimport {\n Admin as BaseAdmin,\n AdminProps as BaseAdminProps,\n AppInstaller,\n Provider\n} from \"@webiny/app-admin\";\nimport { Tenancy } from \"@webiny/app-tenancy\";\nimport { Security } from \"@webiny/app-security\";\nimport { I18N } from \"@webiny/app-i18n\";\nimport { I18NContent } from \"@webiny/app-i18n-content\";\nimport { PageBuilder } from \"@webiny/app-page-builder\";\nimport { FormBuilder } from \"@webiny/app-form-builder\";\nimport { HeadlessCMS } from \"@webiny/app-headless-cms\";\nimport { RMWC } from \"@webiny/app-admin-rmwc\";\nimport { FileManager } from \"@webiny/app-file-manager/app\";\nimport { GraphQLPlayground } from \"@webiny/app-graphql-playground\";\nimport { AccessManagement } from \"@webiny/app-security-access-management\";\nimport { imagePlugin } from \"@webiny/app/plugins\";\nimport fileStorageS3Plugin from \"@webiny/app-file-manager-s3\";\nimport { createApolloClient as defaultApolloClientFactory } from \"./apolloClientFactory\";\nimport apolloLinks from \"./apolloLinks\";\nimport { createViewCompositionProvider } from \"@webiny/app-admin/base/providers/ViewCompositionProvider\";\nimport { AdvancedPublishingWorkflow } from \"@webiny/app-apw\";\nimport { TenantManager } from \"@webiny/app-tenant-manager\";\nimport { AuditLogs } from \"@webiny/app-audit-logs\";\nimport { LexicalEditorPlugin } from \"@webiny/lexical-editor-pb-element\";\nimport { LexicalEditorActions } from \"@webiny/lexical-editor-actions\";\nimport { Module as MailerSettings } from \"@webiny/app-mailer\";\nimport { Folders } from \"@webiny/app-aco\";\n\nexport interface AdminProps extends Omit<BaseAdminProps, \"createApolloClient\"> {\n createApolloClient?: BaseAdminProps[\"createApolloClient\"];\n children?: React.ReactNode;\n}\n\nconst App = (props: AdminProps) => {\n const createApolloClient = props.createApolloClient || defaultApolloClientFactory;\n const ViewCompositionProvider = createViewCompositionProvider();\n\n plugins.register(imagePlugin(), fileStorageS3Plugin(), apolloLinks);\n\n return (\n <BaseAdmin createApolloClient={createApolloClient}>\n <RMWC />\n <Tenancy />\n <Security />\n <AccessManagement />\n <AppInstaller />\n <Folders />\n <FileManager />\n <GraphQLPlayground createApolloClient={createApolloClient} />\n <I18N />\n <I18NContent />\n <Provider hoc={ViewCompositionProvider} />\n <PageBuilder />\n <LexicalEditorPlugin />\n <LexicalEditorActions />\n <FormBuilder />\n <HeadlessCMS createApolloClient={createApolloClient} />\n <AdvancedPublishingWorkflow />\n <TenantManager />\n <AuditLogs />\n <MailerSettings />\n {props.children}\n </BaseAdmin>\n );\n};\n\nexport const Admin = memo<AdminProps>(App);\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAMA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,eAAA,GAAAP,OAAA;AACA,IAAAQ,eAAA,GAAAR,OAAA;AACA,IAAAS,eAAA,GAAAT,OAAA;AACA,IAAAU,aAAA,GAAAV,OAAA;AACA,IAAAW,IAAA,GAAAX,OAAA;AACA,IAAAY,qBAAA,GAAAZ,OAAA;AACA,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AAwC,OAAA,CAAAC,aAAA,CAACjB,aAAA,CAAAsC,SAAS,MAAE,CAAC,eACb9D,MAAA,CAAAwC,OAAA,CAAAC,aAAA,CAACd,UAAA,CAAAoC,MAAc,MAAE,CAAC,EACjBjC,KAAK,CAACkC,QACA,CAAC;AAEpB,CAAC;AAEM,IAAMtB,KAAK,gBAAG,IAAAuB,WAAI,EAAapC,GAAG,CAAC;AAACqC,OAAA,CAAAxB,KAAA,GAAAA,KAAA"}
@@ -1,6 +1,7 @@
1
1
  import ApolloClient from "apollo-client";
2
- interface CreateApolloClientParams {
2
+ import { BatchHttpLink } from "apollo-link-batch-http";
3
+ export interface CreateApolloClientParams {
3
4
  uri: string;
5
+ batching?: Pick<BatchHttpLink.Options, "batchMax" | "batchInterval" | "batchKey">;
4
6
  }
5
- export declare const createApolloClient: ({ uri }: CreateApolloClientParams) => ApolloClient<import("apollo-cache-inmemory").NormalizedCacheObject>;
6
- export {};
7
+ export declare const createApolloClient: ({ uri, batching }: CreateApolloClientParams) => ApolloClient<import("apollo-cache-inmemory").NormalizedCacheObject>;
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.createApolloClient = void 0;
8
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
8
9
  var _apolloClient = _interopRequireDefault(require("apollo-client"));
9
10
  var _apolloLink = require("apollo-link");
10
11
  var _apolloLinkBatchHttp = require("apollo-link-batch-http");
@@ -13,7 +14,8 @@ var _plugins = require("@webiny/plugins");
13
14
  var _ApolloDynamicLink = require("@webiny/app/plugins/ApolloDynamicLink");
14
15
  var _ApolloCacheObjectIdPlugin = require("@webiny/app/plugins/ApolloCacheObjectIdPlugin");
15
16
  var createApolloClient = function createApolloClient(_ref) {
16
- var uri = _ref.uri;
17
+ var uri = _ref.uri,
18
+ batching = _ref.batching;
17
19
  return new _apolloClient.default({
18
20
  link: _apolloLink.ApolloLink.from([
19
21
  /**
@@ -22,10 +24,12 @@ var createApolloClient = function createApolloClient(_ref) {
22
24
  new _ApolloDynamicLink.ApolloDynamicLink(),
23
25
  /**
24
26
  * This batches requests made to the API to pack multiple requests into a single HTTP request.
27
+ * `credentials: "include"` is necessary to attach cookies to requests.
25
28
  */
26
- new _apolloLinkBatchHttp.BatchHttpLink({
27
- uri: uri
28
- })]),
29
+ new _apolloLinkBatchHttp.BatchHttpLink((0, _objectSpread2.default)({
30
+ uri: uri,
31
+ credentials: "include"
32
+ }, batching))]),
29
33
  cache: new _InMemoryCache.InMemoryCache({
30
34
  addTypename: true,
31
35
  dataIdFromObject: function dataIdFromObject(obj) {
@@ -49,4 +53,6 @@ var createApolloClient = function createApolloClient(_ref) {
49
53
  })
50
54
  });
51
55
  };
52
- exports.createApolloClient = createApolloClient;
56
+ exports.createApolloClient = createApolloClient;
57
+
58
+ //# sourceMappingURL=apolloClientFactory.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createApolloClient","uri","ApolloClient","link","ApolloLink","from","ApolloDynamicLink","BatchHttpLink","cache","InMemoryCache","addTypename","dataIdFromObject","obj","getters","plugins","byType","ApolloCacheObjectIdPlugin","type","i","length","id","getObjectId"],"sources":["apolloClientFactory.ts"],"sourcesContent":["import ApolloClient from \"apollo-client\";\nimport { ApolloLink } from \"apollo-link\";\nimport { BatchHttpLink } from \"apollo-link-batch-http\";\nimport { InMemoryCache } from \"@webiny/app/apollo-client/InMemoryCache\";\nimport { plugins } from \"@webiny/plugins\";\nimport { ApolloDynamicLink } from \"@webiny/app/plugins/ApolloDynamicLink\";\nimport { ApolloCacheObjectIdPlugin } from \"@webiny/app/plugins/ApolloCacheObjectIdPlugin\";\n\ninterface CreateApolloClientParams {\n uri: string;\n}\nexport const createApolloClient = ({ uri }: CreateApolloClientParams) => {\n return new ApolloClient({\n link: ApolloLink.from([\n /**\n * This will process links from plugins on every request.\n */\n new ApolloDynamicLink(),\n /**\n * This batches requests made to the API to pack multiple requests into a single HTTP request.\n */\n new BatchHttpLink({ uri })\n ]),\n cache: new InMemoryCache({\n addTypename: true,\n dataIdFromObject: obj => {\n /**\n * Since every data type coming from API can have a different data structure,\n * we cannot rely on having an `id` field.\n */\n const getters = plugins.byType<ApolloCacheObjectIdPlugin>(\n ApolloCacheObjectIdPlugin.type\n );\n\n for (let i = 0; i < getters.length; i++) {\n const id = getters[i].getObjectId(obj);\n if (typeof id !== \"undefined\") {\n return id;\n }\n }\n\n /**\n * As a fallback, try getting object's `id`.\n */\n return obj.id || null;\n }\n })\n });\n};\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAKO,IAAMA,kBAAkB,GAAG,SAArBA,kBAAkB,OAA0C;EAAA,IAApCC,GAAG,QAAHA,GAAG;EACpC,OAAO,IAAIC,qBAAY,CAAC;IACpBC,IAAI,EAAEC,sBAAU,CAACC,IAAI,CAAC;IAClB;AACZ;AACA;IACY,IAAIC,oCAAiB,EAAE;IACvB;AACZ;AACA;IACY,IAAIC,kCAAa,CAAC;MAAEN,GAAG,EAAHA;IAAI,CAAC,CAAC,CAC7B,CAAC;IACFO,KAAK,EAAE,IAAIC,4BAAa,CAAC;MACrBC,WAAW,EAAE,IAAI;MACjBC,gBAAgB,EAAE,0BAAAC,GAAG,EAAI;QACrB;AAChB;AACA;AACA;QACgB,IAAMC,OAAO,GAAGC,gBAAO,CAACC,MAAM,CAC1BC,oDAAyB,CAACC,IAAI,CACjC;QAED,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGL,OAAO,CAACM,MAAM,EAAED,CAAC,EAAE,EAAE;UACrC,IAAME,EAAE,GAAGP,OAAO,CAACK,CAAC,CAAC,CAACG,WAAW,CAACT,GAAG,CAAC;UACtC,IAAI,OAAOQ,EAAE,KAAK,WAAW,EAAE;YAC3B,OAAOA,EAAE;UACb;QACJ;;QAEA;AAChB;AACA;QACgB,OAAOR,GAAG,CAACQ,EAAE,IAAI,IAAI;MACzB;IACJ,CAAC;EACL,CAAC,CAAC;AACN,CAAC;AAAC"}
1
+ {"version":3,"names":["_apolloClient","_interopRequireDefault","require","_apolloLink","_apolloLinkBatchHttp","_InMemoryCache","_plugins","_ApolloDynamicLink","_ApolloCacheObjectIdPlugin","createApolloClient","_ref","uri","batching","ApolloClient","link","ApolloLink","from","ApolloDynamicLink","BatchHttpLink","_objectSpread2","default","credentials","cache","InMemoryCache","addTypename","dataIdFromObject","obj","getters","plugins","byType","ApolloCacheObjectIdPlugin","type","i","length","id","getObjectId","exports"],"sources":["apolloClientFactory.ts"],"sourcesContent":["import ApolloClient from \"apollo-client\";\nimport { ApolloLink } from \"apollo-link\";\nimport { BatchHttpLink } from \"apollo-link-batch-http\";\nimport { InMemoryCache } from \"@webiny/app/apollo-client/InMemoryCache\";\nimport { plugins } from \"@webiny/plugins\";\nimport { ApolloDynamicLink } from \"@webiny/app/plugins/ApolloDynamicLink\";\nimport { ApolloCacheObjectIdPlugin } from \"@webiny/app/plugins/ApolloCacheObjectIdPlugin\";\n\nexport interface CreateApolloClientParams {\n uri: string;\n batching?: Pick<BatchHttpLink.Options, \"batchMax\" | \"batchInterval\" | \"batchKey\">;\n}\nexport const createApolloClient = ({ uri, batching }: CreateApolloClientParams) => {\n return new ApolloClient({\n link: ApolloLink.from([\n /**\n * This will process links from plugins on every request.\n */\n new ApolloDynamicLink(),\n /**\n * This batches requests made to the API to pack multiple requests into a single HTTP request.\n * `credentials: \"include\"` is necessary to attach cookies to requests.\n */\n new BatchHttpLink({ uri, credentials: \"include\", ...batching })\n ]),\n cache: new InMemoryCache({\n addTypename: true,\n dataIdFromObject: obj => {\n /**\n * Since every data type coming from API can have a different data structure,\n * we cannot rely on having an `id` field.\n */\n const getters = plugins.byType<ApolloCacheObjectIdPlugin>(\n ApolloCacheObjectIdPlugin.type\n );\n\n for (let i = 0; i < getters.length; i++) {\n const id = getters[i].getObjectId(obj);\n if (typeof id !== \"undefined\") {\n return id;\n }\n }\n\n /**\n * As a fallback, try getting object's `id`.\n */\n return obj.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,EAAE,IAAI,IAAI;MACzB;IACJ,CAAC;EACL,CAAC,CAAC;AACN,CAAC;AAACE,OAAA,CAAA3B,kBAAA,GAAAA,kBAAA"}
package/apolloLinks.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ConsoleLinkPlugin } from "@webiny/app/plugins/ConsoleLinkPlugin";
2
2
  import { NetworkErrorLinkPlugin } from "@webiny/app/plugins/NetworkErrorLinkPlugin";
3
3
  import { OmitTypenameLinkPlugin } from "@webiny/app/plugins/OmitTypenameLinkPlugin";
4
- declare const _default: (OmitTypenameLinkPlugin | ConsoleLinkPlugin | NetworkErrorLinkPlugin)[];
4
+ declare const _default: (ConsoleLinkPlugin | NetworkErrorLinkPlugin | OmitTypenameLinkPlugin)[];
5
5
  export default _default;
package/apolloLinks.js CHANGED
@@ -20,4 +20,6 @@ new _ConsoleLinkPlugin.ConsoleLinkPlugin(),
20
20
  * This plugin creates an ApolloLink that checks for `NetworkError` and shows an ErrorOverlay in the browser.
21
21
  */
22
22
  new _NetworkErrorLinkPlugin.NetworkErrorLinkPlugin()];
23
- exports.default = _default;
23
+ exports.default = _default;
24
+
25
+ //# sourceMappingURL=apolloLinks.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["OmitTypenameLinkPlugin","ConsoleLinkPlugin","NetworkErrorLinkPlugin"],"sources":["apolloLinks.ts"],"sourcesContent":["import { ConsoleLinkPlugin } from \"@webiny/app/plugins/ConsoleLinkPlugin\";\nimport { NetworkErrorLinkPlugin } from \"@webiny/app/plugins/NetworkErrorLinkPlugin\";\nimport { OmitTypenameLinkPlugin } from \"@webiny/app/plugins/OmitTypenameLinkPlugin\";\n\nexport default [\n /**\n * This link removes `__typename` from the variables being sent to the API.\n */\n new OmitTypenameLinkPlugin(),\n /**\n * This link checks for presence of `extensions.console` in the response and logs all items to browser console.\n */\n new ConsoleLinkPlugin(),\n /**\n * This plugin creates an ApolloLink that checks for `NetworkError` and shows an ErrorOverlay in the browser.\n */\n new NetworkErrorLinkPlugin()\n];\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAAoF,eAErE;AACX;AACJ;AACA;AACI,IAAIA,8CAAsB,EAAE;AAC5B;AACJ;AACA;AACI,IAAIC,oCAAiB,EAAE;AACvB;AACJ;AACA;AACI,IAAIC,8CAAsB,EAAE,CAC/B;AAAA"}
1
+ {"version":3,"names":["_ConsoleLinkPlugin","require","_NetworkErrorLinkPlugin","_OmitTypenameLinkPlugin","_default","OmitTypenameLinkPlugin","ConsoleLinkPlugin","NetworkErrorLinkPlugin","exports","default"],"sources":["apolloLinks.ts"],"sourcesContent":["import { ConsoleLinkPlugin } from \"@webiny/app/plugins/ConsoleLinkPlugin\";\nimport { NetworkErrorLinkPlugin } from \"@webiny/app/plugins/NetworkErrorLinkPlugin\";\nimport { OmitTypenameLinkPlugin } from \"@webiny/app/plugins/OmitTypenameLinkPlugin\";\n\nexport default [\n /**\n * This link removes `__typename` from the variables being sent to the API.\n */\n new OmitTypenameLinkPlugin(),\n /**\n * This link checks for presence of `extensions.console` in the response and logs all items to browser console.\n */\n new ConsoleLinkPlugin(),\n /**\n * This plugin creates an ApolloLink that checks for `NetworkError` and shows an ErrorOverlay in the browser.\n */\n new NetworkErrorLinkPlugin()\n];\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AACA,IAAAE,uBAAA,GAAAF,OAAA;AAAoF,IAAAG,QAAA,GAErE;AACX;AACJ;AACA;AACI,IAAIC,8CAAsB,CAAC,CAAC;AAC5B;AACJ;AACA;AACI,IAAIC,oCAAiB,CAAC,CAAC;AACvB;AACJ;AACA;AACI,IAAIC,8CAAsB,CAAC,CAAC,CAC/B;AAAAC,OAAA,CAAAC,OAAA,GAAAL,QAAA"}
package/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  export { Admin } from "./Admin";
2
2
  export type { AdminProps } from "./Admin";
3
- export { useApp, useUserMenuItem, useUserMenu, useMenuItem, useNavigation, useTags, AddLogo, AddMenu, AddRoute, AddUserMenuItem, Dashboard, DashboardRenderer, Layout, LayoutRenderer, LoginScreen, LoginScreenRenderer, LocaleSelector, LocaleSelectorRenderer, Brand, BrandRenderer, Provider, Compose, Plugins, Plugin, makeComposable, createComponentPlugin, createProviderPlugin, createProvider, MenuItem, MenuItemRenderer, MenuItems, Navigation, NavigationRenderer, Tags, UserMenu, UserMenuHandle, UserMenuHandleRenderer, UserMenuItems, UserMenuItem, UserMenuItemRenderer, AddGraphQLQuerySelection } from "@webiny/app-admin";
3
+ export { useApp, useWcp, useUserMenuItem, useUserMenu, useMenuItem, useNavigation, useTags, AddLogo, AddMenu, AddRoute, AddUserMenuItem, Dashboard, DashboardRenderer, Layout, LayoutRenderer, LoginScreen, LoginScreenRenderer, LocaleSelector, LocaleSelectorRenderer, Brand, BrandRenderer, Provider, Compose, CompositionScope, Plugins, Plugin, makeComposable, createComponentPlugin, createProviderPlugin, createProvider, MenuItem, MenuItemRenderer, MenuItems, Navigation, NavigationRenderer, Tags, UserMenu, UserMenuHandle, UserMenuHandleRenderer, UserMenuItems, UserMenuItem, UserMenuItemRenderer, AddGraphQLQuerySelection } from "@webiny/app-admin";
4
4
  export type { ComposeProps, HigherOrderComponent, ProviderProps, LayoutProps, LoginScreenProps, MenuContext, MenuData, MenuItemsProps, MenuProps, UserMenuItemsProps, UserMenuItemProps, UserMenuItemData } from "@webiny/app-admin";
5
5
  export { HasPermission, useSecurity, usePermission } from "@webiny/app-security";
6
6
  export { useTenancy } from "@webiny/app-tenancy";
7
7
  export type { Tenant } from "@webiny/app-tenancy";
8
8
  export { AddPbWebsiteSettings } from "@webiny/app-page-builder";
9
+ export * from "./apolloClientFactory";
package/index.js CHANGED
@@ -3,6 +3,57 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ var _exportNames = {
7
+ Admin: true,
8
+ useApp: true,
9
+ useWcp: true,
10
+ useUserMenuItem: true,
11
+ useUserMenu: true,
12
+ useMenuItem: true,
13
+ useNavigation: true,
14
+ useTags: true,
15
+ AddLogo: true,
16
+ AddMenu: true,
17
+ AddRoute: true,
18
+ AddUserMenuItem: true,
19
+ Dashboard: true,
20
+ DashboardRenderer: true,
21
+ Layout: true,
22
+ LayoutRenderer: true,
23
+ LoginScreen: true,
24
+ LoginScreenRenderer: true,
25
+ LocaleSelector: true,
26
+ LocaleSelectorRenderer: true,
27
+ Brand: true,
28
+ BrandRenderer: true,
29
+ Provider: true,
30
+ Compose: true,
31
+ CompositionScope: true,
32
+ Plugins: true,
33
+ Plugin: true,
34
+ makeComposable: true,
35
+ createComponentPlugin: true,
36
+ createProviderPlugin: true,
37
+ createProvider: true,
38
+ MenuItem: true,
39
+ MenuItemRenderer: true,
40
+ MenuItems: true,
41
+ Navigation: true,
42
+ NavigationRenderer: true,
43
+ Tags: true,
44
+ UserMenu: true,
45
+ UserMenuHandle: true,
46
+ UserMenuHandleRenderer: true,
47
+ UserMenuItems: true,
48
+ UserMenuItem: true,
49
+ UserMenuItemRenderer: true,
50
+ AddGraphQLQuerySelection: true,
51
+ HasPermission: true,
52
+ useSecurity: true,
53
+ usePermission: true,
54
+ useTenancy: true,
55
+ AddPbWebsiteSettings: true
56
+ };
6
57
  Object.defineProperty(exports, "AddGraphQLQuerySelection", {
7
58
  enumerable: true,
8
59
  get: function get() {
@@ -63,6 +114,12 @@ Object.defineProperty(exports, "Compose", {
63
114
  return _appAdmin.Compose;
64
115
  }
65
116
  });
117
+ Object.defineProperty(exports, "CompositionScope", {
118
+ enumerable: true,
119
+ get: function get() {
120
+ return _appAdmin.CompositionScope;
121
+ }
122
+ });
66
123
  Object.defineProperty(exports, "Dashboard", {
67
124
  enumerable: true,
68
125
  get: function get() {
@@ -285,8 +342,28 @@ Object.defineProperty(exports, "useUserMenuItem", {
285
342
  return _appAdmin.useUserMenuItem;
286
343
  }
287
344
  });
345
+ Object.defineProperty(exports, "useWcp", {
346
+ enumerable: true,
347
+ get: function get() {
348
+ return _appAdmin.useWcp;
349
+ }
350
+ });
288
351
  var _Admin = require("./Admin");
289
352
  var _appAdmin = require("@webiny/app-admin");
290
353
  var _appSecurity = require("@webiny/app-security");
291
354
  var _appTenancy = require("@webiny/app-tenancy");
292
- var _appPageBuilder = require("@webiny/app-page-builder");
355
+ var _appPageBuilder = require("@webiny/app-page-builder");
356
+ var _apolloClientFactory = require("./apolloClientFactory");
357
+ Object.keys(_apolloClientFactory).forEach(function (key) {
358
+ if (key === "default" || key === "__esModule") return;
359
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
360
+ if (key in exports && exports[key] === _apolloClientFactory[key]) return;
361
+ Object.defineProperty(exports, key, {
362
+ enumerable: true,
363
+ get: function get() {
364
+ return _apolloClientFactory[key];
365
+ }
366
+ });
367
+ });
368
+
369
+ //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["index.tsx"],"sourcesContent":["export { Admin } from \"./Admin\";\nexport type { AdminProps } from \"./Admin\";\nexport {\n useApp,\n useUserMenuItem,\n useUserMenu,\n useMenuItem,\n useNavigation,\n useTags,\n AddLogo,\n AddMenu,\n AddRoute,\n AddUserMenuItem,\n Dashboard,\n DashboardRenderer,\n Layout,\n LayoutRenderer,\n LoginScreen,\n LoginScreenRenderer,\n LocaleSelector,\n LocaleSelectorRenderer,\n Brand,\n BrandRenderer,\n Provider,\n Compose,\n Plugins,\n Plugin,\n makeComposable,\n createComponentPlugin,\n createProviderPlugin,\n createProvider,\n MenuItem,\n MenuItemRenderer,\n MenuItems,\n Navigation,\n NavigationRenderer,\n Tags,\n UserMenu,\n UserMenuHandle,\n UserMenuHandleRenderer,\n UserMenuItems,\n UserMenuItem,\n UserMenuItemRenderer,\n AddGraphQLQuerySelection\n} from \"@webiny/app-admin\";\nexport type {\n ComposeProps,\n HigherOrderComponent,\n ProviderProps,\n LayoutProps,\n LoginScreenProps,\n MenuContext,\n MenuData,\n MenuItemsProps,\n MenuProps,\n UserMenuItemsProps,\n UserMenuItemProps,\n UserMenuItemData\n} from \"@webiny/app-admin\";\n\nexport { HasPermission, useSecurity, usePermission } from \"@webiny/app-security\";\n\nexport { useTenancy } from \"@webiny/app-tenancy\";\nexport type { Tenant } from \"@webiny/app-tenancy\";\n\nexport { AddPbWebsiteSettings } from \"@webiny/app-page-builder\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAEA;AA0DA;AAEA;AAGA"}
1
+ {"version":3,"names":["_Admin","require","_appAdmin","_appSecurity","_appTenancy","_appPageBuilder","_apolloClientFactory","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get"],"sources":["index.tsx"],"sourcesContent":["export { Admin } from \"./Admin\";\nexport type { AdminProps } from \"./Admin\";\nexport {\n useApp,\n useWcp,\n useUserMenuItem,\n useUserMenu,\n useMenuItem,\n useNavigation,\n useTags,\n AddLogo,\n AddMenu,\n AddRoute,\n AddUserMenuItem,\n Dashboard,\n DashboardRenderer,\n Layout,\n LayoutRenderer,\n LoginScreen,\n LoginScreenRenderer,\n LocaleSelector,\n LocaleSelectorRenderer,\n Brand,\n BrandRenderer,\n Provider,\n Compose,\n CompositionScope,\n Plugins,\n Plugin,\n makeComposable,\n createComponentPlugin,\n createProviderPlugin,\n createProvider,\n MenuItem,\n MenuItemRenderer,\n MenuItems,\n Navigation,\n NavigationRenderer,\n Tags,\n UserMenu,\n UserMenuHandle,\n UserMenuHandleRenderer,\n UserMenuItems,\n UserMenuItem,\n UserMenuItemRenderer,\n AddGraphQLQuerySelection\n} from \"@webiny/app-admin\";\nexport type {\n ComposeProps,\n HigherOrderComponent,\n ProviderProps,\n LayoutProps,\n LoginScreenProps,\n MenuContext,\n MenuData,\n MenuItemsProps,\n MenuProps,\n UserMenuItemsProps,\n UserMenuItemProps,\n UserMenuItemData\n} from \"@webiny/app-admin\";\n\nexport { HasPermission, useSecurity, usePermission } from \"@webiny/app-security\";\n\nexport { useTenancy } from \"@webiny/app-tenancy\";\nexport type { Tenant } from \"@webiny/app-tenancy\";\n\nexport { AddPbWebsiteSettings } from \"@webiny/app-page-builder\";\nexport * from \"./apolloClientFactory\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,SAAA,GAAAD,OAAA;AA4DA,IAAAE,YAAA,GAAAF,OAAA;AAEA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,oBAAA,GAAAL,OAAA;AAAAM,MAAA,CAAAC,IAAA,CAAAF,oBAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,oBAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAZ,oBAAA,CAAAI,GAAA;IAAA;EAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/app-serverless-cms",
3
- "version": "0.0.0-unstable.d7f521b032",
3
+ "version": "0.0.0-unstable.de38392959",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,26 +9,30 @@
9
9
  "author": "Webiny Ltd.",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@babel/runtime": "7.20.13",
13
- "@emotion/core": "10.3.1",
14
- "@webiny/app": "0.0.0-unstable.d7f521b032",
15
- "@webiny/app-admin": "0.0.0-unstable.d7f521b032",
16
- "@webiny/app-admin-rmwc": "0.0.0-unstable.d7f521b032",
17
- "@webiny/app-apw": "0.0.0-unstable.d7f521b032",
18
- "@webiny/app-file-manager": "0.0.0-unstable.d7f521b032",
19
- "@webiny/app-file-manager-s3": "0.0.0-unstable.d7f521b032",
20
- "@webiny/app-form-builder": "0.0.0-unstable.d7f521b032",
21
- "@webiny/app-graphql-playground": "0.0.0-unstable.d7f521b032",
22
- "@webiny/app-headless-cms": "0.0.0-unstable.d7f521b032",
23
- "@webiny/app-i18n": "0.0.0-unstable.d7f521b032",
24
- "@webiny/app-i18n-content": "0.0.0-unstable.d7f521b032",
25
- "@webiny/app-mailer": "0.0.0-unstable.d7f521b032",
26
- "@webiny/app-page-builder": "0.0.0-unstable.d7f521b032",
27
- "@webiny/app-security": "0.0.0-unstable.d7f521b032",
28
- "@webiny/app-security-access-management": "0.0.0-unstable.d7f521b032",
29
- "@webiny/app-tenancy": "0.0.0-unstable.d7f521b032",
30
- "@webiny/app-tenant-manager": "0.0.0-unstable.d7f521b032",
31
- "@webiny/plugins": "0.0.0-unstable.d7f521b032",
12
+ "@babel/runtime": "7.22.6",
13
+ "@emotion/react": "11.10.8",
14
+ "@webiny/app": "0.0.0-unstable.de38392959",
15
+ "@webiny/app-aco": "0.0.0-unstable.de38392959",
16
+ "@webiny/app-admin": "0.0.0-unstable.de38392959",
17
+ "@webiny/app-admin-rmwc": "0.0.0-unstable.de38392959",
18
+ "@webiny/app-apw": "0.0.0-unstable.de38392959",
19
+ "@webiny/app-audit-logs": "0.0.0-unstable.de38392959",
20
+ "@webiny/app-file-manager": "0.0.0-unstable.de38392959",
21
+ "@webiny/app-file-manager-s3": "0.0.0-unstable.de38392959",
22
+ "@webiny/app-form-builder": "0.0.0-unstable.de38392959",
23
+ "@webiny/app-graphql-playground": "0.0.0-unstable.de38392959",
24
+ "@webiny/app-headless-cms": "0.0.0-unstable.de38392959",
25
+ "@webiny/app-i18n": "0.0.0-unstable.de38392959",
26
+ "@webiny/app-i18n-content": "0.0.0-unstable.de38392959",
27
+ "@webiny/app-mailer": "0.0.0-unstable.de38392959",
28
+ "@webiny/app-page-builder": "0.0.0-unstable.de38392959",
29
+ "@webiny/app-security": "0.0.0-unstable.de38392959",
30
+ "@webiny/app-security-access-management": "0.0.0-unstable.de38392959",
31
+ "@webiny/app-tenancy": "0.0.0-unstable.de38392959",
32
+ "@webiny/app-tenant-manager": "0.0.0-unstable.de38392959",
33
+ "@webiny/lexical-editor-actions": "0.0.0-unstable.de38392959",
34
+ "@webiny/lexical-editor-pb-element": "0.0.0-unstable.de38392959",
35
+ "@webiny/plugins": "0.0.0-unstable.de38392959",
32
36
  "apollo-cache": "1.3.5",
33
37
  "apollo-client": "2.6.10",
34
38
  "apollo-link": "1.2.14",
@@ -38,17 +42,17 @@
38
42
  "react-dom": "17.0.2"
39
43
  },
40
44
  "devDependencies": {
41
- "@babel/cli": "^7.19.3",
42
- "@babel/core": "^7.19.3",
43
- "@babel/preset-env": "^7.19.4",
44
- "@babel/preset-react": "^7.0.0",
45
- "@babel/preset-typescript": "^7.18.6",
46
- "@webiny/cli": "^0.0.0-unstable.d7f521b032",
47
- "@webiny/project-utils": "^0.0.0-unstable.d7f521b032",
48
- "babel-plugin-emotion": "^9.2.8",
49
- "babel-plugin-named-asset-import": "^1.0.0-next.3e165448",
50
- "rimraf": "^3.0.2",
51
- "ttypescript": "^1.5.12",
45
+ "@babel/cli": "7.22.6",
46
+ "@babel/core": "7.22.8",
47
+ "@babel/preset-env": "7.22.7",
48
+ "@babel/preset-react": "7.22.5",
49
+ "@babel/preset-typescript": "7.22.5",
50
+ "@webiny/cli": "0.0.0-unstable.de38392959",
51
+ "@webiny/project-utils": "0.0.0-unstable.de38392959",
52
+ "babel-plugin-emotion": "9.2.11",
53
+ "babel-plugin-named-asset-import": "1.0.0-next.fb6e6f70",
54
+ "rimraf": "3.0.2",
55
+ "ttypescript": "1.5.15",
52
56
  "typescript": "4.7.4"
53
57
  },
54
58
  "publishConfig": {
@@ -64,5 +68,5 @@
64
68
  "removeViewBox": false
65
69
  }
66
70
  },
67
- "gitHead": "d7f521b0325964664dbeb6d2d07e2b6518e53841"
71
+ "gitHead": "de38392959f2692d1feb08945a3588cd80e4924c"
68
72
  }