Podpora notifikací, zatím jen gotify
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import exp from "constants";
|
||||
|
||||
export interface Choices {
|
||||
[location: string]: string[],
|
||||
}
|
||||
@@ -65,4 +67,19 @@ export enum Locations {
|
||||
VLASTNI = 'Mám vlastní',
|
||||
OBJEDNAVAM = 'Objednávám',
|
||||
NEOBEDVAM = 'Neobědvám',
|
||||
}
|
||||
|
||||
export enum UdalostEnum{
|
||||
ZAHAJENA_PIZZA="Zahájen pizza day",
|
||||
OBJEDNANA_PIZZA="Objednána pizza"
|
||||
}
|
||||
|
||||
export interface NotififaceInput{
|
||||
udalost:UdalostEnum,
|
||||
user:string,
|
||||
}
|
||||
export interface NotifikaceData{
|
||||
input:NotififaceInput,
|
||||
gotify?:boolean,
|
||||
teams?:boolean,
|
||||
}
|
||||
Reference in New Issue
Block a user