Skip to content

Commit 410fbd8

Browse files
chore: generate
1 parent e5cbecf commit 410fbd8

2 files changed

Lines changed: 29 additions & 29 deletions

File tree

packages/sdk/js/src/v2/gen/types.gen.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,13 @@ export type EventFileWatcherUpdated = {
162162
}
163163
}
164164

165+
export type EventVcsBranchUpdated = {
166+
type: "vcs.branch.updated"
167+
properties: {
168+
branch?: string
169+
}
170+
}
171+
165172
export type EventServerConnected = {
166173
type: "server.connected"
167174
properties: {
@@ -882,13 +889,6 @@ export type EventSessionError = {
882889
}
883890
}
884891

885-
export type EventVcsBranchUpdated = {
886-
type: "vcs.branch.updated"
887-
properties: {
888-
branch?: string
889-
}
890-
}
891-
892892
export type EventWorkspaceReady = {
893893
type: "workspace.ready"
894894
properties: {
@@ -968,6 +968,7 @@ export type Event =
968968
| EventPermissionAsked
969969
| EventPermissionReplied
970970
| EventFileWatcherUpdated
971+
| EventVcsBranchUpdated
971972
| EventServerConnected
972973
| EventGlobalDisposed
973974
| EventLspClientDiagnostics
@@ -994,7 +995,6 @@ export type Event =
994995
| EventSessionDeleted
995996
| EventSessionDiff
996997
| EventSessionError
997-
| EventVcsBranchUpdated
998998
| EventWorkspaceReady
999999
| EventWorkspaceFailed
10001000
| EventPtyCreated

packages/sdk/openapi.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7337,6 +7337,24 @@
73377337
},
73387338
"required": ["type", "properties"]
73397339
},
7340+
"Event.vcs.branch.updated": {
7341+
"type": "object",
7342+
"properties": {
7343+
"type": {
7344+
"type": "string",
7345+
"const": "vcs.branch.updated"
7346+
},
7347+
"properties": {
7348+
"type": "object",
7349+
"properties": {
7350+
"branch": {
7351+
"type": "string"
7352+
}
7353+
}
7354+
}
7355+
},
7356+
"required": ["type", "properties"]
7357+
},
73407358
"Event.server.connected": {
73417359
"type": "object",
73427360
"properties": {
@@ -9387,24 +9405,6 @@
93879405
},
93889406
"required": ["type", "properties"]
93899407
},
9390-
"Event.vcs.branch.updated": {
9391-
"type": "object",
9392-
"properties": {
9393-
"type": {
9394-
"type": "string",
9395-
"const": "vcs.branch.updated"
9396-
},
9397-
"properties": {
9398-
"type": "object",
9399-
"properties": {
9400-
"branch": {
9401-
"type": "string"
9402-
}
9403-
}
9404-
}
9405-
},
9406-
"required": ["type", "properties"]
9407-
},
94089408
"Event.workspace.ready": {
94099409
"type": "object",
94109410
"properties": {
@@ -9629,6 +9629,9 @@
96299629
{
96309630
"$ref": "#/components/schemas/Event.file.watcher.updated"
96319631
},
9632+
{
9633+
"$ref": "#/components/schemas/Event.vcs.branch.updated"
9634+
},
96329635
{
96339636
"$ref": "#/components/schemas/Event.server.connected"
96349637
},
@@ -9707,9 +9710,6 @@
97079710
{
97089711
"$ref": "#/components/schemas/Event.session.error"
97099712
},
9710-
{
9711-
"$ref": "#/components/schemas/Event.vcs.branch.updated"
9712-
},
97139713
{
97149714
"$ref": "#/components/schemas/Event.workspace.ready"
97159715
},

0 commit comments

Comments
 (0)