summary refs log tree commit diff
path: root/src/util/entities/ReadState.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-03-20 11:00:41 +0100
committerRory& <root@rory.gay>2026-03-20 11:00:41 +0100
commit5c018daba43a50c8c58140df20b1511b15ecff31 (patch)
tree86212ec6f136f79724ea0686cdda1f4edfc8a93e /src/util/entities/ReadState.ts
parentFix missed import from "." (diff)
downloadserver-ts-entity-fix-attempt.tar.xz
Use import type in entities where possible github/entity-fix-attempt entity-fix-attempt
Diffstat (limited to 'src/util/entities/ReadState.ts')
-rw-r--r--src/util/entities/ReadState.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/entities/ReadState.ts b/src/util/entities/ReadState.ts

index a3cee7ed..c929d4c6 100644 --- a/src/util/entities/ReadState.ts +++ b/src/util/entities/ReadState.ts
@@ -17,10 +17,10 @@ */ import { Column, Entity, Index, JoinColumn, ManyToOne, RelationId } from "typeorm"; -import { BaseClass } from "./BaseClass"; -import { Channel } from "./Channel"; -import { User } from "./User"; import { ReadStateFlags, ReadStateType } from "@spacebar/schemas"; +import { BaseClass } from "./BaseClass"; +import type { Channel } from "./Channel"; +import type { User } from "./User"; // for read receipts // notification cursor and public read receipt need to be forwards-only (the former to prevent re-pinging when marked as unread, and the latter to be acceptable as a legal acknowledgement in criminal proceedings), and private read marker needs to be advance-rewind capable