@shipfox/api-server 14.0.0 → 16.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +65 -0
- package/dist/modules.d.ts.map +1 -1
- package/dist/modules.js +3 -1
- package/dist/modules.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +26 -26
- package/src/modules.test.ts +2 -0
- package/src/modules.ts +5 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@shipfox/api-server",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "16.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": "
|
|
25
|
+
"@shipfox/annotations": "15.0.0",
|
|
26
26
|
"@shipfox/annotations-dto": "12.3.0",
|
|
27
|
-
"@shipfox/api-agent": "
|
|
28
|
-
"@shipfox/api-agent-dto": "
|
|
29
|
-
"@shipfox/api-auth": "
|
|
30
|
-
"@shipfox/api-auth-dto": "
|
|
31
|
-
"@shipfox/api-definitions": "
|
|
32
|
-
"@shipfox/api-definitions-dto": "
|
|
33
|
-
"@shipfox/api-dispatcher": "
|
|
34
|
-
"@shipfox/api-email-challenges": "1.1.
|
|
35
|
-
"@shipfox/api-integration-core": "
|
|
36
|
-
"@shipfox/api-integration-core-dto": "
|
|
37
|
-
"@shipfox/api-logs": "
|
|
38
|
-
"@shipfox/api-projects": "
|
|
39
|
-
"@shipfox/api-projects-dto": "
|
|
40
|
-
"@shipfox/api-runners": "
|
|
41
|
-
"@shipfox/api-runners-dto": "
|
|
42
|
-
"@shipfox/api-secrets": "
|
|
27
|
+
"@shipfox/api-agent": "16.0.0",
|
|
28
|
+
"@shipfox/api-agent-dto": "16.0.0",
|
|
29
|
+
"@shipfox/api-auth": "15.0.0",
|
|
30
|
+
"@shipfox/api-auth-dto": "15.0.0",
|
|
31
|
+
"@shipfox/api-definitions": "16.0.0",
|
|
32
|
+
"@shipfox/api-definitions-dto": "16.0.0",
|
|
33
|
+
"@shipfox/api-dispatcher": "15.0.0",
|
|
34
|
+
"@shipfox/api-email-challenges": "1.1.10",
|
|
35
|
+
"@shipfox/api-integration-core": "16.0.0",
|
|
36
|
+
"@shipfox/api-integration-core-dto": "16.0.0",
|
|
37
|
+
"@shipfox/api-logs": "16.0.0",
|
|
38
|
+
"@shipfox/api-projects": "16.0.0",
|
|
39
|
+
"@shipfox/api-projects-dto": "15.0.0",
|
|
40
|
+
"@shipfox/api-runners": "16.0.0",
|
|
41
|
+
"@shipfox/api-runners-dto": "16.0.0",
|
|
42
|
+
"@shipfox/api-secrets": "15.0.0",
|
|
43
43
|
"@shipfox/api-secrets-dto": "12.0.0",
|
|
44
|
-
"@shipfox/api-triggers": "
|
|
45
|
-
"@shipfox/api-workflows": "
|
|
46
|
-
"@shipfox/api-workflows-dto": "
|
|
47
|
-
"@shipfox/api-workspaces-dto": "
|
|
48
|
-
"@shipfox/api-workspaces": "
|
|
44
|
+
"@shipfox/api-triggers": "16.0.0",
|
|
45
|
+
"@shipfox/api-workflows": "16.0.0",
|
|
46
|
+
"@shipfox/api-workflows-dto": "16.0.0",
|
|
47
|
+
"@shipfox/api-workspaces-dto": "15.0.0",
|
|
48
|
+
"@shipfox/api-workspaces": "16.0.0",
|
|
49
49
|
"@shipfox/config": "1.2.4",
|
|
50
50
|
"@shipfox/node-error-monitoring": "0.3.0",
|
|
51
|
-
"@shipfox/node-fastify": "0.4.
|
|
51
|
+
"@shipfox/node-fastify": "0.4.3",
|
|
52
52
|
"@shipfox/node-jwt": "0.4.0",
|
|
53
|
-
"@shipfox/node-module": "1.0.
|
|
54
|
-
"@shipfox/node-opentelemetry": "0.6.
|
|
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": {
|
package/src/modules.test.ts
CHANGED
|
@@ -121,6 +121,7 @@ describe('defaultModules', () => {
|
|
|
121
121
|
name: 'integrations',
|
|
122
122
|
interModulePresentations: [
|
|
123
123
|
defineInterModulePresentation(integrationsInterModuleContract, {
|
|
124
|
+
callTool: vi.fn(),
|
|
124
125
|
createCheckoutSpec: vi.fn(),
|
|
125
126
|
fetchSourceFile: vi.fn(),
|
|
126
127
|
getAgentToolsContext: vi.fn(),
|
|
@@ -246,6 +247,7 @@ describe('defaultModules', () => {
|
|
|
246
247
|
getLeasedAgentToolContext: vi.fn(),
|
|
247
248
|
getStepLogContext: vi.fn(),
|
|
248
249
|
resolveWorkflowRunTriggerReference: vi.fn(),
|
|
250
|
+
startDevRun: vi.fn(),
|
|
249
251
|
startRunFromTrigger: vi.fn(),
|
|
250
252
|
},
|
|
251
253
|
},
|
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({
|
|
215
|
+
createTriggersModule({
|
|
216
|
+
workflows: workflowsClient,
|
|
217
|
+
definitions: definitionsClient,
|
|
218
|
+
projects: projectsClient,
|
|
219
|
+
}),
|
|
216
220
|
dispatcherModule,
|
|
217
221
|
...extensionModules,
|
|
218
222
|
];
|