@contember/engine-actions 1.3.4 → 1.4.0-alpha.1
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/dist/src/dispatch/DispatchWorkerSupervisor.js +1 -1
- package/dist/src/dispatch/DispatchWorkerSupervisor.js.map +1 -1
- package/dist/src/graphql/http/ActionsApiMiddlewareFactory.js +1 -1
- package/dist/src/graphql/http/ActionsApiMiddlewareFactory.js.map +1 -1
- package/dist/src/tsconfig.tsbuildinfo +1 -1
- package/dist/tests/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -16
- package/src/dispatch/DispatchWorkerSupervisor.ts +1 -1
- package/src/graphql/http/ActionsApiMiddlewareFactory.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contember/engine-actions",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-alpha.1",
|
|
4
4
|
"license": "proprietary",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"typings": "dist/src/index.d.ts",
|
|
@@ -13,25 +13,25 @@
|
|
|
13
13
|
"test": "vitest --no-threads"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@contember/authorization": "1.
|
|
17
|
-
"@contember/database": "1.
|
|
18
|
-
"@contember/database-migrations": "1.
|
|
19
|
-
"@contember/engine-common": "1.
|
|
20
|
-
"@contember/engine-content-api": "1.
|
|
21
|
-
"@contember/engine-http": "1.
|
|
22
|
-
"@contember/engine-plugins": "1.
|
|
23
|
-
"@contember/engine-system-api": "1.
|
|
24
|
-
"@contember/engine-tenant-api": "1.
|
|
25
|
-
"@contember/graphql-utils": "1.
|
|
26
|
-
"@contember/logger": "1.
|
|
27
|
-
"@contember/schema": "1.
|
|
28
|
-
"@contember/schema-utils": "1.
|
|
29
|
-
"@contember/typesafe": "1.
|
|
16
|
+
"@contember/authorization": "1.4.0-alpha.1",
|
|
17
|
+
"@contember/database": "1.4.0-alpha.1",
|
|
18
|
+
"@contember/database-migrations": "1.4.0-alpha.1",
|
|
19
|
+
"@contember/engine-common": "1.4.0-alpha.1",
|
|
20
|
+
"@contember/engine-content-api": "1.4.0-alpha.1",
|
|
21
|
+
"@contember/engine-http": "1.4.0-alpha.1",
|
|
22
|
+
"@contember/engine-plugins": "1.4.0-alpha.1",
|
|
23
|
+
"@contember/engine-system-api": "1.4.0-alpha.1",
|
|
24
|
+
"@contember/engine-tenant-api": "1.4.0-alpha.1",
|
|
25
|
+
"@contember/graphql-utils": "1.4.0-alpha.1",
|
|
26
|
+
"@contember/logger": "1.4.0-alpha.1",
|
|
27
|
+
"@contember/schema": "1.4.0-alpha.1",
|
|
28
|
+
"@contember/schema-utils": "1.4.0-alpha.1",
|
|
29
|
+
"@contember/typesafe": "1.4.0-alpha.1",
|
|
30
30
|
"@graphql-tools/schema": "^8.3.5",
|
|
31
31
|
"graphql-tag": "^2.12.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@contember/engine-api-tester": "1.
|
|
34
|
+
"@contember/engine-api-tester": "1.4.0-alpha.1",
|
|
35
35
|
"@graphql-codegen/cli": "^2.6.2",
|
|
36
36
|
"@graphql-codegen/typescript": "^2.5.1",
|
|
37
37
|
"@graphql-codegen/typescript-operations": "^2.4.2",
|
|
@@ -41,7 +41,7 @@ export class DispatchWorkerSupervisor implements Runnable {
|
|
|
41
41
|
})
|
|
42
42
|
|
|
43
43
|
const refreshProjectWorker = async (container: ProjectContainer, isReloading: boolean) => {
|
|
44
|
-
const db = container.
|
|
44
|
+
const db = container.systemDatabaseContext
|
|
45
45
|
const current = running.get(container.project.slug)
|
|
46
46
|
if (current && current.container === container) {
|
|
47
47
|
return
|
|
@@ -19,7 +19,7 @@ export class ActionsApiMiddlewareFactory {
|
|
|
19
19
|
const { timer, logger, koa } = ctx
|
|
20
20
|
const { projectContainer, identity } = await this.actionsContextResolver.resolve(ctx)
|
|
21
21
|
|
|
22
|
-
const systemDatabase = projectContainer.
|
|
22
|
+
const systemDatabase = projectContainer.systemDatabaseContext
|
|
23
23
|
|
|
24
24
|
logger.debug('Actions query processing started')
|
|
25
25
|
const graphqlContext: ActionsContext = {
|