From f8f2b4ca296382049cf6d6d7a8c83b7ab54ef89f Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sat, 4 Mar 2023 13:38:55 +0800 Subject: [PATCH] chore(sdk): regenerate Api.ts --- packages/nocodb-sdk/src/lib/Api.ts | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index a365330869..0450a3c927 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -1254,11 +1254,11 @@ export interface LookupType { */ export interface LookupColumnReqType { /** Model for ID */ - fk_lookup_column_id: IdType; + fk_lookup_column_id?: IdType; /** Model for ID */ - fk_relation_column_id: IdType; - title: string; - uidt: 'Lookup'; + fk_relation_column_id?: IdType; + title?: string; + uidt?: 'Lookup'; } /** @@ -1405,6 +1405,7 @@ export interface NormalColumnRequestType { | 'Decimal' | 'Duration' | 'Email' + | 'Formula' | 'GeoData' | 'Geometry' | 'ID' @@ -1421,7 +1422,8 @@ export interface NormalColumnRequestType { | 'SpecificDBType' | 'Time' | 'URL' - | 'Year'; + | 'Year' + | 'QrCode'; /** Model for Bool */ un?: BoolType; /** Model for Bool */ @@ -1712,13 +1714,13 @@ export interface RollupType { */ export interface RollupColumnReqType { /** Foreign Key to Relation Column */ - fk_relation_column_id: IdType; + fk_relation_column_id?: IdType; /** Foreign Key to Rollup Column */ - fk_rollup_column_id: IdType; + fk_rollup_column_id?: IdType; /** Rollup Column Title */ - title: string; + title?: string; /** Rollup Function */ - rollup_function: + rollup_function?: | 'avg' | 'avgDistinct' | 'count' @@ -1728,7 +1730,7 @@ export interface RollupColumnReqType { | 'sum' | 'sumDistinct'; /** UI DataType */ - uidt: 'Rollup'; + uidt?: 'Rollup'; } /**