@rtsee/common 0.0.34 → 0.0.35

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.
@@ -1,10 +1,3 @@
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
1
  export interface IRTSeeCallMember {
9
2
  clientId: string;
10
3
  callId: string;
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"IConference.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/IConference.ts"],"names":[],"mappings":"AAAA,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"}
@@ -1,7 +1,6 @@
1
- import { IPeer } from "@rtsee/core";
2
- import { IRTSeeCall, IRTSeeConferenceRoom } from "@rtsee/common";
1
+ import { IPeer, IRTSeeConferenceRoom, IRTSeeCall } from "@rtsee/core";
3
2
  export interface IRTSeeConferenceStorageProcessor {
4
- createRoom(roomData: IRTSeeConferenceRoom): Promise<IRTSeeConferenceRoom>;
3
+ createRoom(roomData: Omit<IRTSeeConferenceRoom, 'id'>): Promise<IRTSeeConferenceRoom>;
5
4
  createCall(peer: IPeer, call: Omit<IRTSeeCall, 'id' | 'members'>): Promise<IRTSeeCall | null>;
6
5
  joinCall(peer: IPeer, call: IRTSeeCall): Promise<IRTSeeCall | null>;
7
6
  leaveCall(peer: IPeer, call: IRTSeeCall): Promise<IRTSeeCall | null>;
@@ -1 +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"}
1
+ {"version":3,"file":"StorageProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/StorageProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEtE,MAAM,WAAW,gCAAgC;IAC/C,UAAU,CACR,QAAQ,EAAE,IAAI,CAAC,oBAAoB,EAAE,IAAI,CAAC,GACzC,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"}
@@ -1,5 +1,4 @@
1
1
  export * from "./ConferenceSignals";
2
2
  export * from './IConference';
3
3
  export * from './StorageProcessor';
4
- export * from './Room';
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,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"}
@@ -17,5 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ConferenceSignals"), exports);
18
18
  __exportStar(require("./IConference"), exports);
19
19
  __exportStar(require("./StorageProcessor"), exports);
20
- __exportStar(require("./Room"), exports);
21
20
  //# 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;AAC9B,qDAAmC;AACnC,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interfaces/conference/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,gDAA8B;AAC9B,qDAAmC"}
@@ -1,5 +1,6 @@
1
1
  import { IRTSeeMessageBase, IRTSeeMessengerSignalingClient, RTSeeChatTypes } from "@rtsee/common";
2
2
  import { IRTSeeChatMemberBase } from "./ChatMember";
3
+ import { IRTSeeConferenceRoom } from "@rtsee/core";
3
4
  export interface IRTSeeChatBase {
4
5
  id: string;
5
6
  type: RTSeeChatTypes;
@@ -7,6 +8,7 @@ export interface IRTSeeChatBase {
7
8
  isPreset?: boolean;
8
9
  name?: string;
9
10
  imageUrl?: string;
11
+ conferenceRoom?: IRTSeeConferenceRoom;
10
12
  lastMessageTime?: Date;
11
13
  createdAt?: Date;
12
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/messenger/Chat.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,cAAc,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,cAAc,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC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C;IACjD,OAAO,EAAE,oBAAoB,CAAC;IAC9B,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtsee/common",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
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": "2feaa4064bb068d2b23448ec28e277159401855e"
34
+ "gitHead": "af2aac90a2382bfc482e449e19f69a3ac81e081a"
35
35
  }
@@ -1,6 +0,0 @@
1
- export interface IRTSeeConferenceRoom<T = any> {
2
- id: string;
3
- chatId: string;
4
- data?: T;
5
- }
6
- //# sourceMappingURL=Room.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Room.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Room.js","sourceRoot":"","sources":["../../../../../src/interfaces/conference/Room.ts"],"names":[],"mappings":""}