mirror of
https://github.com/langgenius/dify.git
synced 2026-05-22 01:48:39 +08:00
update
This commit is contained in:
@ -133,6 +133,9 @@ export type AppRunnerBootstrapAssignment = {
|
||||
executionTokenVersion?: string
|
||||
executionToken?: string
|
||||
releaseId?: string
|
||||
operation?: string
|
||||
deploymentId?: string
|
||||
reportStatus?: boolean
|
||||
}
|
||||
|
||||
export type AppRunnerBootstrapReply = {
|
||||
@ -145,6 +148,21 @@ export type AppRunnerBootstrapRequest = {
|
||||
runner?: AppRunnerRunnerInfo
|
||||
}
|
||||
|
||||
export type AppRunnerReportRuntimeAssignmentStatusReply = {
|
||||
accepted?: boolean
|
||||
stale?: boolean
|
||||
}
|
||||
|
||||
export type AppRunnerReportRuntimeAssignmentStatusRequest = {
|
||||
deploymentId?: string
|
||||
instanceId?: string
|
||||
releaseId?: string
|
||||
status?: string
|
||||
lastError?: AppRunnerRuntimeLastError
|
||||
runnerId?: string
|
||||
assignmentRevision?: string
|
||||
}
|
||||
|
||||
export type AppRunnerRunnerInfo = {
|
||||
hostname?: string
|
||||
}
|
||||
@ -160,6 +178,7 @@ export type AppRunnerRuntimeArtifactReply = {
|
||||
export type AppRunnerRuntimeArtifactRequest = {
|
||||
instanceId?: string
|
||||
releaseId?: string
|
||||
deploymentId?: string
|
||||
bindingSnapshotVersion?: string
|
||||
}
|
||||
|
||||
@ -169,6 +188,14 @@ export type AppRunnerRuntimeArtifactResult = {
|
||||
artifact?: AppRunnerRuntimeArtifactReply
|
||||
errorCode?: string
|
||||
errorMessage?: string
|
||||
deploymentId?: string
|
||||
}
|
||||
|
||||
export type AppRunnerRuntimeLastError = {
|
||||
phase?: string
|
||||
code?: string
|
||||
message?: string
|
||||
releaseId?: string
|
||||
}
|
||||
|
||||
export type AppRunnerTokenExchangeReply = {
|
||||
|
||||
@ -103,6 +103,9 @@ export const zAppRunnerBootstrapAssignment = z.object({
|
||||
executionTokenVersion: z.string().optional(),
|
||||
executionToken: z.string().optional(),
|
||||
releaseId: z.string().optional(),
|
||||
operation: z.string().optional(),
|
||||
deploymentId: z.string().optional(),
|
||||
reportStatus: z.boolean().optional(),
|
||||
})
|
||||
|
||||
export const zAppRunnerBootstrapReply = z.object({
|
||||
@ -111,6 +114,11 @@ export const zAppRunnerBootstrapReply = z.object({
|
||||
assignments: z.array(zAppRunnerBootstrapAssignment).optional(),
|
||||
})
|
||||
|
||||
export const zAppRunnerReportRuntimeAssignmentStatusReply = z.object({
|
||||
accepted: z.boolean().optional(),
|
||||
stale: z.boolean().optional(),
|
||||
})
|
||||
|
||||
export const zAppRunnerRunnerInfo = z.object({
|
||||
hostname: z.string().optional(),
|
||||
})
|
||||
@ -128,6 +136,7 @@ export const zAppRunnerRuntimeArtifactReply = z.object({
|
||||
export const zAppRunnerRuntimeArtifactRequest = z.object({
|
||||
instanceId: z.string().optional(),
|
||||
releaseId: z.string().optional(),
|
||||
deploymentId: z.string().optional(),
|
||||
bindingSnapshotVersion: z.string().optional(),
|
||||
})
|
||||
|
||||
@ -141,12 +150,30 @@ export const zAppRunnerRuntimeArtifactResult = z.object({
|
||||
artifact: zAppRunnerRuntimeArtifactReply.optional(),
|
||||
errorCode: z.string().optional(),
|
||||
errorMessage: z.string().optional(),
|
||||
deploymentId: z.string().optional(),
|
||||
})
|
||||
|
||||
export const zAppRunnerBatchRuntimeArtifactReply = z.object({
|
||||
results: z.array(zAppRunnerRuntimeArtifactResult).optional(),
|
||||
})
|
||||
|
||||
export const zAppRunnerRuntimeLastError = z.object({
|
||||
phase: z.string().optional(),
|
||||
code: z.string().optional(),
|
||||
message: z.string().optional(),
|
||||
releaseId: z.string().optional(),
|
||||
})
|
||||
|
||||
export const zAppRunnerReportRuntimeAssignmentStatusRequest = z.object({
|
||||
deploymentId: z.string().optional(),
|
||||
instanceId: z.string().optional(),
|
||||
releaseId: z.string().optional(),
|
||||
status: z.string().optional(),
|
||||
lastError: zAppRunnerRuntimeLastError.optional(),
|
||||
runnerId: z.string().optional(),
|
||||
assignmentRevision: z.string().optional(),
|
||||
})
|
||||
|
||||
export const zAppRunnerTokenExchangeReply = z.object({
|
||||
accessToken: z.string().optional(),
|
||||
expiresAt: z.iso.datetime().optional(),
|
||||
|
||||
Reference in New Issue
Block a user