|
|
@ -24,8 +24,9 @@ export class ViewColumnsController { |
|
|
|
@Get('/api/v1/db/meta/views/:viewId/columns/') |
|
|
|
@Get('/api/v1/db/meta/views/:viewId/columns/') |
|
|
|
@Acl('columnList') |
|
|
|
@Acl('columnList') |
|
|
|
async columnList(@Param('viewId') viewId: string) { |
|
|
|
async columnList(@Param('viewId') viewId: string) { |
|
|
|
return; |
|
|
|
return new PagedResponseImpl( |
|
|
|
new PagedResponseImpl(await this.viewColumnsService.columnList({ viewId })); |
|
|
|
await this.viewColumnsService.columnList({ viewId }), |
|
|
|
|
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Post('/api/v1/db/meta/views/:viewId/columns/') |
|
|
|
@Post('/api/v1/db/meta/views/:viewId/columns/') |
|
|
|