The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
swap order
Steven Tey3af09fd7fdf5
diff --git a/apps/web/lib/zod/schemas/partners.ts b/apps/web/lib/zod/schemas/partners.tsindex 2aeadbe604..e3fddc7791 100644--- a/apps/web/lib/zod/schemas/partners.ts+++ b/apps/web/lib/zod/schemas/partners.ts@@ -148,12 +148,6 @@ export const getPartnersQuerySchema = z"Filter the partner list based on the partner's `tenantId`. The value must be a string. Takes precedence over `email` and `search`.",).openapi({ example: "1K0NM7HCN944PEMZ3CQPH43H8" }),- includeExpandedFields: booleanQuerySchema- .optional()- .describe(- "Whether to include stats fields on the partner (`clicks`, `leads`, `conversions`, `sales`, `saleAmount`, `commissions`, `netRevenue`). If false, those fields will be returned as 0.",- )- .openapi({ example: "true" }),search: z.string().optional()@@ -161,6 +155,12 @@ export const getPartnersQuerySchema = z"A search query to filter partners by name, email, or tenantId.",).openapi({ example: "john" }),+ includeExpandedFields: booleanQuerySchema+ .optional()+ .describe(+ "Whether to include stats fields on the partner (`clicks`, `leads`, `conversions`, `sales`, `saleAmount`, `commissions`, `netRevenue`). If false, those fields will be returned as 0.",+ )+ .openapi({ example: "true" }),}).merge(getPaginationQuerySchema({ pageSize: PARTNERS_MAX_PAGE_SIZE }));