Browse Source

refactor(sdk): regenerate Api.ts

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
c4bd1c571a
  1. 10
      packages/nocodb-sdk/src/lib/Api.ts

10
packages/nocodb-sdk/src/lib/Api.ts

@ -5849,7 +5849,7 @@ export class Api<
* @name Create * @name Create
* @summary Create Column in View * @summary Create Column in View
* @request POST:/api/v1/db/meta/views/{viewId}/columns * @request POST:/api/v1/db/meta/views/{viewId}/columns
* @response `200` `void` OK * @response `200` `ColumnType` OK
* @response `400` `{ * @response `400` `{
\** @example BadRequest [Error]: <ERROR MESSAGE> *\ \** @example BadRequest [Error]: <ERROR MESSAGE> *\
msg?: string, msg?: string,
@ -5862,7 +5862,7 @@ export class Api<
params: RequestParams = {} params: RequestParams = {}
) => ) =>
this.request< this.request<
void, ColumnType,
{ {
/** @example BadRequest [Error]: <ERROR MESSAGE> */ /** @example BadRequest [Error]: <ERROR MESSAGE> */
msg?: string; msg?: string;
@ -5872,6 +5872,7 @@ export class Api<
method: 'POST', method: 'POST',
body: data, body: data,
type: ContentType.Json, type: ContentType.Json,
format: 'json',
...params, ...params,
}), }),
@ -5882,7 +5883,7 @@ export class Api<
* @name Update * @name Update
* @summary Update View Column * @summary Update View Column
* @request PATCH:/api/v1/db/meta/views/{viewId}/columns/{columnId} * @request PATCH:/api/v1/db/meta/views/{viewId}/columns/{columnId}
* @response `200` `void` OK * @response `200` `number` OK
* @response `400` `{ * @response `400` `{
\** @example BadRequest [Error]: <ERROR MESSAGE> *\ \** @example BadRequest [Error]: <ERROR MESSAGE> *\
msg?: string, msg?: string,
@ -5896,7 +5897,7 @@ export class Api<
params: RequestParams = {} params: RequestParams = {}
) => ) =>
this.request< this.request<
void, number,
{ {
/** @example BadRequest [Error]: <ERROR MESSAGE> */ /** @example BadRequest [Error]: <ERROR MESSAGE> */
msg?: string; msg?: string;
@ -5906,6 +5907,7 @@ export class Api<
method: 'PATCH', method: 'PATCH',
body: data, body: data,
type: ContentType.Json, type: ContentType.Json,
format: 'json',
...params, ...params,
}), }),
}; };

Loading…
Cancel
Save