Files
twenty/packages/twenty-front/src/modules/activities/notes/states/currentNotesQueryVariablesState.ts
T
Thomas TrompetteandGitHub 3acc87a620 [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
2026-01-10 14:44:02 +00:00

10 lines
266 B
TypeScript

import { atom } from 'recoil';
import { type RecordGqlOperationVariables } from 'twenty-shared/types';
export const currentNotesQueryVariablesState =
atom<RecordGqlOperationVariables | null>({
default: null,
key: 'currentNotesQueryVariablesState',
});