@glissandoo/lib 1.4.2 → 1.4.4
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.
- package/helpers/instruments/index.d.ts +4 -0
- package/helpers/instruments/index.js +9 -6
- package/lang/ca.json +4 -0
- package/lang/de.json +4 -0
- package/lang/en.json +4 -0
- package/lang/es.json +4 -0
- package/lang/gl.json +4 -0
- package/lang/index.d.ts +20 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { LanguagesTypes } from '../../lang';
|
|
|
2
2
|
import Instrument from '../../models/Instrument';
|
|
3
3
|
export declare enum InstrumentId {
|
|
4
4
|
Accordion = "accordion",
|
|
5
|
+
Bandurria = "bandurria",
|
|
5
6
|
Bagpipes = "bagpipes",
|
|
6
7
|
Banjo = "banjo",
|
|
7
8
|
Baritone = "baritone",
|
|
@@ -10,6 +11,7 @@ export declare enum InstrumentId {
|
|
|
10
11
|
BassDrum = "bass-drum",
|
|
11
12
|
Bassoon = "bassoon",
|
|
12
13
|
BassoonContra = "contraBass",
|
|
14
|
+
Cajon = "cajon",
|
|
13
15
|
Castanets = "castanets",
|
|
14
16
|
Cello = "cello",
|
|
15
17
|
Choir = "choir",
|
|
@@ -36,7 +38,9 @@ export declare enum InstrumentId {
|
|
|
36
38
|
Harmonica = "harmonica",
|
|
37
39
|
Harp = "harp",
|
|
38
40
|
Keyboard = "keyboard",
|
|
41
|
+
Lute = "lute",
|
|
39
42
|
Mallets = "mallets",
|
|
43
|
+
Mandoline = "mandoline",
|
|
40
44
|
MezzoSoprano = "mezzosoproano",
|
|
41
45
|
MusicConductor = "musicConductor",
|
|
42
46
|
Oboe = "oboe",
|
|
@@ -8,6 +8,7 @@ const Instrument_1 = __importDefault(require("../../models/Instrument"));
|
|
|
8
8
|
var InstrumentId;
|
|
9
9
|
(function (InstrumentId) {
|
|
10
10
|
InstrumentId["Accordion"] = "accordion";
|
|
11
|
+
InstrumentId["Bandurria"] = "bandurria";
|
|
11
12
|
InstrumentId["Bagpipes"] = "bagpipes";
|
|
12
13
|
InstrumentId["Banjo"] = "banjo";
|
|
13
14
|
InstrumentId["Baritone"] = "baritone";
|
|
@@ -16,6 +17,7 @@ var InstrumentId;
|
|
|
16
17
|
InstrumentId["BassDrum"] = "bass-drum";
|
|
17
18
|
InstrumentId["Bassoon"] = "bassoon";
|
|
18
19
|
InstrumentId["BassoonContra"] = "contraBass";
|
|
20
|
+
InstrumentId["Cajon"] = "cajon";
|
|
19
21
|
InstrumentId["Castanets"] = "castanets";
|
|
20
22
|
InstrumentId["Cello"] = "cello";
|
|
21
23
|
InstrumentId["Choir"] = "choir";
|
|
@@ -42,7 +44,9 @@ var InstrumentId;
|
|
|
42
44
|
InstrumentId["Harmonica"] = "harmonica";
|
|
43
45
|
InstrumentId["Harp"] = "harp";
|
|
44
46
|
InstrumentId["Keyboard"] = "keyboard";
|
|
47
|
+
InstrumentId["Lute"] = "lute";
|
|
45
48
|
InstrumentId["Mallets"] = "mallets";
|
|
49
|
+
InstrumentId["Mandoline"] = "mandoline";
|
|
46
50
|
InstrumentId["MezzoSoprano"] = "mezzosoproano";
|
|
47
51
|
InstrumentId["MusicConductor"] = "musicConductor";
|
|
48
52
|
InstrumentId["Oboe"] = "oboe";
|
|
@@ -77,6 +81,7 @@ var InstrumentId;
|
|
|
77
81
|
})(InstrumentId = exports.InstrumentId || (exports.InstrumentId = {}));
|
|
78
82
|
exports.InstrumentIcons = {
|
|
79
83
|
[InstrumentId.Accordion]: 'accordion',
|
|
84
|
+
[InstrumentId.Bandurria]: 'bandurria',
|
|
80
85
|
[InstrumentId.Bagpipes]: 'bagpipes',
|
|
81
86
|
[InstrumentId.Banjo]: 'banjo',
|
|
82
87
|
[InstrumentId.Baritone]: 'choirMen',
|
|
@@ -86,6 +91,7 @@ exports.InstrumentIcons = {
|
|
|
86
91
|
[InstrumentId.Bassoon]: 'bassoon',
|
|
87
92
|
[InstrumentId.BassoonContra]: 'bassoon',
|
|
88
93
|
[InstrumentId.Castanets]: 'castanets',
|
|
94
|
+
[InstrumentId.Cajon]: 'cajon',
|
|
89
95
|
[InstrumentId.Cello]: 'cello',
|
|
90
96
|
[InstrumentId.Choir]: 'choirMen',
|
|
91
97
|
[InstrumentId.ClarinetBass]: 'clarinet',
|
|
@@ -111,7 +117,9 @@ exports.InstrumentIcons = {
|
|
|
111
117
|
[InstrumentId.Harmonica]: 'harmonica',
|
|
112
118
|
[InstrumentId.Harp]: 'harp',
|
|
113
119
|
[InstrumentId.Keyboard]: 'piano',
|
|
120
|
+
[InstrumentId.Lute]: 'lute',
|
|
114
121
|
[InstrumentId.Mallets]: 'xylophone',
|
|
122
|
+
[InstrumentId.Mandoline]: 'mandoline',
|
|
115
123
|
[InstrumentId.MezzoSoprano]: 'choirWomen',
|
|
116
124
|
[InstrumentId.MusicConductor]: 'bandmastersMace',
|
|
117
125
|
[InstrumentId.Oboe]: 'oboe',
|
|
@@ -144,12 +152,7 @@ exports.InstrumentIcons = {
|
|
|
144
152
|
[InstrumentId.Viola]: 'violin',
|
|
145
153
|
[InstrumentId.Violin]: 'violin',
|
|
146
154
|
};
|
|
147
|
-
const hideInstruments = [
|
|
148
|
-
InstrumentId.Banjo,
|
|
149
|
-
InstrumentId.Harmonica,
|
|
150
|
-
InstrumentId.DJ,
|
|
151
|
-
InstrumentId.Choir,
|
|
152
|
-
];
|
|
155
|
+
const hideInstruments = [InstrumentId.DJ, InstrumentId.Choir];
|
|
153
156
|
const list = (lang) => Object.values(InstrumentId)
|
|
154
157
|
.filter((id) => !hideInstruments.includes(id))
|
|
155
158
|
.map((key) => new Instrument_1.default(key, lang));
|
package/lang/ca.json
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"instruments.accordion": "Acordió",
|
|
34
34
|
"instruments.altoSaxophone": "Saxofó alt",
|
|
35
35
|
"instruments.bagpipes": "Sac de gemecs",
|
|
36
|
+
"instruments.bandurria": "Bandúrria",
|
|
36
37
|
"instruments.banjo": "Banjo",
|
|
37
38
|
"instruments.baritone": "Baríton",
|
|
38
39
|
"instruments.baritoneSax": "Saxofó baríton",
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
"instruments.bass-drum": "Bombo",
|
|
42
43
|
"instruments.bassClarinet": "Clarinet baix",
|
|
43
44
|
"instruments.bassoon": "Fagot",
|
|
45
|
+
"instruments.cajon": "Caixó",
|
|
44
46
|
"instruments.castanets": "Castanyoles",
|
|
45
47
|
"instruments.cello": "Violoncel",
|
|
46
48
|
"instruments.choir": "Cor",
|
|
@@ -71,7 +73,9 @@
|
|
|
71
73
|
"instruments.lowSaxophone": "Saxofó baix",
|
|
72
74
|
"instruments.lowTrombone": "Trombó baix",
|
|
73
75
|
"instruments.lowTrumpet": "Trompeta baixa",
|
|
76
|
+
"instruments.lute": "Llaüt",
|
|
74
77
|
"instruments.mallets": "Làmines",
|
|
78
|
+
"instruments.mandoline": "Mandolina",
|
|
75
79
|
"instruments.mezzosoproano": "Mezzosoprano",
|
|
76
80
|
"instruments.musicConductor": "Direccció Musical",
|
|
77
81
|
"instruments.oboe": "Oboè",
|
package/lang/de.json
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"instruments.accordion": "Akkordeon",
|
|
34
34
|
"instruments.altoSaxophone": "Altsaxophon",
|
|
35
35
|
"instruments.bagpipes": "Dudelsack",
|
|
36
|
+
"instruments.bandurria": "Bandurria",
|
|
36
37
|
"instruments.banjo": "Banjo",
|
|
37
38
|
"instruments.baritone": "Bariton",
|
|
38
39
|
"instruments.baritoneSax": "Baritonsaxophon",
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
"instruments.bass-drum": "Große Trommel",
|
|
42
43
|
"instruments.bassClarinet": "Bassklarinette",
|
|
43
44
|
"instruments.bassoon": "Fagott",
|
|
45
|
+
"instruments.cajon": "Cajon",
|
|
44
46
|
"instruments.castanets": "Kastagnetten",
|
|
45
47
|
"instruments.cello": "Violoncello",
|
|
46
48
|
"instruments.choir": "Chor",
|
|
@@ -71,7 +73,9 @@
|
|
|
71
73
|
"instruments.lowSaxophone": "Bass-Saxophon",
|
|
72
74
|
"instruments.lowTrombone": "Bassposaune",
|
|
73
75
|
"instruments.lowTrumpet": "Basstrompete",
|
|
76
|
+
"instruments.lute": "Laute",
|
|
74
77
|
"instruments.mallets": "Stabspiel",
|
|
78
|
+
"instruments.mandoline": "Mandoline",
|
|
75
79
|
"instruments.mezzosoproano": "Mezzosopran",
|
|
76
80
|
"instruments.musicConductor": "Dirigent",
|
|
77
81
|
"instruments.oboe": "Oboe",
|
package/lang/en.json
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"instruments.accordion": "Accordion",
|
|
34
34
|
"instruments.altoSaxophone": "Alto Saxophone",
|
|
35
35
|
"instruments.bagpipes": "Bagpipes",
|
|
36
|
+
"instruments.bandurria": "Bandurria",
|
|
36
37
|
"instruments.banjo": "Banjo",
|
|
37
38
|
"instruments.baritone": "Baritone",
|
|
38
39
|
"instruments.baritoneSax": "Baritone Saxophone",
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
"instruments.bass-drum": "Drum bass",
|
|
42
43
|
"instruments.bassClarinet": "Bass Clarinet",
|
|
43
44
|
"instruments.bassoon": "Bassoon",
|
|
45
|
+
"instruments.cajon": "Cajon",
|
|
44
46
|
"instruments.castanets": "Castanets",
|
|
45
47
|
"instruments.cello": "Violoncello",
|
|
46
48
|
"instruments.choir": "Choir",
|
|
@@ -71,7 +73,9 @@
|
|
|
71
73
|
"instruments.lowSaxophone": "Bass Saxophone",
|
|
72
74
|
"instruments.lowTrombone": "Bass Trombone",
|
|
73
75
|
"instruments.lowTrumpet": "Bass Trumpet",
|
|
76
|
+
"instruments.lute": "Lute",
|
|
74
77
|
"instruments.mallets": "Mallets",
|
|
78
|
+
"instruments.mandoline": "Mandoline",
|
|
75
79
|
"instruments.mezzosoproano": "Mezzosoprano",
|
|
76
80
|
"instruments.musicConductor": "Conductor",
|
|
77
81
|
"instruments.oboe": "Oboe",
|
package/lang/es.json
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"instruments.accordion": "Acordeón",
|
|
34
34
|
"instruments.altoSaxophone": "Saxofón alto",
|
|
35
35
|
"instruments.bagpipes": "Gaita",
|
|
36
|
+
"instruments.bandurria": "Bandurria",
|
|
36
37
|
"instruments.banjo": "Banjo",
|
|
37
38
|
"instruments.baritone": "Baritono",
|
|
38
39
|
"instruments.baritoneSax": "Saxofón barítono",
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
"instruments.bass-drum": "Bombo",
|
|
42
43
|
"instruments.bassClarinet": "Clarinete bajo",
|
|
43
44
|
"instruments.bassoon": "Fagot",
|
|
45
|
+
"instruments.cajon": "Cajón",
|
|
44
46
|
"instruments.castanets": "Castañuelas",
|
|
45
47
|
"instruments.cello": "Violonchelo",
|
|
46
48
|
"instruments.choir": "Coro",
|
|
@@ -71,7 +73,9 @@
|
|
|
71
73
|
"instruments.lowSaxophone": "Saxofón bajo",
|
|
72
74
|
"instruments.lowTrombone": "Trombón bajo",
|
|
73
75
|
"instruments.lowTrumpet": "Trompeta baja",
|
|
76
|
+
"instruments.lute": "Laúd",
|
|
74
77
|
"instruments.mallets": "Láminas",
|
|
78
|
+
"instruments.mandoline": "Mandolina",
|
|
75
79
|
"instruments.mezzosoproano": "Mezzosoprano",
|
|
76
80
|
"instruments.musicConductor": "Dirección musical",
|
|
77
81
|
"instruments.oboe": "Oboe",
|
package/lang/gl.json
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"instruments.accordion": "Acordeón",
|
|
34
34
|
"instruments.altoSaxophone": "Saxofón alto",
|
|
35
35
|
"instruments.bagpipes": "Gaita",
|
|
36
|
+
"instruments.bandurria": "Bandurria",
|
|
36
37
|
"instruments.banjo": "Banjo",
|
|
37
38
|
"instruments.baritone": "Baritono",
|
|
38
39
|
"instruments.baritoneSax": "Saxofón barítono",
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
"instruments.bass-drum": "Bombo",
|
|
42
43
|
"instruments.bassClarinet": "Clarinete baixo",
|
|
43
44
|
"instruments.bassoon": "Fagot",
|
|
45
|
+
"instruments.cajon": "Caixón",
|
|
44
46
|
"instruments.castanets": "Castañuelas",
|
|
45
47
|
"instruments.cello": "Violonchelo",
|
|
46
48
|
"instruments.choir": "Coro",
|
|
@@ -71,7 +73,9 @@
|
|
|
71
73
|
"instruments.lowSaxophone": "Saxofón bajo",
|
|
72
74
|
"instruments.lowTrombone": "Trombón baixo",
|
|
73
75
|
"instruments.lowTrumpet": "Trompeta baixa",
|
|
76
|
+
"instruments.lute": "Laúde",
|
|
74
77
|
"instruments.mallets": "Láminas",
|
|
78
|
+
"instruments.mandoline": "Mandolina",
|
|
75
79
|
"instruments.mezzosoproano": "Mezzosoprano",
|
|
76
80
|
"instruments.musicConductor": "Dirección musical",
|
|
77
81
|
"instruments.oboe": "Oboe",
|
package/lang/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ declare const languageProvider: {
|
|
|
43
43
|
"instruments.accordion": string;
|
|
44
44
|
"instruments.altoSaxophone": string;
|
|
45
45
|
"instruments.bagpipes": string;
|
|
46
|
+
"instruments.bandurria": string;
|
|
46
47
|
"instruments.banjo": string;
|
|
47
48
|
"instruments.baritone": string;
|
|
48
49
|
"instruments.baritoneSax": string;
|
|
@@ -51,6 +52,7 @@ declare const languageProvider: {
|
|
|
51
52
|
"instruments.bass-drum": string;
|
|
52
53
|
"instruments.bassClarinet": string;
|
|
53
54
|
"instruments.bassoon": string;
|
|
55
|
+
"instruments.cajon": string;
|
|
54
56
|
"instruments.castanets": string;
|
|
55
57
|
"instruments.cello": string;
|
|
56
58
|
"instruments.choir": string;
|
|
@@ -81,7 +83,9 @@ declare const languageProvider: {
|
|
|
81
83
|
"instruments.lowSaxophone": string;
|
|
82
84
|
"instruments.lowTrombone": string;
|
|
83
85
|
"instruments.lowTrumpet": string;
|
|
86
|
+
"instruments.lute": string;
|
|
84
87
|
"instruments.mallets": string;
|
|
88
|
+
"instruments.mandoline": string;
|
|
85
89
|
"instruments.mezzosoproano": string;
|
|
86
90
|
"instruments.musicConductor": string;
|
|
87
91
|
"instruments.oboe": string;
|
|
@@ -262,6 +266,7 @@ declare const languageProvider: {
|
|
|
262
266
|
"instruments.accordion": string;
|
|
263
267
|
"instruments.altoSaxophone": string;
|
|
264
268
|
"instruments.bagpipes": string;
|
|
269
|
+
"instruments.bandurria": string;
|
|
265
270
|
"instruments.banjo": string;
|
|
266
271
|
"instruments.baritone": string;
|
|
267
272
|
"instruments.baritoneSax": string;
|
|
@@ -270,6 +275,7 @@ declare const languageProvider: {
|
|
|
270
275
|
"instruments.bass-drum": string;
|
|
271
276
|
"instruments.bassClarinet": string;
|
|
272
277
|
"instruments.bassoon": string;
|
|
278
|
+
"instruments.cajon": string;
|
|
273
279
|
"instruments.castanets": string;
|
|
274
280
|
"instruments.cello": string;
|
|
275
281
|
"instruments.choir": string;
|
|
@@ -300,7 +306,9 @@ declare const languageProvider: {
|
|
|
300
306
|
"instruments.lowSaxophone": string;
|
|
301
307
|
"instruments.lowTrombone": string;
|
|
302
308
|
"instruments.lowTrumpet": string;
|
|
309
|
+
"instruments.lute": string;
|
|
303
310
|
"instruments.mallets": string;
|
|
311
|
+
"instruments.mandoline": string;
|
|
304
312
|
"instruments.mezzosoproano": string;
|
|
305
313
|
"instruments.musicConductor": string;
|
|
306
314
|
"instruments.oboe": string;
|
|
@@ -481,6 +489,7 @@ declare const languageProvider: {
|
|
|
481
489
|
"instruments.accordion": string;
|
|
482
490
|
"instruments.altoSaxophone": string;
|
|
483
491
|
"instruments.bagpipes": string;
|
|
492
|
+
"instruments.bandurria": string;
|
|
484
493
|
"instruments.banjo": string;
|
|
485
494
|
"instruments.baritone": string;
|
|
486
495
|
"instruments.baritoneSax": string;
|
|
@@ -489,6 +498,7 @@ declare const languageProvider: {
|
|
|
489
498
|
"instruments.bass-drum": string;
|
|
490
499
|
"instruments.bassClarinet": string;
|
|
491
500
|
"instruments.bassoon": string;
|
|
501
|
+
"instruments.cajon": string;
|
|
492
502
|
"instruments.castanets": string;
|
|
493
503
|
"instruments.cello": string;
|
|
494
504
|
"instruments.choir": string;
|
|
@@ -519,7 +529,9 @@ declare const languageProvider: {
|
|
|
519
529
|
"instruments.lowSaxophone": string;
|
|
520
530
|
"instruments.lowTrombone": string;
|
|
521
531
|
"instruments.lowTrumpet": string;
|
|
532
|
+
"instruments.lute": string;
|
|
522
533
|
"instruments.mallets": string;
|
|
534
|
+
"instruments.mandoline": string;
|
|
523
535
|
"instruments.mezzosoproano": string;
|
|
524
536
|
"instruments.musicConductor": string;
|
|
525
537
|
"instruments.oboe": string;
|
|
@@ -700,6 +712,7 @@ declare const languageProvider: {
|
|
|
700
712
|
"instruments.accordion": string;
|
|
701
713
|
"instruments.altoSaxophone": string;
|
|
702
714
|
"instruments.bagpipes": string;
|
|
715
|
+
"instruments.bandurria": string;
|
|
703
716
|
"instruments.banjo": string;
|
|
704
717
|
"instruments.baritone": string;
|
|
705
718
|
"instruments.baritoneSax": string;
|
|
@@ -708,6 +721,7 @@ declare const languageProvider: {
|
|
|
708
721
|
"instruments.bass-drum": string;
|
|
709
722
|
"instruments.bassClarinet": string;
|
|
710
723
|
"instruments.bassoon": string;
|
|
724
|
+
"instruments.cajon": string;
|
|
711
725
|
"instruments.castanets": string;
|
|
712
726
|
"instruments.cello": string;
|
|
713
727
|
"instruments.choir": string;
|
|
@@ -738,7 +752,9 @@ declare const languageProvider: {
|
|
|
738
752
|
"instruments.lowSaxophone": string;
|
|
739
753
|
"instruments.lowTrombone": string;
|
|
740
754
|
"instruments.lowTrumpet": string;
|
|
755
|
+
"instruments.lute": string;
|
|
741
756
|
"instruments.mallets": string;
|
|
757
|
+
"instruments.mandoline": string;
|
|
742
758
|
"instruments.mezzosoproano": string;
|
|
743
759
|
"instruments.musicConductor": string;
|
|
744
760
|
"instruments.oboe": string;
|
|
@@ -919,6 +935,7 @@ declare const languageProvider: {
|
|
|
919
935
|
"instruments.accordion": string;
|
|
920
936
|
"instruments.altoSaxophone": string;
|
|
921
937
|
"instruments.bagpipes": string;
|
|
938
|
+
"instruments.bandurria": string;
|
|
922
939
|
"instruments.banjo": string;
|
|
923
940
|
"instruments.baritone": string;
|
|
924
941
|
"instruments.baritoneSax": string;
|
|
@@ -927,6 +944,7 @@ declare const languageProvider: {
|
|
|
927
944
|
"instruments.bass-drum": string;
|
|
928
945
|
"instruments.bassClarinet": string;
|
|
929
946
|
"instruments.bassoon": string;
|
|
947
|
+
"instruments.cajon": string;
|
|
930
948
|
"instruments.castanets": string;
|
|
931
949
|
"instruments.cello": string;
|
|
932
950
|
"instruments.choir": string;
|
|
@@ -957,7 +975,9 @@ declare const languageProvider: {
|
|
|
957
975
|
"instruments.lowSaxophone": string;
|
|
958
976
|
"instruments.lowTrombone": string;
|
|
959
977
|
"instruments.lowTrumpet": string;
|
|
978
|
+
"instruments.lute": string;
|
|
960
979
|
"instruments.mallets": string;
|
|
980
|
+
"instruments.mandoline": string;
|
|
961
981
|
"instruments.mezzosoproano": string;
|
|
962
982
|
"instruments.musicConductor": string;
|
|
963
983
|
"instruments.oboe": string;
|