mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-23 09:51:10 +01:00
12 lines
360 B
TypeScript
12 lines
360 B
TypeScript
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",
|
|
);
|