@webiny/app-serverless-cms 0.0.0-unstable.8acc9e8892 → 0.0.0-unstable.8feaff8c32
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 +2 -2
- package/Admin.js.map +1 -1
- package/apolloClientFactory.js.map +1 -1
- package/apolloLinks.d.ts +1 -1
- package/apolloLinks.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +12 -0
- package/index.js.map +1 -1
- package/package.json +36 -36
package/Admin.js
CHANGED
|
@@ -37,13 +37,13 @@ var App = function App(props) {
|
|
|
37
37
|
_plugins.plugins.register((0, _plugins2.imagePlugin)(), (0, _appFileManagerS.default)(), _apolloLinks.default);
|
|
38
38
|
return /*#__PURE__*/_react.default.createElement(_appAdmin.Admin, {
|
|
39
39
|
createApolloClient: createApolloClient
|
|
40
|
-
}, /*#__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(_app.FileManager, null), /*#__PURE__*/_react.default.createElement(_appGraphqlPlayground.GraphQLPlayground, {
|
|
40
|
+
}, /*#__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, {
|
|
41
41
|
createApolloClient: createApolloClient
|
|
42
42
|
}), /*#__PURE__*/_react.default.createElement(_appI18n.I18N, null), /*#__PURE__*/_react.default.createElement(_appI18nContent.I18NContent, null), /*#__PURE__*/_react.default.createElement(_appAdmin.Provider, {
|
|
43
43
|
hoc: ViewCompositionProvider
|
|
44
44
|
}), /*#__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, {
|
|
45
45
|
createApolloClient: createApolloClient
|
|
46
|
-
}), /*#__PURE__*/_react.default.createElement(_appApw.AdvancedPublishingWorkflow, null), /*#__PURE__*/_react.default.createElement(_appTenantManager.TenantManager, null), /*#__PURE__*/_react.default.createElement(_appMailer.Module, null),
|
|
46
|
+
}), /*#__PURE__*/_react.default.createElement(_appApw.AdvancedPublishingWorkflow, null), /*#__PURE__*/_react.default.createElement(_appTenantManager.TenantManager, null), /*#__PURE__*/_react.default.createElement(_appMailer.Module, null), props.children);
|
|
47
47
|
};
|
|
48
48
|
var Admin = /*#__PURE__*/(0, _react.memo)(App);
|
|
49
49
|
exports.Admin = Admin;
|
package/Admin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["App","props","createApolloClient","defaultApolloClientFactory","ViewCompositionProvider","createViewCompositionProvider","plugins","register","imagePlugin","fileStorageS3Plugin","apolloLinks","
|
|
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","_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","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 { 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}\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 <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,IAAAa,4BAAA,GAAAb,OAAA;AACA,IAAAc,SAAA,GAAAd,OAAA;AACA,IAAAe,gBAAA,GAAAC,sBAAA,CAAAhB,OAAA;AACA,IAAAiB,oBAAA,GAAAjB,OAAA;AACA,IAA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AAvB,KAAA,GAAAA,KAAA"}
|
|
@@ -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,
|
|
1
|
+
{"version":3,"names":["_apolloClient","_interopRequireDefault","require","_apolloLink","_apolloLinkBatchHttp","_InMemoryCache","_plugins","_ApolloDynamicLink","_ApolloCacheObjectIdPlugin","createApolloClient","_ref","uri","ApolloClient","link","ApolloLink","from","ApolloDynamicLink","BatchHttpLink","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\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,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;AAKO,IAAMO,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAAC,IAAA,EAA0C;EAAA,IAApCC,GAAG,GAAAD,IAAA,CAAHC,GAAG;EACpC,OAAO,IAAIC,qBAAY,CAAC;IACpBC,IAAI,EAAEC,sBAAU,CAACC,IAAI,CAAC;IAClB;AACZ;AACA;IACY,IAAIC,oCAAiB,CAAC,CAAC;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,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,CAAAvB,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.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":";;;;;;AAAA;AACA;AACA;AAAoF,
|
|
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,6 +1,6 @@
|
|
|
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";
|
package/index.js
CHANGED
|
@@ -63,6 +63,12 @@ Object.defineProperty(exports, "Compose", {
|
|
|
63
63
|
return _appAdmin.Compose;
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
+
Object.defineProperty(exports, "CompositionScope", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _appAdmin.CompositionScope;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
66
72
|
Object.defineProperty(exports, "Dashboard", {
|
|
67
73
|
enumerable: true,
|
|
68
74
|
get: function get() {
|
|
@@ -285,6 +291,12 @@ Object.defineProperty(exports, "useUserMenuItem", {
|
|
|
285
291
|
return _appAdmin.useUserMenuItem;
|
|
286
292
|
}
|
|
287
293
|
});
|
|
294
|
+
Object.defineProperty(exports, "useWcp", {
|
|
295
|
+
enumerable: true,
|
|
296
|
+
get: function get() {
|
|
297
|
+
return _appAdmin.useWcp;
|
|
298
|
+
}
|
|
299
|
+
});
|
|
288
300
|
var _Admin = require("./Admin");
|
|
289
301
|
var _appAdmin = require("@webiny/app-admin");
|
|
290
302
|
var _appSecurity = require("@webiny/app-security");
|
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":"
|
|
1
|
+
{"version":3,"names":["_Admin","require","_appAdmin","_appSecurity","_appTenancy","_appPageBuilder"],"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\";\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"}
|
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.8feaff8c32",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,29 +9,29 @@
|
|
|
9
9
|
"author": "Webiny Ltd.",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@babel/runtime": "7.
|
|
13
|
-
"@emotion/react": "11.10.
|
|
14
|
-
"@webiny/app": "0.0.0-unstable.
|
|
15
|
-
"@webiny/app-aco": "0.0.0-unstable.
|
|
16
|
-
"@webiny/app-admin": "0.0.0-unstable.
|
|
17
|
-
"@webiny/app-admin-rmwc": "0.0.0-unstable.
|
|
18
|
-
"@webiny/app-apw": "0.0.0-unstable.
|
|
19
|
-
"@webiny/app-file-manager": "0.0.0-unstable.
|
|
20
|
-
"@webiny/app-file-manager-s3": "0.0.0-unstable.
|
|
21
|
-
"@webiny/app-form-builder": "0.0.0-unstable.
|
|
22
|
-
"@webiny/app-graphql-playground": "0.0.0-unstable.
|
|
23
|
-
"@webiny/app-headless-cms": "0.0.0-unstable.
|
|
24
|
-
"@webiny/app-i18n": "0.0.0-unstable.
|
|
25
|
-
"@webiny/app-i18n-content": "0.0.0-unstable.
|
|
26
|
-
"@webiny/app-mailer": "0.0.0-unstable.
|
|
27
|
-
"@webiny/app-page-builder": "0.0.0-unstable.
|
|
28
|
-
"@webiny/app-security": "0.0.0-unstable.
|
|
29
|
-
"@webiny/app-security-access-management": "0.0.0-unstable.
|
|
30
|
-
"@webiny/app-tenancy": "0.0.0-unstable.
|
|
31
|
-
"@webiny/app-tenant-manager": "0.0.0-unstable.
|
|
32
|
-
"@webiny/lexical-editor-actions": "0.0.0-unstable.
|
|
33
|
-
"@webiny/lexical-editor-pb-element": "0.0.0-unstable.
|
|
34
|
-
"@webiny/plugins": "0.0.0-unstable.
|
|
12
|
+
"@babel/runtime": "7.22.6",
|
|
13
|
+
"@emotion/react": "11.10.8",
|
|
14
|
+
"@webiny/app": "0.0.0-unstable.8feaff8c32",
|
|
15
|
+
"@webiny/app-aco": "0.0.0-unstable.8feaff8c32",
|
|
16
|
+
"@webiny/app-admin": "0.0.0-unstable.8feaff8c32",
|
|
17
|
+
"@webiny/app-admin-rmwc": "0.0.0-unstable.8feaff8c32",
|
|
18
|
+
"@webiny/app-apw": "0.0.0-unstable.8feaff8c32",
|
|
19
|
+
"@webiny/app-file-manager": "0.0.0-unstable.8feaff8c32",
|
|
20
|
+
"@webiny/app-file-manager-s3": "0.0.0-unstable.8feaff8c32",
|
|
21
|
+
"@webiny/app-form-builder": "0.0.0-unstable.8feaff8c32",
|
|
22
|
+
"@webiny/app-graphql-playground": "0.0.0-unstable.8feaff8c32",
|
|
23
|
+
"@webiny/app-headless-cms": "0.0.0-unstable.8feaff8c32",
|
|
24
|
+
"@webiny/app-i18n": "0.0.0-unstable.8feaff8c32",
|
|
25
|
+
"@webiny/app-i18n-content": "0.0.0-unstable.8feaff8c32",
|
|
26
|
+
"@webiny/app-mailer": "0.0.0-unstable.8feaff8c32",
|
|
27
|
+
"@webiny/app-page-builder": "0.0.0-unstable.8feaff8c32",
|
|
28
|
+
"@webiny/app-security": "0.0.0-unstable.8feaff8c32",
|
|
29
|
+
"@webiny/app-security-access-management": "0.0.0-unstable.8feaff8c32",
|
|
30
|
+
"@webiny/app-tenancy": "0.0.0-unstable.8feaff8c32",
|
|
31
|
+
"@webiny/app-tenant-manager": "0.0.0-unstable.8feaff8c32",
|
|
32
|
+
"@webiny/lexical-editor-actions": "0.0.0-unstable.8feaff8c32",
|
|
33
|
+
"@webiny/lexical-editor-pb-element": "0.0.0-unstable.8feaff8c32",
|
|
34
|
+
"@webiny/plugins": "0.0.0-unstable.8feaff8c32",
|
|
35
35
|
"apollo-cache": "1.3.5",
|
|
36
36
|
"apollo-client": "2.6.10",
|
|
37
37
|
"apollo-link": "1.2.14",
|
|
@@ -41,17 +41,17 @@
|
|
|
41
41
|
"react-dom": "17.0.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@babel/cli": "
|
|
45
|
-
"@babel/core": "
|
|
46
|
-
"@babel/preset-env": "
|
|
47
|
-
"@babel/preset-react": "
|
|
48
|
-
"@babel/preset-typescript": "
|
|
49
|
-
"@webiny/cli": "
|
|
50
|
-
"@webiny/project-utils": "
|
|
51
|
-
"babel-plugin-emotion": "
|
|
52
|
-
"babel-plugin-named-asset-import": "
|
|
53
|
-
"rimraf": "
|
|
54
|
-
"ttypescript": "
|
|
44
|
+
"@babel/cli": "7.22.6",
|
|
45
|
+
"@babel/core": "7.22.8",
|
|
46
|
+
"@babel/preset-env": "7.22.7",
|
|
47
|
+
"@babel/preset-react": "7.22.5",
|
|
48
|
+
"@babel/preset-typescript": "7.22.5",
|
|
49
|
+
"@webiny/cli": "0.0.0-unstable.8feaff8c32",
|
|
50
|
+
"@webiny/project-utils": "0.0.0-unstable.8feaff8c32",
|
|
51
|
+
"babel-plugin-emotion": "9.2.11",
|
|
52
|
+
"babel-plugin-named-asset-import": "1.0.0-next.fb6e6f70",
|
|
53
|
+
"rimraf": "3.0.2",
|
|
54
|
+
"ttypescript": "1.5.15",
|
|
55
55
|
"typescript": "4.7.4"
|
|
56
56
|
},
|
|
57
57
|
"publishConfig": {
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"removeViewBox": false
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "8feaff8c32ad81701938e9e3eadd836c8eb2fcb1"
|
|
71
71
|
}
|