Добавлена совместимость с Firebase Cloud Messaging.

Сервис и контроллер модуля schedule-replacer были перенесены в модуль schedule.
This commit is contained in:
2024-10-05 00:36:50 +04:00
parent 32e06350ad
commit 6ffe39a4a9
24 changed files with 1377 additions and 79 deletions

View File

@@ -25,6 +25,11 @@ enum UserRole {
ADMIN
}
type FCM {
token String
topics Json
}
model User {
id String @id @map("_id") @db.ObjectId
//
@@ -37,4 +42,6 @@ model User {
//
group String
role UserRole
//
fcm FCM?
}