Skip to content

Commit

Permalink
Add Petition Models and Relations to Prisma Schema
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mikepsinn committed Nov 19, 2024
1 parent ec4e757 commit 9723f90
Show file tree
Hide file tree
Showing 5 changed files with 387 additions and 57 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,6 @@ SEARXNG_SAFESEARCH=0 # Safe search setting: 0 (off), 1 (moderate), 2 (strict)
#NEXT_PUBLIC_BASE_URL=http://localhost:3000

DFDA_CLIENT_ID=
DFDA_CLIENT_SECRET=
DFDA_CLIENT_SECRET=

GOOGLE_CIVIC_API_KEY=your_api_key_here
2 changes: 2 additions & 0 deletions components/LoginPromptButton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client'

import React, { useState, useEffect } from "react"
import { Dialog, DialogContent, DialogTrigger, DialogTitle } from "@/components/ui/dialog"
import { UserAuthForm } from "@/components/user/user-auth-form"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@
"remark-html": "^15.0.0",
"remark-math": "^5.1.1",
"remark-parse": "^11.0.0",
"resend": "^4.0.1",
"sharp": "^0.33.4",
"slugify": "^1.6.6",
"sonner": "^1.4.41",
Expand Down
Loading

0 comments on commit 9723f90

Please sign in to comment.