@glissandoo/lib 1.28.1 → 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.
@@ -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
  }
@@ -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",
@@ -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";
@@ -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,
package/lang/en.json CHANGED
@@ -236,5 +236,14 @@
236
236
  "theme.claim.new.text": "{string:user.0.displayName} has claimed a review on {instrument:extra.instrumentId} for \"{string:extra.title}\"",
237
237
  "theme.claim.new.title": "A music sheet review has been submitted by a musician",
238
238
  "theme.claim.update.text": "{instrument:extra.instrumentId} sheet for \"{string:extra.title}\" has been added.",
239
- "theme.claim.update.title": "New {instrument:extra.instrumentId} sheet has been added"
239
+ "theme.claim.update.title": "New {instrument:extra.instrumentId} sheet has been added",
240
+ "emails.common.footer.contact": "If you have any doubts, please don't hesitate to contact us. Our email is hola@glissandoo.com.",
241
+ "emails.common.footer.rights": "© 2023 Glissandoo.com, All rights reserved.",
242
+ "emails.biweeklyEventReminder.subject": "Don't miss these events!",
243
+ "emails.biweeklyEventReminder.title": "Events Summary",
244
+ "emails.biweeklyEventReminder.intro": "Hi {name}, here is a summary of the events you can't miss!",
245
+ "emails.biweeklyEventReminder.attendance.confirm": "Confirm",
246
+ "emails.biweeklyEventReminder.attendance.decline": "Decline",
247
+ "emails.biweeklyEventReminder.attendance.confirmed": "Going 😎",
248
+ "emails.biweeklyEventReminder.attendance.declined": "Not going 🥲"
240
249
  }
package/lang/index.d.ts CHANGED
@@ -502,6 +502,15 @@ declare const languageProvider: {
502
502
  "theme.claim.new.title": string;
503
503
  "theme.claim.update.text": string;
504
504
  "theme.claim.update.title": string;
505
+ "emails.common.footer.contact": string;
506
+ "emails.common.footer.rights": string;
507
+ "emails.biweeklyEventReminder.subject": string;
508
+ "emails.biweeklyEventReminder.title": string;
509
+ "emails.biweeklyEventReminder.intro": string;
510
+ "emails.biweeklyEventReminder.attendance.confirm": string;
511
+ "emails.biweeklyEventReminder.attendance.decline": string;
512
+ "emails.biweeklyEventReminder.attendance.confirmed": string;
513
+ "emails.biweeklyEventReminder.attendance.declined": string;
505
514
  };
506
515
  date: {
507
516
  locale: Locale;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.28.1",
3
+ "version": "1.29.0",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",