import type { GenericDataModel, GenericQueryCtx } from "convex/server"; import * as Context from "effect/Context"; export type QueryCtxTag = Context.Service< GenericQueryCtx, GenericQueryCtx >; export const QueryCtx = < DataModel extends GenericDataModel, >(): QueryCtxTag => Context.Service>("@confect/server/QueryCtx"); export type QueryCtx = GenericQueryCtx;