shared zod types and drizzle schema

This commit is contained in:
Oliver Bryan
2025-12-13 21:36:32 +00:00
parent b2284b1b30
commit 9d381ca4ff
13 changed files with 1269 additions and 1987 deletions

View File

@@ -1,6 +1,6 @@
import { eq, sql, and } from "drizzle-orm";
import { db } from "../client";
import { Issue } from "../schema";
import { Issue } from "@issue/shared";
export async function createIssue(projectId: number, title: string, description: string) {
// prevents two issues with the same unique number