mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-01-31 03:12:45 +00:00
13 lines
326 B
JavaScript
13 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}/`)
|
|
},
|
|
}
|
|
}
|