mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-17 18:21:26 +02:00
Model store hooked up
This commit is contained in:
@@ -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",
|
||||
);
|
||||
Reference in New Issue
Block a user