From ac6e95f49b496dcdc8fbd5693d10bf1f27669d7c Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 4 Mar 2023 12:08:36 +0530 Subject: [PATCH] fix: include column_name prop in columnReq type and remove from required array Signed-off-by: Pranav C --- packages/nocodb-sdk/src/lib/Api.ts | 1 + packages/nocodb/src/schema/swagger.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index 662e9f5400..7de844d3dd 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -428,6 +428,7 @@ export type ColumnReqType = ( NormalColumnRequestType & RollupColumnReqType) ) & { + column_name?: string; /** Column order in a specific view */ column_order?: { order?: number; diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index aad16a1f92..26a98d4b54 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -8463,6 +8463,9 @@ }, { "properties": { + "column_name": { + "type": "string" + }, "column_order": { "description": "Column order in a specific view", "properties": {