MCPcopy
hub / github.com/OpenPipe/OpenPipe / projects.router.ts

File projects.router.ts

app/src/server/api/routers/projects.router.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { type Prisma } from "@prisma/client";
2import { TRPCError } from "@trpc/server";
3import { sql } from "kysely";
4import { jsonArrayFrom, jsonObjectFrom } from "kysely/helpers/postgres";

Callers

nothing calls this directly

Calls 8

requireNothingFunction · 0.90
requireCanViewProjectFunction · 0.90
requireCanModifyProjectFunction · 0.90
successFunction · 0.90
generateApiKeyFunction · 0.90
requireIsProjectAdminFunction · 0.90
userProjectFunction · 0.85
createMethod · 0.45

Tested by

no test coverage detected