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