@webiny/app-serverless-cms 0.0.0-unstable.1e66d121db → 0.0.0-unstable.2696f9d9e8
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 +1 -0
- package/Admin.js +13 -35
- package/Admin.js.map +1 -1
- package/apolloClientFactory.d.ts +4 -3
- package/apolloClientFactory.js +11 -18
- package/apolloClientFactory.js.map +1 -1
- package/apolloLinks.d.ts +1 -1
- package/apolloLinks.js +3 -5
- package/apolloLinks.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +91 -7
- package/index.js.map +1 -1
- package/package.json +37 -32
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
|
@@ -1,74 +1,52 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
4
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
|
-
|
|
7
5
|
Object.defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
8
|
exports.Admin = void 0;
|
|
11
|
-
|
|
12
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
|
-
|
|
14
10
|
var _plugins = require("@webiny/plugins");
|
|
15
|
-
|
|
16
11
|
var _appAdmin = require("@webiny/app-admin");
|
|
17
|
-
|
|
18
12
|
var _appTenancy = require("@webiny/app-tenancy");
|
|
19
|
-
|
|
20
13
|
var _appSecurity = require("@webiny/app-security");
|
|
21
|
-
|
|
22
14
|
var _appI18n = require("@webiny/app-i18n");
|
|
23
|
-
|
|
24
15
|
var _appI18nContent = require("@webiny/app-i18n-content");
|
|
25
|
-
|
|
26
16
|
var _appPageBuilder = require("@webiny/app-page-builder");
|
|
27
|
-
|
|
28
17
|
var _appFormBuilder = require("@webiny/app-form-builder");
|
|
29
|
-
|
|
30
18
|
var _appHeadlessCms = require("@webiny/app-headless-cms");
|
|
31
|
-
|
|
32
19
|
var _appAdminRmwc = require("@webiny/app-admin-rmwc");
|
|
33
|
-
|
|
34
|
-
var _appFileManager = require("@webiny/app-file-manager");
|
|
35
|
-
|
|
20
|
+
var _app = require("@webiny/app-file-manager/app");
|
|
36
21
|
var _appGraphqlPlayground = require("@webiny/app-graphql-playground");
|
|
37
|
-
|
|
38
22
|
var _appSecurityAccessManagement = require("@webiny/app-security-access-management");
|
|
39
|
-
|
|
40
23
|
var _plugins2 = require("@webiny/app/plugins");
|
|
41
|
-
|
|
42
|
-
var _plugins3 = _interopRequireDefault(require("@webiny/app-file-manager/admin/plugins"));
|
|
43
|
-
|
|
44
24
|
var _appFileManagerS = _interopRequireDefault(require("@webiny/app-file-manager-s3"));
|
|
45
|
-
|
|
46
25
|
var _apolloClientFactory = require("./apolloClientFactory");
|
|
47
|
-
|
|
48
26
|
var _apolloLinks = _interopRequireDefault(require("./apolloLinks"));
|
|
49
|
-
|
|
50
27
|
var _ViewCompositionProvider = require("@webiny/app-admin/base/providers/ViewCompositionProvider");
|
|
51
|
-
|
|
52
28
|
var _appApw = require("@webiny/app-apw");
|
|
53
|
-
|
|
54
29
|
var _appTenantManager = require("@webiny/app-tenant-manager");
|
|
55
|
-
|
|
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");
|
|
33
|
+
var _appMailer = require("@webiny/app-mailer");
|
|
34
|
+
var _appAco = require("@webiny/app-aco");
|
|
56
35
|
var App = function App(props) {
|
|
57
36
|
var createApolloClient = props.createApolloClient || _apolloClientFactory.createApolloClient;
|
|
58
37
|
var ViewCompositionProvider = (0, _ViewCompositionProvider.createViewCompositionProvider)();
|
|
59
|
-
|
|
60
|
-
_plugins.plugins.register((0, _plugins2.imagePlugin)(), (0, _plugins3.default)(), (0, _appFileManagerS.default)(), _apolloLinks.default);
|
|
61
|
-
|
|
38
|
+
_plugins.plugins.register((0, _plugins2.imagePlugin)(), (0, _appFileManagerS.default)(), _apolloLinks.default);
|
|
62
39
|
return /*#__PURE__*/_react.default.createElement(_appAdmin.Admin, {
|
|
63
40
|
createApolloClient: createApolloClient
|
|
64
|
-
}, /*#__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(
|
|
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, {
|
|
65
42
|
createApolloClient: createApolloClient
|
|
66
43
|
}), /*#__PURE__*/_react.default.createElement(_appI18n.I18N, null), /*#__PURE__*/_react.default.createElement(_appI18nContent.I18NContent, null), /*#__PURE__*/_react.default.createElement(_appAdmin.Provider, {
|
|
67
44
|
hoc: ViewCompositionProvider
|
|
68
|
-
}), /*#__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, {
|
|
69
46
|
createApolloClient: createApolloClient
|
|
70
|
-
}), /*#__PURE__*/_react.default.createElement(_appApw.AdvancedPublishingWorkflow, null), /*#__PURE__*/_react.default.createElement(_appTenantManager.TenantManager, 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);
|
|
71
48
|
};
|
|
72
|
-
|
|
73
49
|
var Admin = /*#__PURE__*/(0, _react.memo)(App);
|
|
74
|
-
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","
|
|
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":"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"}
|
package/apolloClientFactory.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import ApolloClient from "apollo-client";
|
|
2
|
-
|
|
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>;
|
package/apolloClientFactory.js
CHANGED
|
@@ -1,28 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.createApolloClient = void 0;
|
|
9
|
-
|
|
8
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
10
9
|
var _apolloClient = _interopRequireDefault(require("apollo-client"));
|
|
11
|
-
|
|
12
10
|
var _apolloLink = require("apollo-link");
|
|
13
|
-
|
|
14
11
|
var _apolloLinkBatchHttp = require("apollo-link-batch-http");
|
|
15
|
-
|
|
16
12
|
var _InMemoryCache = require("@webiny/app/apollo-client/InMemoryCache");
|
|
17
|
-
|
|
18
13
|
var _plugins = require("@webiny/plugins");
|
|
19
|
-
|
|
20
14
|
var _ApolloDynamicLink = require("@webiny/app/plugins/ApolloDynamicLink");
|
|
21
|
-
|
|
22
15
|
var _ApolloCacheObjectIdPlugin = require("@webiny/app/plugins/ApolloCacheObjectIdPlugin");
|
|
23
|
-
|
|
24
16
|
var createApolloClient = function createApolloClient(_ref) {
|
|
25
|
-
var uri = _ref.uri
|
|
17
|
+
var uri = _ref.uri,
|
|
18
|
+
batching = _ref.batching;
|
|
26
19
|
return new _apolloClient.default({
|
|
27
20
|
link: _apolloLink.ApolloLink.from([
|
|
28
21
|
/**
|
|
@@ -31,10 +24,12 @@ var createApolloClient = function createApolloClient(_ref) {
|
|
|
31
24
|
new _ApolloDynamicLink.ApolloDynamicLink(),
|
|
32
25
|
/**
|
|
33
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.
|
|
34
28
|
*/
|
|
35
|
-
new _apolloLinkBatchHttp.BatchHttpLink({
|
|
36
|
-
uri: uri
|
|
37
|
-
|
|
29
|
+
new _apolloLinkBatchHttp.BatchHttpLink((0, _objectSpread2.default)({
|
|
30
|
+
uri: uri,
|
|
31
|
+
credentials: "include"
|
|
32
|
+
}, batching))]),
|
|
38
33
|
cache: new _InMemoryCache.InMemoryCache({
|
|
39
34
|
addTypename: true,
|
|
40
35
|
dataIdFromObject: function dataIdFromObject(obj) {
|
|
@@ -43,23 +38,21 @@ var createApolloClient = function createApolloClient(_ref) {
|
|
|
43
38
|
* we cannot rely on having an `id` field.
|
|
44
39
|
*/
|
|
45
40
|
var getters = _plugins.plugins.byType(_ApolloCacheObjectIdPlugin.ApolloCacheObjectIdPlugin.type);
|
|
46
|
-
|
|
47
41
|
for (var i = 0; i < getters.length; i++) {
|
|
48
42
|
var id = getters[i].getObjectId(obj);
|
|
49
|
-
|
|
50
43
|
if (typeof id !== "undefined") {
|
|
51
44
|
return id;
|
|
52
45
|
}
|
|
53
46
|
}
|
|
47
|
+
|
|
54
48
|
/**
|
|
55
49
|
* As a fallback, try getting object's `id`.
|
|
56
50
|
*/
|
|
57
|
-
|
|
58
|
-
|
|
59
51
|
return obj.id || null;
|
|
60
52
|
}
|
|
61
53
|
})
|
|
62
54
|
});
|
|
63
55
|
};
|
|
56
|
+
exports.createApolloClient = createApolloClient;
|
|
64
57
|
|
|
65
|
-
|
|
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\
|
|
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.id || null;\n }\n })\n });\n};\n"],"mappings":";;;;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,oBAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,0BAAA,GAAAN,OAAA;AAMO,IAAMO,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAAC,IAAA,EAAoD;EAAA,IAA9CC,GAAG,GAAAD,IAAA,CAAHC,GAAG;IAAEC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;EAC9C,OAAO,IAAIC,qBAAY,CAAC;IACpBC,IAAI,EAAEC,sBAAU,CAACC,IAAI,CAAC;IAClB;AACZ;AACA;IACY,IAAIC,oCAAiB,CAAC,CAAC;IACvB;AACZ;AACA;AACA;IACY,IAAIC,kCAAa,KAAAC,cAAA,CAAAC,OAAA;MAAGT,GAAG,EAAHA,GAAG;MAAEU,WAAW,EAAE;IAAS,GAAKT,QAAQ,CAAE,CAAC,CAClE,CAAC;IACFU,KAAK,EAAE,IAAIC,4BAAa,CAAC;MACrBC,WAAW,EAAE,IAAI;MACjBC,gBAAgB,EAAE,SAAAA,iBAAAC,GAAG,EAAI;QACrB;AAChB;AACA;AACA;QACgB,IAAMC,OAAO,GAAGC,gBAAO,CAACC,MAAM,CAC1BC,oDAAyB,CAACC,IAC9B,CAAC;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;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: (
|
|
4
|
+
declare const _default: (ConsoleLinkPlugin | NetworkErrorLinkPlugin | OmitTypenameLinkPlugin)[];
|
|
5
5
|
export default _default;
|
package/apolloLinks.js
CHANGED
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _ConsoleLinkPlugin = require("@webiny/app/plugins/ConsoleLinkPlugin");
|
|
9
|
-
|
|
10
8
|
var _NetworkErrorLinkPlugin = require("@webiny/app/plugins/NetworkErrorLinkPlugin");
|
|
11
|
-
|
|
12
9
|
var _OmitTypenameLinkPlugin = require("@webiny/app/plugins/OmitTypenameLinkPlugin");
|
|
13
|
-
|
|
14
10
|
var _default = [
|
|
15
11
|
/**
|
|
16
12
|
* This link removes `__typename` from the variables being sent to the API.
|
|
@@ -24,4 +20,6 @@ new _ConsoleLinkPlugin.ConsoleLinkPlugin(),
|
|
|
24
20
|
* This plugin creates an ApolloLink that checks for `NetworkError` and shows an ErrorOverlay in the browser.
|
|
25
21
|
*/
|
|
26
22
|
new _NetworkErrorLinkPlugin.NetworkErrorLinkPlugin()];
|
|
27
|
-
exports.default = _default;
|
|
23
|
+
exports.default = _default;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=apolloLinks.js.map
|
package/apolloLinks.js.map
CHANGED
|
@@ -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":"
|
|
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 {
|
|
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() {
|
|
@@ -147,6 +204,12 @@ Object.defineProperty(exports, "NavigationRenderer", {
|
|
|
147
204
|
return _appAdmin.NavigationRenderer;
|
|
148
205
|
}
|
|
149
206
|
});
|
|
207
|
+
Object.defineProperty(exports, "Plugin", {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function get() {
|
|
210
|
+
return _appAdmin.Plugin;
|
|
211
|
+
}
|
|
212
|
+
});
|
|
150
213
|
Object.defineProperty(exports, "Plugins", {
|
|
151
214
|
enumerable: true,
|
|
152
215
|
get: function get() {
|
|
@@ -207,6 +270,12 @@ Object.defineProperty(exports, "createComponentPlugin", {
|
|
|
207
270
|
return _appAdmin.createComponentPlugin;
|
|
208
271
|
}
|
|
209
272
|
});
|
|
273
|
+
Object.defineProperty(exports, "createProvider", {
|
|
274
|
+
enumerable: true,
|
|
275
|
+
get: function get() {
|
|
276
|
+
return _appAdmin.createProvider;
|
|
277
|
+
}
|
|
278
|
+
});
|
|
210
279
|
Object.defineProperty(exports, "createProviderPlugin", {
|
|
211
280
|
enumerable: true,
|
|
212
281
|
get: function get() {
|
|
@@ -219,10 +288,10 @@ Object.defineProperty(exports, "makeComposable", {
|
|
|
219
288
|
return _appAdmin.makeComposable;
|
|
220
289
|
}
|
|
221
290
|
});
|
|
222
|
-
Object.defineProperty(exports, "
|
|
291
|
+
Object.defineProperty(exports, "useApp", {
|
|
223
292
|
enumerable: true,
|
|
224
293
|
get: function get() {
|
|
225
|
-
return _appAdmin.
|
|
294
|
+
return _appAdmin.useApp;
|
|
226
295
|
}
|
|
227
296
|
});
|
|
228
297
|
Object.defineProperty(exports, "useMenuItem", {
|
|
@@ -273,13 +342,28 @@ Object.defineProperty(exports, "useUserMenuItem", {
|
|
|
273
342
|
return _appAdmin.useUserMenuItem;
|
|
274
343
|
}
|
|
275
344
|
});
|
|
276
|
-
|
|
345
|
+
Object.defineProperty(exports, "useWcp", {
|
|
346
|
+
enumerable: true,
|
|
347
|
+
get: function get() {
|
|
348
|
+
return _appAdmin.useWcp;
|
|
349
|
+
}
|
|
350
|
+
});
|
|
277
351
|
var _Admin = require("./Admin");
|
|
278
|
-
|
|
279
352
|
var _appAdmin = require("@webiny/app-admin");
|
|
280
|
-
|
|
281
353
|
var _appSecurity = require("@webiny/app-security");
|
|
282
|
-
|
|
283
354
|
var _appTenancy = require("@webiny/app-tenancy");
|
|
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
|
+
});
|
|
284
368
|
|
|
285
|
-
|
|
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
|
|
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.
|
|
3
|
+
"version": "0.0.0-unstable.2696f9d9e8",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,25 +9,30 @@
|
|
|
9
9
|
"author": "Webiny Ltd.",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@babel/runtime": "7.
|
|
13
|
-
"@emotion/
|
|
14
|
-
"@webiny/app": "0.0.0-unstable.
|
|
15
|
-
"@webiny/app-
|
|
16
|
-
"@webiny/app-admin
|
|
17
|
-
"@webiny/app-
|
|
18
|
-
"@webiny/app-
|
|
19
|
-
"@webiny/app-
|
|
20
|
-
"@webiny/app-
|
|
21
|
-
"@webiny/app-
|
|
22
|
-
"@webiny/app-
|
|
23
|
-
"@webiny/app-
|
|
24
|
-
"@webiny/app-
|
|
25
|
-
"@webiny/app-
|
|
26
|
-
"@webiny/app-
|
|
27
|
-
"@webiny/app-
|
|
28
|
-
"@webiny/app-
|
|
29
|
-
"@webiny/app-
|
|
30
|
-
"@webiny/
|
|
12
|
+
"@babel/runtime": "7.22.6",
|
|
13
|
+
"@emotion/react": "11.10.8",
|
|
14
|
+
"@webiny/app": "0.0.0-unstable.2696f9d9e8",
|
|
15
|
+
"@webiny/app-aco": "0.0.0-unstable.2696f9d9e8",
|
|
16
|
+
"@webiny/app-admin": "0.0.0-unstable.2696f9d9e8",
|
|
17
|
+
"@webiny/app-admin-rmwc": "0.0.0-unstable.2696f9d9e8",
|
|
18
|
+
"@webiny/app-apw": "0.0.0-unstable.2696f9d9e8",
|
|
19
|
+
"@webiny/app-audit-logs": "0.0.0-unstable.2696f9d9e8",
|
|
20
|
+
"@webiny/app-file-manager": "0.0.0-unstable.2696f9d9e8",
|
|
21
|
+
"@webiny/app-file-manager-s3": "0.0.0-unstable.2696f9d9e8",
|
|
22
|
+
"@webiny/app-form-builder": "0.0.0-unstable.2696f9d9e8",
|
|
23
|
+
"@webiny/app-graphql-playground": "0.0.0-unstable.2696f9d9e8",
|
|
24
|
+
"@webiny/app-headless-cms": "0.0.0-unstable.2696f9d9e8",
|
|
25
|
+
"@webiny/app-i18n": "0.0.0-unstable.2696f9d9e8",
|
|
26
|
+
"@webiny/app-i18n-content": "0.0.0-unstable.2696f9d9e8",
|
|
27
|
+
"@webiny/app-mailer": "0.0.0-unstable.2696f9d9e8",
|
|
28
|
+
"@webiny/app-page-builder": "0.0.0-unstable.2696f9d9e8",
|
|
29
|
+
"@webiny/app-security": "0.0.0-unstable.2696f9d9e8",
|
|
30
|
+
"@webiny/app-security-access-management": "0.0.0-unstable.2696f9d9e8",
|
|
31
|
+
"@webiny/app-tenancy": "0.0.0-unstable.2696f9d9e8",
|
|
32
|
+
"@webiny/app-tenant-manager": "0.0.0-unstable.2696f9d9e8",
|
|
33
|
+
"@webiny/lexical-editor-actions": "0.0.0-unstable.2696f9d9e8",
|
|
34
|
+
"@webiny/lexical-editor-pb-element": "0.0.0-unstable.2696f9d9e8",
|
|
35
|
+
"@webiny/plugins": "0.0.0-unstable.2696f9d9e8",
|
|
31
36
|
"apollo-cache": "1.3.5",
|
|
32
37
|
"apollo-client": "2.6.10",
|
|
33
38
|
"apollo-link": "1.2.14",
|
|
@@ -37,17 +42,17 @@
|
|
|
37
42
|
"react-dom": "17.0.2"
|
|
38
43
|
},
|
|
39
44
|
"devDependencies": {
|
|
40
|
-
"@babel/cli": "
|
|
41
|
-
"@babel/core": "
|
|
42
|
-
"@babel/preset-env": "
|
|
43
|
-
"@babel/preset-react": "
|
|
44
|
-
"@babel/preset-typescript": "
|
|
45
|
-
"@webiny/cli": "
|
|
46
|
-
"@webiny/project-utils": "
|
|
47
|
-
"babel-plugin-emotion": "
|
|
48
|
-
"babel-plugin-named-asset-import": "
|
|
49
|
-
"rimraf": "
|
|
50
|
-
"ttypescript": "
|
|
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.2696f9d9e8",
|
|
51
|
+
"@webiny/project-utils": "0.0.0-unstable.2696f9d9e8",
|
|
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",
|
|
51
56
|
"typescript": "4.7.4"
|
|
52
57
|
},
|
|
53
58
|
"publishConfig": {
|
|
@@ -63,5 +68,5 @@
|
|
|
63
68
|
"removeViewBox": false
|
|
64
69
|
}
|
|
65
70
|
},
|
|
66
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "2696f9d9e84ad621e1412a05e1252b5ca9c245fb"
|
|
67
72
|
}
|