11 lines · 398 B · TypeScript
RawDownload
import type { ServerAuthDescriptor } from "@t3tools/contracts";import { ServiceMap } from "effect";import type { Effect } from "effect"; export interface ServerAuthPolicyShape {  readonly getDescriptor: () => Effect.Effect<ServerAuthDescriptor>;} export class ServerAuthPolicy extends ServiceMap.Service<ServerAuthPolicy, ServerAuthPolicyShape>()(  "t3/auth/Services/ServerAuthPolicy",) {}