front-back-poker-types 5.0.191 → 5.0.193
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,11 +1,11 @@
|
|
|
1
1
|
import { Nullable } from '../types';
|
|
2
2
|
export type RoomLogSource = 'back' | 'front';
|
|
3
3
|
export type RoomLog = {
|
|
4
|
-
id:
|
|
4
|
+
id: number;
|
|
5
5
|
source: RoomLogSource;
|
|
6
6
|
content: string;
|
|
7
7
|
type: string;
|
|
8
|
-
timestamp:
|
|
8
|
+
timestamp: number;
|
|
9
9
|
userId: Nullable<number>;
|
|
10
10
|
roomId: Nullable<number>;
|
|
11
11
|
handId: Nullable<number>;
|
|
@@ -16,8 +16,8 @@ export type PostRoomLogRequest = Omit<RoomLog, 'id' | 'timestamp'>;
|
|
|
16
16
|
export type GetRoomsLogsQuery = Partial<Omit<RoomLog, 'id' | 'timestamp' | 'content'>> & {
|
|
17
17
|
page: number;
|
|
18
18
|
perPage: number;
|
|
19
|
-
timestampFrom
|
|
20
|
-
timestampTo
|
|
19
|
+
timestampFrom?: Nullable<number>;
|
|
20
|
+
timestampTo?: Nullable<number>;
|
|
21
21
|
};
|
|
22
22
|
export type GetRoomsLogsResponse = {
|
|
23
23
|
logs: RoomLog[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Nullable } from '../types';
|
|
2
2
|
export type RoomLogSource = 'back' | 'front';
|
|
3
3
|
export type RoomLog = {
|
|
4
|
-
id:
|
|
4
|
+
id: number;
|
|
5
5
|
source: RoomLogSource;
|
|
6
6
|
content: string;
|
|
7
7
|
type: string;
|
|
8
|
-
timestamp:
|
|
8
|
+
timestamp: number;
|
|
9
9
|
userId: Nullable<number>;
|
|
10
10
|
roomId: Nullable<number>;
|
|
11
11
|
handId: Nullable<number>;
|
|
@@ -16,8 +16,8 @@ export type PostRoomLogRequest = Omit<RoomLog, 'id' | 'timestamp'>;
|
|
|
16
16
|
export type GetRoomsLogsQuery = Partial<Omit<RoomLog, 'id' | 'timestamp' | 'content'>> & {
|
|
17
17
|
page: number;
|
|
18
18
|
perPage: number;
|
|
19
|
-
timestampFrom
|
|
20
|
-
timestampTo
|
|
19
|
+
timestampFrom?: Nullable<number>;
|
|
20
|
+
timestampTo?: Nullable<number>;
|
|
21
21
|
};
|
|
22
22
|
export type GetRoomsLogsResponse = {
|
|
23
23
|
logs: RoomLog[];
|
package/dist/index.d.ts
CHANGED
|
@@ -311,11 +311,11 @@ type PostTournamentRegistrationResponse = {
|
|
|
311
311
|
|
|
312
312
|
type RoomLogSource = 'back' | 'front';
|
|
313
313
|
type RoomLog = {
|
|
314
|
-
id:
|
|
314
|
+
id: number;
|
|
315
315
|
source: RoomLogSource;
|
|
316
316
|
content: string;
|
|
317
317
|
type: string;
|
|
318
|
-
timestamp:
|
|
318
|
+
timestamp: number;
|
|
319
319
|
userId: Nullable<number>;
|
|
320
320
|
roomId: Nullable<number>;
|
|
321
321
|
handId: Nullable<number>;
|
|
@@ -326,8 +326,8 @@ type PostRoomLogRequest = Omit<RoomLog, 'id' | 'timestamp'>;
|
|
|
326
326
|
type GetRoomsLogsQuery = Partial<Omit<RoomLog, 'id' | 'timestamp' | 'content'>> & {
|
|
327
327
|
page: number;
|
|
328
328
|
perPage: number;
|
|
329
|
-
timestampFrom
|
|
330
|
-
timestampTo
|
|
329
|
+
timestampFrom?: Nullable<number>;
|
|
330
|
+
timestampTo?: Nullable<number>;
|
|
331
331
|
};
|
|
332
332
|
type GetRoomsLogsResponse = {
|
|
333
333
|
logs: RoomLog[];
|