novuhq / novu

Open-Source Notification Platform. Embeddable Notification Center, E-mail, Push and Slack Integrations.
https://novu.co
Other
35.43k stars 3.92k forks source link

fix(api): Nv 4798 unify default step controls definition using only zod #7063

Closed tatarco closed 2 days ago

tatarco commented 2 days ago

What changed? Why was the change needed?

  1. Change Control schemas to use Zod as source of truth.
  2. Use zod to infer the typescript type within renderers
  3. Add digest ZOD & data schema.
  4. Add Digest renderer.
  5. Add Dealy renderer.
  6. Add Delate ZOD
  7. Add Delay data schema

Screenshots

Expand for optional sections ### Related enterprise PR ### Special notes for your reviewer
linear[bot] commented 2 days ago

NV-4798 Unify default step controls definition using only Zod

netlify[bot] commented 2 days ago

Deploy Preview for novu-stg-vite-dashboard-poc ready!

Name Link
Latest commit e4dba0ca8f58fc43a2858d212621841adf5bbce8
Latest deploy log https://app.netlify.com/sites/novu-stg-vite-dashboard-poc/deploys/673ca2f5a1b1ab0008e033a9
Deploy Preview https://deploy-preview-7063--novu-stg-vite-dashboard-poc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

pkg-pr-new[bot] commented 2 days ago

Open in Stackblitz

@novu/client

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/client@7063 ```

@novu/framework

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/framework@7063 ```

@novu/headless

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/headless@7063 ```

@novu/js

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/js@7063 ```

@novu/nextjs

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/nextjs@7063 ```

@novu/node

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/node@7063 ```

@novu/notification-center

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/notification-center@7063 ```

novu

``` pnpm add https://pkg.pr.new/novuhq/novu@7063 ```

@novu/providers

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/providers@7063 ```

@novu/react

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/react@7063 ```

@novu/react-native

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/react-native@7063 ```

@novu/shared

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/shared@7063 ```

commit: e4dba0c