Skip to content

Commit 2cd89d6

Browse files
chore: generate
1 parent 0517ab4 commit 2cd89d6

2 files changed

Lines changed: 26 additions & 28 deletions

File tree

‎packages/opencode/src/session/projectors.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ export function toPartialRow(info: DeepPartial<Session.Info>) {
6262

6363
export default [
6464
SyncEvent.project(Session.Event.Created, (db, data) => {
65-
db.insert(SessionTable).values(Session.toRow(data.info as Session.Info)).run()
65+
db.insert(SessionTable)
66+
.values(Session.toRow(data.info as Session.Info))
67+
.run()
6668
}),
6769

6870
SyncEvent.project(Session.Event.Updated, (db, data) => {

‎packages/sdk/openapi.json‎

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4174,34 +4174,30 @@
41744174
"parts": {
41754175
"type": "array",
41764176
"items": {
4177-
"anyOf": [
4178-
{
4179-
"type": "object",
4180-
"properties": {
4181-
"id": {
4182-
"type": "string",
4183-
"pattern": "^prt.*"
4184-
},
4185-
"type": {
4186-
"type": "string",
4187-
"const": "file"
4188-
},
4189-
"mime": {
4190-
"type": "string"
4191-
},
4192-
"filename": {
4193-
"type": "string"
4194-
},
4195-
"url": {
4196-
"type": "string"
4197-
},
4198-
"source": {
4199-
"$ref": "#/components/schemas/FilePartSource"
4200-
}
4201-
},
4202-
"required": ["type", "mime", "url"]
4177+
"type": "object",
4178+
"properties": {
4179+
"id": {
4180+
"type": "string",
4181+
"pattern": "^prt.*"
4182+
},
4183+
"type": {
4184+
"type": "string",
4185+
"const": "file"
4186+
},
4187+
"mime": {
4188+
"type": "string"
4189+
},
4190+
"filename": {
4191+
"type": "string"
4192+
},
4193+
"url": {
4194+
"type": "string"
4195+
},
4196+
"source": {
4197+
"$ref": "#/components/schemas/FilePartSource"
42034198
}
4204-
]
4199+
},
4200+
"required": ["type", "mime", "url"]
42054201
}
42064202
}
42074203
},

0 commit comments

Comments
 (0)