Skip to content

Commit 9723f90

Browse files
committed
Add Petition Models and Relations to Prisma Schema
Added comprehensive models and relations for petitions including Petition, PetitionSignature, PetitionComment, and related entities. This change supports petition creation, signatures, comments, notifications, and status tracking. Updated pnpm-lock.yaml to include new dependency changes. Took 43 minutes
1 parent ec4e757 commit 9723f90

File tree

5 files changed

+387
-57
lines changed

5 files changed

+387
-57
lines changed

.env.example

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,6 @@ SEARXNG_SAFESEARCH=0 # Safe search setting: 0 (off), 1 (moderate), 2 (strict)
145145
#NEXT_PUBLIC_BASE_URL=http://localhost:3000
146146

147147
DFDA_CLIENT_ID=
148-
DFDA_CLIENT_SECRET=
148+
DFDA_CLIENT_SECRET=
149+
150+
GOOGLE_CIVIC_API_KEY=your_api_key_here

components/LoginPromptButton.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client'
2+
13
import React, { useState, useEffect } from "react"
24
import { Dialog, DialogContent, DialogTrigger, DialogTitle } from "@/components/ui/dialog"
35
import { UserAuthForm } from "@/components/user/user-auth-form"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@
204204
"remark-html": "^15.0.0",
205205
"remark-math": "^5.1.1",
206206
"remark-parse": "^11.0.0",
207+
"resend": "^4.0.1",
207208
"sharp": "^0.33.4",
208209
"slugify": "^1.6.6",
209210
"sonner": "^1.4.41",

0 commit comments

Comments
 (0)