@glissandoo/lib 1.83.0 → 1.84.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 +6 -0
- package/functions/index.d.ts +1 -0
- package/functions/index.js +1 -0
- package/functions/regions.js +1 -0
- package/helpers/notifications/index.d.ts +2 -0
- package/helpers/notifications/index.js +8 -0
- package/models/Notification/types.d.ts +4 -0
- package/models/Notification/types.js +4 -0
- package/package.json +1 -1
|
@@ -44,4 +44,10 @@ export declare namespace EventoPlayerFbFunctionsTypes {
|
|
|
44
44
|
interested: true | null;
|
|
45
45
|
}
|
|
46
46
|
type SwitchInterestResult = void;
|
|
47
|
+
interface EditPlayerInterestParams {
|
|
48
|
+
eventId: string;
|
|
49
|
+
playerId: string;
|
|
50
|
+
interested: true | null;
|
|
51
|
+
}
|
|
52
|
+
type EditPlayerInterestResult = void;
|
|
47
53
|
}
|
package/functions/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export declare enum FbFunctionName {
|
|
|
35
35
|
EventPlayerEditPlayerAttendance = "eventPlayer-editPlayerAttendance",
|
|
36
36
|
EventPlayerSetReasonAttendance = "eventPlayer-setReasonAttendance",
|
|
37
37
|
EventPlayerSwitchInterest = "eventPlayer-switchInterest",
|
|
38
|
+
EventPlayerEditPlayerInterest = "eventPlayer-editPlayerInterest",
|
|
38
39
|
EventPlayerValidateRollCall = "eventPlayer-validateRollCall",
|
|
39
40
|
EventPublish = "event-publish",
|
|
40
41
|
EventRemove = "event-remove",
|
package/functions/index.js
CHANGED
|
@@ -39,6 +39,7 @@ var FbFunctionName;
|
|
|
39
39
|
FbFunctionName["EventPlayerEditPlayerAttendance"] = "eventPlayer-editPlayerAttendance";
|
|
40
40
|
FbFunctionName["EventPlayerSetReasonAttendance"] = "eventPlayer-setReasonAttendance";
|
|
41
41
|
FbFunctionName["EventPlayerSwitchInterest"] = "eventPlayer-switchInterest";
|
|
42
|
+
FbFunctionName["EventPlayerEditPlayerInterest"] = "eventPlayer-editPlayerInterest";
|
|
42
43
|
FbFunctionName["EventPlayerValidateRollCall"] = "eventPlayer-validateRollCall";
|
|
43
44
|
FbFunctionName["EventPublish"] = "event-publish";
|
|
44
45
|
FbFunctionName["EventRemove"] = "event-remove";
|
package/functions/regions.js
CHANGED
|
@@ -88,6 +88,7 @@ const regionByFunctions = {
|
|
|
88
88
|
[index_1.FbFunctionName.EventPlayerSetReasonAttendance]: GCloudRegions.EuropeWest6,
|
|
89
89
|
[index_1.FbFunctionName.EventPlayerValidateRollCall]: GCloudRegions.EuropeWest6,
|
|
90
90
|
[index_1.FbFunctionName.EventPlayerSwitchInterest]: GCloudRegions.EuropeWest6,
|
|
91
|
+
[index_1.FbFunctionName.EventPlayerEditPlayerInterest]: GCloudRegions.EuropeWest6,
|
|
91
92
|
[index_1.FbFunctionName.EventPlayerEdit]: GCloudRegions.UsCentral1,
|
|
92
93
|
[index_1.FbFunctionName.EventRepertoryEdit]: GCloudRegions.UsCentral1,
|
|
93
94
|
[index_1.FbFunctionName.EventRepertoryDownloadPdf]: GCloudRegions.EuropeWest6,
|
|
@@ -25,6 +25,8 @@ export declare enum NotificationEventActions {
|
|
|
25
25
|
DeclineAssistanceByAdmin = "declineAssistanceByAdmin",
|
|
26
26
|
ConfirmInterest = "confirmInterest",
|
|
27
27
|
LoseInterest = "loseInterest",
|
|
28
|
+
ConfirmInterestByAdmin = "confirmInterestByAdmin",
|
|
29
|
+
LoseInterestByAdmin = "loseInterestByAdmin",
|
|
28
30
|
SelectionSelected = "selectionSelected",
|
|
29
31
|
SelectionDeselected = "selectionDeselected",
|
|
30
32
|
Reminder = "reminder",
|
|
@@ -43,6 +43,8 @@ var NotificationEventActions;
|
|
|
43
43
|
NotificationEventActions["DeclineAssistanceByAdmin"] = "declineAssistanceByAdmin";
|
|
44
44
|
NotificationEventActions["ConfirmInterest"] = "confirmInterest";
|
|
45
45
|
NotificationEventActions["LoseInterest"] = "loseInterest";
|
|
46
|
+
NotificationEventActions["ConfirmInterestByAdmin"] = "confirmInterestByAdmin";
|
|
47
|
+
NotificationEventActions["LoseInterestByAdmin"] = "loseInterestByAdmin";
|
|
46
48
|
NotificationEventActions["SelectionSelected"] = "selectionSelected";
|
|
47
49
|
NotificationEventActions["SelectionDeselected"] = "selectionDeselected";
|
|
48
50
|
NotificationEventActions["Reminder"] = "reminder";
|
|
@@ -78,6 +80,8 @@ exports.notificationPerformance = {
|
|
|
78
80
|
[NotificationEventActions.DeclineAssistanceByAdmin]: types_1.NotificationActions.PerformanceAssistanceDeclineByAdmin,
|
|
79
81
|
[NotificationEventActions.ConfirmInterest]: types_1.NotificationActions.PerformanceInterestConfirm,
|
|
80
82
|
[NotificationEventActions.LoseInterest]: types_1.NotificationActions.PerformanceInterestLose,
|
|
83
|
+
[NotificationEventActions.ConfirmInterestByAdmin]: types_1.NotificationActions.PerformanceInterestConfirmByAdmin,
|
|
84
|
+
[NotificationEventActions.LoseInterestByAdmin]: types_1.NotificationActions.PerformanceInterestLoseByAdmin,
|
|
81
85
|
[NotificationEventActions.SelectionSelected]: types_1.NotificationActions.PerformanceSelectionSelect,
|
|
82
86
|
[NotificationEventActions.SelectionDeselected]: types_1.NotificationActions.PerformanceSelectionDeselect,
|
|
83
87
|
[NotificationEventActions.Reminder]: types_1.NotificationActions.PerformanceReminder,
|
|
@@ -106,6 +110,8 @@ exports.notificationSinglePractice = {
|
|
|
106
110
|
[NotificationEventActions.DeclineAssistanceByAdmin]: types_1.NotificationActions.PracticeAssistanceDeclineByAdmin,
|
|
107
111
|
[NotificationEventActions.ConfirmInterest]: types_1.NotificationActions.PracticeInterestConfirm,
|
|
108
112
|
[NotificationEventActions.LoseInterest]: types_1.NotificationActions.PracticeInterestLose,
|
|
113
|
+
[NotificationEventActions.ConfirmInterestByAdmin]: types_1.NotificationActions.PracticeInterestConfirmByAdmin,
|
|
114
|
+
[NotificationEventActions.LoseInterestByAdmin]: types_1.NotificationActions.PracticeInterestLoseByAdmin,
|
|
109
115
|
[NotificationEventActions.SelectionSelected]: types_1.NotificationActions.PracticeSelectionSelect,
|
|
110
116
|
[NotificationEventActions.SelectionDeselected]: types_1.NotificationActions.PracticeSelectionDeselect,
|
|
111
117
|
[NotificationEventActions.Reminder]: types_1.NotificationActions.PracticeReminder,
|
|
@@ -134,6 +140,8 @@ exports.notificationMultiplePractice = {
|
|
|
134
140
|
[NotificationEventActions.DeclineAssistanceByAdmin]: types_1.NotificationActions.PracticeAssistanceDeclineByAdmin,
|
|
135
141
|
[NotificationEventActions.ConfirmInterest]: types_1.NotificationActions.PracticeInterestConfirm,
|
|
136
142
|
[NotificationEventActions.LoseInterest]: types_1.NotificationActions.PracticeInterestLose,
|
|
143
|
+
[NotificationEventActions.ConfirmInterestByAdmin]: types_1.NotificationActions.PracticeInterestConfirmByAdmin,
|
|
144
|
+
[NotificationEventActions.LoseInterestByAdmin]: types_1.NotificationActions.PracticeInterestLoseByAdmin,
|
|
137
145
|
[NotificationEventActions.SelectionSelected]: types_1.NotificationActions.PracticeSelectionSelect,
|
|
138
146
|
[NotificationEventActions.SelectionDeselected]: types_1.NotificationActions.PracticeSelectionDeselect,
|
|
139
147
|
[NotificationEventActions.Reminder]: types_1.NotificationActions.PracticeReminder,
|
|
@@ -28,6 +28,8 @@ export declare enum NotificationActions {
|
|
|
28
28
|
PerformanceAssistanceDeclineByAdmin = "performance.assistance.decline.byAdmin",
|
|
29
29
|
PerformanceInterestConfirm = "performance.interest.confirm",
|
|
30
30
|
PerformanceInterestLose = "performance.interest.lose",
|
|
31
|
+
PerformanceInterestConfirmByAdmin = "performance.interest.confirm.byAdmin",
|
|
32
|
+
PerformanceInterestLoseByAdmin = "performance.interest.lose.byAdmin",
|
|
31
33
|
PerformanceSelectionSelect = "performance.selection.select",
|
|
32
34
|
PerformanceSelectionDeselect = "performance.selection.deselect",
|
|
33
35
|
PerformanceCancel = "performance.cancel",
|
|
@@ -54,6 +56,8 @@ export declare enum NotificationActions {
|
|
|
54
56
|
PracticeAssistanceDeclineByAdmin = "practice.assistance.decline.byAdmin",
|
|
55
57
|
PracticeInterestConfirm = "practice.interest.confirm",
|
|
56
58
|
PracticeInterestLose = "practice.interest.lose",
|
|
59
|
+
PracticeInterestConfirmByAdmin = "practice.interest.confirm.byAdmin",
|
|
60
|
+
PracticeInterestLoseByAdmin = "practice.interest.lose.byAdmin",
|
|
57
61
|
PracticeSelectionSelect = "practice.selection.select",
|
|
58
62
|
PracticeSelectionDeselect = "practice.selection.deselect",
|
|
59
63
|
PracticeCancel = "practice.cancel",
|
|
@@ -25,6 +25,8 @@ var NotificationActions;
|
|
|
25
25
|
NotificationActions["PerformanceAssistanceDeclineByAdmin"] = "performance.assistance.decline.byAdmin";
|
|
26
26
|
NotificationActions["PerformanceInterestConfirm"] = "performance.interest.confirm";
|
|
27
27
|
NotificationActions["PerformanceInterestLose"] = "performance.interest.lose";
|
|
28
|
+
NotificationActions["PerformanceInterestConfirmByAdmin"] = "performance.interest.confirm.byAdmin";
|
|
29
|
+
NotificationActions["PerformanceInterestLoseByAdmin"] = "performance.interest.lose.byAdmin";
|
|
28
30
|
NotificationActions["PerformanceSelectionSelect"] = "performance.selection.select";
|
|
29
31
|
NotificationActions["PerformanceSelectionDeselect"] = "performance.selection.deselect";
|
|
30
32
|
NotificationActions["PerformanceCancel"] = "performance.cancel";
|
|
@@ -51,6 +53,8 @@ var NotificationActions;
|
|
|
51
53
|
NotificationActions["PracticeAssistanceDeclineByAdmin"] = "practice.assistance.decline.byAdmin";
|
|
52
54
|
NotificationActions["PracticeInterestConfirm"] = "practice.interest.confirm";
|
|
53
55
|
NotificationActions["PracticeInterestLose"] = "practice.interest.lose";
|
|
56
|
+
NotificationActions["PracticeInterestConfirmByAdmin"] = "practice.interest.confirm.byAdmin";
|
|
57
|
+
NotificationActions["PracticeInterestLoseByAdmin"] = "practice.interest.lose.byAdmin";
|
|
54
58
|
NotificationActions["PracticeSelectionSelect"] = "practice.selection.select";
|
|
55
59
|
NotificationActions["PracticeSelectionDeselect"] = "practice.selection.deselect";
|
|
56
60
|
NotificationActions["PracticeCancel"] = "practice.cancel";
|