mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-23 08:23:00 +08:00
81 lines
2.2 KiB
TypeScript
81 lines
2.2 KiB
TypeScript
|
import gql from 'graphql-tag';
|
||
|
|
||
|
export const GET_ALL_REFLEX_RULES = gql`
|
||
|
query getAllReflexRules {
|
||
|
reflexRuleAll {
|
||
|
totalCount
|
||
|
items {
|
||
|
uid
|
||
|
name
|
||
|
description
|
||
|
createdBy {
|
||
|
firstName
|
||
|
lastName
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
`;
|
||
|
|
||
|
export const GET_EFLEX_RULE_BY_UID = gql`
|
||
|
query getReflexRuleByUid($uid: String!) {
|
||
|
reflexRuleByUid(uid: $uid) {
|
||
|
uid
|
||
|
name
|
||
|
description
|
||
|
reflexActions {
|
||
|
uid
|
||
|
level
|
||
|
description
|
||
|
analyses {
|
||
|
uid
|
||
|
name
|
||
|
}
|
||
|
brains {
|
||
|
description
|
||
|
analysesValues {
|
||
|
analysisUid
|
||
|
analysis {
|
||
|
uid
|
||
|
name
|
||
|
resultOptions {
|
||
|
optionKey
|
||
|
value
|
||
|
}
|
||
|
}
|
||
|
operator
|
||
|
value
|
||
|
}
|
||
|
addNew {
|
||
|
analysisUid
|
||
|
analysis {
|
||
|
uid
|
||
|
name
|
||
|
resultOptions {
|
||
|
optionKey
|
||
|
value
|
||
|
}
|
||
|
}
|
||
|
count
|
||
|
}
|
||
|
finalise {
|
||
|
analysisUid
|
||
|
analysis {
|
||
|
name
|
||
|
resultOptions {
|
||
|
optionKey
|
||
|
value
|
||
|
}
|
||
|
}
|
||
|
value
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
createdBy {
|
||
|
firstName
|
||
|
lastName
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
`;
|