Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: https://gitea:3000/Thilawyn/reffuse/pulls/8
11 lines
316 B
TypeScript
11 lines
316 B
TypeScript
import { RootReffuse } from "@/reffuse"
|
|
import { Reffuse, ReffuseContext } from "reffuse"
|
|
import { Uuid4Query } from "./services"
|
|
|
|
|
|
export const QueryContext = ReffuseContext.make<Uuid4Query.Uuid4Query>()
|
|
|
|
export const R = new class QueryReffuse extends RootReffuse.pipe(
|
|
Reffuse.withContexts(QueryContext)
|
|
) {}
|