/** * @module notification.action * * Generic CRUD action type aliases for each notification document type. * These types parameterize the server-side action factories in `@dereekb/firebase-server/model`. * * Sync variants return the result directly; Async variants return a Promise. */ import { type AsyncFirebaseFunctionCreateAction, type AsyncFirebaseFunctionDeleteAction, type AsyncFirebaseFunctionUpdateAction, type FirebaseFunctionCreateAction, type FirebaseFunctionDeleteAction, type FirebaseFunctionUpdateAction } from '../../common'; import { type NotificationSummaryDocument, type NotificationBoxDocument, type NotificationDocument, type NotificationWeekDocument, type NotificationUserDocument } from './notification'; export type NotificationUserCreateAction
= FirebaseFunctionCreateAction
; export type AsyncNotificationUserCreateAction
= AsyncFirebaseFunctionCreateAction
; export type NotificationUserUpdateAction
= FirebaseFunctionUpdateAction
; export type AsyncNotificationUserUpdateAction
= AsyncFirebaseFunctionUpdateAction
; export type NotificationSummaryCreateAction
= FirebaseFunctionCreateAction
; export type AsyncNotificationSummaryCreateAction
= AsyncFirebaseFunctionCreateAction
; export type NotificationSummaryUpdateAction
= FirebaseFunctionUpdateAction
; export type AsyncNotificationSummaryUpdateAction
= AsyncFirebaseFunctionUpdateAction
; export type NotificationBoxCreateAction
= FirebaseFunctionCreateAction
; export type AsyncNotificationBoxCreateAction
= AsyncFirebaseFunctionCreateAction
; export type NotificationBoxUpdateAction
= FirebaseFunctionUpdateAction
; export type AsyncNotificationBoxUpdateAction
= AsyncFirebaseFunctionUpdateAction
; export type NotificationCreateAction
= FirebaseFunctionCreateAction
; export type AsyncNotificationCreateAction
= AsyncFirebaseFunctionCreateAction
; export type NotificationUpdateAction
= FirebaseFunctionUpdateAction
; export type AsyncNotificationUpdateAction
= AsyncFirebaseFunctionUpdateAction
; export type NotificationDeleteAction
= FirebaseFunctionDeleteAction
; export type AsyncNotificationDeleteAction
= AsyncFirebaseFunctionDeleteAction
; export type NotificationWeekCreateAction
= FirebaseFunctionCreateAction
; export type AsyncNotificationWeekCreateAction
= AsyncFirebaseFunctionCreateAction
; export type NotificationWeekUpdateAction
= FirebaseFunctionUpdateAction
; export type AsyncNotificationWeekUpdateAction
= AsyncFirebaseFunctionUpdateAction
;