Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit e1b0d4c

Browse files
committed
feat(common): add applicantsChanged subscription
1 parent fe8c7c7 commit e1b0d4c

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

common/src/graphql/queries/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { default as me } from './me';
1+
export { default as ME } from './me';
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import gql from 'graphql-tag';
2+
3+
export default gql`
4+
subscription ApplicantsSub {
5+
applicantsChanged {
6+
id
7+
suggestions
8+
projects
9+
firstname
10+
lastname
11+
isAlumni
12+
}
13+
}
14+
`;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as APPLICANTS_CHANGED } from './applicantsChanged';

0 commit comments

Comments
 (0)