MCPcopy
hub / github.com/nowork-studio/NotFair / getProject

Function getProject

notfair-cmo/src/server/db/projects.ts:30–34  ·  view source on GitHub ↗
(slug: string)

Source from the content-addressed store, hash-verified

28}
29
30export function getProject(slug: string): Project | null {
31 const db = getDb();
32 const row = db.prepare("SELECT * FROM projects WHERE slug = ?").get(slug);
33 return (row as Project) ?? null;
34}
35
36export function createProject(input: CreateProjectInput): CreateProjectResult {
37 const db = getDb();

Callers 15

ProjectHomePageFunction · 0.90
ProjectScopedLayoutFunction · 0.90
ActivityPageFunction · 0.90
ConnectionsPageFunction · 0.90
SettingsPageFunction · 0.90
ApprovalsPageFunction · 0.90
CronsPageFunction · 0.90
TasksPageFunction · 0.90
TaskDetailPageFunction · 0.90
AgentsPageFunction · 0.90
AgentLayoutFunction · 0.90
AgentFilesPageFunction · 0.90

Calls 1

getDbFunction · 0.90

Tested by

no test coverage detected