feat: version tag (#14949)
This commit is contained in:
@@ -111,14 +111,29 @@ export type FetchWorkflowDraftResponse = {
|
||||
}
|
||||
hash: string
|
||||
updated_at: number
|
||||
updated_by: {
|
||||
id: string
|
||||
name: string
|
||||
email: string
|
||||
},
|
||||
tool_published: boolean
|
||||
environment_variables?: EnvironmentVariable[]
|
||||
conversation_variables?: ConversationVariable[]
|
||||
version: string
|
||||
marked_name: string
|
||||
marked_comment: string
|
||||
}
|
||||
|
||||
export type VersionHistory = FetchWorkflowDraftResponse
|
||||
|
||||
export type FetchWorkflowDraftPageParams = {
|
||||
appId: string
|
||||
initialPage: number
|
||||
limit: number
|
||||
userId?: string
|
||||
namedOnly?: boolean
|
||||
}
|
||||
|
||||
export type FetchWorkflowDraftPageResponse = {
|
||||
items: VersionHistory[]
|
||||
has_more: boolean
|
||||
@@ -323,3 +338,14 @@ export type LoopDurationMap = Record<string, number>
|
||||
export type WorkflowConfigResponse = {
|
||||
parallel_depth_limit: number
|
||||
}
|
||||
|
||||
export type PublishWorkflowParams = {
|
||||
title: string
|
||||
releaseNotes: string
|
||||
}
|
||||
|
||||
export type UpdateWorkflowParams = {
|
||||
workflowId: string
|
||||
title: string
|
||||
releaseNotes: string
|
||||
}
|
||||
|
Reference in New Issue
Block a user