@shipfox/api-server 11.0.0 → 12.1.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 +90 -0
- package/README.md +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +29 -29
- package/src/modules.test.ts +9 -0
- package/test/published/_environment.mjs +0 -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": "12.1.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/ShipfoxHQ/shipfox.git",
|
|
@@ -22,37 +22,37 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@shipfox/annotations": "
|
|
26
|
-
"@shipfox/annotations-dto": "
|
|
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-
|
|
35
|
-
"@shipfox/api-
|
|
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": "
|
|
43
|
-
"@shipfox/api-secrets-dto": "
|
|
44
|
-
"@shipfox/api-triggers": "
|
|
45
|
-
"@shipfox/api-workflows
|
|
46
|
-
"@shipfox/api-workflows": "
|
|
47
|
-
"@shipfox/api-workspaces-dto": "
|
|
48
|
-
"@shipfox/api-workspaces": "
|
|
25
|
+
"@shipfox/annotations": "12.0.0",
|
|
26
|
+
"@shipfox/annotations-dto": "12.0.0",
|
|
27
|
+
"@shipfox/api-agent": "12.0.0",
|
|
28
|
+
"@shipfox/api-agent-dto": "12.0.0",
|
|
29
|
+
"@shipfox/api-auth": "12.0.0",
|
|
30
|
+
"@shipfox/api-auth-dto": "12.0.0",
|
|
31
|
+
"@shipfox/api-definitions": "12.0.0",
|
|
32
|
+
"@shipfox/api-definitions-dto": "12.0.0",
|
|
33
|
+
"@shipfox/api-dispatcher": "12.0.0",
|
|
34
|
+
"@shipfox/api-email-challenges": "1.1.7",
|
|
35
|
+
"@shipfox/api-integration-core": "12.1.0",
|
|
36
|
+
"@shipfox/api-integration-core-dto": "12.0.0",
|
|
37
|
+
"@shipfox/api-logs": "12.1.0",
|
|
38
|
+
"@shipfox/api-projects": "12.0.0",
|
|
39
|
+
"@shipfox/api-projects-dto": "12.0.0",
|
|
40
|
+
"@shipfox/api-runners": "12.1.0",
|
|
41
|
+
"@shipfox/api-runners-dto": "12.0.0",
|
|
42
|
+
"@shipfox/api-secrets": "12.0.0",
|
|
43
|
+
"@shipfox/api-secrets-dto": "12.0.0",
|
|
44
|
+
"@shipfox/api-triggers": "12.1.0",
|
|
45
|
+
"@shipfox/api-workflows": "12.1.0",
|
|
46
|
+
"@shipfox/api-workflows-dto": "12.1.0",
|
|
47
|
+
"@shipfox/api-workspaces-dto": "12.0.0",
|
|
48
|
+
"@shipfox/api-workspaces": "12.0.0",
|
|
49
49
|
"@shipfox/config": "1.2.4",
|
|
50
50
|
"@shipfox/node-error-monitoring": "0.3.0",
|
|
51
|
-
"@shipfox/node-fastify": "0.4.
|
|
52
|
-
"@shipfox/node-jwt": "0.
|
|
53
|
-
"@shipfox/node-module": "1.0.
|
|
51
|
+
"@shipfox/node-fastify": "0.4.1",
|
|
52
|
+
"@shipfox/node-jwt": "0.4.0",
|
|
53
|
+
"@shipfox/node-module": "1.0.5",
|
|
54
54
|
"@shipfox/node-opentelemetry": "0.6.3",
|
|
55
|
-
"@shipfox/node-postgres": "0.
|
|
55
|
+
"@shipfox/node-postgres": "0.5.0"
|
|
56
56
|
},
|
|
57
57
|
"imports": {
|
|
58
58
|
"#*": "./dist/*"
|
package/src/modules.test.ts
CHANGED
|
@@ -122,7 +122,9 @@ describe('defaultModules', () => {
|
|
|
122
122
|
fetchSourceFile: vi.fn(),
|
|
123
123
|
getAgentToolsContext: vi.fn(),
|
|
124
124
|
listSourceFiles: vi.fn(),
|
|
125
|
+
resolveConnection: vi.fn(),
|
|
125
126
|
resolveSourceRepository: vi.fn(),
|
|
127
|
+
resolveTriggerReference: vi.fn(),
|
|
126
128
|
}),
|
|
127
129
|
],
|
|
128
130
|
},
|
|
@@ -157,6 +159,7 @@ describe('defaultModules', () => {
|
|
|
157
159
|
interModulePresentations: [
|
|
158
160
|
defineInterModulePresentation(projectsInterModuleContract, {
|
|
159
161
|
getProjectById: () => ({project: null}),
|
|
162
|
+
getProjectBySource: () => ({project: null}),
|
|
160
163
|
getWorkspaceProjectCounts: () => ({counts: []}),
|
|
161
164
|
requireProjectForWorkspace: () => ({
|
|
162
165
|
project: {
|
|
@@ -167,6 +170,11 @@ describe('defaultModules', () => {
|
|
|
167
170
|
name: 'Project',
|
|
168
171
|
},
|
|
169
172
|
}),
|
|
173
|
+
resolveCheckoutTarget: () => ({
|
|
174
|
+
projectId: crypto.randomUUID(),
|
|
175
|
+
connectionId: crypto.randomUUID(),
|
|
176
|
+
externalRepositoryId: 'repo',
|
|
177
|
+
}),
|
|
170
178
|
}),
|
|
171
179
|
],
|
|
172
180
|
});
|
|
@@ -229,6 +237,7 @@ describe('defaultModules', () => {
|
|
|
229
237
|
deliverEventToJobListener: vi.fn(),
|
|
230
238
|
getLeasedAgentToolContext: vi.fn(),
|
|
231
239
|
getStepLogContext: vi.fn(),
|
|
240
|
+
resolveWorkflowRunTriggerReference: vi.fn(),
|
|
232
241
|
startRunFromTrigger: vi.fn(),
|
|
233
242
|
},
|
|
234
243
|
},
|
|
@@ -27,7 +27,6 @@ export function publishedTestEnvironment() {
|
|
|
27
27
|
JIRA_OAUTH_CLIENT_SECRET: 'external-consumer-client-secret',
|
|
28
28
|
JIRA_OAUTH_REDIRECT_URL: 'https://shipfox.example.com/integrations/jira/callback',
|
|
29
29
|
JIRA_WEBHOOK_BASE_URL: 'https://shipfox.example.com',
|
|
30
|
-
JIRA_WEBHOOK_SIGNING_SECRET: 'external-consumer-webhook-secret',
|
|
31
30
|
LINEAR_MCP_ENDPOINT: 'https://mcp.linear.app/mcp',
|
|
32
31
|
LINEAR_OAUTH_CLIENT_ID: 'external-consumer-client-id',
|
|
33
32
|
LINEAR_OAUTH_CLIENT_SECRET: 'external-consumer-client-secret',
|