mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-21 23:37:55 +00:00
14 lines
326 B
JavaScript
14 lines
326 B
JavaScript
export default (client) => {
|
|
return {
|
|
fetchAll(builderId) {
|
|
return client.get(`builder/${builderId}/domains/`)
|
|
},
|
|
create(builderId, data) {
|
|
return client.post(`builder/${builderId}/domains/`, data)
|
|
},
|
|
delete(domainId) {
|
|
return client.delete(`builder/domains/${domainId}/`)
|
|
},
|
|
}
|
|
}
|