@webiny/app-serverless-cms 5.40.0-beta.2 → 5.40.0-beta.3
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.js +4 -3
- package/Admin.js.map +1 -1
- package/apolloClientFactory.js +1 -2
- package/apolloClientFactory.js.map +1 -1
- package/apolloLinks.js +1 -2
- package/apolloLinks.js.map +1 -1
- package/index.js.map +1 -1
- package/package.json +38 -36
package/Admin.js
CHANGED
|
@@ -32,6 +32,8 @@ var _lexicalEditorPbElement = require("@webiny/lexical-editor-pb-element");
|
|
|
32
32
|
var _lexicalEditorActions = require("@webiny/lexical-editor-actions");
|
|
33
33
|
var _appMailer = require("@webiny/app-mailer");
|
|
34
34
|
var _appAco = require("@webiny/app-aco");
|
|
35
|
+
var _appWebsockets = require("@webiny/app-websockets");
|
|
36
|
+
var _appRecordLocking = require("@webiny/app-record-locking");
|
|
35
37
|
var App = function App(props) {
|
|
36
38
|
var createApolloClient = props.createApolloClient || _apolloClientFactory.createApolloClient;
|
|
37
39
|
var ViewCompositionProvider = (0, _ViewCompositionProvider.createViewCompositionProvider)();
|
|
@@ -42,11 +44,10 @@ var App = function App(props) {
|
|
|
42
44
|
createApolloClient: createApolloClient
|
|
43
45
|
}), /*#__PURE__*/_react.default.createElement(_appI18n.I18N, null), /*#__PURE__*/_react.default.createElement(_appI18nContent.I18NContent, null), /*#__PURE__*/_react.default.createElement(_appAdmin.Provider, {
|
|
44
46
|
hoc: ViewCompositionProvider
|
|
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, {
|
|
47
|
+
}), /*#__PURE__*/_react.default.createElement(_appWebsockets.Websockets, null), /*#__PURE__*/_react.default.createElement(_appRecordLocking.RecordLocking, null), /*#__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, {
|
|
46
48
|
createApolloClient: createApolloClient
|
|
47
49
|
}), /*#__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);
|
|
48
50
|
};
|
|
49
|
-
var Admin = /*#__PURE__*/(0, _react.memo)(App);
|
|
50
|
-
exports.Admin = Admin;
|
|
51
|
+
var Admin = exports.Admin = /*#__PURE__*/(0, _react.memo)(App);
|
|
51
52
|
|
|
52
53
|
//# sourceMappingURL=Admin.js.map
|
package/Admin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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","
|
|
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","_appWebsockets","_appRecordLocking","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","Websockets","RecordLocking","PageBuilder","LexicalEditorPlugin","LexicalEditorActions","FormBuilder","HeadlessCMS","AdvancedPublishingWorkflow","TenantManager","AuditLogs","Module","children","exports","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/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\";\nimport { Websockets } from \"@webiny/app-websockets\";\nimport { RecordLocking } from \"@webiny/app-record-locking\";\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 <Websockets />\n <RecordLocking />\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,MA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a,MAAE,CAAC,eACjB1D,MAAA,CAAA0C,OAAA,CAAAC,aAAA,CAAClC,eAAA,CAAAkD,WAAW,MAAE,CAAC,eACf3D,MAAA,CAAA0C,OAAA,CAAAC,aAAA,CAAClB,uBAAA,CAAAmC,mBAAmB,MAAE,CAAC,eACvB5D,MAAA,CAAA0C,OAAA,CAAAC,aAAA,CAACjB,qBAAA,CAAAmC,oBAAoB,MAAE,CAAC,eACxB7D,MAAA,CAAA0C,OAAA,CAAAC,aAAA,CAACjC,eAAA,CAAAoD,WAAW,MAAE,CAAC,eACf9D,MAAA,CAAA0C,OAAA,CAAAC,aAAA,CAAChC,eAAA,CAAAoD,WAAW;IAAC9B,kBAAkB,EAAEA;EAAmB,CAAE,CAAC,eACvDjC,MAAA,CAAA0C,OAAA,CAAAC,aAAA,CAACrB,OAAA,CAAA0C,0BAA0B,MAAE,CAAC,eAC9BhE,MAAA,CAAA0C,OAAA,CAAAC,aAAA,CAACpB,iBAAA,CAAA0C,aAAa,MAAE,CAAC,eACjBjE,MAAA,CAAA0C,OAAA,CAAAC,aAAA,CAACnB,aAAA,CAAA0C,SAAS,MAAE,CAAC,eACblE,MAAA,CAAA0C,OAAA,CAAAC,aAAA,CAAChB,UAAA,CAAAwC,MAAc,MAAE,CAAC,EACjBnC,KAAK,CAACoC,QACA,CAAC;AAEpB,CAAC;AAEM,IAAMxB,KAAK,GAAAyB,OAAA,CAAAzB,KAAA,gBAAG,IAAA0B,WAAI,EAAavC,GAAG,CAAC","ignoreList":[]}
|
package/apolloClientFactory.js
CHANGED
|
@@ -14,7 +14,7 @@ var _plugins = require("@webiny/plugins");
|
|
|
14
14
|
var _ApolloDynamicLink = require("@webiny/app/plugins/ApolloDynamicLink");
|
|
15
15
|
var _ApolloCacheObjectIdPlugin = require("@webiny/app/plugins/ApolloCacheObjectIdPlugin");
|
|
16
16
|
var _IntrospectionFragmentMatcher = require("@webiny/app/apollo-client/IntrospectionFragmentMatcher");
|
|
17
|
-
var createApolloClient = function createApolloClient(_ref) {
|
|
17
|
+
var createApolloClient = exports.createApolloClient = function createApolloClient(_ref) {
|
|
18
18
|
var uri = _ref.uri,
|
|
19
19
|
batching = _ref.batching;
|
|
20
20
|
var fragmentMatcher = new _IntrospectionFragmentMatcher.IntrospectionFragmentMatcher({
|
|
@@ -62,6 +62,5 @@ var createApolloClient = function createApolloClient(_ref) {
|
|
|
62
62
|
})
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
|
-
exports.createApolloClient = createApolloClient;
|
|
66
65
|
|
|
67
66
|
//# sourceMappingURL=apolloClientFactory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_apolloClient","_interopRequireDefault","require","_apolloLink","_apolloLinkBatchHttp","_InMemoryCache","_plugins","_ApolloDynamicLink","_ApolloCacheObjectIdPlugin","_IntrospectionFragmentMatcher","createApolloClient","_ref","uri","batching","fragmentMatcher","IntrospectionFragmentMatcher","introspectionQueryResultData","__schema","types","ApolloClient","link","ApolloLink","from","ApolloDynamicLink","BatchHttpLink","_objectSpread2","default","credentials","cache","InMemoryCache","addTypename","dataIdFromObject","obj","getters","plugins","byType","ApolloCacheObjectIdPlugin","type","i","length","id","getObjectId"
|
|
1
|
+
{"version":3,"names":["_apolloClient","_interopRequireDefault","require","_apolloLink","_apolloLinkBatchHttp","_InMemoryCache","_plugins","_ApolloDynamicLink","_ApolloCacheObjectIdPlugin","_IntrospectionFragmentMatcher","createApolloClient","exports","_ref","uri","batching","fragmentMatcher","IntrospectionFragmentMatcher","introspectionQueryResultData","__schema","types","ApolloClient","link","ApolloLink","from","ApolloDynamicLink","BatchHttpLink","_objectSpread2","default","credentials","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\";\nimport { IntrospectionFragmentMatcher } from \"@webiny/app/apollo-client/IntrospectionFragmentMatcher\";\n\nexport interface CreateApolloClientParams {\n uri: string;\n batching?: Pick<BatchHttpLink.Options, \"batchMax\" | \"batchInterval\" | \"batchKey\">;\n}\n\nexport const createApolloClient = ({ uri, batching }: CreateApolloClientParams) => {\n const fragmentMatcher = new IntrospectionFragmentMatcher({\n introspectionQueryResultData: {\n __schema: {\n types: []\n }\n }\n });\n\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 fragmentMatcher,\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,OAA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AC;AACN,CAAC","ignoreList":[]}
|
package/apolloLinks.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var _ConsoleLinkPlugin = require("@webiny/app/plugins/ConsoleLinkPlugin");
|
|
8
8
|
var _NetworkErrorLinkPlugin = require("@webiny/app/plugins/NetworkErrorLinkPlugin");
|
|
9
9
|
var _OmitTypenameLinkPlugin = require("@webiny/app/plugins/OmitTypenameLinkPlugin");
|
|
10
|
-
var _default = [
|
|
10
|
+
var _default = exports.default = [
|
|
11
11
|
/**
|
|
12
12
|
* This link removes `__typename` from the variables being sent to the API.
|
|
13
13
|
*/
|
|
@@ -20,6 +20,5 @@ 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;
|
|
24
23
|
|
|
25
24
|
//# sourceMappingURL=apolloLinks.js.map
|
package/apolloLinks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_ConsoleLinkPlugin","require","_NetworkErrorLinkPlugin","_OmitTypenameLinkPlugin","_default","
|
|
1
|
+
{"version":3,"names":["_ConsoleLinkPlugin","require","_NetworkErrorLinkPlugin","_OmitTypenameLinkPlugin","_default","exports","default","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,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AACA,IAAAE,uBAAA,GAAAF,OAAA;AAAoF,IAAAG,QAAA,GAAAC,OAAA,CAAAC,OAAA,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","ignoreList":[]}
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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 makeDecoratable,\n createComponentPlugin,\n createProviderPlugin,\n createDecorator,\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 Decorator,\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;AA+DA,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"}
|
|
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 makeDecoratable,\n createComponentPlugin,\n createProviderPlugin,\n createDecorator,\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 Decorator,\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;AA+DA,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","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-serverless-cms",
|
|
3
|
-
"version": "5.40.0-beta.
|
|
3
|
+
"version": "5.40.0-beta.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,49 +9,51 @@
|
|
|
9
9
|
"author": "Webiny Ltd.",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@babel/runtime": "7.
|
|
12
|
+
"@babel/runtime": "7.24.1",
|
|
13
13
|
"@emotion/react": "11.10.8",
|
|
14
|
-
"@webiny/app": "5.40.0-beta.
|
|
15
|
-
"@webiny/app-aco": "5.40.0-beta.
|
|
16
|
-
"@webiny/app-admin": "5.40.0-beta.
|
|
17
|
-
"@webiny/app-admin-rmwc": "5.40.0-beta.
|
|
18
|
-
"@webiny/app-apw": "5.40.0-beta.
|
|
19
|
-
"@webiny/app-audit-logs": "5.40.0-beta.
|
|
20
|
-
"@webiny/app-file-manager": "5.40.0-beta.
|
|
21
|
-
"@webiny/app-file-manager-s3": "5.40.0-beta.
|
|
22
|
-
"@webiny/app-form-builder": "5.40.0-beta.
|
|
23
|
-
"@webiny/app-graphql-playground": "5.40.0-beta.
|
|
24
|
-
"@webiny/app-headless-cms": "5.40.0-beta.
|
|
25
|
-
"@webiny/app-i18n": "5.40.0-beta.
|
|
26
|
-
"@webiny/app-i18n-content": "5.40.0-beta.
|
|
27
|
-
"@webiny/app-mailer": "5.40.0-beta.
|
|
28
|
-
"@webiny/app-page-builder": "5.40.0-beta.
|
|
29
|
-
"@webiny/app-
|
|
30
|
-
"@webiny/app-security
|
|
31
|
-
"@webiny/app-
|
|
32
|
-
"@webiny/app-
|
|
33
|
-
"@webiny/
|
|
34
|
-
"@webiny/
|
|
35
|
-
"@webiny/
|
|
14
|
+
"@webiny/app": "5.40.0-beta.3",
|
|
15
|
+
"@webiny/app-aco": "5.40.0-beta.3",
|
|
16
|
+
"@webiny/app-admin": "5.40.0-beta.3",
|
|
17
|
+
"@webiny/app-admin-rmwc": "5.40.0-beta.3",
|
|
18
|
+
"@webiny/app-apw": "5.40.0-beta.3",
|
|
19
|
+
"@webiny/app-audit-logs": "5.40.0-beta.3",
|
|
20
|
+
"@webiny/app-file-manager": "5.40.0-beta.3",
|
|
21
|
+
"@webiny/app-file-manager-s3": "5.40.0-beta.3",
|
|
22
|
+
"@webiny/app-form-builder": "5.40.0-beta.3",
|
|
23
|
+
"@webiny/app-graphql-playground": "5.40.0-beta.3",
|
|
24
|
+
"@webiny/app-headless-cms": "5.40.0-beta.3",
|
|
25
|
+
"@webiny/app-i18n": "5.40.0-beta.3",
|
|
26
|
+
"@webiny/app-i18n-content": "5.40.0-beta.3",
|
|
27
|
+
"@webiny/app-mailer": "5.40.0-beta.3",
|
|
28
|
+
"@webiny/app-page-builder": "5.40.0-beta.3",
|
|
29
|
+
"@webiny/app-record-locking": "5.40.0-beta.3",
|
|
30
|
+
"@webiny/app-security": "5.40.0-beta.3",
|
|
31
|
+
"@webiny/app-security-access-management": "5.40.0-beta.3",
|
|
32
|
+
"@webiny/app-tenancy": "5.40.0-beta.3",
|
|
33
|
+
"@webiny/app-tenant-manager": "5.40.0-beta.3",
|
|
34
|
+
"@webiny/app-websockets": "5.40.0-beta.3",
|
|
35
|
+
"@webiny/lexical-editor-actions": "5.40.0-beta.3",
|
|
36
|
+
"@webiny/lexical-editor-pb-element": "5.40.0-beta.3",
|
|
37
|
+
"@webiny/plugins": "5.40.0-beta.3",
|
|
36
38
|
"apollo-cache": "1.3.5",
|
|
37
39
|
"apollo-client": "2.6.10",
|
|
38
40
|
"apollo-link": "1.2.14",
|
|
39
41
|
"apollo-link-batch-http": "1.2.14",
|
|
40
42
|
"apollo-utilities": "1.3.4",
|
|
41
|
-
"react": "
|
|
42
|
-
"react-dom": "
|
|
43
|
+
"react": "18.2.0",
|
|
44
|
+
"react-dom": "18.2.0"
|
|
43
45
|
},
|
|
44
46
|
"devDependencies": {
|
|
45
|
-
"@babel/cli": "7.
|
|
46
|
-
"@babel/core": "7.
|
|
47
|
-
"@babel/preset-env": "7.
|
|
48
|
-
"@babel/preset-react": "7.
|
|
49
|
-
"@babel/preset-typescript": "7.
|
|
50
|
-
"@
|
|
51
|
-
"@webiny/
|
|
52
|
-
"
|
|
47
|
+
"@babel/cli": "7.24.1",
|
|
48
|
+
"@babel/core": "7.24.3",
|
|
49
|
+
"@babel/preset-env": "7.24.3",
|
|
50
|
+
"@babel/preset-react": "7.24.1",
|
|
51
|
+
"@babel/preset-typescript": "7.24.1",
|
|
52
|
+
"@emotion/babel-plugin": "11.11.0",
|
|
53
|
+
"@webiny/cli": "5.40.0-beta.3",
|
|
54
|
+
"@webiny/project-utils": "5.40.0-beta.3",
|
|
53
55
|
"babel-plugin-named-asset-import": "1.0.0-next.fb6e6f70",
|
|
54
|
-
"rimraf": "
|
|
56
|
+
"rimraf": "5.0.5",
|
|
55
57
|
"ttypescript": "1.5.15",
|
|
56
58
|
"typescript": "4.7.4"
|
|
57
59
|
},
|
|
@@ -68,5 +70,5 @@
|
|
|
68
70
|
"removeViewBox": false
|
|
69
71
|
}
|
|
70
72
|
},
|
|
71
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "638d8b84063906cd1aa979ed6e0487ad26fbcf2f"
|
|
72
74
|
}
|