1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-21 23:37:55 +00:00
bramw_baserow/web-frontend/modules/database/services/dataSync.js
2024-09-24 15:06:35 +00:00

14 lines
380 B
JavaScript

export default (client) => {
return {
create(databaseId, values) {
return client.post(`/database/data-sync/database/${databaseId}/`, values)
},
syncTable(dataSyncId) {
return client.post(`/database/data-sync/${dataSyncId}/sync/async/`)
},
fetchProperties(values) {
return client.post(`/database/data-sync/properties/`, values)
},
}
}