Adds Event system and automatic messages
This commit is contained in:
parent
0e10ea3cab
commit
2f826fbf36
20 changed files with 428 additions and 18 deletions
|
|
@ -4,9 +4,12 @@ import {Container} from "./Container/Container";
|
|||
import {DatabaseConnection} from "./Database/DatabaseConnection";
|
||||
import {ServiceHint, Services} from "./Container/Services";
|
||||
import {IconCache} from "./Icons/IconCache";
|
||||
import {DefaultEvents} from "./Events/DefaultEvents";
|
||||
|
||||
const container = Container.getInstance();
|
||||
Services.setup(container, ServiceHint.App);
|
||||
DefaultEvents.setupTimed();
|
||||
DefaultEvents.setupHandlers();
|
||||
(async () => {
|
||||
const env = container.get<Environment>(Environment.name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue