diff --git a/src/stores/notification/index.ts b/src/stores/notification/index.ts index 1243de88..5aa43fe5 100644 --- a/src/stores/notification/index.ts +++ b/src/stores/notification/index.ts @@ -4,7 +4,12 @@ import { api } from 'src/boot/axios'; import { PaginationResult } from 'src/types'; import { createDataRefBase } from '../utils'; -export type Notification = {}; +export type Notification = { + title: string; + detail: string; + receiverId?: string; + groupId?: string[]; +}; export const useNotification = defineStore('noti-store', () => { const state = createDataRefBase();