@gamelobby/common 1.0.194 → 1.0.198

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.
@@ -0,0 +1,4 @@
1
+ export interface GeneralCounter {
2
+ _id: string;
3
+ count: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { GeneralCounter } from "./generalCounter.interface";
2
+ import { RankingEvents } from "./rankingEvents.enum";
3
+ export interface GeneralInfoStats {
4
+ [RankingEvents.WIN_MATCH]: GeneralCounter[];
5
+ [RankingEvents.DRAW_MATCH]: GeneralCounter[];
6
+ [RankingEvents.LOSE_MATCH]: GeneralCounter[];
7
+ [RankingEvents.FIRST_LOGIN]: GeneralCounter[];
8
+ [RankingEvents.DAILY_LOGIN]: GeneralCounter[];
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var rankingEvents_enum_1 = require("./rankingEvents.enum");
@@ -52,3 +52,6 @@ export * from './actionDone.enum';
52
52
  export * from './rankingAwards.enum';
53
53
  export * from './rankingEvents.enum';
54
54
  export * from './rankingDetail.interface';
55
+ export * from './userRole.interface';
56
+ export * from './generalCounter.interface';
57
+ export * from './generalInfoStats.interface';
@@ -64,3 +64,6 @@ __exportStar(require("./actionDone.enum"), exports);
64
64
  __exportStar(require("./rankingAwards.enum"), exports);
65
65
  __exportStar(require("./rankingEvents.enum"), exports);
66
66
  __exportStar(require("./rankingDetail.interface"), exports);
67
+ __exportStar(require("./userRole.interface"), exports);
68
+ __exportStar(require("./generalCounter.interface"), exports);
69
+ __exportStar(require("./generalInfoStats.interface"), exports);
@@ -56,7 +56,8 @@ export interface Room {
56
56
  username: String;
57
57
  dailyMatches: number;
58
58
  dailyTotalMatches: number;
59
- welcomeMsg: string;
59
+ welcomeMsgMatch: string;
60
+ welcomeMsgRoom: string;
60
61
  price: number;
61
62
  online: boolean;
62
63
  userInfo?: UserInfo;
@@ -0,0 +1,4 @@
1
+ export declare enum ChatsTopics {
2
+ sendChatUser = "chat.send.user",
3
+ sendChatAdmin = "chat.send.admin"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatsTopics = void 0;
4
+ var ChatsTopics;
5
+ (function (ChatsTopics) {
6
+ ChatsTopics["sendChatUser"] = "chat.send.user";
7
+ ChatsTopics["sendChatAdmin"] = "chat.send.admin";
8
+ })(ChatsTopics = exports.ChatsTopics || (exports.ChatsTopics = {}));
@@ -3,3 +3,4 @@ export * from './matchestopics';
3
3
  export * from './invitationstopics';
4
4
  export * from './notificationsTopics';
5
5
  export * from './rankingtopics';
6
+ export * from './chatstopics';
@@ -15,3 +15,4 @@ __exportStar(require("./matchestopics"), exports);
15
15
  __exportStar(require("./invitationstopics"), exports);
16
16
  __exportStar(require("./notificationsTopics"), exports);
17
17
  __exportStar(require("./rankingtopics"), exports);
18
+ __exportStar(require("./chatstopics"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamelobby/common",
3
- "version": "1.0.194",
3
+ "version": "1.0.198",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",