feat: add notification type

This commit is contained in:
Methapon Metanipat 2024-10-31 17:53:10 +07:00 committed by Methapon2001
parent 780a262979
commit ff95d207d2

View file

@ -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<Notification>();