mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 12:40:08 +00:00
feat: responsive header, search boxes (#10)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { ModelNotification, ModelNotificationGroupResponseItem } from "@/types";
|
||||
import { NotificationIdentifierType, ModelNotificationGroupResponseItem } from "@/types";
|
||||
|
||||
export interface NotificationContextProps {
|
||||
notifiers?: ModelNotification[];
|
||||
notifiers?: NotificationIdentifierType[];
|
||||
notifierGroup?: ModelNotificationGroupResponseItem[];
|
||||
}
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
import { ModelNotification, ModelNotificationGroupResponseItem } from "@/types";
|
||||
import { ModelNotificationGroupResponseItem } from "@/types";
|
||||
|
||||
export interface NotificationIdentifierType {
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface NotificationStore {
|
||||
notifiers?: ModelNotification[];
|
||||
notifiers?: NotificationIdentifierType[];
|
||||
notifierGroup?: ModelNotificationGroupResponseItem[];
|
||||
setNotifier: (notifiers?: ModelNotification[]) => void;
|
||||
setNotifier: (notifiers?: NotificationIdentifierType[]) => void;
|
||||
setNotifierGroup: (notifierGroup?: ModelNotificationGroupResponseItem[]) => void;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ModelServerGroupResponseItem, ModelServer } from "@/types";
|
||||
import { ModelServerGroupResponseItem, ServerIdentifierType } from "@/types";
|
||||
|
||||
export interface ServerContextProps {
|
||||
servers?: ModelServer[];
|
||||
servers?: ServerIdentifierType[];
|
||||
serverGroups?: ModelServerGroupResponseItem[];
|
||||
}
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
import { ModelServer, ModelServerGroupResponseItem } from "@/types";
|
||||
import { ModelServerGroupResponseItem } from "@/types";
|
||||
|
||||
export interface ServerIdentifierType {
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface ServerStore {
|
||||
server?: ModelServer[];
|
||||
server?: ServerIdentifierType[];
|
||||
serverGroup?: ModelServerGroupResponseItem[];
|
||||
setServer: (server?: ModelServer[]) => void;
|
||||
setServer: (server?: ServerIdentifierType[]) => void;
|
||||
setServerGroup: (serverGroup?: ModelServerGroupResponseItem[]) => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user