4b06f42db7
* sort of works * type fixes * added option to run old way too
15 lines
421 B
TypeScript
15 lines
421 B
TypeScript
import type { NotificationPreferences } from '@/modules/notifications/helpers/types'
|
|
|
|
export type GetSavedUserNotificationPreferences = (
|
|
userId: string
|
|
) => Promise<NotificationPreferences>
|
|
|
|
export type SaveUserNotificationPreferences = (
|
|
userId: string,
|
|
preferences: NotificationPreferences
|
|
) => Promise<void>
|
|
|
|
export type GetUserNotificationPreferences = (
|
|
userId: string
|
|
) => Promise<NotificationPreferences>
|