@webiny/app-admin 6.5.0-beta.6 → 6.5.0-beta.8
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/components/Filters/Filters.js +7 -1
- package/components/Filters/Filters.js.map +1 -1
- package/features/formModel/FormModel.d.ts +1 -0
- package/features/formModel/FormModel.js +13 -5
- package/features/formModel/FormModel.js.map +1 -1
- package/features/formModel/FormModel.test.js +43 -0
- package/features/formModel/FormModel.test.js.map +1 -1
- package/features/wcp/WcpGateway.js +7 -0
- package/features/wcp/WcpGateway.js.map +1 -1
- package/package.json +25 -25
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features/wcp/WcpGateway.js","sources":["../../../src/features/wcp/WcpGateway.ts"],"sourcesContent":["import { createImplementation } from \"@webiny/di\";\nimport { WcpGateway as WcpGatewayAbstraction } from \"./abstractions.js\";\nimport { MainGraphQLClient } from \"@webiny/app/features/mainGraphQLClient/index.js\";\nimport type { GetWcpProjectResponse, WcpProjectData } from \"./types.js\";\n\nconst GET_WCP_PROJECT = /* GraphQL */ `\n query GetWcpProject {\n wcp {\n getProject {\n data {\n orgId\n projectId\n package {\n features {\n seats {\n enabled\n options\n }\n multiTenancy {\n enabled\n options\n }\n advancedPublishingWorkflow {\n enabled\n }\n advancedAccessControlLayer {\n enabled\n options\n }\n auditLogs {\n enabled\n }\n recordLocking {\n enabled\n }\n fileManager {\n enabled\n options\n }\n aiPowerups {\n enabled\n options\n }\n }\n }\n }\n error {\n message\n code\n data\n }\n }\n }\n }\n`;\n\nclass WcpGraphQLGateway implements WcpGatewayAbstraction.Interface {\n constructor(private client: MainGraphQLClient.Interface) {}\n\n async fetchProject(): Promise<WcpProjectData | null> {\n const response = await this.client.execute<GetWcpProjectResponse>({\n query: GET_WCP_PROJECT,\n headers: {\n \"x-tenant\": \"root\"\n }\n });\n\n if (response.wcp.getProject.error) {\n throw new Error(response.wcp.getProject.error.message);\n }\n\n return response.wcp.getProject.data;\n }\n}\n\nexport const WcpGateway = createImplementation({\n abstraction: WcpGatewayAbstraction,\n implementation: WcpGraphQLGateway,\n dependencies: [MainGraphQLClient]\n});\n"],"names":["GET_WCP_PROJECT","WcpGraphQLGateway","client","response","Error","WcpGateway","createImplementation","WcpGatewayAbstraction","MainGraphQLClient"],"mappings":";;;AAKA,MAAMA,kBAAgC,CAAC
|
|
1
|
+
{"version":3,"file":"features/wcp/WcpGateway.js","sources":["../../../src/features/wcp/WcpGateway.ts"],"sourcesContent":["import { createImplementation } from \"@webiny/di\";\nimport { WcpGateway as WcpGatewayAbstraction } from \"./abstractions.js\";\nimport { MainGraphQLClient } from \"@webiny/app/features/mainGraphQLClient/index.js\";\nimport type { GetWcpProjectResponse, WcpProjectData } from \"./types.js\";\n\nconst GET_WCP_PROJECT = /* GraphQL */ `\n query GetWcpProject {\n wcp {\n getProject {\n data {\n orgId\n projectId\n package {\n features {\n seats {\n enabled\n options\n }\n multiTenancy {\n enabled\n options\n }\n advancedPublishingWorkflow {\n enabled\n }\n advancedAccessControlLayer {\n enabled\n options\n }\n auditLogs {\n enabled\n }\n recordLocking {\n enabled\n }\n fileManager {\n enabled\n options\n }\n aiPowerups {\n enabled\n options\n }\n abTesting {\n enabled\n }\n collaboration {\n enabled\n options\n }\n }\n }\n }\n error {\n message\n code\n data\n }\n }\n }\n }\n`;\n\nclass WcpGraphQLGateway implements WcpGatewayAbstraction.Interface {\n constructor(private client: MainGraphQLClient.Interface) {}\n\n async fetchProject(): Promise<WcpProjectData | null> {\n const response = await this.client.execute<GetWcpProjectResponse>({\n query: GET_WCP_PROJECT,\n headers: {\n \"x-tenant\": \"root\"\n }\n });\n\n if (response.wcp.getProject.error) {\n throw new Error(response.wcp.getProject.error.message);\n }\n\n return response.wcp.getProject.data;\n }\n}\n\nexport const WcpGateway = createImplementation({\n abstraction: WcpGatewayAbstraction,\n implementation: WcpGraphQLGateway,\n dependencies: [MainGraphQLClient]\n});\n"],"names":["GET_WCP_PROJECT","WcpGraphQLGateway","client","response","Error","WcpGateway","createImplementation","WcpGatewayAbstraction","MainGraphQLClient"],"mappings":";;;AAKA,MAAMA,kBAAgC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDvC,CAAC;AAED,MAAMC;IACF,YAAoBC,MAAmC,CAAE;aAArCA,MAAM,GAANA;IAAsC;IAE1D,MAAM,eAA+C;QACjD,MAAMC,WAAW,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAwB;YAC9D,OAAOH;YACP,SAAS;gBACL,YAAY;YAChB;QACJ;QAEA,IAAIG,SAAS,GAAG,CAAC,UAAU,CAAC,KAAK,EAC7B,MAAM,IAAIC,MAAMD,SAAS,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO;QAGzD,OAAOA,SAAS,GAAG,CAAC,UAAU,CAAC,IAAI;IACvC;AACJ;AAEO,MAAME,wBAAaC,qBAAqB;IAC3C,aAAaC;IACb,gBAAgBN;IAChB,cAAc;QAACO;KAAkB;AACrC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-admin",
|
|
3
|
-
"version": "6.5.0-beta.
|
|
3
|
+
"version": "6.5.0-beta.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.js",
|
|
@@ -23,27 +23,27 @@
|
|
|
23
23
|
"@emotion/styled": "11.14.1",
|
|
24
24
|
"@fortawesome/fontawesome-svg-core": "7.3.1",
|
|
25
25
|
"@fortawesome/react-fontawesome": "3.5.0",
|
|
26
|
-
"@iconify/json": "2.2.
|
|
27
|
-
"@lexical/utils": "0.
|
|
26
|
+
"@iconify/json": "2.2.538",
|
|
27
|
+
"@lexical/utils": "0.52.0",
|
|
28
28
|
"@types/react": "18.3.31",
|
|
29
|
-
"@webiny/admin-ui": "6.5.0-beta.
|
|
30
|
-
"@webiny/app": "6.5.0-beta.
|
|
29
|
+
"@webiny/admin-ui": "6.5.0-beta.8",
|
|
30
|
+
"@webiny/app": "6.5.0-beta.8",
|
|
31
31
|
"@webiny/di": "1.1.0",
|
|
32
|
-
"@webiny/feature": "6.5.0-beta.
|
|
33
|
-
"@webiny/form": "6.5.0-beta.
|
|
34
|
-
"@webiny/icons": "6.5.0-beta.
|
|
35
|
-
"@webiny/lexical-converter": "6.5.0-beta.
|
|
36
|
-
"@webiny/lexical-editor": "6.5.0-beta.
|
|
37
|
-
"@webiny/lexical-nodes": "6.5.0-beta.
|
|
38
|
-
"@webiny/lexical-theme": "6.5.0-beta.
|
|
39
|
-
"@webiny/plugins": "6.5.0-beta.
|
|
40
|
-
"@webiny/react-composition": "6.5.0-beta.
|
|
41
|
-
"@webiny/react-properties": "6.5.0-beta.
|
|
42
|
-
"@webiny/sdk": "6.5.0-beta.
|
|
43
|
-
"@webiny/telemetry": "6.5.0-beta.
|
|
44
|
-
"@webiny/utils": "6.5.0-beta.
|
|
45
|
-
"@webiny/validation": "6.5.0-beta.
|
|
46
|
-
"@webiny/wcp": "6.5.0-beta.
|
|
32
|
+
"@webiny/feature": "6.5.0-beta.8",
|
|
33
|
+
"@webiny/form": "6.5.0-beta.8",
|
|
34
|
+
"@webiny/icons": "6.5.0-beta.8",
|
|
35
|
+
"@webiny/lexical-converter": "6.5.0-beta.8",
|
|
36
|
+
"@webiny/lexical-editor": "6.5.0-beta.8",
|
|
37
|
+
"@webiny/lexical-nodes": "6.5.0-beta.8",
|
|
38
|
+
"@webiny/lexical-theme": "6.5.0-beta.8",
|
|
39
|
+
"@webiny/plugins": "6.5.0-beta.8",
|
|
40
|
+
"@webiny/react-composition": "6.5.0-beta.8",
|
|
41
|
+
"@webiny/react-properties": "6.5.0-beta.8",
|
|
42
|
+
"@webiny/sdk": "6.5.0-beta.8",
|
|
43
|
+
"@webiny/telemetry": "6.5.0-beta.8",
|
|
44
|
+
"@webiny/utils": "6.5.0-beta.8",
|
|
45
|
+
"@webiny/validation": "6.5.0-beta.8",
|
|
46
|
+
"@webiny/wcp": "6.5.0-beta.8",
|
|
47
47
|
"apollo-cache": "1.3.5",
|
|
48
48
|
"apollo-client": "2.6.10",
|
|
49
49
|
"apollo-link": "1.2.14",
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
"graphql-tag": "2.12.7",
|
|
56
56
|
"history": "5.3.0",
|
|
57
57
|
"is-hotkey": "0.2.0",
|
|
58
|
-
"lexical": "0.
|
|
58
|
+
"lexical": "0.52.0",
|
|
59
59
|
"lodash": "4.18.1",
|
|
60
60
|
"markdown-to-jsx": "9.10.3",
|
|
61
61
|
"mime": "4.1.0",
|
|
62
62
|
"minimatch": "10.2.6",
|
|
63
|
-
"mobx": "7.0.
|
|
63
|
+
"mobx": "7.0.6",
|
|
64
64
|
"mobx-react-lite": "5.1.0",
|
|
65
65
|
"monaco-editor": "0.53.0",
|
|
66
66
|
"react": "18.3.1",
|
|
67
67
|
"react-dom": "18.3.1",
|
|
68
|
-
"react-resizable-panels": "4.14.
|
|
68
|
+
"react-resizable-panels": "4.14.2",
|
|
69
69
|
"react-transition-group": "4.4.5",
|
|
70
70
|
"react-virtualized": "9.22.6",
|
|
71
71
|
"reset-css": "5.0.2",
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
"@types/react-transition-group": "4.4.12",
|
|
84
84
|
"@types/store": "2.0.5",
|
|
85
85
|
"@types/tinycolor2": "1.4.6",
|
|
86
|
-
"@webiny/build-tools": "6.5.0-beta.
|
|
86
|
+
"@webiny/build-tools": "6.5.0-beta.8",
|
|
87
87
|
"rimraf": "6.1.3",
|
|
88
88
|
"typescript": "7.0.2",
|
|
89
|
-
"vitest": "5.0.
|
|
89
|
+
"vitest": "5.0.3"
|
|
90
90
|
},
|
|
91
91
|
"publishConfig": {
|
|
92
92
|
"access": "public"
|