|
@@ -25,6 +25,10 @@ class YjsConnectionManager {
|
|
|
return this.ysocketio;
|
|
return this.ysocketio;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ get mdbInstance(): MongodbPersistence {
|
|
|
|
|
+ return this.mdb;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
private constructor(io: Server) {
|
|
private constructor(io: Server) {
|
|
|
this.ysocketio = new YSocketIO(io);
|
|
this.ysocketio = new YSocketIO(io);
|
|
|
this.ysocketio.initialize();
|
|
this.ysocketio.initialize();
|