-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: filters dont apply to a delay that is the first step in workflow
- Loading branch information
1 parent
50d89a6
commit e246c66
Showing
4 changed files
with
107 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 2 additions & 5 deletions
7
packages/application-generic/src/usecases/add-job/add-job.command.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
import { IsDefined, IsOptional } from 'class-validator'; | ||
import { IsDefined } from 'class-validator'; | ||
import { JobEntity } from '@novu/dal'; | ||
|
||
import { EnvironmentWithUserCommand } from '../../commands/project.command'; | ||
import { EnvironmentWithUserCommand } from '../../commands'; | ||
|
||
export class AddJobCommand extends EnvironmentWithUserCommand { | ||
@IsDefined() | ||
jobId: string; | ||
|
||
@IsDefined() | ||
job: JobEntity; | ||
|
||
@IsOptional() | ||
filtered?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters