@matrx/svelte-realtime-adapter-cosmos-db-temporal
Version:
Cosmos DB database adapter (temporal) for svelte-realtime-store/server
19 lines (13 loc) • 449 B
JavaScript
module.exports = function(operationsSpec, session) {
// Basic checks on all operations
// Fetch access control data
// .then
// Check to see that all operations are allowed by access control data
// .then
// Send out requests to fetch all latest versions for temporal operations
// .then
// Check to see if all of the old values match the provided old values
// .then
// Do all the operations
console.log('something')
}