Browse Source

refactor(nocodb): add enum

pull/5222/head
Wing-Kam Wong 2 years ago
parent
commit
b3801c35f5
  1. 41
      packages/nocodb/src/schema/swagger.json

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

@ -9311,7 +9311,7 @@
}, },
"system": { "system": {
"$ref": "#/components/schemas/Bool", "$ref": "#/components/schemas/Bool",
"description": "Is System Colun?" "description": "Is System Column?"
}, },
"title": { "title": {
"description": "Column Title", "description": "Column Title",
@ -9321,6 +9321,42 @@
"uidt": { "uidt": {
"description": "The data type in UI", "description": "The data type in UI",
"example": "SingleLineText", "example": "SingleLineText",
"enum": [
"Attachment",
"AutoNumber",
"Barcode",
"Button",
"Checkbox",
"Collaborator",
"Count",
"CreateTime",
"Currency",
"Date",
"DateTime",
"Decimal",
"Duration",
"Email",
"Formula",
"GeoData",
"Geometry",
"ID",
"JSON",
"LastModifiedTime",
"LongText",
"LinkToAnotherRecord",
"MultiSelect",
"Number",
"Percent",
"PhoneNumber",
"Rating",
"SingleLineText",
"SingleSelect",
"SpecificDBType",
"Time",
"URL",
"Year",
"QrCode"
],
"type": "string" "type": "string"
}, },
"un": { "un": {
@ -11747,6 +11783,7 @@
"ID", "ID",
"JSON", "JSON",
"LastModifiedTime", "LastModifiedTime",
"LinkToAnotherRecord",
"LongText", "LongText",
"MultiSelect", "MultiSelect",
"Number", "Number",
@ -14041,7 +14078,7 @@
}, },
"examples": [ "examples": [
{ {
"fk_column_id": "cl_m4wkaqgqqjzoeh", "fk_column_id": "cl_5jestblzneb649",
"show": 0, "show": 0,
"order": 1 "order": 1
} }

Loading…
Cancel
Save