diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index afe66c7ff2..fd93432616 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -3512,7 +3512,12 @@ export class Api< */ uploadByUrl: ( query: { path: string }, - data: { url?: string }[], + data: { + url?: string; + fileName?: string; + mimetype?: string; + size?: string; + }[], params: RequestParams = {} ) => this.request({ diff --git a/packages/nocodb-sdk/src/lib/sqlUi/MysqlUi.ts b/packages/nocodb-sdk/src/lib/sqlUi/MysqlUi.ts index 864dc8954b..ab1e268818 100644 --- a/packages/nocodb-sdk/src/lib/sqlUi/MysqlUi.ts +++ b/packages/nocodb-sdk/src/lib/sqlUi/MysqlUi.ts @@ -976,10 +976,10 @@ export class MysqlUi { colProp.dtxp = 1; break; case 'MultiSelect': - colProp.dt = 'set'; + colProp.dt = 'text'; break; case 'SingleSelect': - colProp.dt = 'enum'; + colProp.dt = 'text'; break; case 'Collaborator': colProp.dt = 'varchar';