@glissandoo/lib 1.28.2 → 1.29.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/event.d.ts +11 -1
- package/functions/index.d.ts +1 -0
- package/functions/index.js +1 -0
- package/functions/regions.js +1 -0
- package/package.json +1 -1
package/functions/event.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Descendant } from '../helpers/slate';
|
|
2
2
|
import { EventPlayerStatus } from '../models/Evento/Player/types';
|
|
3
|
-
import { EventCreatedOn, EventRepeatPeriod, EventStage, EventType } from '../models/Evento/types';
|
|
3
|
+
import { EventBasicData, EventCreatedOn, EventRepeatPeriod, EventStage, EventType } from '../models/Evento/types';
|
|
4
|
+
import { GroupBasicData } from '../models/Group/types';
|
|
4
5
|
export declare namespace EventoFbFunctionsTypes {
|
|
5
6
|
export enum RelationAction {
|
|
6
7
|
Single = "single",
|
|
@@ -128,5 +129,14 @@ export declare namespace EventoFbFunctionsTypes {
|
|
|
128
129
|
list: Record<string, RollcallAction>;
|
|
129
130
|
}
|
|
130
131
|
export type SetRollCallResult = void;
|
|
132
|
+
export interface GetByIdParams {
|
|
133
|
+
eventId: string;
|
|
134
|
+
}
|
|
135
|
+
export interface GetByIdResult extends EventBasicData {
|
|
136
|
+
id: string;
|
|
137
|
+
group: GroupBasicData & {
|
|
138
|
+
id: string;
|
|
139
|
+
};
|
|
140
|
+
}
|
|
131
141
|
export {};
|
|
132
142
|
}
|
package/functions/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare enum FbFunctionName {
|
|
|
5
5
|
CommunicationEdit = "communication-edit",
|
|
6
6
|
CommunicationPublish = "communication-publish",
|
|
7
7
|
CommunicationRemove = "communication-remove",
|
|
8
|
+
EventGetById = "event-getById",
|
|
8
9
|
EventEdit = "event-edit",
|
|
9
10
|
EventEditDatetime = "event-editDatetime",
|
|
10
11
|
EventNotifyPendingPlayers = "event-notifyPendingPlayers",
|
package/functions/index.js
CHANGED
|
@@ -9,6 +9,7 @@ var FbFunctionName;
|
|
|
9
9
|
FbFunctionName["CommunicationEdit"] = "communication-edit";
|
|
10
10
|
FbFunctionName["CommunicationPublish"] = "communication-publish";
|
|
11
11
|
FbFunctionName["CommunicationRemove"] = "communication-remove";
|
|
12
|
+
FbFunctionName["EventGetById"] = "event-getById";
|
|
12
13
|
FbFunctionName["EventEdit"] = "event-edit";
|
|
13
14
|
FbFunctionName["EventEditDatetime"] = "event-editDatetime";
|
|
14
15
|
FbFunctionName["EventNotifyPendingPlayers"] = "event-notifyPendingPlayers";
|
package/functions/regions.js
CHANGED
|
@@ -53,6 +53,7 @@ const regionByFunctions = {
|
|
|
53
53
|
[index_1.FbFunctionName.EventSetRollcall]: GCloudRegions.UsCentral1,
|
|
54
54
|
[index_1.FbFunctionName.EventEdit]: GCloudRegions.UsCentral1,
|
|
55
55
|
[index_1.FbFunctionName.EventEditDatetime]: GCloudRegions.UsCentral1,
|
|
56
|
+
[index_1.FbFunctionName.EventGetById]: GCloudRegions.EuropeWest6,
|
|
56
57
|
[index_1.FbFunctionName.EventRemove]: GCloudRegions.UsCentral1,
|
|
57
58
|
[index_1.FbFunctionName.EventOnCreate]: GCloudRegions.UsCentral1,
|
|
58
59
|
[index_1.FbFunctionName.EventOnUpdate]: GCloudRegions.UsCentral1,
|