Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@ enum MilestoneStatus {
DELAYED
}

enum DisputeStatus {
OPEN
UNDER_REVIEW
RESOLVED
CANCELLED
}

// User model
model User {
id String @id @default(uuid())
Expand Down
2 changes: 1 addition & 1 deletion src/notifications/notifications.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Module } from '@nestjs/common';
import { Module, forwardRef } from '@nestjs/common';
import { NotificationsGateway } from './notifications.gateway';
import { NotificationsService } from './notifications.service';
import { NotificationsController } from './notifications.controller';
Expand Down
8 changes: 8 additions & 0 deletions src/users/dto/user-preferences.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ export class CreateUserPreferencesDto {
inAppNotifications?: boolean;

@ApiPropertyOptional()
@IsOptional()
@IsBoolean()
inAppNotifications?: boolean;

@IsOptional()
@IsBoolean()
propertyAlerts?: boolean;
Expand Down Expand Up @@ -121,6 +125,10 @@ export class UpdateUserPreferencesDto {
inAppNotifications?: boolean;

@ApiPropertyOptional()
@IsOptional()
@IsBoolean()
inAppNotifications?: boolean;

@IsOptional()
@IsBoolean()
propertyAlerts?: boolean;
Expand Down
Loading