mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 00:42:59 +08:00
219 lines
4.9 KiB
GraphQL
219 lines
4.9 KiB
GraphQL
|
|
||
|
mutation AddStoreRoom($payload: StoreRoomInputType!) {
|
||
|
createStoreRoom(payload: $payload) {
|
||
|
... on StoreRoomType {
|
||
|
__typename
|
||
|
uid
|
||
|
name
|
||
|
description
|
||
|
}
|
||
|
|
||
|
... on OperationError {
|
||
|
__typename
|
||
|
error
|
||
|
suggestion
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation EditStoreRoom($uid: String!, $payload: StoreRoomInputType!) {
|
||
|
updateStoreRoom(uid: $uid, payload: $payload) {
|
||
|
... on StoreRoomType {
|
||
|
__typename
|
||
|
uid
|
||
|
name
|
||
|
description
|
||
|
}
|
||
|
|
||
|
... on OperationError {
|
||
|
__typename
|
||
|
error
|
||
|
suggestion
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation AddStorageLocation($payload: StorageLocationInputType!) {
|
||
|
createStorageLocation(payload: $payload) {
|
||
|
... on StorageLocationType {
|
||
|
__typename
|
||
|
uid
|
||
|
name
|
||
|
description
|
||
|
storeRoomUid
|
||
|
}
|
||
|
|
||
|
... on OperationError {
|
||
|
__typename
|
||
|
error
|
||
|
suggestion
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation EditStorageLocation($uid: String!, $payload: StorageLocationInputType!) {
|
||
|
updateStorageLocation(uid: $uid, payload: $payload) {
|
||
|
... on StorageLocationType {
|
||
|
__typename
|
||
|
uid
|
||
|
name
|
||
|
description
|
||
|
storeRoomUid
|
||
|
}
|
||
|
|
||
|
... on OperationError {
|
||
|
__typename
|
||
|
error
|
||
|
suggestion
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation AddStorageSection($payload: StorageSectionInputType!) {
|
||
|
createStorageSection(payload: $payload) {
|
||
|
... on StorageSectionType {
|
||
|
__typename
|
||
|
uid
|
||
|
name
|
||
|
description
|
||
|
storageLocationUid
|
||
|
storageLocation {
|
||
|
uid
|
||
|
storeRoomUid
|
||
|
}
|
||
|
}
|
||
|
|
||
|
... on OperationError {
|
||
|
__typename
|
||
|
error
|
||
|
suggestion
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation EditStorageSection($uid: String!, $payload: StorageSectionInputType!) {
|
||
|
updateStorageSection(uid: $uid, payload: $payload) {
|
||
|
... on StorageSectionType {
|
||
|
__typename
|
||
|
uid
|
||
|
name
|
||
|
description
|
||
|
storageLocationUid
|
||
|
storageLocation {
|
||
|
uid
|
||
|
storeRoomUid
|
||
|
}
|
||
|
}
|
||
|
|
||
|
... on OperationError {
|
||
|
__typename
|
||
|
error
|
||
|
suggestion
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation AddStorageContainer($payload: StorageContainerInputType!) {
|
||
|
createStorageContainer(payload: $payload) {
|
||
|
... on StorageContainerType {
|
||
|
__typename
|
||
|
uid
|
||
|
name
|
||
|
description
|
||
|
storageSectionUid
|
||
|
storageSection {
|
||
|
uid
|
||
|
storageLocationUid
|
||
|
storageLocation {
|
||
|
uid
|
||
|
storeRoomUid
|
||
|
}
|
||
|
}
|
||
|
grid
|
||
|
rowWise
|
||
|
cols
|
||
|
rows
|
||
|
slots
|
||
|
}
|
||
|
|
||
|
... on OperationError {
|
||
|
__typename
|
||
|
error
|
||
|
suggestion
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation EditStorageContainer($uid: String!, $payload: StorageContainerInputType!) {
|
||
|
updateStorageContainer(uid: $uid, payload: $payload) {
|
||
|
... on StorageContainerType {
|
||
|
__typename
|
||
|
uid
|
||
|
name
|
||
|
description
|
||
|
storageSectionUid
|
||
|
storageSection {
|
||
|
uid
|
||
|
storageLocationUid
|
||
|
storageLocation {
|
||
|
uid
|
||
|
storeRoomUid
|
||
|
}
|
||
|
}
|
||
|
grid
|
||
|
rowWise
|
||
|
cols
|
||
|
rows
|
||
|
slots
|
||
|
}
|
||
|
|
||
|
... on OperationError {
|
||
|
__typename
|
||
|
error
|
||
|
suggestion
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation StoreSamples($payload: [StoreSamplesInputType!]!) {
|
||
|
storeSamples(payload: $payload) {
|
||
|
... on StoredSamplesType {
|
||
|
__typename
|
||
|
samples {
|
||
|
uid
|
||
|
sampleId
|
||
|
priority
|
||
|
status
|
||
|
storageSlot
|
||
|
storageContainerUid
|
||
|
}
|
||
|
}
|
||
|
|
||
|
... on OperationError {
|
||
|
__typename
|
||
|
error
|
||
|
suggestion
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation RecoverSamples($sampleUids: [String!]!) {
|
||
|
recoverSamples(sampleUids: $sampleUids) {
|
||
|
... on StoredSamplesType {
|
||
|
__typename
|
||
|
samples {
|
||
|
uid
|
||
|
status
|
||
|
storageSlot
|
||
|
storageContainerUid
|
||
|
}
|
||
|
}
|
||
|
|
||
|
... on OperationError {
|
||
|
__typename
|
||
|
error
|
||
|
suggestion
|
||
|
}
|
||
|
}
|
||
|
}
|