@gamelobby/common 1.0.302 → 1.0.304

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 declare enum OriginRequest {
2
+ NETFOREMOST = "NETFOREMOST",
3
+ GAMELOBBY = "GAMELOBBY"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OriginRequest = void 0;
4
+ var OriginRequest;
5
+ (function (OriginRequest) {
6
+ OriginRequest["NETFOREMOST"] = "NETFOREMOST";
7
+ OriginRequest["GAMELOBBY"] = "GAMELOBBY";
8
+ })(OriginRequest = exports.OriginRequest || (exports.OriginRequest = {}));
@@ -0,0 +1,13 @@
1
+ import { OriginRequest } from "./originRequest.enum";
2
+ import { RequestStates } from "./requestStates.enum";
3
+ export interface RequestInfo {
4
+ _id?: string;
5
+ chatRoomUuid: string;
6
+ usernameGl: string;
7
+ origin: OriginRequest;
8
+ status: RequestStates;
9
+ email: string;
10
+ uuidWallet: string;
11
+ createdAt?: string;
12
+ updatedAt?: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export declare enum RequestStates {
2
+ PENDING = "PENDING",
3
+ ACTIVE = "ACTIVE",
4
+ REJECTED = "REJECTED",
5
+ CANCELLED = "CANCELLED"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequestStates = void 0;
4
+ var RequestStates;
5
+ (function (RequestStates) {
6
+ RequestStates["PENDING"] = "PENDING";
7
+ RequestStates["ACTIVE"] = "ACTIVE";
8
+ RequestStates["REJECTED"] = "REJECTED";
9
+ RequestStates["CANCELLED"] = "CANCELLED";
10
+ })(RequestStates = exports.RequestStates || (exports.RequestStates = {}));
@@ -11,7 +11,7 @@ export interface RoundMatch {
11
11
  playerReportBy: string;
12
12
  comment: string;
13
13
  expiredAt: string;
14
- validatedAt: string;
14
+ reportedAt: string;
15
15
  createdAt?: string;
16
16
  updatedAt?: string;
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamelobby/common",
3
- "version": "1.0.302",
3
+ "version": "1.0.304",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",