Browse Source

fix: bring missing types

pull/8281/head
Pranav C 3 months ago
parent
commit
87877b7c7b
  1. 150
      packages/nocodb/src/schema/swagger.json

150
packages/nocodb/src/schema/swagger.json

@ -17190,14 +17190,26 @@
"Example 1": {
"value": {
"link": [
{"Id": 1},
{"Id": 2},
{"Id": 3},
{"Id": 5},
{"Id": 6}
{
"Id": 1
},
{
"Id": 2
},
{
"Id": 3
},
{
"Id": 5
},
{
"Id": 6
}
],
"unlink": [
{"Id": 4}
{
"Id": 4
}
]
}
}
@ -17208,7 +17220,9 @@
"$ref": "#/components/responses/BadRequest"
}
},
"tags": ["DB Data Table Row"],
"tags": [
"DB Data Table Row"
],
"requestBody": {
"required": true,
"content": {
@ -23308,13 +23322,15 @@
},
"CalendarRangeOrNull": {
"description": "Model for CalendarRangeOrNull",
"example": [{
"example": [
{
"id": "kvc_2skkg5mi1eb37f",
"fk_from_column_id": "cl_hzos4ghyncqi4k",
"fk_to_column_id": "cl_hzos4ghyncqi4k",
"fk_view_id": "vw_wqs4zheuo5lgdy",
"label": "string"
}],
}
],
"oneOf": [
{
"type": "null"
@ -25282,7 +25298,11 @@
"properties": {
"operation": {
"type": "string",
"enum": ["copy", "paste", "deleteAll"]
"enum": [
"copy",
"paste",
"deleteAll"
]
},
"rowId": {
"type": "string"
@ -25294,7 +25314,115 @@
"type": "string"
}
},
"required": ["operation", "rowId", "columnId", "fk_related_model_id"]
"required": [
"operation",
"rowId",
"columnId",
"fk_related_model_id"
]
}
},
"KanbanColumnReq": {
"description": "Model for Kanban Column Request",
"examples": [
{
"title": "string",
"show": 0,
"order": "1"
}
],
"title": "Kanban Column Model Request",
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Title"
},
"show": {
"$ref": "#/components/schemas/Bool",
"description": "Is this column shown?"
},
"order": {
"type": "number",
"example": 1,
"description": "Column Order"
}
}
},
"GalleryColumnReq": {
"description": "Model for Gallery Column Request",
"examples": [
{
"label": "My Column",
"width": "200px"
}
],
"properties": {
"show": {
"$ref": "#/components/schemas/Bool",
"description": "Show"
},
"order": {
"type": "number",
"description": "Order",
"example": 1
}
}
},
"CalendarColumnReq": {
"description": "Model for Calendar Column Request",
"examples": [
{
"title": "string",
"show": 0,
"bold": 0,
"italic": 0,
"underline": 0,
"order": "1"
}
],
"title": "Calendar Column Model",
"type": "object",
"properties": {
"show": {
"$ref": "#/components/schemas/Bool",
"x-stoplight": {
"id": "uqq8xmyz97t1u"
},
"description": "Is this column shown?"
},
"bold": {
"$ref": "#/components/schemas/Bool",
"x-stoplight": {
"id": "uqq8xmyz97t1u"
},
"description": "Is this column shown as bold?"
},
"italic": {
"$ref": "#/components/schemas/Bool",
"x-stoplight": {
"id": "uqq8xmyz97t1u"
},
"description": "Is this column shown as italic?"
},
"underline": {
"$ref": "#/components/schemas/Bool",
"x-stoplight": {
"id": "uqq8xmyz97t1u"
},
"description": "Is this column shown underlines?"
},
"order": {
"type": "number",
"x-stoplight": {
"id": "pbnchzgci5dwa"
},
"example": 1,
"description": "Column Order"
}
},
"x-stoplight": {
"id": "psbv6c6y9qvbu"
}
}
},

Loading…
Cancel
Save