refactor(api): isolate trial app and workflow detail previews (#42659)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
非法操作andautofix-ci[bot] authored and GitHub committed 2026-09-22 05:03:49 +00:00
1 parent 6f61401a91
commit 2da0db7df5
21 files changed
+2536 -491

No files matched your search

@@ -310,7 +310,7 @@ export const tasks = {
}
/**
* Get workflow detail
* Get a detached workflow definition after catalog preview admission
*/
export const get5 = oc
.route({
@@ -318,7 +318,7 @@ export const get5 = oc
method: 'GET',
operationId: 'getTrialAppsByAppIdWorkflows',
path: '/trial-apps/{app_id}/workflows',
summary: 'Get workflow detail',
summary: 'Get a detached workflow definition after catalog preview admission',
tags: ['console'],
})
.input(z.object({ params: zGetTrialAppsByAppIdWorkflowsPath }))
@@ -331,7 +331,7 @@ export const workflows = {
}
/**
* Get app detail
* Get app detail using the viewer's workspace for tool configuration
*/
export const get6 = oc
.route({
@@ -339,7 +339,7 @@ export const get6 = oc
method: 'GET',
operationId: 'getTrialAppsByAppId',
path: '/trial-apps/{app_id}',
summary: 'Get app detail',
summary: "Get app detail using the viewer's workspace for tool configuration",
tags: ['console'],
})
.input(z.object({ params: zGetTrialAppsByAppIdPath }))