aboutsummaryrefslogtreecommitdiff
path: root/lib/client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/client.ts')
-rw-r--r--lib/client.ts9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/client.ts b/lib/client.ts
index eafdda5..15bd076 100644
--- a/lib/client.ts
+++ b/lib/client.ts
@@ -1,18 +1,17 @@
-import { Schema } from 'mongoose';
import Connection from './connection';
import createEventModel, { EventModel } from './event.model';
import createLogModel, { LogModel } from './log.model';
-class Client<Context> {
+class Client {
public connection: Connection;
- public Event: EventModel<Context>;
+ public Event: EventModel;
public Log: LogModel;
- constructor(connection: Connection, contextSchema: Schema) {
+ constructor(connection: Connection) {
this.connection = connection;
this.Log = createLogModel(connection);
- this.Event = createEventModel<Context>(connection, contextSchema);
+ this.Event = createEventModel(connection);
}
}