The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update backfill
Steven Teycdfa4e779910
diff --git a/apps/web/scripts/backfill-programId.ts b/apps/web/scripts/backfill-programId.tsindex 20d190b945..032df0c2a8 100644--- a/apps/web/scripts/backfill-programId.ts+++ b/apps/web/scripts/backfill-programId.ts@@ -3,11 +3,13 @@ import { dubLinksMetadataSchema } from "@/lib/tinybird";import "dotenv-flow/config";const enrollmentIds = [- "cm2v7e3780000d1efwh8b63y5",- "cm355n83o0000otvprah7scos",- "cm357actq0001otvpagdxa4r0",- "cm3dwzi320000gm2q3h5382w9",- "cm3fb79kn0000krzb1wms0818",+ // "cm2v7e3780000d1efwh8b63y5",+ // "cm355n83o0000otvprah7scos",+ // "cm357actq0001otvpagdxa4r0",+ // "cm3dwzi320000gm2q3h5382w9",+ // "cm3fb79kn0000krzb1wms0818",+ // "cm3ghlajq00002tvj5b72vvgj",+ "cm3ghqh1300012tvjbeyeo5ec",];async function main() {diff --git a/apps/web/scripts/backfill-sales.ts b/apps/web/scripts/backfill-sales.tsindex 05884ab192..26666b43eb 100644--- a/apps/web/scripts/backfill-sales.ts+++ b/apps/web/scripts/backfill-sales.ts@@ -5,7 +5,7 @@ import z from "@/lib/zod";import { saleEventResponseSchema } from "@/lib/zod/schemas/sales";import "dotenv-flow/config";-const enrollmentId = "cm3fb79kn0000krzb1wms0818";+const enrollmentId = "cm3ghqh1300012tvjbeyeo5ec";async function main() {const programEnrollment = await prisma.programEnrollment.findUnique({diff --git a/packages/utils/src/constants/pricing.tsx b/packages/utils/src/constants/pricing.tsxindex 03002932ba..c45489d614 100644--- a/packages/utils/src/constants/pricing.tsx+++ b/packages/utils/src/constants/pricing.tsx@@ -1,5 +1,3 @@-import { nFormatter } from "../functions";-const BUSINESS_PLAN_MODIFIER = ({name = "Business",monthly = 59,@@ -49,9 +47,9 @@ const BUSINESS_PLAN_MODIFIER = ({},featureTitle: "Everything in Pro, plus:",features: [- { text: `${nFormatter(links, { full: true })} new links/mo` },+ { text: `${Intl.NumberFormat("en-US").format(links)} new links/mo` },{- text: `${nFormatter(clicks)} tracked clicks/mo`,+ text: `${Intl.NumberFormat("en-US").format(clicks)} tracked clicks/mo`,},{ text: "3-year analytics retention" },{ text: `${domains} custom domains` },