refactor: remove unused notification permission hook and related code

This commit is contained in:
Tunglies
2025-09-18 19:13:11 +08:00
parent a995a13163
commit 409571f54b
19 changed files with 17 additions and 315 deletions

View File

@@ -12,7 +12,7 @@ const MAX_LOG_NUM = 1000;
export type LogLevel = "debug" | "info" | "warning" | "error" | "all";
export interface ILogItem {
interface ILogItem {
time?: string;
type: string;
payload: string;

View File

@@ -7,9 +7,9 @@ import {
} from "@/services/cmds";
import dayjs from "dayjs";
export type LogLevel = "debug" | "info" | "warning" | "error" | "all";
type LogLevel = "debug" | "info" | "warning" | "error" | "all";
export interface ILogItem {
interface ILogItem {
time?: string;
type: string;
payload: string;

View File

@@ -1,6 +1,6 @@
import { ReactNode } from "react";
export interface NoticeItem {
interface NoticeItem {
id: number;
type: "success" | "error" | "info";
message: ReactNode;