This commit is contained in:
seb
2026-10-03 23:13:36 +02:00
parent 1786879c4e
commit 9a7f345d8b
39 changed files with 4611 additions and 50 deletions

26
src/db/modelvfs.js Normal file
View File

@@ -0,0 +1,26 @@
import { getStore } from './store.js';
export async function write(googleAuthId, input) {
const store = await getStore();
return store.modelvfs.write(googleAuthId, input);
}
export async function read(googleAuthId, name) {
const store = await getStore();
return store.modelvfs.read(googleAuthId, name);
}
export async function list(googleAuthId) {
const store = await getStore();
return store.modelvfs.list(googleAuthId);
}
export async function remove(googleAuthId, name) {
const store = await getStore();
return store.modelvfs.delete(googleAuthId, name);
}
export async function reset(googleAuthId) {
const store = await getStore();
return store.modelvfs.reset(googleAuthId);
}