@shipfox/api-server 14.0.0 → 15.0.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
@@ -2,7 +2,7 @@
2
2
  "name": "@shipfox/api-server",
3
3
  "license": "MIT",
4
4
  "private": false,
5
- "version": "14.0.0",
5
+ "version": "15.0.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/ShipfoxHQ/shipfox.git",
@@ -22,36 +22,36 @@
22
22
  }
23
23
  },
24
24
  "dependencies": {
25
- "@shipfox/annotations": "12.3.0",
25
+ "@shipfox/annotations": "15.0.0",
26
26
  "@shipfox/annotations-dto": "12.3.0",
27
- "@shipfox/api-agent": "14.0.0",
28
- "@shipfox/api-agent-dto": "14.0.0",
29
- "@shipfox/api-auth": "13.1.0",
30
- "@shipfox/api-auth-dto": "12.0.0",
31
- "@shipfox/api-definitions": "14.0.0",
32
- "@shipfox/api-definitions-dto": "14.0.0",
33
- "@shipfox/api-dispatcher": "12.2.0",
34
- "@shipfox/api-email-challenges": "1.1.9",
35
- "@shipfox/api-integration-core": "14.0.0",
36
- "@shipfox/api-integration-core-dto": "14.0.0",
37
- "@shipfox/api-logs": "14.0.0",
38
- "@shipfox/api-projects": "14.0.0",
39
- "@shipfox/api-projects-dto": "14.0.0",
40
- "@shipfox/api-runners": "14.0.0",
27
+ "@shipfox/api-agent": "15.0.0",
28
+ "@shipfox/api-agent-dto": "15.0.0",
29
+ "@shipfox/api-auth": "15.0.0",
30
+ "@shipfox/api-auth-dto": "15.0.0",
31
+ "@shipfox/api-definitions": "15.0.0",
32
+ "@shipfox/api-definitions-dto": "15.0.0",
33
+ "@shipfox/api-dispatcher": "15.0.0",
34
+ "@shipfox/api-email-challenges": "1.1.10",
35
+ "@shipfox/api-integration-core": "15.0.0",
36
+ "@shipfox/api-integration-core-dto": "15.0.0",
37
+ "@shipfox/api-logs": "15.0.0",
38
+ "@shipfox/api-projects": "15.0.0",
39
+ "@shipfox/api-projects-dto": "15.0.0",
40
+ "@shipfox/api-runners": "15.0.0",
41
41
  "@shipfox/api-runners-dto": "14.0.0",
42
- "@shipfox/api-secrets": "14.0.0",
42
+ "@shipfox/api-secrets": "15.0.0",
43
43
  "@shipfox/api-secrets-dto": "12.0.0",
44
- "@shipfox/api-triggers": "14.0.0",
45
- "@shipfox/api-workflows": "14.0.0",
46
- "@shipfox/api-workflows-dto": "14.0.0",
47
- "@shipfox/api-workspaces-dto": "12.0.0",
48
- "@shipfox/api-workspaces": "14.0.0",
44
+ "@shipfox/api-triggers": "15.0.0",
45
+ "@shipfox/api-workflows": "15.0.0",
46
+ "@shipfox/api-workflows-dto": "15.0.0",
47
+ "@shipfox/api-workspaces-dto": "15.0.0",
48
+ "@shipfox/api-workspaces": "15.0.0",
49
49
  "@shipfox/config": "1.2.4",
50
50
  "@shipfox/node-error-monitoring": "0.3.0",
51
- "@shipfox/node-fastify": "0.4.2",
51
+ "@shipfox/node-fastify": "0.4.3",
52
52
  "@shipfox/node-jwt": "0.4.0",
53
- "@shipfox/node-module": "1.0.6",
54
- "@shipfox/node-opentelemetry": "0.6.4",
53
+ "@shipfox/node-module": "1.0.7",
54
+ "@shipfox/node-opentelemetry": "0.6.5",
55
55
  "@shipfox/node-postgres": "0.5.0"
56
56
  },
57
57
  "imports": {
@@ -246,6 +246,7 @@ describe('defaultModules', () => {
246
246
  getLeasedAgentToolContext: vi.fn(),
247
247
  getStepLogContext: vi.fn(),
248
248
  resolveWorkflowRunTriggerReference: vi.fn(),
249
+ startDevRun: vi.fn(),
249
250
  startRunFromTrigger: vi.fn(),
250
251
  },
251
252
  },
package/src/modules.ts CHANGED
@@ -212,7 +212,11 @@ export async function defaultModules(
212
212
  workflows: workflowsClient,
213
213
  jobLeaseTokenTtlSeconds: durationToSeconds(authConfig.AUTH_JOB_LEASE_TOKEN_EXPIRES_IN),
214
214
  }),
215
- createTriggersModule({workflows: workflowsClient}),
215
+ createTriggersModule({
216
+ workflows: workflowsClient,
217
+ definitions: definitionsClient,
218
+ projects: projectsClient,
219
+ }),
216
220
  dispatcherModule,
217
221
  ...extensionModules,
218
222
  ];