mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 14:41:28 -07:00
misc cleanup
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user