|
|
@ -151,7 +151,7 @@ export class DataTableController { |
|
|
|
@Query('viewId') viewId: string, |
|
|
|
@Query('viewId') viewId: string, |
|
|
|
@Param('columnId') columnId: string, |
|
|
|
@Param('columnId') columnId: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Body() refRowIds: string | string[] | number | number[], |
|
|
|
@Body() refRowIds: string | string[] | number | number[] | Record<string, any>, |
|
|
|
) { |
|
|
|
) { |
|
|
|
return await this.dataTableService.nestedLink({ |
|
|
|
return await this.dataTableService.nestedLink({ |
|
|
|
modelId, |
|
|
|
modelId, |
|
|
@ -172,7 +172,7 @@ export class DataTableController { |
|
|
|
@Query('viewId') viewId: string, |
|
|
|
@Query('viewId') viewId: string, |
|
|
|
@Param('columnId') columnId: string, |
|
|
|
@Param('columnId') columnId: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Body() refRowIds: string | string[] | number | number[], |
|
|
|
@Body() refRowIds: string | string[] | number | number[] | Record<string, any>, |
|
|
|
) { |
|
|
|
) { |
|
|
|
return await this.dataTableService.nestedUnlink({ |
|
|
|
return await this.dataTableService.nestedUnlink({ |
|
|
|
modelId, |
|
|
|
modelId, |
|
|
|