UNPKG

advint-user-admin

Version:

开箱即用的后台管理基础用户系统组件

48 lines (47 loc) 1.27 kB
interface NoticeItem { title?: string; read: boolean; message: any; time: string; } export declare const useNoticeStore: import('pinia').StoreDefinition<"notice", Pick<{ state: { notices: { title?: string | undefined; read: boolean; message: any; time: string; }[]; }; addNotice: (notice: NoticeItem) => void; removeNotice: (notice: NoticeItem) => void; readAll: () => void; clearNotice: () => void; }, "state">, Pick<{ state: { notices: { title?: string | undefined; read: boolean; message: any; time: string; }[]; }; addNotice: (notice: NoticeItem) => void; removeNotice: (notice: NoticeItem) => void; readAll: () => void; clearNotice: () => void; }, never>, Pick<{ state: { notices: { title?: string | undefined; read: boolean; message: any; time: string; }[]; }; addNotice: (notice: NoticeItem) => void; removeNotice: (notice: NoticeItem) => void; readAll: () => void; clearNotice: () => void; }, "addNotice" | "removeNotice" | "readAll" | "clearNotice">>; export default useNoticeStore;