From acd0972575e6d149d19c1bc7b06b17ee145f6ec2 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 23 Sep 2022 19:04:06 +0800 Subject: [PATCH] fix(nocodb-sdk): missing fields / types --- packages/nocodb-sdk/src/lib/Api.ts | 3 ++- scripts/sdk/swagger.json | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index dcf6e1eea1..f7692385fc 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -379,9 +379,10 @@ export interface KanbanColumnType { export interface KanbanType { id?: string; title?: string; + alias?: string; columns?: KanbanColumnType[]; fk_model_id?: string; - grp_column_id?: string; + grp_column_id?: string | null; meta?: string | object; } diff --git a/scripts/sdk/swagger.json b/scripts/sdk/swagger.json index d54add8b29..46a1fa9872 100644 --- a/scripts/sdk/swagger.json +++ b/scripts/sdk/swagger.json @@ -7319,6 +7319,9 @@ "title": { "type": "string" }, + "alias": { + "type": "string" + }, "columns": { "type": "array", "items": { @@ -7329,7 +7332,10 @@ "type": "string" }, "grp_column_id": { - "type": "string" + "type": [ + "string", + "null" + ] }, "meta": { "type": [