mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-21 23:37:55 +00:00
3dbd67fde3
- upgrade dependencies - add docker lint + upgrade in containers to ensure security fixes are obtained asap. - schedule rebuild images without caching for latest security updates
20 lines
550 B
JavaScript
20 lines
550 B
JavaScript
export default (client) => {
|
|
return {
|
|
fetchAll(viewId) {
|
|
return client.get(`/database/views/${viewId}/sortings/`)
|
|
},
|
|
create(viewId, values) {
|
|
return client.post(`/database/views/${viewId}/sortings/`, values)
|
|
},
|
|
get(viewSortId) {
|
|
return client.get(`/database/views/sort/${viewSortId}/`)
|
|
},
|
|
update(viewSortId, values) {
|
|
return client.patch(`/database/views/sort/${viewSortId}/`, values)
|
|
},
|
|
delete(viewSortId) {
|
|
return client.delete(`/database/views/sort/${viewSortId}/`)
|
|
},
|
|
}
|
|
}
|