Created By
Create a Created By Field Type
mutation {
fields(
boardId: "6152bff8ee3a6e000130edbb"
dto: {
name: "Author"
description: "This is a createdBy field type"
type: "createdBy"
unique: true
isVisibleOnTable:true
typeData: {}
}
) {
id
fieldsSecret {
name
description
type
typeData {
padding
starting_point
}
unique
dontUpdate
}
createdTime
nameHash
boardId
isVisibleOnTable
position
}
}
{
"data": {
"fields": {
"id": "6167b44d0155110001c03f96",
"fieldsSecret": {
"name": "Author",
"description": "This is a createdBy field type",
"type": "createdBy",
"typeData": {
"padding": null,
"starting_point": null
},
"unique": true,
"dontUpdate": false
},
"createdTime": "Thu Oct 14 04:38:37 GMT 2021",
"nameHash": "A517747C3D12F99244AE598910D979C5",
"boardId": "6152bff8ee3a6e000130edbb",
"isVisibleOnTable": true,
"position": 16
}
}
}
Update a Created Date Field Type
mutation {
updateFields(
boardId: "6152bff8ee3a6e000130edbb"
fieldId: "6167b44d0155110001c03f96"
dto: {
name: "Created By"
description: "This is a createdBy field type"
type: "createdBy"
unique: true
isVisibleOnTable:false
typeData: {}
}
) {
id
fieldsSecret {
name
description
type
typeData {
padding
starting_point
}
unique
dontUpdate
}
createdTime
nameHash
boardId
isVisibleOnTable
position
}
}
{
"data": {
"updateFields": {
"id": "6167b44d0155110001c03f96",
"fieldsSecret": {
"name": "Created By",
"description": "This is a createdBy field type",
"type": "createdBy",
"typeData": {
"padding": null,
"starting_point": null
},
"unique": true,
"dontUpdate": false
},
"createdTime": "Thu Oct 14 04:38:37 GMT 2021",
"nameHash": "7B1255F8FDD0CB8751BAEE55621164E1",
"boardId": "6152bff8ee3a6e000130edbb",
"isVisibleOnTable": false,
"position": 16
}
}
}
Delete a Created Date Field Type
mutation {
deleteFields(
boardId: "6152bff8ee3a6e000130edbb"
fieldId: "6167b44d0155110001c03f96"
)
}
{
"data": {
"deleteFields": "SUCCESS"
}
}
Updated about 3 years ago