chore: generate
This commit is contained in:
parent
0517ab4695
commit
2cd89d64e9
2 changed files with 26 additions and 28 deletions
|
|
@ -62,7 +62,9 @@ export function toPartialRow(info: DeepPartial<Session.Info>) {
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
SyncEvent.project(Session.Event.Created, (db, data) => {
|
SyncEvent.project(Session.Event.Created, (db, data) => {
|
||||||
db.insert(SessionTable).values(Session.toRow(data.info as Session.Info)).run()
|
db.insert(SessionTable)
|
||||||
|
.values(Session.toRow(data.info as Session.Info))
|
||||||
|
.run()
|
||||||
}),
|
}),
|
||||||
|
|
||||||
SyncEvent.project(Session.Event.Updated, (db, data) => {
|
SyncEvent.project(Session.Event.Updated, (db, data) => {
|
||||||
|
|
|
||||||
|
|
@ -4174,8 +4174,6 @@
|
||||||
"parts": {
|
"parts": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"anyOf": [
|
|
||||||
{
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
|
|
@ -4201,8 +4199,6 @@
|
||||||
},
|
},
|
||||||
"required": ["type", "mime", "url"]
|
"required": ["type", "mime", "url"]
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["arguments", "command"]
|
"required": ["arguments", "command"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue