Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,340 changes: 983 additions & 357 deletions package-lock.json

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"@emotion/styled": "^11.11.0",
"@google-cloud/storage": "^7.14.0",
"@heroicons/react": "^1.0.6",
"@mui/icons-material": "^5.15.12",
"@mui/material": "^5.15.12",
"@mui/icons-material": "^5.17.1",
"@mui/material": "^5.17.1",
"@prisma/client": "^5.10.2",
"@t3-oss/env-nextjs": "^0.9.2",
"@tanstack/react-query": "^4.36.1",
Expand All @@ -35,14 +35,17 @@
"cheerio": "^1.0.0-rc.12",
"html2pdf.js": "^0.10.1",
"multer": "^1.4.5-lts.1",
"next": "^14.1.0",
"next": "^15.3.1",
"next-auth": "^4.24.6",
"next-connect": "^1.0.0",
"puppeteer": "^22.8.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"styled-components": "^6.1.8",
"quill": "^2.0.3",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-quill": "^2.0.0",
"styled-components": "^6.1.16",
"superjson": "^2.2.1",
"typesense": "^2.0.3",
"zod": "^3.22.4"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ model Session {
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
}

model ChiAurora {
id String @id @default(cuid())
crush String @unique
userId String
expires DateTime
}

model User {
id String @id @default(cuid())
name String?
Expand Down
19 changes: 19 additions & 0 deletions prisma/seed.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
import { PrismaClient } from '@prisma/client';

const prisma = new PrismaClient();

async function main() {
await prisma.ChiAurora.create({
data: {
id: "1fjk3",
crush: "Alex",
userId: "aurora1",
expires: new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 7),
},
});
}

main()
.catch(e => {
throw e
})
.finally(async () => {
await prisma.$disconnect()
})

Binary file added public/swarthmore-talk-logo.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading