@glissandoo/lib 1.3.9 → 1.3.11
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.
|
@@ -34,6 +34,7 @@ const orders = {
|
|
|
34
34
|
instruments_1.InstrumentId.Tuba,
|
|
35
35
|
instruments_1.InstrumentId.Cello,
|
|
36
36
|
instruments_1.InstrumentId.DoubleBass,
|
|
37
|
+
instruments_1.InstrumentId.SnareDrum,
|
|
37
38
|
instruments_1.InstrumentId.Percussion,
|
|
38
39
|
instruments_1.InstrumentId.BassDrum,
|
|
39
40
|
instruments_1.InstrumentId.Cymbals,
|
|
@@ -55,7 +56,7 @@ const orders = {
|
|
|
55
56
|
instruments_1.InstrumentId.TromboneLow,
|
|
56
57
|
instruments_1.InstrumentId.Euphonium,
|
|
57
58
|
instruments_1.InstrumentId.Tuba,
|
|
58
|
-
instruments_1.InstrumentId.
|
|
59
|
+
instruments_1.InstrumentId.SnareDrum,
|
|
59
60
|
instruments_1.InstrumentId.BassDrum,
|
|
60
61
|
instruments_1.InstrumentId.Cymbals,
|
|
61
62
|
instruments_1.InstrumentId.Timpani,
|
|
@@ -93,6 +94,7 @@ const orders = {
|
|
|
93
94
|
instruments_1.InstrumentId.Euphonium,
|
|
94
95
|
instruments_1.InstrumentId.Tuba,
|
|
95
96
|
instruments_1.InstrumentId.Percussion,
|
|
97
|
+
instruments_1.InstrumentId.SnareDrum,
|
|
96
98
|
instruments_1.InstrumentId.BassDrum,
|
|
97
99
|
instruments_1.InstrumentId.Cymbals,
|
|
98
100
|
instruments_1.InstrumentId.Timpani,
|
|
@@ -158,6 +160,7 @@ const orders = {
|
|
|
158
160
|
instruments_1.InstrumentId.Euphonium,
|
|
159
161
|
instruments_1.InstrumentId.Tuba,
|
|
160
162
|
instruments_1.InstrumentId.Percussion,
|
|
163
|
+
instruments_1.InstrumentId.SnareDrum,
|
|
161
164
|
instruments_1.InstrumentId.BassDrum,
|
|
162
165
|
instruments_1.InstrumentId.Cymbals,
|
|
163
166
|
],
|
|
@@ -165,6 +168,7 @@ const orders = {
|
|
|
165
168
|
instruments_1.InstrumentId.MusicConductor,
|
|
166
169
|
instruments_1.InstrumentId.Cornet,
|
|
167
170
|
instruments_1.InstrumentId.Percussion,
|
|
171
|
+
instruments_1.InstrumentId.SnareDrum,
|
|
168
172
|
instruments_1.InstrumentId.BassDrum,
|
|
169
173
|
],
|
|
170
174
|
[index_1.MusicStyleId.JazzBand]: [
|
package/models/Group/index.d.ts
CHANGED
|
@@ -18,6 +18,9 @@ export default class Group extends GroupBasic<GroupData> {
|
|
|
18
18
|
get admins(): string[];
|
|
19
19
|
get createdAt(): FirebaseFirestore.Timestamp;
|
|
20
20
|
get deletedAt(): FirebaseFirestore.Timestamp | null;
|
|
21
|
+
get repertoryCount(): number;
|
|
22
|
+
get performanceCount(): number;
|
|
23
|
+
get practiceCount(): number;
|
|
21
24
|
get activePlayers(): string[];
|
|
22
25
|
get playersList(): (import("../Player/types").PlayerBasicData & {
|
|
23
26
|
id: string;
|
package/models/Group/index.js
CHANGED
|
@@ -63,6 +63,15 @@ class Group extends basic_1.default {
|
|
|
63
63
|
get deletedAt() {
|
|
64
64
|
return this.data.deletedAt || null;
|
|
65
65
|
}
|
|
66
|
+
get repertoryCount() {
|
|
67
|
+
return this.data.repertoryCount || 0;
|
|
68
|
+
}
|
|
69
|
+
get performanceCount() {
|
|
70
|
+
return this.data.performanceCount || 0;
|
|
71
|
+
}
|
|
72
|
+
get practiceCount() {
|
|
73
|
+
return this.data.practiceCount || 0;
|
|
74
|
+
}
|
|
66
75
|
get activePlayers() {
|
|
67
76
|
return Object.keys(this.players);
|
|
68
77
|
}
|
package/models/Group/types.d.ts
CHANGED