Migrate remaining notification console methods to zustand (#873)

This commit is contained in:
Steve Faulkner
2021-06-09 13:11:12 -07:00
committed by GitHub
parent fc9f4c5583
commit bcc9f8dd32
17 changed files with 96 additions and 135 deletions

View File

@@ -0,0 +1,16 @@
/**
* Interface for the data/content that will be recorded
*/
export interface ConsoleData {
type: ConsoleDataType;
date: string;
message: string;
id?: string;
}
export enum ConsoleDataType {
Info = 0,
Error = 1,
InProgress = 2,
}