felicity-lims/webapp/graphql/operations/instrument.queries.graphql
2024-11-20 06:39:33 +02:00

120 lines
2.1 KiB
GraphQL

query getAllSuppliers {
supplierAll {
uid
name
description
}
}
query getAllManufacturers {
manufacturerAll {
uid
name
description
}
}
query getAllInstrumentTypes {
instrumentTypeAll {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
items {
uid
name
description
}
}
}
query getAllInstruments {
instrumentAll {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
items {
uid
name
description
keyword
supplierUid
supplier {
uid
name
}
manufacturerUid
manufacturer {
uid
name
}
instrumentTypeUid
instrumentType {
uid
name
}
}
}
}
query getAllLaboratoryInstruments {
laboratoryInstrumentAll {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
items {
uid
labName
serialNumber
instrumentUid
instrument {
uid
name
}
dateCommissioned
dateDecommissioned
}
}
}
query getAllMethods {
methodAll {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
items {
uid
name
description
keyword
instruments {
uid
name
description
}
}
}
}
query getAllUnits {
unitAll {
uid
name
}
}