The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
"Create a new" → "Create a"
Steven Teyd0123871aefa
diff --git a/apps/web/app/api/customers/route.ts b/apps/web/app/api/customers/route.tsindex 54ac60c337..d83ad2bbd6 100644--- a/apps/web/app/api/customers/route.ts+++ b/apps/web/app/api/customers/route.ts@@ -175,7 +175,7 @@ export const GET = withWorkspace(},);-// POST /api/customers – Create a new customer+// POST /api/customers – Create a customerexport const POST = withWorkspace(async ({ req, workspace }) => {const { email, name, avatar, externalId } = createCustomerBodySchema.parse(diff --git a/apps/web/app/api/stripe/integration/webhook/utils.ts b/apps/web/app/api/stripe/integration/webhook/utils.tsindex e59a14d9f2..5a695b31a0 100644--- a/apps/web/app/api/stripe/integration/webhook/utils.ts+++ b/apps/web/app/api/stripe/integration/webhook/utils.ts@@ -42,7 +42,7 @@ export async function createNewCustomer(event: Stripe.Event) {return `Link with ID ${linkId} not found or does not have a project, skipping...`;}- // Create a new customer+ // Create a customerconst customer = await prisma.customer.create({data: {id: createId({ prefix: "cus_" }),diff --git a/apps/web/lib/actions/partners/create-program.ts b/apps/web/lib/actions/partners/create-program.tsindex bdaee91f81..9e1844e174 100644--- a/apps/web/lib/actions/partners/create-program.ts+++ b/apps/web/lib/actions/partners/create-program.ts@@ -13,7 +13,7 @@ import { generateRandomString, nanoid, R2_URL } from "@dub/utils";import { Program, Project, User } from "@prisma/client";import { waitUntil } from "@vercel/functions";-// Create a new program from the onboarding data+// Create a program from the onboarding dataexport const createProgram = async ({workspace,user,diff --git a/apps/web/lib/actions/request-password-reset.ts b/apps/web/lib/actions/request-password-reset.tsindex 499dc83daa..3bb02e8fd7 100644--- a/apps/web/lib/actions/request-password-reset.ts+++ b/apps/web/lib/actions/request-password-reset.ts@@ -50,7 +50,7 @@ export const requestPasswordResetAction = actionClient},}),- // Create a new password reset token+ // Create a password reset tokenprisma.passwordResetToken.create({data: {identifier: email,diff --git a/apps/web/lib/openapi/embed-tokens/create-referrals-embed-token.ts b/apps/web/lib/openapi/embed-tokens/create-referrals-embed-token.tsindex 124447209d..c02c4b99c7 100644--- a/apps/web/lib/openapi/embed-tokens/create-referrals-embed-token.ts+++ b/apps/web/lib/openapi/embed-tokens/create-referrals-embed-token.ts@@ -8,9 +8,8 @@ import { ZodOpenApiOperationObject } from "zod-openapi";export const createReferralsEmbedToken: ZodOpenApiOperationObject = {operationId: "createReferralsEmbedToken","x-speakeasy-name-override": "referrals",- summary: "Create a new referrals embed token",- description:- "Create a new referrals embed token for the given partner/tenant.",+ summary: "Create a referrals embed token",+ description: "Create a referrals embed token for the given partner/tenant.",requestBody: {content: {"application/json": {diff --git a/apps/web/lib/openapi/folders/create-folder.ts b/apps/web/lib/openapi/folders/create-folder.tsindex b6c8cd1cf6..b6827d9d45 100644--- a/apps/web/lib/openapi/folders/create-folder.ts+++ b/apps/web/lib/openapi/folders/create-folder.ts@@ -5,8 +5,8 @@ import { ZodOpenApiOperationObject } from "zod-openapi";export const createFolder: ZodOpenApiOperationObject = {operationId: "createFolder","x-speakeasy-name-override": "create",- summary: "Create a new folder",- description: "Create a new folder for the authenticated workspace.",+ summary: "Create a folder",+ description: "Create a folder for the authenticated workspace.",requestBody: {content: {"application/json": {diff --git a/apps/web/lib/openapi/links/create-link.ts b/apps/web/lib/openapi/links/create-link.tsindex 91fc07b6e8..db7ad846eb 100644--- a/apps/web/lib/openapi/links/create-link.ts+++ b/apps/web/lib/openapi/links/create-link.ts@@ -6,8 +6,8 @@ export const createLink: ZodOpenApiOperationObject = {operationId: "createLink","x-speakeasy-name-override": "create","x-speakeasy-usage-example": true,- summary: "Create a new link",- description: "Create a new link for the authenticated workspace.",+ summary: "Create a link",+ description: "Create a link for the authenticated workspace.",requestBody: {content: {"application/json": {diff --git a/apps/web/lib/openapi/partners/create-partner-link.ts b/apps/web/lib/openapi/partners/create-partner-link.tsindex 9c80d6eef1..2bd5ecfb12 100644--- a/apps/web/lib/openapi/partners/create-partner-link.ts+++ b/apps/web/lib/openapi/partners/create-partner-link.ts@@ -7,8 +7,7 @@ export const createPartnerLink: ZodOpenApiOperationObject = {operationId: "createPartnerLink","x-speakeasy-name-override": "createLink",summary: "Create a link for a partner",- description:- "Create a new link for a partner that is enrolled in your program.",+ description: "Create a link for a partner that is enrolled in your program.",requestBody: {content: {"application/json": {diff --git a/apps/web/lib/openapi/partners/create-partner.ts b/apps/web/lib/openapi/partners/create-partner.tsindex 91b71968ff..7047c79551 100644--- a/apps/web/lib/openapi/partners/create-partner.ts+++ b/apps/web/lib/openapi/partners/create-partner.ts@@ -8,9 +8,9 @@ import { ZodOpenApiOperationObject } from "zod-openapi";export const createPartner: ZodOpenApiOperationObject = {operationId: "createPartner","x-speakeasy-name-override": "create",- summary: "Create a new partner",+ summary: "Create a partner",description:- "Create a new partner for a program. If partner exists, automatically enrolls them.",+ "Create a partner for a program. If partner exists, automatically enrolls them.",requestBody: {content: {"application/json": {diff --git a/apps/web/lib/openapi/tags/create-tag.ts b/apps/web/lib/openapi/tags/create-tag.tsindex c18e663c20..0c3a64ef29 100644--- a/apps/web/lib/openapi/tags/create-tag.ts+++ b/apps/web/lib/openapi/tags/create-tag.ts@@ -5,8 +5,8 @@ import { ZodOpenApiOperationObject } from "zod-openapi";export const createTag: ZodOpenApiOperationObject = {operationId: "createTag","x-speakeasy-name-override": "create",- summary: "Create a new tag",- description: "Create a new tag for the authenticated workspace.",+ summary: "Create a tag",+ description: "Create a tag for the authenticated workspace.",requestBody: {content: {"application/json": {diff --git a/apps/web/ui/layout/toolbar/onboarding/onboarding-button.tsx b/apps/web/ui/layout/toolbar/onboarding/onboarding-button.tsxindex 7cb3d7425b..0a6f373251 100644--- a/apps/web/ui/layout/toolbar/onboarding/onboarding-button.tsx+++ b/apps/web/ui/layout/toolbar/onboarding/onboarding-button.tsx@@ -44,8 +44,8 @@ function OnboardingButtonInner({const tasks = useMemo(() => {return [{- display: "Create a new Dub link",- cta: `/${slug}`,+ display: "Create your first short link",+ cta: `/${slug}/links`,checked: totalLinks === 0 ? false : true,recommended: true,},diff --git a/apps/web/ui/modals/add-workspace-modal.tsx b/apps/web/ui/modals/add-workspace-modal.tsxindex 8f88823b7a..44ee3f4273 100644--- a/apps/web/ui/modals/add-workspace-modal.tsx+++ b/apps/web/ui/modals/add-workspace-modal.tsx@@ -39,7 +39,7 @@ function AddWorkspaceModalHelper({><div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16"><Logo />- <h3 className="text-lg font-medium">Create a new workspace</h3>+ <h3 className="text-lg font-medium">Create a workspace</h3><ahref="https://dub.co/help/article/what-is-a-workspace"target="_blank"