@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 +28 -20
- package/Admin.js.map +1 -1
- package/apolloClientFactory.js +31 -49
- package/apolloClientFactory.js.map +1 -1
- package/apolloLinks.js +6 -13
- package/apolloLinks.js.map +1 -1
- package/index.js +2 -5
- package/package.json +43 -35
- package/styles.scss +0 -4
- package/index.js.map +0 -1
package/Admin.js
CHANGED
|
@@ -1,39 +1,47 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { 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
|
|
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
|
|
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
|
|
20
|
-
import { SchedulerConfigs } from "@webiny/app-
|
|
21
|
-
import {
|
|
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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
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,"
|
|
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"}
|
package/apolloClientFactory.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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,"
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
package/apolloLinks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
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
|
-
|
|
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.
|
|
3
|
+
"version": "0.0.0-unstable.7be00a75a9",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"
|
|
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.
|
|
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-ui": "0.0.0-unstable.
|
|
18
|
-
"@webiny/app-audit-logs": "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-graphql-playground": "0.0.0-unstable.
|
|
22
|
-
"@webiny/app-headless-cms": "0.0.0-unstable.
|
|
23
|
-
"@webiny/app-headless-cms-scheduler": "0.0.0-unstable.
|
|
24
|
-
"@webiny/app-headless-cms-workflows": "0.0.0-unstable.
|
|
25
|
-
"@webiny/app-mailer": "0.0.0-unstable.
|
|
26
|
-
"@webiny/app-record-locking": "0.0.0-unstable.
|
|
27
|
-
"@webiny/app-
|
|
28
|
-
"@webiny/app-
|
|
29
|
-
"@webiny/app-
|
|
30
|
-
"@webiny/app-
|
|
31
|
-
"@webiny/app-
|
|
32
|
-
"@webiny/app-
|
|
33
|
-
"@webiny/
|
|
34
|
-
"@webiny/
|
|
35
|
-
"@webiny/
|
|
36
|
-
"@webiny/
|
|
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.
|
|
43
|
-
"react-dom": "18.
|
|
50
|
+
"react": "18.3.1",
|
|
51
|
+
"react-dom": "18.3.1"
|
|
44
52
|
},
|
|
45
53
|
"devDependencies": {
|
|
46
|
-
"@
|
|
47
|
-
"
|
|
48
|
-
"
|
|
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
|
-
"
|
|
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":[]}
|