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

View File

@@ -44,6 +44,8 @@ const STORE_NAMESPACES = [
'attributevalue',
'articleattributevalue',
'categoryattributevalue',
'modelconversation',
'modelmessage',
];
/**
@@ -148,6 +150,11 @@ export async function getStore() {
return connecting;
}
export async function getProvider() {
await getStore();
return provider;
}
export async function ensureConnection() {
await getStore();
}
@@ -159,3 +166,4 @@ export async function closeStore() {
store = undefined;
}
}