30 lines
502 B
TypeScript
30 lines
502 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export interface PadSessionSubscriptionResponse {
|
|
sharedNotes_session: Array<{
|
|
sessionId: string;
|
|
sharedNotesExtId: string;
|
|
padId: string;
|
|
sharedNotes: {
|
|
padId: string;
|
|
};
|
|
}>;
|
|
}
|
|
|
|
export const PAD_SESSION_SUBSCRIPTION = gql`
|
|
subscription padSession {
|
|
sharedNotes_session {
|
|
sessionId
|
|
sharedNotesExtId
|
|
padId
|
|
sharedNotes {
|
|
padId
|
|
}
|
|
}
|
|
}
|
|
`;
|
|
|
|
export default {
|
|
PAD_SESSION_SUBSCRIPTION,
|
|
};
|