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": { "Example 1": {
"value": { "value": {
"link": [ "link": [
{"Id": 1}, {
{"Id": 2}, "Id": 1
{"Id": 3}, },
{"Id": 5}, {
{"Id": 6} "Id": 2
},
{
"Id": 3
},
{
"Id": 5
},
{
"Id": 6
}
], ],
"unlink": [ "unlink": [
{"Id": 4} {
"Id": 4
}
] ]
} }
} }
@ -17208,7 +17220,9 @@
"$ref": "#/components/responses/BadRequest" "$ref": "#/components/responses/BadRequest"
} }
}, },
"tags": ["DB Data Table Row"], "tags": [
"DB Data Table Row"
],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
@ -23308,13 +23322,15 @@
}, },
"CalendarRangeOrNull": { "CalendarRangeOrNull": {
"description": "Model for CalendarRangeOrNull", "description": "Model for CalendarRangeOrNull",
"example": [{ "example": [
{
"id": "kvc_2skkg5mi1eb37f", "id": "kvc_2skkg5mi1eb37f",
"fk_from_column_id": "cl_hzos4ghyncqi4k", "fk_from_column_id": "cl_hzos4ghyncqi4k",
"fk_to_column_id": "cl_hzos4ghyncqi4k", "fk_to_column_id": "cl_hzos4ghyncqi4k",
"fk_view_id": "vw_wqs4zheuo5lgdy", "fk_view_id": "vw_wqs4zheuo5lgdy",
"label": "string" "label": "string"
}], }
],
"oneOf": [ "oneOf": [
{ {
"type": "null" "type": "null"
@ -25282,7 +25298,11 @@
"properties": { "properties": {
"operation": { "operation": {
"type": "string", "type": "string",
"enum": ["copy", "paste", "deleteAll"] "enum": [
"copy",
"paste",
"deleteAll"
]
}, },
"rowId": { "rowId": {
"type": "string" "type": "string"
@ -25294,7 +25314,115 @@
"type": "string" "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