@glissandoo/lib 1.52.2 → 1.52.3
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.
|
@@ -8,8 +8,10 @@ export default class GroupPlayerEvent extends EventoBasic<GroupPlayerEventData>
|
|
|
8
8
|
get playerId(): string;
|
|
9
9
|
get groupId(): string;
|
|
10
10
|
get status(): EventPlayerStatus | null;
|
|
11
|
+
get interested(): true | null;
|
|
11
12
|
get isConfirmed(): boolean;
|
|
12
13
|
get isDeclined(): boolean;
|
|
14
|
+
get isInterested(): boolean;
|
|
13
15
|
get rollcall(): EventPlayerStatus | null;
|
|
14
16
|
get isRollcallConfirmed(): boolean;
|
|
15
17
|
get isRollcallDeclined(): boolean;
|
|
@@ -20,12 +20,18 @@ class GroupPlayerEvent extends basic_1.default {
|
|
|
20
20
|
get status() {
|
|
21
21
|
return this.data.status || null;
|
|
22
22
|
}
|
|
23
|
+
get interested() {
|
|
24
|
+
return this.data.interested || null;
|
|
25
|
+
}
|
|
23
26
|
get isConfirmed() {
|
|
24
27
|
return this.status === types_1.EventPlayerStatus.Confirmed;
|
|
25
28
|
}
|
|
26
29
|
get isDeclined() {
|
|
27
30
|
return this.status === types_1.EventPlayerStatus.Declined;
|
|
28
31
|
}
|
|
32
|
+
get isInterested() {
|
|
33
|
+
return this.interested === true;
|
|
34
|
+
}
|
|
29
35
|
get rollcall() {
|
|
30
36
|
return this.data.rollcall || null;
|
|
31
37
|
}
|