@webiny/app-serverless-cms 0.0.0-unstable.6f45466a1d → 0.0.0-unstable.7be00a75a9

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 CHANGED
@@ -1,39 +1,47 @@
1
- import React, { memo } from "react";
2
- import { Admin as BaseAdmin, SystemInstallerProvider } from "@webiny/app-admin";
1
+ import react, { memo } from "react";
2
+ import { Admin, SystemInstallerProvider } from "@webiny/app-admin";
3
3
  import { HeadlessCMS } from "@webiny/app-headless-cms";
4
4
  import { AdminUI } from "@webiny/app-admin-ui";
5
5
  import { FileManager } from "@webiny/app-file-manager/app.js";
6
6
  import { GraphQLPlayground } from "@webiny/app-graphql-playground";
7
+ import { SdkPlayground } from "@webiny/app-sdk-playground";
7
8
  import { AccessManagement } from "@webiny/app-security-access-management";
8
9
  import { imagePlugin } from "@webiny/app/plugins/index.js";
9
- import fileStorageS3Plugin from "@webiny/app-file-manager-s3";
10
+ import app_file_manager_s3 from "@webiny/app-file-manager-s3";
10
11
  import { createApolloClient } from "./apolloClientFactory.js";
11
12
  import apolloLinks from "./apolloLinks.js";
12
13
  import { AuditLogs } from "@webiny/app-audit-logs";
13
14
  import { LexicalEditorActions } from "@webiny/lexical-editor-actions";
14
- import { Module as MailerSettings } from "@webiny/app-mailer";
15
+ import { Module } from "@webiny/app-mailer";
15
16
  import { Websockets } from "@webiny/app-websockets";
16
17
  import { RecordLocking } from "@webiny/app-record-locking";
17
18
  import { TrashBinConfigs } from "@webiny/app-trash-bin";
18
19
  import { AdvancedContentOrganisation } from "@webiny/app-aco";
19
- import { Extension as WebsiteBuilder } from "@webiny/app-website-builder/Extension.js";
20
- import { SchedulerConfigs } from "@webiny/app-headless-cms-scheduler";
21
- import { Components as WorkflowComponents } from "@webiny/app-workflows";
20
+ import { Extension } from "@webiny/app-website-builder/Extension.js";
21
+ import { SchedulerConfigs } from "@webiny/app-scheduler";
22
+ import { CmsScheduler } from "@webiny/app-headless-cms-scheduler";
23
+ import { Components } from "@webiny/app-workflows";
22
24
  import { CmsWorkflows } from "@webiny/app-headless-cms-workflows";
23
25
  import { WebsiteBuilderWorkflows } from "@webiny/app-website-builder-workflows";
24
- const App = props => {
25
- const createLegacyPlugins = container => {
26
- return [imagePlugin(), fileStorageS3Plugin(), apolloLinks(container)];
27
- };
28
- return /*#__PURE__*/React.createElement(BaseAdmin, {
29
- createApolloClient: createApolloClient,
30
- createLegacyPlugins: createLegacyPlugins
31
- }, /*#__PURE__*/React.createElement(AdminUI, null), /*#__PURE__*/React.createElement(AccessManagement, null), /*#__PURE__*/React.createElement(SystemInstallerProvider, null), /*#__PURE__*/React.createElement(FileManager, null), /*#__PURE__*/React.createElement(GraphQLPlayground, {
32
- createApolloClient: createApolloClient
33
- }), /*#__PURE__*/React.createElement(Websockets, null), /*#__PURE__*/React.createElement(RecordLocking, null), /*#__PURE__*/React.createElement(LexicalEditorActions, null), /*#__PURE__*/React.createElement(HeadlessCMS, {
34
- createApolloClient: createApolloClient
35
- }), /*#__PURE__*/React.createElement(AuditLogs, null), /*#__PURE__*/React.createElement(MailerSettings, null), /*#__PURE__*/React.createElement(SchedulerConfigs, null), /*#__PURE__*/React.createElement(TrashBinConfigs, null), /*#__PURE__*/React.createElement(AdvancedContentOrganisation, null), /*#__PURE__*/React.createElement(WebsiteBuilder, null), /*#__PURE__*/React.createElement(WorkflowComponents.App.WorkflowsAdminApp, null), /*#__PURE__*/React.createElement(CmsWorkflows, null), /*#__PURE__*/React.createElement(WebsiteBuilderWorkflows, null), props.children);
26
+ import { WbScheduler } from "@webiny/app-website-builder-scheduler";
27
+ import { Webhooks } from "@webiny/webhooks/admin";
28
+ import { BackgroundTasks } from "@webiny/background-tasks/admin";
29
+ const App = (props)=>{
30
+ const createLegacyPlugins = (container)=>[
31
+ imagePlugin(),
32
+ app_file_manager_s3(),
33
+ apolloLinks(container)
34
+ ];
35
+ return /*#__PURE__*/ react.createElement(Admin, {
36
+ createApolloClient: createApolloClient,
37
+ createLegacyPlugins: createLegacyPlugins
38
+ }, /*#__PURE__*/ react.createElement(AdminUI, null), /*#__PURE__*/ react.createElement(AccessManagement, null), /*#__PURE__*/ react.createElement(SystemInstallerProvider, null), /*#__PURE__*/ react.createElement(FileManager, null), /*#__PURE__*/ react.createElement(GraphQLPlayground, {
39
+ createApolloClient: createApolloClient
40
+ }), /*#__PURE__*/ react.createElement(SdkPlayground, null), /*#__PURE__*/ react.createElement(Websockets, null), /*#__PURE__*/ react.createElement(RecordLocking, null), /*#__PURE__*/ react.createElement(LexicalEditorActions, null), /*#__PURE__*/ react.createElement(HeadlessCMS, {
41
+ createApolloClient: createApolloClient
42
+ }), /*#__PURE__*/ react.createElement(AuditLogs, null), /*#__PURE__*/ react.createElement(Module, null), /*#__PURE__*/ react.createElement(SchedulerConfigs, null), /*#__PURE__*/ react.createElement(CmsScheduler, null), /*#__PURE__*/ react.createElement(TrashBinConfigs, null), /*#__PURE__*/ react.createElement(AdvancedContentOrganisation, null), /*#__PURE__*/ react.createElement(Extension, null), /*#__PURE__*/ react.createElement(Components.App.WorkflowsAdminApp, null), /*#__PURE__*/ react.createElement(CmsWorkflows, null), /*#__PURE__*/ react.createElement(WebsiteBuilderWorkflows, null), /*#__PURE__*/ react.createElement(WbScheduler, null), /*#__PURE__*/ react.createElement(Webhooks, null), /*#__PURE__*/ react.createElement(BackgroundTasks, null), props.children);
36
43
  };
37
- export const Admin = /*#__PURE__*/memo(App);
44
+ const Admin_Admin = /*#__PURE__*/ memo(App);
45
+ export { Admin_Admin as Admin };
38
46
 
39
47
  //# sourceMappingURL=Admin.js.map
package/Admin.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["React","memo","Admin","BaseAdmin","SystemInstallerProvider","HeadlessCMS","AdminUI","FileManager","GraphQLPlayground","AccessManagement","imagePlugin","fileStorageS3Plugin","createApolloClient","apolloLinks","AuditLogs","LexicalEditorActions","Module","MailerSettings","Websockets","RecordLocking","TrashBinConfigs","AdvancedContentOrganisation","Extension","WebsiteBuilder","SchedulerConfigs","Components","WorkflowComponents","CmsWorkflows","WebsiteBuilderWorkflows","App","props","createLegacyPlugins","container","createElement","WorkflowsAdminApp","children"],"sources":["Admin.tsx"],"sourcesContent":["import React, { memo } from \"react\";\nimport type { AdminProps as BaseAdminProps } from \"@webiny/app-admin\";\nimport { Admin as BaseAdmin, SystemInstallerProvider } from \"@webiny/app-admin\";\nimport { HeadlessCMS } from \"@webiny/app-headless-cms\";\nimport { AdminUI } from \"@webiny/app-admin-ui\";\nimport { FileManager } from \"@webiny/app-file-manager/app.js\";\nimport { GraphQLPlayground } from \"@webiny/app-graphql-playground\";\nimport { AccessManagement } from \"@webiny/app-security-access-management\";\nimport { imagePlugin } from \"@webiny/app/plugins/index.js\";\nimport fileStorageS3Plugin from \"@webiny/app-file-manager-s3\";\nimport { createApolloClient } from \"./apolloClientFactory.js\";\nimport apolloLinks from \"./apolloLinks.js\";\nimport { AuditLogs } from \"@webiny/app-audit-logs\";\nimport { LexicalEditorActions } from \"@webiny/lexical-editor-actions\";\nimport { Module as MailerSettings } from \"@webiny/app-mailer\";\nimport { Websockets } from \"@webiny/app-websockets\";\nimport { RecordLocking } from \"@webiny/app-record-locking\";\nimport { TrashBinConfigs } from \"@webiny/app-trash-bin\";\nimport { AdvancedContentOrganisation } from \"@webiny/app-aco\";\nimport { Extension as WebsiteBuilder } from \"@webiny/app-website-builder/Extension.js\";\nimport { SchedulerConfigs } from \"@webiny/app-headless-cms-scheduler\";\nimport { Components as WorkflowComponents } from \"@webiny/app-workflows\";\nimport { CmsWorkflows } from \"@webiny/app-headless-cms-workflows\";\nimport { WebsiteBuilderWorkflows } from \"@webiny/app-website-builder-workflows\";\nimport { Container } from \"@webiny/di\";\nimport type { PluginCollection } from \"@webiny/plugins/types.js\";\n\nexport interface AdminProps\n extends Omit<BaseAdminProps, \"createApolloClient\" | \"createLegacyPlugins\"> {\n children?: React.ReactNode;\n}\n\nconst App = (props: AdminProps) => {\n const createLegacyPlugins = (container: Container): PluginCollection => {\n return [imagePlugin(), fileStorageS3Plugin(), apolloLinks(container)];\n };\n\n return (\n <BaseAdmin\n createApolloClient={createApolloClient}\n createLegacyPlugins={createLegacyPlugins}\n >\n <AdminUI />\n <AccessManagement />\n <SystemInstallerProvider />\n <FileManager />\n <GraphQLPlayground createApolloClient={createApolloClient} />\n <Websockets />\n <RecordLocking />\n <LexicalEditorActions />\n <HeadlessCMS createApolloClient={createApolloClient} />\n <AuditLogs />\n <MailerSettings />\n <SchedulerConfigs />\n <TrashBinConfigs />\n <AdvancedContentOrganisation />\n <WebsiteBuilder />\n <WorkflowComponents.App.WorkflowsAdminApp />\n <CmsWorkflows />\n <WebsiteBuilderWorkflows />\n {props.children}\n </BaseAdmin>\n );\n};\n\nexport const Admin = memo<AdminProps>(App);\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AAEnC,SAASC,KAAK,IAAIC,SAAS,EAAEC,uBAAuB,QAAQ,mBAAmB;AAC/E,SAASC,WAAW,QAAQ,0BAA0B;AACtD,SAASC,OAAO,QAAQ,sBAAsB;AAC9C,SAASC,WAAW,QAAQ,iCAAiC;AAC7D,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,SAASC,gBAAgB,QAAQ,wCAAwC;AACzE,SAASC,WAAW,QAAQ,8BAA8B;AAC1D,OAAOC,mBAAmB,MAAM,6BAA6B;AAC7D,SAASC,kBAAkB;AAC3B,OAAOC,WAAW;AAClB,SAASC,SAAS,QAAQ,wBAAwB;AAClD,SAASC,oBAAoB,QAAQ,gCAAgC;AACrE,SAASC,MAAM,IAAIC,cAAc,QAAQ,oBAAoB;AAC7D,SAASC,UAAU,QAAQ,wBAAwB;AACnD,SAASC,aAAa,QAAQ,4BAA4B;AAC1D,SAASC,eAAe,QAAQ,uBAAuB;AACvD,SAASC,2BAA2B,QAAQ,iBAAiB;AAC7D,SAASC,SAAS,IAAIC,cAAc,QAAQ,0CAA0C;AACtF,SAASC,gBAAgB,QAAQ,oCAAoC;AACrE,SAASC,UAAU,IAAIC,kBAAkB,QAAQ,uBAAuB;AACxE,SAASC,YAAY,QAAQ,oCAAoC;AACjE,SAASC,uBAAuB,QAAQ,uCAAuC;AAS/E,MAAMC,GAAG,GAAIC,KAAiB,IAAK;EAC/B,MAAMC,mBAAmB,GAAIC,SAAoB,IAAuB;IACpE,OAAO,CAACtB,WAAW,CAAC,CAAC,EAAEC,mBAAmB,CAAC,CAAC,EAAEE,WAAW,CAACmB,SAAS,CAAC,CAAC;EACzE,CAAC;EAED,oBACIhC,KAAA,CAAAiC,aAAA,CAAC9B,SAAS;IACNS,kBAAkB,EAAEA,kBAAmB;IACvCmB,mBAAmB,EAAEA;EAAoB,gBAEzC/B,KAAA,CAAAiC,aAAA,CAAC3B,OAAO,MAAE,CAAC,eACXN,KAAA,CAAAiC,aAAA,CAACxB,gBAAgB,MAAE,CAAC,eACpBT,KAAA,CAAAiC,aAAA,CAAC7B,uBAAuB,MAAE,CAAC,eAC3BJ,KAAA,CAAAiC,aAAA,CAAC1B,WAAW,MAAE,CAAC,eACfP,KAAA,CAAAiC,aAAA,CAACzB,iBAAiB;IAACI,kBAAkB,EAAEA;EAAmB,CAAE,CAAC,eAC7DZ,KAAA,CAAAiC,aAAA,CAACf,UAAU,MAAE,CAAC,eACdlB,KAAA,CAAAiC,aAAA,CAACd,aAAa,MAAE,CAAC,eACjBnB,KAAA,CAAAiC,aAAA,CAAClB,oBAAoB,MAAE,CAAC,eACxBf,KAAA,CAAAiC,aAAA,CAAC5B,WAAW;IAACO,kBAAkB,EAAEA;EAAmB,CAAE,CAAC,eACvDZ,KAAA,CAAAiC,aAAA,CAACnB,SAAS,MAAE,CAAC,eACbd,KAAA,CAAAiC,aAAA,CAAChB,cAAc,MAAE,CAAC,eAClBjB,KAAA,CAAAiC,aAAA,CAACT,gBAAgB,MAAE,CAAC,eACpBxB,KAAA,CAAAiC,aAAA,CAACb,eAAe,MAAE,CAAC,eACnBpB,KAAA,CAAAiC,aAAA,CAACZ,2BAA2B,MAAE,CAAC,eAC/BrB,KAAA,CAAAiC,aAAA,CAACV,cAAc,MAAE,CAAC,eAClBvB,KAAA,CAAAiC,aAAA,CAACP,kBAAkB,CAACG,GAAG,CAACK,iBAAiB,MAAE,CAAC,eAC5ClC,KAAA,CAAAiC,aAAA,CAACN,YAAY,MAAE,CAAC,eAChB3B,KAAA,CAAAiC,aAAA,CAACL,uBAAuB,MAAE,CAAC,EAC1BE,KAAK,CAACK,QACA,CAAC;AAEpB,CAAC;AAED,OAAO,MAAMjC,KAAK,gBAAGD,IAAI,CAAa4B,GAAG,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"Admin.js","sources":["../src/Admin.tsx"],"sourcesContent":["import React, { memo } from \"react\";\nimport type { AdminProps as BaseAdminProps } from \"@webiny/app-admin\";\nimport { Admin as BaseAdmin, SystemInstallerProvider } from \"@webiny/app-admin\";\nimport { HeadlessCMS } from \"@webiny/app-headless-cms\";\nimport { AdminUI } from \"@webiny/app-admin-ui\";\nimport { FileManager } from \"@webiny/app-file-manager/app.js\";\nimport { GraphQLPlayground } from \"@webiny/app-graphql-playground\";\nimport { SdkPlayground } from \"@webiny/app-sdk-playground\";\nimport { AccessManagement } from \"@webiny/app-security-access-management\";\nimport { imagePlugin } from \"@webiny/app/plugins/index.js\";\nimport fileStorageS3Plugin from \"@webiny/app-file-manager-s3\";\nimport { createApolloClient } from \"./apolloClientFactory.js\";\nimport apolloLinks from \"./apolloLinks.js\";\nimport { AuditLogs } from \"@webiny/app-audit-logs\";\nimport { LexicalEditorActions } from \"@webiny/lexical-editor-actions\";\nimport { Module as MailerSettings } from \"@webiny/app-mailer\";\nimport { Websockets } from \"@webiny/app-websockets\";\nimport { RecordLocking } from \"@webiny/app-record-locking\";\nimport { TrashBinConfigs } from \"@webiny/app-trash-bin\";\nimport { AdvancedContentOrganisation } from \"@webiny/app-aco\";\nimport { Extension as WebsiteBuilder } from \"@webiny/app-website-builder/Extension.js\";\nimport { SchedulerConfigs } from \"@webiny/app-scheduler\";\nimport { CmsScheduler } from \"@webiny/app-headless-cms-scheduler\";\nimport { Components as WorkflowComponents } from \"@webiny/app-workflows\";\nimport { CmsWorkflows } from \"@webiny/app-headless-cms-workflows\";\nimport { WebsiteBuilderWorkflows } from \"@webiny/app-website-builder-workflows\";\nimport { Container } from \"@webiny/di\";\nimport type { PluginCollection } from \"@webiny/plugins/types.js\";\nimport { WbScheduler } from \"@webiny/app-website-builder-scheduler\";\nimport { Webhooks } from \"@webiny/webhooks/admin\";\nimport { BackgroundTasks } from \"@webiny/background-tasks/admin\";\n\nexport interface AdminProps extends Omit<\n BaseAdminProps,\n \"createApolloClient\" | \"createLegacyPlugins\"\n> {\n children?: React.ReactNode;\n}\n\nconst App = (props: AdminProps) => {\n const createLegacyPlugins = (container: Container): PluginCollection => {\n return [imagePlugin(), fileStorageS3Plugin(), apolloLinks(container)];\n };\n\n return (\n <BaseAdmin\n createApolloClient={createApolloClient}\n createLegacyPlugins={createLegacyPlugins}\n >\n <AdminUI />\n <AccessManagement />\n <SystemInstallerProvider />\n <FileManager />\n <GraphQLPlayground createApolloClient={createApolloClient} />\n <SdkPlayground />\n <Websockets />\n <RecordLocking />\n <LexicalEditorActions />\n <HeadlessCMS createApolloClient={createApolloClient} />\n <AuditLogs />\n <MailerSettings />\n <SchedulerConfigs />\n <CmsScheduler />\n <TrashBinConfigs />\n <AdvancedContentOrganisation />\n <WebsiteBuilder />\n <WorkflowComponents.App.WorkflowsAdminApp />\n <CmsWorkflows />\n <WebsiteBuilderWorkflows />\n <WbScheduler />\n <Webhooks />\n <BackgroundTasks />\n {props.children}\n </BaseAdmin>\n );\n};\n\nexport const Admin = memo<AdminProps>(App);\n"],"names":["App","props","createLegacyPlugins","container","imagePlugin","fileStorageS3Plugin","apolloLinks","BaseAdmin","createApolloClient","AdminUI","AccessManagement","SystemInstallerProvider","FileManager","GraphQLPlayground","SdkPlayground","Websockets","RecordLocking","LexicalEditorActions","HeadlessCMS","AuditLogs","MailerSettings","SchedulerConfigs","CmsScheduler","TrashBinConfigs","AdvancedContentOrganisation","WebsiteBuilder","WorkflowComponents","CmsWorkflows","WebsiteBuilderWorkflows","WbScheduler","Webhooks","BackgroundTasks","Admin","memo"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,MAAMA,MAAM,CAACC;IACT,MAAMC,sBAAsB,CAACC,YAClB;YAACC;YAAeC;YAAuBC,YAAYH;SAAW;IAGzE,OAAO,WAAP,GACI,oBAACI,OAASA;QACN,oBAAoBC;QACpB,qBAAqBN;qBAErB,oBAACO,SAAOA,OAAAA,WAAAA,GACR,oBAACC,kBAAgBA,OAAAA,WAAAA,GACjB,oBAACC,yBAAuBA,OAAAA,WAAAA,GACxB,oBAACC,aAAWA,OAAAA,WAAAA,GACZ,oBAACC,mBAAiBA;QAAC,oBAAoBL;sBACvC,oBAACM,eAAaA,OAAAA,WAAAA,GACd,oBAACC,YAAUA,OAAAA,WAAAA,GACX,oBAACC,eAAaA,OAAAA,WAAAA,GACd,oBAACC,sBAAoBA,OAAAA,WAAAA,GACrB,oBAACC,aAAWA;QAAC,oBAAoBV;sBACjC,oBAACW,WAASA,OAAAA,WAAAA,GACV,oBAACC,QAAcA,OAAAA,WAAAA,GACf,oBAACC,kBAAgBA,OAAAA,WAAAA,GACjB,oBAACC,cAAYA,OAAAA,WAAAA,GACb,oBAACC,iBAAeA,OAAAA,WAAAA,GAChB,oBAACC,6BAA2BA,OAAAA,WAAAA,GAC5B,oBAACC,WAAcA,OAAAA,WAAAA,GACf,oBAACC,WAAAA,GAAAA,CAAAA,iBAAwC,uBACzC,oBAACC,cAAYA,OAAAA,WAAAA,GACb,oBAACC,yBAAuBA,OAAAA,WAAAA,GACxB,oBAACC,aAAWA,OAAAA,WAAAA,GACZ,oBAACC,UAAQA,OAAAA,WAAAA,GACT,oBAACC,iBAAeA,OACf9B,MAAM,QAAQ;AAG3B;AAEO,MAAM+B,cAAQ,WAAHA,GAAGC,KAAiBjC"}
@@ -1,4 +1,4 @@
1
- import ApolloClient from "apollo-client";
1
+ import apollo_client from "apollo-client";
2
2
  import { ApolloLink } from "apollo-link";
3
3
  import { BatchHttpLink } from "apollo-link-batch-http";
4
4
  import { InMemoryCache } from "@webiny/app/apollo-client/InMemoryCache.js";
@@ -6,55 +6,37 @@ import { plugins } from "@webiny/plugins";
6
6
  import { ApolloDynamicLink } from "@webiny/app/plugins/ApolloDynamicLink.js";
7
7
  import { ApolloCacheObjectIdPlugin } from "@webiny/app/plugins/ApolloCacheObjectIdPlugin.js";
8
8
  import { IntrospectionFragmentMatcher } from "@webiny/app/apollo-client/IntrospectionFragmentMatcher.js";
9
- export const createApolloClient = ({
10
- uri,
11
- batching
12
- }) => {
13
- const fragmentMatcher = new IntrospectionFragmentMatcher({
14
- introspectionQueryResultData: {
15
- __schema: {
16
- types: []
17
- }
18
- }
19
- });
20
- return new ApolloClient({
21
- link: ApolloLink.from([
22
- /**
23
- * This will process links from plugins on every request.
24
- */
25
- new ApolloDynamicLink(),
26
- /**
27
- * This batches requests made to the API to pack multiple requests into a single HTTP request.
28
- * `credentials: "include"` is necessary to attach cookies to requests.
29
- */
30
- new BatchHttpLink({
31
- uri,
32
- credentials: "include",
33
- ...batching
34
- })]),
35
- cache: new InMemoryCache({
36
- addTypename: true,
37
- fragmentMatcher,
38
- dataIdFromObject: obj => {
39
- /**
40
- * Since every data type coming from API can have a different data structure,
41
- * we cannot rely on having an `id` field.
42
- */
43
- const getters = plugins.byType(ApolloCacheObjectIdPlugin.type);
44
- for (let i = 0; i < getters.length; i++) {
45
- const id = getters[i].getObjectId(obj);
46
- if (typeof id !== "undefined") {
47
- return id;
48
- }
9
+ const createApolloClient = ({ uri, batching })=>{
10
+ const fragmentMatcher = new IntrospectionFragmentMatcher({
11
+ introspectionQueryResultData: {
12
+ __schema: {
13
+ types: []
14
+ }
49
15
  }
50
-
51
- /**
52
- * As a fallback, try getting object's `id`.
53
- */
54
- return obj.id || null;
55
- }
56
- })
57
- });
16
+ });
17
+ return new apollo_client({
18
+ link: ApolloLink.from([
19
+ new ApolloDynamicLink(),
20
+ new BatchHttpLink({
21
+ uri,
22
+ credentials: "include",
23
+ ...batching
24
+ })
25
+ ]),
26
+ cache: new InMemoryCache({
27
+ addTypename: true,
28
+ fragmentMatcher,
29
+ dataIdFromObject: (obj)=>{
30
+ const getters = plugins.byType(ApolloCacheObjectIdPlugin.type);
31
+ for(let i = 0; i < getters.length; i++){
32
+ const id = getters[i].getObjectId(obj);
33
+ if (void 0 !== id) return id;
34
+ }
35
+ return obj.id || null;
36
+ }
37
+ })
38
+ });
58
39
  };
40
+ export { createApolloClient };
59
41
 
60
42
  //# sourceMappingURL=apolloClientFactory.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["ApolloClient","ApolloLink","BatchHttpLink","InMemoryCache","plugins","ApolloDynamicLink","ApolloCacheObjectIdPlugin","IntrospectionFragmentMatcher","createApolloClient","uri","batching","fragmentMatcher","introspectionQueryResultData","__schema","types","link","from","credentials","cache","addTypename","dataIdFromObject","obj","getters","byType","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.js\";\nimport { plugins } from \"@webiny/plugins\";\nimport { ApolloDynamicLink } from \"@webiny/app/plugins/ApolloDynamicLink.js\";\nimport { ApolloCacheObjectIdPlugin } from \"@webiny/app/plugins/ApolloCacheObjectIdPlugin.js\";\nimport { IntrospectionFragmentMatcher } from \"@webiny/app/apollo-client/IntrospectionFragmentMatcher.js\";\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,OAAOA,YAAY,MAAM,eAAe;AACxC,SAASC,UAAU,QAAQ,aAAa;AACxC,SAASC,aAAa,QAAQ,wBAAwB;AACtD,SAASC,aAAa,QAAQ,4CAA4C;AAC1E,SAASC,OAAO,QAAQ,iBAAiB;AACzC,SAASC,iBAAiB,QAAQ,0CAA0C;AAC5E,SAASC,yBAAyB,QAAQ,kDAAkD;AAC5F,SAASC,4BAA4B,QAAQ,2DAA2D;AAOxG,OAAO,MAAMC,kBAAkB,GAAGA,CAAC;EAAEC,GAAG;EAAEC;AAAmC,CAAC,KAAK;EAC/E,MAAMC,eAAe,GAAG,IAAIJ,4BAA4B,CAAC;IACrDK,4BAA4B,EAAE;MAC1BC,QAAQ,EAAE;QACNC,KAAK,EAAE;MACX;IACJ;EACJ,CAAC,CAAC;EAEF,OAAO,IAAId,YAAY,CAAC;IACpBe,IAAI,EAAEd,UAAU,CAACe,IAAI,CAAC;IAClB;AACZ;AACA;IACY,IAAIX,iBAAiB,CAAC,CAAC;IACvB;AACZ;AACA;AACA;IACY,IAAIH,aAAa,CAAC;MAAEO,GAAG;MAAEQ,WAAW,EAAE,SAAS;MAAE,GAAGP;IAAS,CAAC,CAAC,CAClE,CAAC;IACFQ,KAAK,EAAE,IAAIf,aAAa,CAAC;MACrBgB,WAAW,EAAE,IAAI;MACjBR,eAAe;MACfS,gBAAgB,EAAEC,GAAG,IAAI;QACrB;AAChB;AACA;AACA;QACgB,MAAMC,OAAO,GAAGlB,OAAO,CAACmB,MAAM,CAC1BjB,yBAAyB,CAACkB,IAC9B,CAAC;QAED,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGH,OAAO,CAACI,MAAM,EAAED,CAAC,EAAE,EAAE;UACrC,MAAME,EAAE,GAAGL,OAAO,CAACG,CAAC,CAAC,CAACG,WAAW,CAACP,GAAG,CAAC;UACtC,IAAI,OAAOM,EAAE,KAAK,WAAW,EAAE;YAC3B,OAAOA,EAAE;UACb;QACJ;;QAEA;AAChB;AACA;QACgB,OAAON,GAAG,CAACM,EAAE,IAAI,IAAI;MACzB;IACJ,CAAC;EACL,CAAC,CAAC;AACN,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"apolloClientFactory.js","sources":["../src/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.js\";\nimport { plugins } from \"@webiny/plugins\";\nimport { ApolloDynamicLink } from \"@webiny/app/plugins/ApolloDynamicLink.js\";\nimport { ApolloCacheObjectIdPlugin } from \"@webiny/app/plugins/ApolloCacheObjectIdPlugin.js\";\nimport { IntrospectionFragmentMatcher } from \"@webiny/app/apollo-client/IntrospectionFragmentMatcher.js\";\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"],"names":["createApolloClient","uri","batching","fragmentMatcher","IntrospectionFragmentMatcher","ApolloClient","ApolloLink","ApolloDynamicLink","BatchHttpLink","InMemoryCache","obj","getters","plugins","ApolloCacheObjectIdPlugin","i","id"],"mappings":";;;;;;;;AAcO,MAAMA,qBAAqB,CAAC,EAAEC,GAAG,EAAEC,QAAQ,EAA4B;IAC1E,MAAMC,kBAAkB,IAAIC,6BAA6B;QACrD,8BAA8B;YAC1B,UAAU;gBACN,OAAO,EAAE;YACb;QACJ;IACJ;IAEA,OAAO,IAAIC,cAAa;QACpB,MAAMC,WAAW,IAAI,CAAC;YAIlB,IAAIC;YAKJ,IAAIC,cAAc;gBAAEP;gBAAK,aAAa;gBAAW,GAAGC,QAAQ;YAAC;SAChE;QACD,OAAO,IAAIO,cAAc;YACrB,aAAa;YACbN;YACA,kBAAkBO,CAAAA;gBAKd,MAAMC,UAAUC,QAAQ,MAAM,CAC1BC,0BAA0B,IAAI;gBAGlC,IAAK,IAAIC,IAAI,GAAGA,IAAIH,QAAQ,MAAM,EAAEG,IAAK;oBACrC,MAAMC,KAAKJ,OAAO,CAACG,EAAE,CAAC,WAAW,CAACJ;oBAClC,IAAI,AAAc,WAAPK,IACP,OAAOA;gBAEf;gBAKA,OAAOL,IAAI,EAAE,IAAI;YACrB;QACJ;IACJ;AACJ"}
package/apolloLinks.js CHANGED
@@ -2,18 +2,11 @@ import { ConsoleLinkPlugin } from "@webiny/app/plugins/ConsoleLinkPlugin.js";
2
2
  import { NetworkErrorLinkPlugin } from "@webiny/app/plugins/NetworkErrorLinkPlugin.js";
3
3
  import { OmitTypenameLinkPlugin } from "@webiny/app/plugins/OmitTypenameLinkPlugin.js";
4
4
  import { EventPublisher } from "@webiny/app/features/eventPublisher/index.js";
5
- export default container => [
6
- /**
7
- * This link removes `__typename` from the variables being sent to the API.
8
- */
9
- new OmitTypenameLinkPlugin(),
10
- /**
11
- * This link checks for presence of `extensions.console` in the response and logs all items to browser console.
12
- */
13
- new ConsoleLinkPlugin(),
14
- /**
15
- * This plugin creates an ApolloLink that checks for `NetworkError` and shows an ErrorOverlay in the browser.
16
- */
17
- new NetworkErrorLinkPlugin(() => container.resolve(EventPublisher))];
5
+ const apolloLinks = (container)=>[
6
+ new OmitTypenameLinkPlugin(),
7
+ new ConsoleLinkPlugin(),
8
+ new NetworkErrorLinkPlugin(()=>container.resolve(EventPublisher))
9
+ ];
10
+ export default apolloLinks;
18
11
 
19
12
  //# sourceMappingURL=apolloLinks.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["ConsoleLinkPlugin","NetworkErrorLinkPlugin","OmitTypenameLinkPlugin","EventPublisher","container","resolve"],"sources":["apolloLinks.ts"],"sourcesContent":["import { ConsoleLinkPlugin } from \"@webiny/app/plugins/ConsoleLinkPlugin.js\";\nimport { NetworkErrorLinkPlugin } from \"@webiny/app/plugins/NetworkErrorLinkPlugin.js\";\nimport { OmitTypenameLinkPlugin } from \"@webiny/app/plugins/OmitTypenameLinkPlugin.js\";\nimport { Container } from \"@webiny/di\";\nimport { EventPublisher } from \"@webiny/app/features/eventPublisher/index.js\";\n\nexport default (container: Container) => [\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(() => container.resolve(EventPublisher))\n];\n"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,0CAA0C;AAC5E,SAASC,sBAAsB,QAAQ,+CAA+C;AACtF,SAASC,sBAAsB,QAAQ,+CAA+C;AAEtF,SAASC,cAAc,QAAQ,8CAA8C;AAE7E,eAAgBC,SAAoB,IAAK;AACrC;AACJ;AACA;AACI,IAAIF,sBAAsB,CAAC,CAAC;AAC5B;AACJ;AACA;AACI,IAAIF,iBAAiB,CAAC,CAAC;AACvB;AACJ;AACA;AACI,IAAIC,sBAAsB,CAAC,MAAMG,SAAS,CAACC,OAAO,CAACF,cAAc,CAAC,CAAC,CACtE","ignoreList":[]}
1
+ {"version":3,"file":"apolloLinks.js","sources":["../src/apolloLinks.ts"],"sourcesContent":["import { ConsoleLinkPlugin } from \"@webiny/app/plugins/ConsoleLinkPlugin.js\";\nimport { NetworkErrorLinkPlugin } from \"@webiny/app/plugins/NetworkErrorLinkPlugin.js\";\nimport { OmitTypenameLinkPlugin } from \"@webiny/app/plugins/OmitTypenameLinkPlugin.js\";\nimport { Container } from \"@webiny/di\";\nimport { EventPublisher } from \"@webiny/app/features/eventPublisher/index.js\";\n\nexport default (container: Container) => [\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(() => container.resolve(EventPublisher))\n];\n"],"names":["container","OmitTypenameLinkPlugin","ConsoleLinkPlugin","NetworkErrorLinkPlugin","EventPublisher"],"mappings":";;;;AAMA,oBAAgB,CAAAA,YAAyB;QAIrC,IAAIC;QAIJ,IAAIC;QAIJ,IAAIC,uBAAuB,IAAMH,UAAU,OAAO,CAACI;KACvD"}
package/index.js CHANGED
@@ -1,6 +1,3 @@
1
- export { Admin } from "./Admin.js";
2
- export { useApp, useWcp, useTags, Dashboard, DashboardRenderer, Layout, LayoutRenderer, LoginScreen, LoginScreenRenderer, Brand, BrandRenderer, Provider, Compose, CompositionScope, Plugins, Plugin, AdminConfig, makeComposable, makeDecoratable, createComponentPlugin, createProviderPlugin, createDecorator, createProvider, Navigation, NavigationRenderer, Tags, UserMenu, UserMenuHandle, UserMenuHandleRenderer, UserMenuItem, UserMenuItemRenderer, AddGraphQLQuerySelection } from "@webiny/app-admin";
3
- export { useTenantContext } from "@webiny/app-admin";
4
1
  export * from "./apolloClientFactory.js";
5
-
6
- //# sourceMappingURL=index.js.map
2
+ export { Admin } from "./Admin.js";
3
+ export { AddGraphQLQuerySelection, AdminConfig, Brand, BrandRenderer, Compose, CompositionScope, Dashboard, DashboardRenderer, Layout, LayoutRenderer, LoginScreen, LoginScreenRenderer, Navigation, NavigationRenderer, Plugin, Plugins, Provider, Tags, UserMenu, UserMenuHandle, UserMenuHandleRenderer, UserMenuItem, UserMenuItemRenderer, createComponentPlugin, createDecorator, createProvider, createProviderPlugin, makeComposable, makeDecoratable, useApp, useTags, useTenantContext, useWcp } from "@webiny/app-admin";
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@webiny/app-serverless-cms",
3
- "version": "0.0.0-unstable.6f45466a1d",
3
+ "version": "0.0.0-unstable.7be00a75a9",
4
4
  "type": "module",
5
- "main": "index.js",
5
+ "exports": {
6
+ ".": "./index.js",
7
+ "./*": "./*"
8
+ },
6
9
  "repository": {
7
10
  "type": "git",
8
11
  "url": "https://github.com/webiny/webiny-js.git"
@@ -10,47 +13,50 @@
10
13
  "author": "Webiny Ltd.",
11
14
  "license": "MIT",
12
15
  "dependencies": {
13
- "@emotion/react": "11.10.8",
14
- "@webiny/app": "0.0.0-unstable.6f45466a1d",
15
- "@webiny/app-aco": "0.0.0-unstable.6f45466a1d",
16
- "@webiny/app-admin": "0.0.0-unstable.6f45466a1d",
17
- "@webiny/app-admin-ui": "0.0.0-unstable.6f45466a1d",
18
- "@webiny/app-audit-logs": "0.0.0-unstable.6f45466a1d",
19
- "@webiny/app-file-manager": "0.0.0-unstable.6f45466a1d",
20
- "@webiny/app-file-manager-s3": "0.0.0-unstable.6f45466a1d",
21
- "@webiny/app-graphql-playground": "0.0.0-unstable.6f45466a1d",
22
- "@webiny/app-headless-cms": "0.0.0-unstable.6f45466a1d",
23
- "@webiny/app-headless-cms-scheduler": "0.0.0-unstable.6f45466a1d",
24
- "@webiny/app-headless-cms-workflows": "0.0.0-unstable.6f45466a1d",
25
- "@webiny/app-mailer": "0.0.0-unstable.6f45466a1d",
26
- "@webiny/app-record-locking": "0.0.0-unstable.6f45466a1d",
27
- "@webiny/app-security-access-management": "0.0.0-unstable.6f45466a1d",
28
- "@webiny/app-trash-bin": "0.0.0-unstable.6f45466a1d",
29
- "@webiny/app-website-builder": "0.0.0-unstable.6f45466a1d",
30
- "@webiny/app-website-builder-workflows": "0.0.0-unstable.6f45466a1d",
31
- "@webiny/app-websockets": "0.0.0-unstable.6f45466a1d",
32
- "@webiny/app-workflows": "0.0.0-unstable.6f45466a1d",
33
- "@webiny/di": "0.2.3",
34
- "@webiny/lexical-editor-actions": "0.0.0-unstable.6f45466a1d",
35
- "@webiny/lexical-theme": "0.0.0-unstable.6f45466a1d",
36
- "@webiny/plugins": "0.0.0-unstable.6f45466a1d",
16
+ "@emotion/react": "11.14.0",
17
+ "@webiny/app": "0.0.0-unstable.7be00a75a9",
18
+ "@webiny/app-aco": "0.0.0-unstable.7be00a75a9",
19
+ "@webiny/app-admin": "0.0.0-unstable.7be00a75a9",
20
+ "@webiny/app-admin-ui": "0.0.0-unstable.7be00a75a9",
21
+ "@webiny/app-audit-logs": "0.0.0-unstable.7be00a75a9",
22
+ "@webiny/app-file-manager": "0.0.0-unstable.7be00a75a9",
23
+ "@webiny/app-file-manager-s3": "0.0.0-unstable.7be00a75a9",
24
+ "@webiny/app-graphql-playground": "0.0.0-unstable.7be00a75a9",
25
+ "@webiny/app-headless-cms": "0.0.0-unstable.7be00a75a9",
26
+ "@webiny/app-headless-cms-scheduler": "0.0.0-unstable.7be00a75a9",
27
+ "@webiny/app-headless-cms-workflows": "0.0.0-unstable.7be00a75a9",
28
+ "@webiny/app-mailer": "0.0.0-unstable.7be00a75a9",
29
+ "@webiny/app-record-locking": "0.0.0-unstable.7be00a75a9",
30
+ "@webiny/app-scheduler": "0.0.0-unstable.7be00a75a9",
31
+ "@webiny/app-sdk-playground": "0.0.0-unstable.7be00a75a9",
32
+ "@webiny/app-security-access-management": "0.0.0-unstable.7be00a75a9",
33
+ "@webiny/app-trash-bin": "0.0.0-unstable.7be00a75a9",
34
+ "@webiny/app-website-builder": "0.0.0-unstable.7be00a75a9",
35
+ "@webiny/app-website-builder-scheduler": "0.0.0-unstable.7be00a75a9",
36
+ "@webiny/app-website-builder-workflows": "0.0.0-unstable.7be00a75a9",
37
+ "@webiny/app-websockets": "0.0.0-unstable.7be00a75a9",
38
+ "@webiny/app-workflows": "0.0.0-unstable.7be00a75a9",
39
+ "@webiny/background-tasks": "0.0.0-unstable.7be00a75a9",
40
+ "@webiny/di": "0.0.0-unstable.7be00a75a9",
41
+ "@webiny/lexical-editor-actions": "0.0.0-unstable.7be00a75a9",
42
+ "@webiny/lexical-theme": "0.0.0-unstable.7be00a75a9",
43
+ "@webiny/plugins": "0.0.0-unstable.7be00a75a9",
44
+ "@webiny/webhooks": "0.0.0-unstable.7be00a75a9",
37
45
  "apollo-cache": "1.3.5",
38
46
  "apollo-client": "2.6.10",
39
47
  "apollo-link": "1.2.14",
40
48
  "apollo-link-batch-http": "1.2.14",
41
49
  "apollo-utilities": "1.3.4",
42
- "react": "18.2.0",
43
- "react-dom": "18.2.0"
50
+ "react": "18.3.1",
51
+ "react-dom": "18.3.1"
44
52
  },
45
53
  "devDependencies": {
46
- "@emotion/babel-plugin": "11.13.5",
47
- "@webiny/build-tools": "0.0.0-unstable.6f45466a1d",
48
- "rimraf": "6.1.2",
49
- "typescript": "5.9.3"
54
+ "@webiny/build-tools": "0.0.0-unstable.7be00a75a9",
55
+ "rimraf": "6.1.3",
56
+ "typescript": "6.0.3"
50
57
  },
51
58
  "publishConfig": {
52
- "access": "public",
53
- "directory": "dist"
59
+ "access": "public"
54
60
  },
55
61
  "svgo": {
56
62
  "plugins": {
@@ -64,5 +70,7 @@
64
70
  ]
65
71
  }
66
72
  },
67
- "gitHead": "6f45466a1d9fb94f6156923501eb90ac303b81a5"
73
+ "webiny": {
74
+ "publishFrom": "dist"
75
+ }
68
76
  }
package/styles.scss CHANGED
@@ -1,9 +1,5 @@
1
1
  // Import `app-admin-ui` styles
2
2
  @use "~@webiny/app-admin-ui/styles.scss" as *;
3
3
 
4
- // Import `ui` styles
5
- // ⚠️ DEPRECATED but needed for backward compatibility ⚠️
6
- @use "~@webiny/ui/styles.scss" as *;
7
-
8
4
  // Import Lexical theme styles
9
5
  @import "@webiny/lexical-theme/theme.css";
package/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"names":["Admin","useApp","useWcp","useTags","Dashboard","DashboardRenderer","Layout","LayoutRenderer","LoginScreen","LoginScreenRenderer","Brand","BrandRenderer","Provider","Compose","CompositionScope","Plugins","Plugin","AdminConfig","makeComposable","makeDecoratable","createComponentPlugin","createProviderPlugin","createDecorator","createProvider","Navigation","NavigationRenderer","Tags","UserMenu","UserMenuHandle","UserMenuHandleRenderer","UserMenuItem","UserMenuItemRenderer","AddGraphQLQuerySelection","useTenantContext"],"sources":["index.tsx"],"sourcesContent":["export { Admin } from \"./Admin.js\";\nexport type { AdminProps } from \"./Admin.js\";\nexport {\n useApp,\n useWcp,\n useTags,\n Dashboard,\n DashboardRenderer,\n Layout,\n LayoutRenderer,\n LoginScreen,\n LoginScreenRenderer,\n Brand,\n BrandRenderer,\n Provider,\n Compose,\n CompositionScope,\n Plugins,\n Plugin,\n AdminConfig,\n makeComposable,\n makeDecoratable,\n createComponentPlugin,\n createProviderPlugin,\n createDecorator,\n createProvider,\n Navigation,\n NavigationRenderer,\n Tags,\n UserMenu,\n UserMenuHandle,\n UserMenuHandleRenderer,\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} from \"@webiny/app-admin\";\n\nexport { useTenantContext } from \"@webiny/app-admin\";\nexport type { Tenant } from \"@webiny/app-admin\";\n\nexport * from \"./apolloClientFactory.js\";\n"],"mappings":"AAAA,SAASA,KAAK;AAEd,SACIC,MAAM,EACNC,MAAM,EACNC,OAAO,EACPC,SAAS,EACTC,iBAAiB,EACjBC,MAAM,EACNC,cAAc,EACdC,WAAW,EACXC,mBAAmB,EACnBC,KAAK,EACLC,aAAa,EACbC,QAAQ,EACRC,OAAO,EACPC,gBAAgB,EAChBC,OAAO,EACPC,MAAM,EACNC,WAAW,EACXC,cAAc,EACdC,eAAe,EACfC,qBAAqB,EACrBC,oBAAoB,EACpBC,eAAe,EACfC,cAAc,EACdC,UAAU,EACVC,kBAAkB,EAClBC,IAAI,EACJC,QAAQ,EACRC,cAAc,EACdC,sBAAsB,EACtBC,YAAY,EACZC,oBAAoB,EACpBC,wBAAwB,QACrB,mBAAmB;AAU1B,SAASC,gBAAgB,QAAQ,mBAAmB;AAGpD","ignoreList":[]}