Currency Field Type
Create a Currency Field Type
mutation {
fields(
boardId: "6152bff8ee3a6e000130edbb"
dto: {
name: "Country Currency"
description: "Enter a currency"
type: "currency"
unique: false
isVisibleOnTable: true
typeData: {
required: true
}
}
) {
id
fieldsSecret {
name
typeData {
required
}
}
createdTime
nameHash
isVisibleOnTable
position
}
}
{
"data": {
"fields": {
"id": "616ace12c5e26900013033e4",
"fieldsSecret": {
"name": "Country Currency",
"typeData": {
"required": true
}
},
"createdTime": "Sat Oct 16 13:05:22 GMT 2021",
"nameHash": "E29A1952E1595FF373FB7F17DACFEDB2",
"isVisibleOnTable": true,
"position": 6
}
}
}
Update a Currency Field Type
mutation {
updateFields(
boardId: "6152bff8ee3a6e000130edbb"
fieldId: "616ace12c5e26900013033e4"
dto: {
name: "currency"
description: "select a currency"
type: "currency"
unique: false
isVisibleOnTable: false
typeData: {
required: true
}
}
) {
id
fieldsSecret {
name
typeData {
required
}
}
createdTime
nameHash
isVisibleOnTable
position
}
}
{
"data": {
"updateFields": {
"id": "616ace12c5e26900013033e4",
"fieldsSecret": {
"name": "currency",
"typeData": {
"required": true
}
},
"createdTime": "Sat Oct 16 13:05:22 GMT 2021",
"nameHash": "1AF0389838508D7016A9841EB6273962",
"isVisibleOnTable": false,
"position": 6
}
}
}
Delete Currency Field Type
mutation {
deleteFields(
boardId: "6152bff8ee3a6e000130edbb"
fieldId: "616ace12c5e26900013033e4"
)
}
{
"data": {
"deleteFields": "SUCCESS"
}
}
Updated about 3 years ago