@rtsee/common 0.0.32 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/src/interfaces/conference/IConference.d.ts +13 -1
- package/dist/common/src/interfaces/conference/IConference.d.ts.map +1 -1
- package/dist/common/src/interfaces/conference/Room.d.ts +6 -0
- package/dist/common/src/interfaces/conference/Room.d.ts.map +1 -0
- package/dist/common/src/interfaces/conference/Room.js +3 -0
- package/dist/common/src/interfaces/conference/Room.js.map +1 -0
- package/dist/common/src/interfaces/conference/StorageProcessor.d.ts +10 -0
- package/dist/common/src/interfaces/conference/StorageProcessor.d.ts.map +1 -0
- package/dist/common/src/interfaces/conference/StorageProcessor.js +3 -0
- package/dist/common/src/interfaces/conference/StorageProcessor.js.map +1 -0
- package/dist/common/src/interfaces/conference/index.d.ts +2 -0
- package/dist/common/src/interfaces/conference/index.d.ts.map +1 -1
- package/dist/common/src/interfaces/conference/index.js +2 -0
- package/dist/common/src/interfaces/conference/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import { IPeer } from "@rtsee/core";
|
|
2
|
+
export interface IRTSeeCall<T = any> {
|
|
3
|
+
id: string;
|
|
4
|
+
roomId: string;
|
|
5
|
+
members: IPeer[];
|
|
6
|
+
data?: T;
|
|
7
|
+
}
|
|
8
|
+
export interface IRTSeeCallMember {
|
|
9
|
+
clientId: string;
|
|
10
|
+
callId: string;
|
|
11
|
+
isPresent?: boolean;
|
|
12
|
+
joinedAt?: Date;
|
|
13
|
+
leftAt?: Date;
|
|
2
14
|
}
|
|
3
15
|
//# sourceMappingURL=IConference.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IConference.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/IConference.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;
|
|
1
|
+
{"version":3,"file":"IConference.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/IConference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;CACV;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,MAAM,CAAC,EAAE,IAAI,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Room.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/Room.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,CAAC,CAAC;CACV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Room.js","sourceRoot":"","sources":["../../../../../src/interfaces/conference/Room.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IPeer } from "@rtsee/core";
|
|
2
|
+
import { IRTSeeCall, IRTSeeConferenceRoom } from "@rtsee/common";
|
|
3
|
+
export interface IRTSeeConferenceStorageProcessor {
|
|
4
|
+
createRoom(roomData: IRTSeeConferenceRoom): Promise<IRTSeeConferenceRoom>;
|
|
5
|
+
createCall(peer: IPeer, call: Omit<IRTSeeCall, 'id' | 'members'>): Promise<IRTSeeCall | null>;
|
|
6
|
+
joinCall(peer: IPeer, call: IRTSeeCall): Promise<IRTSeeCall | null>;
|
|
7
|
+
leaveCall(peer: IPeer, call: IRTSeeCall): Promise<IRTSeeCall | null>;
|
|
8
|
+
endCall(peer: IPeer, call: IRTSeeCall): Promise<IRTSeeCall | null>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=StorageProcessor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorageProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/StorageProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,UAAU,EAAE,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAE/D,MAAM,WAAW,gCAAgC;IAC/C,UAAU,CACR,QAAQ,EAAE,oBAAoB,GAC7B,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC,UAAU,CACR,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,GAAG,SAAS,CAAC,GACvC,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAC9B,QAAQ,CACN,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,UAAU,GACf,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAC9B,SAAS,CACP,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,UAAU,GACf,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAC9B,OAAO,CACL,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,UAAU,GACf,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorageProcessor.js","sourceRoot":"","sources":["../../../../../src/interfaces/conference/StorageProcessor.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC"}
|
|
@@ -16,4 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ConferenceSignals"), exports);
|
|
18
18
|
__exportStar(require("./IConference"), exports);
|
|
19
|
+
__exportStar(require("./StorageProcessor"), exports);
|
|
20
|
+
__exportStar(require("./Room"), exports);
|
|
19
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interfaces/conference/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interfaces/conference/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,gDAA8B;AAC9B,qDAAmC;AACnC,yCAAuB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rtsee/common",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/common/src/index",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "2feaa4064bb068d2b23448ec28e277159401855e"
|
|
35
35
|
}
|