Model store hooked up

This commit is contained in:
Gregory Schier
2026-03-08 15:42:18 -07:00
parent 0a616eb5e2
commit 96a22c68f2
10 changed files with 254 additions and 154 deletions
+11
View File
@@ -0,0 +1,11 @@
import { createModelStore } from "@yaakapp-internal/model-store";
import type { HttpExchange } from "../../crates-proxy/yaak-proxy-lib/bindings/gen_models";
export const { dataAtom, applyChange, listAtom, orderedListAtom } =
createModelStore<HttpExchange>();
export const httpExchangesAtom = orderedListAtom(
"http_exchange",
"createdAt",
"desc",
);