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

feat(worker): add defer duration validation #7088

Closed djabarovgeorge closed 14 hours ago

djabarovgeorge commented 1 day ago

What changed? Why was the change needed?

this PR will solve the tickets from https://github.com/novuhq/novu/pull/7035 https://linear.app/novu/issue/NV-4739/digest-add-api-restriction-on-the-tier-plan https://linear.app/novu/issue/NV-4736/delay-add-api-restriction-on-the-tier-plan This change was made because this PR have a refactoring of the logic that were made in 7035, this way we are having all of the logic in one place.

https://linear.app/novu/issue/NV-4739/digest-add-api-restriction-on-the-tier-plan https://linear.app/novu/issue/NV-4736/delay-add-api-restriction-on-the-tier-plan

Screenshots

Expand for optional sections ### Related enterprise PR ### Special notes for your reviewer
netlify[bot] commented 1 day ago

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

Name Link
Latest commit 538e40293cf35af89d47114a88e70f3a60810075
Latest deploy log https://app.netlify.com/sites/novu-stg-vite-dashboard-poc/deploys/673f3ba9f651610008016ba6
Deploy Preview https://deploy-preview-7088--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 1 day ago

Open in Stackblitz

@novu/client

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

@novu/framework

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

@novu/headless

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

@novu/js

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

@novu/nextjs

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

@novu/node

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

@novu/notification-center

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

novu

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

@novu/providers

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

@novu/react

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

@novu/react-native

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

@novu/shared

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

commit: 538e402