chore: generate
This commit is contained in:
parent
5cf597d583
commit
00038027c8
@ -176,7 +176,6 @@ describe("pty HttpApi bridge", () => {
|
||||
message: `PTY session not found: ${missingID}`,
|
||||
})
|
||||
})
|
||||
|
||||
;(process.platform === "win32" ? effectIt.live.skip : effectIt.live)(
|
||||
"serves PTY websocket output and input through Effect routes",
|
||||
() =>
|
||||
|
||||
@ -1700,15 +1700,15 @@ export type McpServerNotFoundError = {
|
||||
message: string
|
||||
}
|
||||
|
||||
export type NotFoundError = {
|
||||
name: "NotFoundError"
|
||||
data: {
|
||||
message: string
|
||||
}
|
||||
export type PtyNotFoundError = {
|
||||
_tag: "PtyNotFoundError"
|
||||
ptyID: string
|
||||
message: string
|
||||
}
|
||||
|
||||
export type EffectHttpApiErrorForbidden = {
|
||||
_tag: "Forbidden"
|
||||
export type PtyForbiddenError = {
|
||||
_tag: "PtyForbiddenError"
|
||||
message: string
|
||||
}
|
||||
|
||||
export type QuestionNotFoundError = {
|
||||
@ -1777,6 +1777,13 @@ export type ProviderAuthError1 = {
|
||||
}
|
||||
}
|
||||
|
||||
export type NotFoundError = {
|
||||
name: "NotFoundError"
|
||||
data: {
|
||||
message: string
|
||||
}
|
||||
}
|
||||
|
||||
export type TextPartInput = {
|
||||
id?: string
|
||||
type: "text"
|
||||
@ -1950,6 +1957,10 @@ export type WorkspaceWarpError = {
|
||||
}
|
||||
}
|
||||
|
||||
export type EffectHttpApiErrorForbidden = {
|
||||
_tag: "Forbidden"
|
||||
}
|
||||
|
||||
export type SyncEventMessageUpdated = {
|
||||
type: "sync"
|
||||
name: "message.updated.1"
|
||||
@ -5566,9 +5577,9 @@ export type PtyRemoveErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* NotFoundError
|
||||
* PtyNotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
404: PtyNotFoundError
|
||||
}
|
||||
|
||||
export type PtyRemoveError = PtyRemoveErrors[keyof PtyRemoveErrors]
|
||||
@ -5600,9 +5611,9 @@ export type PtyGetErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* NotFoundError
|
||||
* PtyNotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
404: PtyNotFoundError
|
||||
}
|
||||
|
||||
export type PtyGetError = PtyGetErrors[keyof PtyGetErrors]
|
||||
@ -5639,6 +5650,10 @@ export type PtyUpdateErrors = {
|
||||
* BadRequest | InvalidRequestError
|
||||
*/
|
||||
400: EffectHttpApiErrorBadRequest | InvalidRequestError
|
||||
/**
|
||||
* PtyNotFoundError
|
||||
*/
|
||||
404: PtyNotFoundError
|
||||
}
|
||||
|
||||
export type PtyUpdateError = PtyUpdateErrors[keyof PtyUpdateErrors]
|
||||
@ -5670,13 +5685,13 @@ export type PtyConnectTokenErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* Forbidden
|
||||
* PtyForbiddenError
|
||||
*/
|
||||
403: EffectHttpApiErrorForbidden
|
||||
403: PtyForbiddenError
|
||||
/**
|
||||
* NotFoundError
|
||||
* PtyNotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
404: PtyNotFoundError
|
||||
}
|
||||
|
||||
export type PtyConnectTokenError = PtyConnectTokenErrors[keyof PtyConnectTokenErrors]
|
||||
|
||||
@ -3964,11 +3964,11 @@
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "NotFoundError",
|
||||
"description": "PtyNotFoundError",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/NotFoundError"
|
||||
"$ref": "#/components/schemas/PtyNotFoundError"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -4040,6 +4040,16 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "PtyNotFoundError",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/PtyNotFoundError"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Update properties of an existing pseudo-terminal (PTY) session.",
|
||||
@ -4134,11 +4144,11 @@
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "NotFoundError",
|
||||
"description": "PtyNotFoundError",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/NotFoundError"
|
||||
"$ref": "#/components/schemas/PtyNotFoundError"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -4219,21 +4229,21 @@
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"description": "PtyForbiddenError",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/effect_HttpApiError_Forbidden"
|
||||
"$ref": "#/components/schemas/PtyForbiddenError"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "NotFoundError",
|
||||
"description": "PtyNotFoundError",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/NotFoundError"
|
||||
"$ref": "#/components/schemas/PtyNotFoundError"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -15419,34 +15429,35 @@
|
||||
"required": ["_tag", "name", "message"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"NotFoundError": {
|
||||
"type": "object",
|
||||
"required": ["name", "data"],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"enum": ["NotFoundError"]
|
||||
},
|
||||
"data": {
|
||||
"type": "object",
|
||||
"required": ["message"],
|
||||
"properties": {
|
||||
"message": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"effect_HttpApiError_Forbidden": {
|
||||
"PtyNotFoundError": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"_tag": {
|
||||
"type": "string",
|
||||
"enum": ["Forbidden"]
|
||||
"enum": ["PtyNotFoundError"]
|
||||
},
|
||||
"ptyID": {
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["_tag"],
|
||||
"required": ["_tag", "ptyID", "message"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"PtyForbiddenError": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"_tag": {
|
||||
"type": "string",
|
||||
"enum": ["PtyForbiddenError"]
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["_tag", "message"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"QuestionNotFoundError": {
|
||||
@ -15646,6 +15657,25 @@
|
||||
"required": ["name", "data"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"NotFoundError": {
|
||||
"type": "object",
|
||||
"required": ["name", "data"],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"enum": ["NotFoundError"]
|
||||
},
|
||||
"data": {
|
||||
"type": "object",
|
||||
"required": ["message"],
|
||||
"properties": {
|
||||
"message": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"TextPartInput": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -16168,6 +16198,17 @@
|
||||
"required": ["name", "data"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"effect_HttpApiError_Forbidden": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"_tag": {
|
||||
"type": "string",
|
||||
"enum": ["Forbidden"]
|
||||
}
|
||||
},
|
||||
"required": ["_tag"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"SyncEventMessageUpdated": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user