|
|
@ -90,35 +90,35 @@ export class PublicDatasController { |
|
|
|
return pagedResponse; |
|
|
|
return pagedResponse; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Get('/api/v1/db/public/shared-view/:sharedViewUuid/rows/:rowId/mm/:colId') |
|
|
|
@Get('/api/v1/db/public/shared-view/:sharedViewUuid/rows/:rowId/mm/:columnId') |
|
|
|
async publicMmList( |
|
|
|
async publicMmList( |
|
|
|
@Request() req, |
|
|
|
@Request() req, |
|
|
|
@Param('sharedViewUuid') sharedViewUuid: string, |
|
|
|
@Param('sharedViewUuid') sharedViewUuid: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Param('colId') colId: string, |
|
|
|
@Param('columnId') columnId: string, |
|
|
|
) { |
|
|
|
) { |
|
|
|
const paginatedResponse = await this.publicDatasService.publicMmList({ |
|
|
|
const paginatedResponse = await this.publicDatasService.publicMmList({ |
|
|
|
query: req.query, |
|
|
|
query: req.query, |
|
|
|
password: req.headers?.['xc-password'] as string, |
|
|
|
password: req.headers?.['xc-password'] as string, |
|
|
|
sharedViewUuid: sharedViewUuid, |
|
|
|
sharedViewUuid: sharedViewUuid, |
|
|
|
columnId: colId, |
|
|
|
columnId: columnId, |
|
|
|
rowId: rowId, |
|
|
|
rowId: rowId, |
|
|
|
}); |
|
|
|
}); |
|
|
|
return paginatedResponse; |
|
|
|
return paginatedResponse; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Get('/api/v1/db/public/shared-view/:sharedViewUuid/rows/:rowId/hm/:colId') |
|
|
|
@Get('/api/v1/db/public/shared-view/:sharedViewUuid/rows/:rowId/hm/:columnId') |
|
|
|
async publicHmList( |
|
|
|
async publicHmList( |
|
|
|
@Request() req, |
|
|
|
@Request() req, |
|
|
|
@Param('sharedViewUuid') sharedViewUuid: string, |
|
|
|
@Param('sharedViewUuid') sharedViewUuid: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Param('rowId') rowId: string, |
|
|
|
@Param('colId') colId: string, |
|
|
|
@Param('columnId') columnId: string, |
|
|
|
) { |
|
|
|
) { |
|
|
|
const paginatedResponse = await this.publicDatasService.publicHmList({ |
|
|
|
const paginatedResponse = await this.publicDatasService.publicHmList({ |
|
|
|
query: req.query, |
|
|
|
query: req.query, |
|
|
|
password: req.headers?.['xc-password'] as string, |
|
|
|
password: req.headers?.['xc-password'] as string, |
|
|
|
sharedViewUuid: sharedViewUuid, |
|
|
|
sharedViewUuid: sharedViewUuid, |
|
|
|
columnId: colId, |
|
|
|
columnId: columnId, |
|
|
|
rowId: rowId, |
|
|
|
rowId: rowId, |
|
|
|
}); |
|
|
|
}); |
|
|
|
return paginatedResponse; |
|
|
|
return paginatedResponse; |
|
|
|