-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/web-temporary-event-licence-boolean-check
- Loading branch information
Showing
14 changed files
with
365 additions
and
110 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
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
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
6 changes: 6 additions & 0 deletions
6
libs/application/template-api-modules/src/lib/notification/notificationTypes.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { NotificationConfig, NotificationType } from './notificationsTemplates' | ||
|
||
export type NotificationConfigType = typeof NotificationConfig | ||
export type NotificationTypeKey = keyof typeof NotificationConfig | ||
export type NotificationArgs<T extends NotificationTypeKey> = | ||
NotificationConfigType[T]['keys'] |
11 changes: 11 additions & 0 deletions
11
libs/application/template-api-modules/src/lib/notification/notifications.module.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Module } from '@nestjs/common' | ||
|
||
import { UserNotificationClientModule } from '@island.is/clients/user-notification' | ||
import { NotificationsService } from './notifications.service' | ||
|
||
@Module({ | ||
imports: [UserNotificationClientModule], | ||
providers: [NotificationsService], | ||
exports: [NotificationsService], | ||
}) | ||
export class ApplicationsNotificationsModule {} |
Oops, something went wrong.