Merge main into proxy branch (formatting and docs)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Gregory Schier
2026-03-13 12:09:59 -07:00
parent 3c4035097a
commit 7314aedc71
712 changed files with 13408 additions and 13322 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "@yaakapp-internal/model-store",
"private": true,
"version": "1.0.0",
"private": true,
"type": "module",
"main": "src/index.ts",
"types": "src/index.ts",

View File

@@ -19,9 +19,7 @@ function emptyStore<M extends ModelMap>(keys: (keyof M)[]): StoreData<M> {
return data;
}
export function createModelStore<M extends ModelMap>(
modelTypes: (keyof M & string)[],
) {
export function createModelStore<M extends ModelMap>(modelTypes: (keyof M & string)[]) {
const dataAtom = atom<StoreData<M>>(emptyStore<M>(modelTypes));
/** Apply a single upsert or delete to the store. */