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