mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-21 23:37:55 +00:00
14 lines
380 B
JavaScript
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)
|
|
},
|
|
}
|
|
}
|