refactor: update data receive from backend
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
This commit is contained in:
parent
9c04b20992
commit
80cb67323b
2 changed files with 11 additions and 37 deletions
|
|
@ -5,10 +5,11 @@ import { PaginationResult } from 'src/types';
|
|||
import { createDataRefBase } from '../utils';
|
||||
|
||||
export type Notification = {
|
||||
id: string;
|
||||
title: string;
|
||||
detail: string;
|
||||
receiverId?: string;
|
||||
groupId?: string[];
|
||||
read?: boolean;
|
||||
createdAt: string;
|
||||
};
|
||||
|
||||
export const useNotification = defineStore('noti-store', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue