Barcode
Create a Barcode Field Type
mutation {
fields(
boardId: "615be38975138d0001c501a7"
dto:{
name: "Barcode"
description: "This is a Barcode Field Type"
type: "barcode"
unique: false
typeData: {
field: "6175f2e1354d40000159d4ee"
}
}
){
id
fieldsSecret {
name
description
type
typeData {
field
}
}
boardId
createdTime
lastModifiedTime
}
}
{
"data": {
"fields": {
"id": "6175f765354d40000159d4f1",
"fieldsSecret": {
"name": "Barcode",
"description": "This is a Barcode Field Type",
"type": "barcode",
"typeData": {
"field": "6175f2e1354d40000159d4ee"
}
},
"boardId": "615be38975138d0001c501a7",
"createdTime": "Mon Oct 25 00:16:37 GMT 2021",
"lastModifiedTime": null
}
}
}
Update a Barcode Field Type
mutation {
updateFields(
boardId: "615be38975138d0001c501a7"
fieldId: "6175f765354d40000159d4f1"
dto:{
name: "Barcode"
description: "This is an updated Barcode Field Type"
type: "barcode"
unique: true
typeData: {
field: "6175f2e1354d40000159d4ee"
}
}
){
id
fieldsSecret {
name
description
type
typeData {
field
}
}
boardId
createdTime
lastModifiedTime
}
}
{
"data": {
"updateFields": {
"id": "6175f765354d40000159d4f1",
"fieldsSecret": {
"name": "Barcode",
"description": "This is an updated Barcode Field Type",
"type": "barcode",
"typeData": {
"field": "6175f2e1354d40000159d4ee"
}
},
"boardId": "615be38975138d0001c501a7",
"createdTime": "Mon Oct 25 00:16:37 GMT 2021",
"lastModifiedTime": "Mon Oct 25 00:18:08 GMT 2021"
}
}
}
Delete a Barcode Field Type
mutation {
deleteFields(
boardId: "615be38975138d0001c501a7"
fieldId: "6175f765354d40000159d4f1"
)
}
{
"data": {
"deleteFields": "SUCCESS"
}
}
Updated about 3 years ago