@glissandoo/lib 1.11.0 → 1.12.0
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/functions/eventPlayer.d.ts +8 -0
- package/functions/index.d.ts +1 -0
- package/functions/index.js +1 -0
- package/functions/regions.js +1 -0
- package/helpers/plans.d.ts +4 -7
- package/helpers/plans.js +7 -3
- package/package.json +1 -1
|
@@ -25,4 +25,12 @@ export declare namespace EventoPlayerFbFunctionsTypes {
|
|
|
25
25
|
notify: boolean;
|
|
26
26
|
}
|
|
27
27
|
type EditResult = void;
|
|
28
|
+
interface ValidateRollCallParams {
|
|
29
|
+
groupId: string;
|
|
30
|
+
}
|
|
31
|
+
interface ValidateRollCallResult {
|
|
32
|
+
id: string;
|
|
33
|
+
title: string;
|
|
34
|
+
timestamp: number;
|
|
35
|
+
}
|
|
28
36
|
}
|
package/functions/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare enum FbFunctionName {
|
|
|
13
13
|
EventPlayerEdit = "eventPlayer-edit",
|
|
14
14
|
EventPlayerSwitchAssistance = "eventPlayer-switchAssistance",
|
|
15
15
|
EventPlayerSetReasonAttendance = "eventPlayer-setReasonAttendance",
|
|
16
|
+
EventPlayerValidateRollCall = "eventPlayer-validateRollCall",
|
|
16
17
|
EventPublish = "event-publish",
|
|
17
18
|
EventRemove = "event-remove",
|
|
18
19
|
EventRepertoryDownloadPdf = "eventRepertory-downloadPdf",
|
package/functions/index.js
CHANGED
|
@@ -17,6 +17,7 @@ var FbFunctionName;
|
|
|
17
17
|
FbFunctionName["EventPlayerEdit"] = "eventPlayer-edit";
|
|
18
18
|
FbFunctionName["EventPlayerSwitchAssistance"] = "eventPlayer-switchAssistance";
|
|
19
19
|
FbFunctionName["EventPlayerSetReasonAttendance"] = "eventPlayer-setReasonAttendance";
|
|
20
|
+
FbFunctionName["EventPlayerValidateRollCall"] = "eventPlayer-validateRollCall";
|
|
20
21
|
FbFunctionName["EventPublish"] = "event-publish";
|
|
21
22
|
FbFunctionName["EventRemove"] = "event-remove";
|
|
22
23
|
FbFunctionName["EventRepertoryDownloadPdf"] = "eventRepertory-downloadPdf";
|
package/functions/regions.js
CHANGED
|
@@ -55,6 +55,7 @@ const regionByFunctions = {
|
|
|
55
55
|
[index_1.FbFunctionName.EventOnUpdate]: GCloudRegions.UsCentral1,
|
|
56
56
|
[index_1.FbFunctionName.EventPlayerSwitchAssistance]: GCloudRegions.UsCentral1,
|
|
57
57
|
[index_1.FbFunctionName.EventPlayerSetReasonAttendance]: GCloudRegions.EuropeWest6,
|
|
58
|
+
[index_1.FbFunctionName.EventPlayerValidateRollCall]: GCloudRegions.EuropeWest6,
|
|
58
59
|
[index_1.FbFunctionName.EventPlayerEdit]: GCloudRegions.UsCentral1,
|
|
59
60
|
[index_1.FbFunctionName.EventRepertoryEdit]: GCloudRegions.UsCentral1,
|
|
60
61
|
[index_1.FbFunctionName.EventRepertoryDownloadPdf]: GCloudRegions.EuropeWest6,
|
package/helpers/plans.d.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
export declare enum PlansGroup {
|
|
2
2
|
Piano = "piano",
|
|
3
|
-
|
|
3
|
+
MezzoPiano = "mezzopiano",
|
|
4
|
+
MezzoForte = "mezzoforte",
|
|
4
5
|
Forte = "forte",
|
|
6
|
+
Fortissimo = "fortissimo",
|
|
5
7
|
Tutti = "tutti"
|
|
6
8
|
}
|
|
7
|
-
export declare const membersPerPlan:
|
|
8
|
-
piano: number;
|
|
9
|
-
mezzo: number;
|
|
10
|
-
forte: number;
|
|
11
|
-
tutti: number;
|
|
12
|
-
};
|
|
9
|
+
export declare const membersPerPlan: Record<PlansGroup, number>;
|
package/helpers/plans.js
CHANGED
|
@@ -4,13 +4,17 @@ exports.membersPerPlan = exports.PlansGroup = void 0;
|
|
|
4
4
|
var PlansGroup;
|
|
5
5
|
(function (PlansGroup) {
|
|
6
6
|
PlansGroup["Piano"] = "piano";
|
|
7
|
-
PlansGroup["
|
|
7
|
+
PlansGroup["MezzoPiano"] = "mezzopiano";
|
|
8
|
+
PlansGroup["MezzoForte"] = "mezzoforte";
|
|
8
9
|
PlansGroup["Forte"] = "forte";
|
|
10
|
+
PlansGroup["Fortissimo"] = "fortissimo";
|
|
9
11
|
PlansGroup["Tutti"] = "tutti";
|
|
10
12
|
})(PlansGroup = exports.PlansGroup || (exports.PlansGroup = {}));
|
|
11
13
|
exports.membersPerPlan = {
|
|
12
14
|
[PlansGroup.Piano]: 20,
|
|
13
|
-
[PlansGroup.
|
|
14
|
-
[PlansGroup.
|
|
15
|
+
[PlansGroup.MezzoPiano]: 40,
|
|
16
|
+
[PlansGroup.MezzoForte]: 60,
|
|
17
|
+
[PlansGroup.Forte]: 80,
|
|
18
|
+
[PlansGroup.Fortissimo]: 100,
|
|
15
19
|
[PlansGroup.Tutti]: 1000,
|
|
16
20
|
};
|