feature/IO-3096-GlobalNotifications - Checkpoint
This commit is contained in:
@@ -11,6 +11,9 @@ export const GET_NOTIFICATIONS = gql`
|
||||
scenario_meta
|
||||
created_at
|
||||
read
|
||||
job {
|
||||
ro_number
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -32,18 +35,3 @@ export const MARK_ALL_NOTIFICATIONS_READ = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const SUBSCRIBE_TO_NOTIFICATIONS = gql`
|
||||
subscription SubscribeToNotifications {
|
||||
notifications(where: { read: { _is_null: true } }, order_by: { created_at: desc }) {
|
||||
id
|
||||
jobid
|
||||
associationid
|
||||
scenario_text
|
||||
fcm_text
|
||||
scenario_meta
|
||||
created_at
|
||||
read
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user