Connect, collaborate, and grow with a community of TypeScript developers
stuff
Chris Bautista47e2165d0229
diff --git a/package.json b/package.jsonindex 47cd93f1..262316a8 100644--- a/package.json+++ b/package.json@@ -7,7 +7,6 @@"dev": "next dev","postinstall": "prisma generate","lint": "next lint",- "seed": "npx tsx ","start": "next start","typecheck": "tsc --noEmit"},diff --git a/prisma/schema.prisma b/prisma/schema.prismaindex bdaeb285..5ccc600b 100644--- a/prisma/schema.prisma+++ b/prisma/schema.prisma@@ -91,7 +91,7 @@ model Challenge {createdAt DateTime @default(now())updatedAt DateTime @updatedAtdifficulty Difficulty- name String+ name Stringprompt Stringupvotes Intuser User @relation(fields: [userId], references: [id])diff --git a/prisma/seed.ts b/prisma/seed.tsindex 4e3f40fb..619f5f57 100644--- a/prisma/seed.ts+++ b/prisma/seed.ts@@ -14,11 +14,13 @@ async function main() {create: {createdAt: new Date(),updatedAt: new Date(),- name: "chris's first challenge",- prompt: `Extends<HelloWorld, \`Hello, \${string}\`>()+ name: "trash's first challenge",+ prompt: `/* _____________ Test Cases _____________ */+Extends<HelloWorld, \`Hello, \${string}\`>()Extends<HelloWorld, \`\${string}!\`>()+/* _____________ Your Code Here _____________ */type HelloWorld =`,difficulty: 'EASY',upvotes: 69,