@shipfox/api-workflows 9.0.3 → 9.2.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shipfox/api-workflows",
3
3
  "license": "MIT",
4
- "version": "9.0.3",
4
+ "version": "9.2.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ShipfoxHQ/shipfox.git",
@@ -22,28 +22,28 @@
22
22
  "@temporalio/workflow": "1.18.1",
23
23
  "drizzle-orm": "^0.45.2",
24
24
  "zod": "^4.4.3",
25
- "@shipfox/api-auth-context": "9.0.3",
26
- "@shipfox/api-auth-dto": "9.0.2",
25
+ "@shipfox/api-auth-context": "9.2.0",
26
+ "@shipfox/api-auth-dto": "9.2.0",
27
27
  "@shipfox/api-agent-dto": "9.0.2",
28
- "@shipfox/api-definitions-dto": "9.0.2",
29
28
  "@shipfox/annotations-dto": "9.0.2",
30
- "@shipfox/api-projects-dto": "9.0.2",
29
+ "@shipfox/api-definitions-dto": "9.0.2",
30
+ "@shipfox/api-projects-dto": "9.2.0",
31
31
  "@shipfox/api-integration-core-dto": "9.0.2",
32
32
  "@shipfox/api-runners-dto": "9.0.2",
33
33
  "@shipfox/api-secrets-dto": "9.0.2",
34
34
  "@shipfox/api-workflows-dto": "9.0.2",
35
35
  "@shipfox/inter-module": "0.2.2",
36
36
  "@shipfox/expression": "1.1.5",
37
- "@shipfox/node-fastify": "0.3.3",
38
- "@shipfox/node-error-monitoring": "0.3.0",
39
37
  "@shipfox/node-drizzle": "0.3.4",
38
+ "@shipfox/node-error-monitoring": "0.3.0",
39
+ "@shipfox/node-fastify": "0.3.3",
40
40
  "@shipfox/node-module": "1.0.2",
41
41
  "@shipfox/node-opentelemetry": "0.6.2",
42
42
  "@shipfox/node-outbox": "0.2.6",
43
- "@shipfox/node-temporal": "0.4.3",
44
43
  "@shipfox/node-postgres": "0.4.4",
45
- "@shipfox/workflow-document": "2.1.3",
46
- "@shipfox/runner-labels": "0.1.3"
44
+ "@shipfox/node-temporal": "0.4.3",
45
+ "@shipfox/runner-labels": "0.1.3",
46
+ "@shipfox/workflow-document": "2.1.3"
47
47
  },
48
48
  "imports": {
49
49
  "#*": "./dist/*"
@@ -8,4 +8,12 @@ export const workflowsTestAuthClient: AuthInterModuleClient = {
8
8
  async mintJobLeaseToken(claims) {
9
9
  return {token: await mintLeaseToken(claims)};
10
10
  },
11
+ getCurrentAdminRole() {
12
+ return Promise.resolve({role: null});
13
+ },
14
+ requireAdminRole() {
15
+ return Promise.reject(
16
+ new Error('Administrator role checks are not configured in workflow tests'),
17
+ );
18
+ },
11
19
  };