@glissandoo/lib 1.26.1 → 1.27.1

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,6 @@
1
1
  import { Descendant } from '../helpers/slate';
2
2
  import { EventPlayerStatus } from '../models/Evento/Player/types';
3
- import { EventRepeatPeriod, EventStage, EventType } from '../models/Evento/types';
3
+ import { EventCreatedOn, EventRepeatPeriod, EventStage, EventType } from '../models/Evento/types';
4
4
  export declare namespace EventoFbFunctionsTypes {
5
5
  export enum RelationAction {
6
6
  Single = "single",
@@ -32,6 +32,7 @@ export declare namespace EventoFbFunctionsTypes {
32
32
  stage: EventStage | null;
33
33
  stageTemplateId: string | null;
34
34
  images: string[];
35
+ createdOn: EventCreatedOn;
35
36
  }
36
37
  export type PublishResult = string[];
37
38
  interface EditParamsBase {
package/lang/en.json CHANGED
@@ -236,14 +236,5 @@
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",
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 🥲"
239
+ "theme.claim.update.title": "New {instrument:extra.instrumentId} sheet has been added"
249
240
  }
package/lang/index.d.ts CHANGED
@@ -502,15 +502,6 @@ 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;
514
505
  };
515
506
  date: {
516
507
  locale: Locale;
@@ -25,6 +25,7 @@ export default class Evento extends EventoPromoter<EventData> {
25
25
  get shortDynamicLink(): string | null;
26
26
  get deletedAt(): FirebaseFirestore.Timestamp | null;
27
27
  get createdAt(): FirebaseFirestore.Timestamp;
28
+ get createdOn(): import("./types").EventCreatedOn;
28
29
  get rollCalledAt(): FirebaseFirestore.Timestamp | null;
29
30
  get rollCallReminderAt(): FirebaseFirestore.Timestamp | null;
30
31
  get notifyAt(): FirebaseFirestore.Timestamp;
@@ -83,6 +83,9 @@ class Evento extends promoter_1.default {
83
83
  get createdAt() {
84
84
  return this.data.createdAt;
85
85
  }
86
+ get createdOn() {
87
+ return this.data.createdOn;
88
+ }
86
89
  get rollCalledAt() {
87
90
  return this.data.rollCalledAt;
88
91
  }
@@ -5,6 +5,11 @@ import { GroupBasicData } from '../Group/types';
5
5
  import { PlayerBasicData } from '../Player/types';
6
6
  import { ThemeBasicData } from '../Repertory/types';
7
7
  import { EventPlayerReason, EventPlayerStatus } from './Player/types';
8
+ export declare enum EventCreatedOn {
9
+ App = "app",
10
+ Dashboard = "dashboard",
11
+ Auth = "auth"
12
+ }
8
13
  export declare enum EventFiles {
9
14
  StageThumbnail = "stageThumbnail.png",
10
15
  StagePDF = "stage.pdf",
@@ -92,4 +97,5 @@ export interface EventData extends EventPromoterData {
92
97
  timezone: string;
93
98
  readonly owner: DocumentReference;
94
99
  readonly createdAt: Timestamp;
100
+ readonly createdOn: EventCreatedOn;
95
101
  }
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventStatusByTime = exports.EventRepeatPeriod = exports.EventType = exports.EventFiles = void 0;
3
+ exports.EventStatusByTime = exports.EventRepeatPeriod = exports.EventType = exports.EventFiles = exports.EventCreatedOn = void 0;
4
+ var EventCreatedOn;
5
+ (function (EventCreatedOn) {
6
+ EventCreatedOn["App"] = "app";
7
+ EventCreatedOn["Dashboard"] = "dashboard";
8
+ EventCreatedOn["Auth"] = "auth";
9
+ })(EventCreatedOn = exports.EventCreatedOn || (exports.EventCreatedOn = {}));
4
10
  var EventFiles;
5
11
  (function (EventFiles) {
6
12
  EventFiles["StageThumbnail"] = "stageThumbnail.png";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.26.1",
3
+ "version": "1.27.1",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",