|
|
@ -1195,7 +1195,7 @@ export interface KanbanColumnType { |
|
|
|
* Model for Kanban Request |
|
|
|
* Model for Kanban Request |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
export interface KanbanReqType { |
|
|
|
export interface KanbanReqType { |
|
|
|
/** Model for StringOrNull */ |
|
|
|
/** Grouping Column ID */ |
|
|
|
fk_grp_col_id?: StringOrNullType; |
|
|
|
fk_grp_col_id?: StringOrNullType; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* The title of the kanban |
|
|
|
* The title of the kanban |
|
|
@ -4300,24 +4300,16 @@ export class Api< |
|
|
|
}), |
|
|
|
}), |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @description Create a shared view in a given View.. |
|
|
|
* @description Create a shared view in a given View.. |
|
|
|
*
|
|
|
|
* |
|
|
|
* @tags DB View Share |
|
|
|
* @tags DB View Share |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
* @summary Create Shared View |
|
|
|
* @summary Create Shared View |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/share |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/share |
|
|
|
* @response `200` `{
|
|
|
|
* @response `200` `SharedViewReqType` OK |
|
|
|
uuid?: string, |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
}` OK
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
create: (viewId: string, params: RequestParams = {}) => |
|
|
|
create: (viewId: string, params: RequestParams = {}) => |
|
|
|
this.request< |
|
|
|
this.request<SharedViewReqType, any>({ |
|
|
|
{ |
|
|
|
|
|
|
|
uuid?: string; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
any |
|
|
|
|
|
|
|
>({ |
|
|
|
|
|
|
|
path: `/api/v1/db/meta/views/${viewId}/share`, |
|
|
|
path: `/api/v1/db/meta/views/${viewId}/share`, |
|
|
|
method: 'POST', |
|
|
|
method: 'POST', |
|
|
|
format: 'json', |
|
|
|
format: 'json', |
|
|
@ -6204,10 +6196,10 @@ export class Api< |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
* @summary Create Table Hook |
|
|
|
* @summary Create Table Hook |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/hooks |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/hooks |
|
|
|
* @response `200` `AuditType` OK |
|
|
|
* @response `200` `HookReqType` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
create: (tableId: IdType, data: AuditType, params: RequestParams = {}) => |
|
|
|
create: (tableId: IdType, data: AuditType, params: RequestParams = {}) => |
|
|
|
this.request<AuditType, any>({ |
|
|
|
this.request<HookReqType, any>({ |
|
|
|
path: `/api/v1/db/meta/tables/${tableId}/hooks`, |
|
|
|
path: `/api/v1/db/meta/tables/${tableId}/hooks`, |
|
|
|
method: 'POST', |
|
|
|
method: 'POST', |
|
|
|
body: data, |
|
|
|
body: data, |
|
|
|