Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update types.ts

Kiran K6da9e651df52
diff --git a/apps/web/lib/types.ts b/apps/web/lib/types.ts
index dc04019970..e4519277cf 100644
--- a/apps/web/lib/types.ts
+++ b/apps/web/lib/types.ts
@@ -91,7 +91,6 @@ import {
import {
PartnerPayoutResponseSchema,
PayoutResponseSchema,
- PayoutSchema,
} from "./zod/schemas/payouts";
import {
programApplicationFormDataWithValuesSchema,
@@ -102,11 +101,7 @@ import { programLanderSchema } from "./zod/schemas/program-lander";
import { programDataSchema } from "./zod/schemas/program-onboarding";
import {
PartnerCommentSchema,
- PartnerProgramInviteSchema,
ProgramEnrollmentSchema,
- ProgramInviteSchema,
- ProgramMetricsSchema,
- ProgramPartnerLinkSchema,
ProgramSchema,
} from "./zod/schemas/programs";
import {
@@ -450,8 +445,6 @@ export type PartnerProps = z.infer<typeof PartnerSchema> & {
export type PartnerUserProps = z.infer<typeof partnerUserSchema>;
-export type ProgramPartnerLinkProps = z.infer<typeof ProgramPartnerLinkSchema>;
-
export type PartnerProfileCustomerProps = z.infer<
typeof PartnerProfileCustomerSchema
>;
@@ -490,12 +483,6 @@ export type ProgramApplicationFormFieldWithValues = z.infer<
typeof programApplicationFormFieldWithValuesSchema
>;
-export type ProgramInviteProps = z.infer<typeof ProgramInviteSchema>;
-
-export type PartnerProgramInviteProps = z.infer<
- typeof PartnerProgramInviteSchema
->;
-
export type ProgramEnrollmentProps = z.infer<typeof ProgramEnrollmentSchema>;
export type PayoutsCount = {
@@ -504,8 +491,6 @@ export type PayoutsCount = {
amount: number;
};
-export type PayoutProps = z.infer<typeof PayoutSchema>;
-
export type PayoutResponse = z.infer<typeof PayoutResponseSchema>;
export type PartnerPayoutResponse = z.infer<typeof PartnerPayoutResponseSchema>;
@@ -552,11 +537,6 @@ export type RewardProps = z.infer<typeof RewardSchema>;
export type CreatePartnerProps = z.infer<typeof createPartnerSchema>;
export type ProgramData = z.infer<typeof programDataSchema>;
-
-export type ProgramMetrics = z.infer<typeof ProgramMetricsSchema>;
-
-export type PayoutMethod = "stripe" | "paypal";
-
export type PaymentMethodOption = {
currency?: string;
mandate_options?: {
@@ -564,7 +544,6 @@ export type PaymentMethodOption = {
transaction_type?: string;
};
};
-
export interface FolderLinkCount {
folderId: string;
_count: number;