Files
stpweb/backend/graph/schema/message.graphql
T
adamfandClaude Fable 5.1 6037729edd
Deploy with Docker Compose / deploy (push) Successful in 58s
Add admin-only private chat messages and message deletion
Admins can flag a chat message as private so only other admin
connections receive it, and can delete any message. Admin status is
read from the auth cookies on the WebSocket upgrade request.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 15:22:26 +01:00

13 lines
167 B
GraphQL

type Message {
id: ID!
content: String!
authorId: Int!
fileUrl: String
private: Boolean!
createdAt: Time!
}
extend type Query {
messages: [Message!]!
}