(part: (typeof SessionV1.Event.PartUpdated.Type)["data"]["part"])
| 83 | } |
| 84 | |
| 85 | function partData(part: (typeof SessionV1.Event.PartUpdated.Type)["data"]["part"]): typeof PartTable.$inferInsert.data { |
| 86 | const { id: _, messageID: __, sessionID: ___, ...rest } = part |
| 87 | return rest as DeepMutable<typeof rest> |
| 88 | } |
| 89 | |
| 90 | function applyUsage( |
| 91 | db: DatabaseService, |