The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Fix type errors
Tim Wilsone6dde239b37a
diff --git a/apps/web/app/(ee)/api/bounties/route.ts b/apps/web/app/(ee)/api/bounties/route.tsindex 329a6049ba..9a294f7f78 100644--- a/apps/web/app/(ee)/api/bounties/route.ts+++ b/apps/web/app/(ee)/api/bounties/route.ts@@ -50,7 +50,7 @@ export const POST = withWorkspace(async ({ workspace, req }) => {name,description,type,- startsAt,+ startsAt: startsAt!, // Can remove the ! when we're on a newer TS version (currently 5.4.4)endsAt,rewardAmount,},diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-info.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-info.tsxindex a77d9632bb..10766de0f6 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-info.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-info.tsx@@ -40,7 +40,7 @@ export function BountyInfo() {<span className="font-medium text-neutral-700">{completed}</span>{" "}of{" "}<span className="font-medium text-neutral-700">- {bounty.submissionsCount}+ {/* {bounty.submissionsCount} */} X</span>{" "}partners completed</div>diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/bounty-card.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/bounty-card.tsxindex 094179fe8d..b60e24fdc0 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/bounty-card.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/bounty-card.tsx@@ -41,7 +41,7 @@ export function BountyCard({ bounty }: { bounty: BountyProps }) {<div className="text-sm text-neutral-500"><span className="font-medium text-neutral-700">{100}</span> of{" "}<span className="font-medium text-neutral-700">- {bounty.submissionsCount}+ {/* {bounty.submissionsCount} */} X</span>{" "}partners completed</div>diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/create-bounty-button.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/create-bounty-button.tsxindex ee5bff5c37..cffd7382c8 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/create-bounty-button.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/create-bounty-button.tsx@@ -6,7 +6,6 @@ import { useBountySheet } from "./add-edit-bounty-sheet";export function CreateBountyButton() {const { BountySheet, setShowCreateBountySheet } = useBountySheet({nested: false,- partnerId: "",});useKeyboardShortcut("c", () => setShowCreateBountySheet(true));diff --git a/packages/prisma/client.ts b/packages/prisma/client.tsindex 2cd940e39a..19f7d7aeb9 100644--- a/packages/prisma/client.ts+++ b/packages/prisma/client.ts@@ -1,7 +1,7 @@export * from "@prisma/client";export {- BountyStatus,+ BountySubmissionStatus,CommissionStatus,CommissionType,EventType,