dub icon indicating copy to clipboard operation
dub copied to clipboard

fix(apps/web): removed deprecated zod params.

Open zhyd1997 opened this issue 3 months ago • 3 comments

Close #2546

import * as z from "zod";

const baz = z
    .object({
        a: z.string(),
    });

const foo = z
    .object({
        b: z.string(),
    })
    .merge(baz);

const bar = foo
    // Try to comment this out and see the type of y
    .omit({ s: true })
    .extend({
        c: z.string(),
    })

const x: Record<string, string> = {}

// check the type of y here
const y = bar.parse(x);


Summary by CodeRabbit

  • New Features

    • Events reports: sorting and pagination are now supported in event filters and queries.
    • Partner profile queries can now accept workspace selection for analytics and event requests.
    • Bulk link updates may now include link IDs; partner creation accepts project IDs in link properties.
  • Bug Fixes

    • General analytics filters no longer expose an unsupported sort option.
    • Payout count responses may include aggregated counts; exclusion of the current month was removed.

zhyd1997 avatar Sep 06 '25 03:09 zhyd1997