mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 17:02:55 +08:00
47 lines
1.2 KiB
TypeScript
47 lines
1.2 KiB
TypeScript
|
import gql from 'graphql-tag';
|
||
|
|
||
|
export const SUBSCRIBE_TO_ACTIVITY_STREAM = gql`
|
||
|
subscription getSystemActivity {
|
||
|
latestActivity {
|
||
|
uid
|
||
|
actorUid
|
||
|
actor {
|
||
|
uid
|
||
|
firstName
|
||
|
lastName
|
||
|
}
|
||
|
actionObjectUid
|
||
|
actionObjectType
|
||
|
actionObject {
|
||
|
__typename
|
||
|
... on SampleType {
|
||
|
uid
|
||
|
sampleId
|
||
|
status
|
||
|
analysisRequest {
|
||
|
patientUid
|
||
|
}
|
||
|
}
|
||
|
... on WorkSheetType {
|
||
|
uid
|
||
|
worksheetId
|
||
|
state
|
||
|
}
|
||
|
... on AnalysisResultType {
|
||
|
uid
|
||
|
sampleUid
|
||
|
result
|
||
|
status
|
||
|
}
|
||
|
... on ReportMetaType {
|
||
|
uid
|
||
|
status
|
||
|
location
|
||
|
}
|
||
|
}
|
||
|
targetUid
|
||
|
verb
|
||
|
}
|
||
|
}
|
||
|
`;
|