Created Date
Create a Created Date Field Type
mutation {
fields(
boardId: "6152bff8ee3a6e000130edbb"
dto: {
name: "Entry Date"
description: "This is a created date "
type: "createdTime"
unique: true
isVisibleOnTable:true
typeData: {}
}
) {
id
fieldsSecret {
name
description
type
typeData {
padding
starting_point
}
unique
dontUpdate
}
createdTime
nameHash
boardId
isVisibleOnTable
position
}
}
{
"data": {
"fields": {
"id": "6167b1bbd3c300000110556b",
"fieldsSecret": {
"name": "Entry Date",
"description": "This is a created date ",
"type": "createdTime",
"typeData": {
"padding": null,
"starting_point": null
},
"unique": true,
"dontUpdate": false
},
"createdTime": "Thu Oct 14 04:27:39 GMT 2021",
"nameHash": "DF9DD8F38D4B7019E8B8339F2FCC0CDC",
"boardId": "6152bff8ee3a6e000130edbb",
"isVisibleOnTable": true,
"position": 16
}
}
}
Update a Created Date Field Type
mutation {
updateFields(
boardId: "6152bff8ee3a6e000130edbb"
fieldId: "6167b1bbd3c300000110556b"
dto: {
name: "Created Date"
description: "This is a created date "
type: "createdTime"
unique: false
isVisibleOnTable:true
typeData: {}
}
) {
id
fieldsSecret {
name
description
type
typeData {
padding
starting_point
}
unique
dontUpdate
}
createdTime
nameHash
boardId
isVisibleOnTable
position
}
}
{
"data": {
"updateFields": {
"id": "6167b1bbd3c300000110556b",
"fieldsSecret": {
"name": "Created Date",
"description": "This is a created date ",
"type": "createdTime",
"typeData": {
"padding": null,
"starting_point": null
},
"unique": false,
"dontUpdate": false
},
"createdTime": "Thu Oct 14 04:27:39 GMT 2021",
"nameHash": "4AE2C96FCEC6F3A3A837223CB5E00402",
"boardId": "6152bff8ee3a6e000130edbb",
"isVisibleOnTable": true,
"position": 16
}
}
}
Delete a Created Date Field Type
mutation {
deleteFields(
boardId: "6152bff8ee3a6e000130edbb"
fieldId: "6167b1bbd3c300000110556b"
)
}
{
"data": {
"deleteFields": "SUCCESS"
}
}
Updated about 3 years ago