MCPcopy
hub / github.com/dubinc/dub / route.ts

File route.ts

apps/web/app/api/workspaces/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { DubApiError } from "@/lib/api/errors";
2import { generateRandomString } from "@/lib/api/utils/generate-random-string";
3import { createWorkspaceId } from "@/lib/api/workspaces/create-workspace-id";
4import { prefixWorkspaceId } from "@/lib/api/workspaces/workspace-id";

Callers

nothing calls this directly

Calls 8

withSessionFunction · 0.90
prefixWorkspaceIdFunction · 0.90
checkIfUserExistsFunction · 0.90
createWorkspaceIdFunction · 0.90
nanoidFunction · 0.90
generateRandomStringFunction · 0.90
createMethod · 0.80
uploadMethod · 0.80

Tested by

no test coverage detected