[SSE] Add backend for SSE subscriptions (#17022)
- moved a few gql types to twenty shared to re-use in server - added a new endpoint, onEventSubscription that expect a streamId to create a connection - two new endpoints to store queries in Redis - updated the existing batch channel to directly use object record type
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import { Field, InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class RemoveQueryFromEventStreamInput {
|
||||
@Field()
|
||||
eventStreamId: string;
|
||||
|
||||
@Field()
|
||||
queryId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user