misc cleanup

This commit is contained in:
Devin Zuczek
2026-07-21 01:20:20 -04:00
parent 41fa8b9979
commit 086441f6f5
7 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
-- Room instances — live sessions of a room. Stored as a JSON blob in `data` with
-- generated (virtual) columns for every field (snake_case, per the C# `[Column]`
-- generated (virtual) columns for every field (snake_case, per the reference's `[Column]`
-- names), the same pattern as the rooms/accounts tables. `id` (roomInstanceId) is
-- a sequential key held in the blob. Generated from src/room-instance-db.ts
-- (SCHEMA_DDL) — keep in sync. Written/read by the match worker.
+1 -1
View File
@@ -1058,7 +1058,7 @@ describe('rooms endpoints', () => {
expect(created.roomInstanceId).toBeGreaterThan(0)
expect(created.roomId).toBe(2)
expect(created.isPrivate).toBe(true)
expect(created.EncryptVoiceChat).toBe(true) // PascalCase JSON key, per the C#
expect(created.EncryptVoiceChat).toBe(true) // PascalCase JSON key, per the reference
// Reads back identically; JsonIgnore columns are not in the DTO.
const fetched = await getRoomInstance(env.DB, created.roomInstanceId)