@glissandoo/lib 1.104.2 → 1.104.3

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.
@@ -174,6 +174,7 @@ export declare namespace EventoFbFunctionsTypes {
174
174
  }
175
175
  export interface GetByIdResult extends EventBasicData {
176
176
  id: string;
177
+ coverURL: string | null;
177
178
  group: GroupBasicData & {
178
179
  id: string;
179
180
  };
@@ -3,172 +3,268 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const lang_1 = require("../../lang");
4
4
  const newMember = {
5
5
  [lang_1.LanguagesTypes.ES]: {
6
- title: '👋 {userName} se ha unido al grupo',
6
+ title: '👋 {userName} se incorpora como nuevo miembro',
7
7
  message: [
8
8
  {
9
9
  type: 'paragraph',
10
10
  children: [
11
11
  {
12
- text: '{userDisplayName} ({userInstrument}), acaba de unirse a {groupDisplayName}.',
12
+ text: '{userDisplayName}',
13
+ bold: true,
14
+ },
15
+ {
16
+ text: ' se une a {groupDisplayName} como ',
17
+ },
18
+ {
19
+ text: '{userInstrument}.',
20
+ bold: true,
13
21
  },
14
22
  ],
15
23
  },
24
+ { children: [{ 'text': '' }], type: 'paragraph' },
16
25
  {
17
26
  type: 'paragraph',
18
- children: [{ text: '¡Bienvenid@! Nos vemos en el próximo ensayo. 🎵' }],
27
+ children: [{ text: '🎶 ¡Bienvenid@!' }],
19
28
  },
20
29
  ],
21
30
  },
22
31
  [lang_1.LanguagesTypes.CA]: {
23
- title: "👋 {userName} s'ha unit al grup",
32
+ title: "👋 {userName} s'incorpora com a nou membre",
24
33
  message: [
25
34
  {
26
35
  type: 'paragraph',
27
36
  children: [
28
37
  {
29
- text: "{userDisplayName} ({userInstrument}), acaba d'unir-se a {groupDisplayName}.",
38
+ text: '{userDisplayName}',
39
+ bold: true,
40
+ },
41
+ {
42
+ text: " s'uneix a {groupDisplayName} com a ",
43
+ },
44
+ {
45
+ text: '{userInstrument}.',
46
+ bold: true,
30
47
  },
31
48
  ],
32
49
  },
50
+ { children: [{ 'text': '' }], type: 'paragraph' },
33
51
  {
34
52
  type: 'paragraph',
35
- children: [{ text: 'Benvingut/uda! Ens veiem al pròxim assaig. 🎵' }],
53
+ children: [{ text: '🎶 Benvingut/uda!' }],
36
54
  },
37
55
  ],
38
56
  },
39
57
  [lang_1.LanguagesTypes.EN]: {
40
- title: '👋 {userName} joined the group',
58
+ title: '👋 {userName} joins as a new member',
41
59
  message: [
42
60
  {
43
61
  type: 'paragraph',
44
62
  children: [
45
63
  {
46
- text: '{userDisplayName} ({userInstrument}), just joined {groupDisplayName}.',
64
+ text: '{userDisplayName}',
65
+ bold: true,
66
+ },
67
+ {
68
+ text: ' joins {groupDisplayName} as ',
69
+ },
70
+ {
71
+ text: '{userInstrument}.',
72
+ bold: true,
47
73
  },
48
74
  ],
49
75
  },
76
+ { children: [{ 'text': '' }], type: 'paragraph' },
50
77
  {
51
78
  type: 'paragraph',
52
- children: [{ text: 'Welcome! See you at the next rehearsal. 🎵' }],
79
+ children: [{ text: '🎶 Welcome!' }],
53
80
  },
54
81
  ],
55
82
  },
56
83
  [lang_1.LanguagesTypes.DE]: {
57
- title: '👋 {userName} ist der Gruppe beigetreten',
84
+ title: '👋 {userName} tritt als neues Mitglied bei',
58
85
  message: [
59
86
  {
60
87
  type: 'paragraph',
61
88
  children: [
62
89
  {
63
- text: '{userDisplayName} ({userInstrument}), ist soeben {groupDisplayName} beigetreten.',
90
+ text: '{userDisplayName}',
91
+ bold: true,
92
+ },
93
+ {
94
+ text: ' tritt {groupDisplayName} als ',
95
+ },
96
+ {
97
+ text: '{userInstrument}',
98
+ bold: true,
99
+ },
100
+ {
101
+ text: ' bei.',
64
102
  },
65
103
  ],
66
104
  },
105
+ { children: [{ 'text': '' }], type: 'paragraph' },
67
106
  {
68
107
  type: 'paragraph',
69
- children: [{ text: 'Willkommen! Wir sehen uns bei der nächsten Probe. 🎵' }],
108
+ children: [{ text: '🎶 Willkommen!' }],
70
109
  },
71
110
  ],
72
111
  },
73
112
  [lang_1.LanguagesTypes.PT]: {
74
- title: '👋 {userName} entrou no grupo',
113
+ title: '👋 {userName} incorpora-se como novo membro',
75
114
  message: [
76
115
  {
77
116
  type: 'paragraph',
78
117
  children: [
79
118
  {
80
- text: '{userDisplayName} ({userInstrument}), acaba de entrar no {groupDisplayName}.',
119
+ text: '{userDisplayName}',
120
+ bold: true,
121
+ },
122
+ {
123
+ text: ' junta-se a {groupDisplayName} como ',
124
+ },
125
+ {
126
+ text: '{userInstrument}.',
127
+ bold: true,
81
128
  },
82
129
  ],
83
130
  },
131
+ { children: [{ 'text': '' }], type: 'paragraph' },
84
132
  {
85
133
  type: 'paragraph',
86
- children: [{ text: 'Bem-vind@! Vemo-nos no próximo ensaio. 🎵' }],
134
+ children: [{ text: '🎶 Bem-vind@!' }],
87
135
  },
88
136
  ],
89
137
  },
90
138
  [lang_1.LanguagesTypes.GL]: {
91
- title: '👋 {userName} uniuse ao grupo',
139
+ title: '👋 {userName} incorpórase como novo membro',
92
140
  message: [
93
141
  {
94
142
  type: 'paragraph',
95
143
  children: [
96
144
  {
97
- text: '{userDisplayName} ({userInstrument}), vén de unirse a {groupDisplayName}.',
145
+ text: '{userDisplayName}',
146
+ bold: true,
147
+ },
148
+ {
149
+ text: ' únese a {groupDisplayName} como ',
150
+ },
151
+ {
152
+ text: '{userInstrument}.',
153
+ bold: true,
98
154
  },
99
155
  ],
100
156
  },
157
+ { children: [{ 'text': '' }], type: 'paragraph' },
101
158
  {
102
159
  type: 'paragraph',
103
- children: [{ text: 'Benvid@! Vémonos no próximo ensaio. 🎵' }],
160
+ children: [{ text: '🎶 Benvid@!' }],
104
161
  },
105
162
  ],
106
163
  },
107
164
  [lang_1.LanguagesTypes.EU]: {
108
- title: '👋 {userName} taldean sartu da',
165
+ title: '👋 {userName} kide berri gisa sartzen da',
109
166
  message: [
110
167
  {
111
168
  type: 'paragraph',
112
169
  children: [
113
170
  {
114
- text: '{userDisplayName} ({userInstrument}), berriki sartu da {groupDisplayName} taldean.',
171
+ text: '{userDisplayName}',
172
+ bold: true,
173
+ },
174
+ {
175
+ text: ' {groupDisplayName} taldean sartzen da ',
176
+ },
177
+ {
178
+ text: '{userInstrument}',
179
+ bold: true,
180
+ },
181
+ {
182
+ text: ' gisa.',
115
183
  },
116
184
  ],
117
185
  },
186
+ { children: [{ 'text': '' }], type: 'paragraph' },
118
187
  {
119
188
  type: 'paragraph',
120
- children: [{ text: 'Ongietorria! Elkar ikusiko dugu hurrengo entseguan. 🎵' }],
189
+ children: [{ text: '🎶 Ongietorria!' }],
121
190
  },
122
191
  ],
123
192
  },
124
193
  [lang_1.LanguagesTypes.FR]: {
125
- title: '👋 {userName} a rejoint le groupe',
194
+ title: '👋 {userName} se joint en tant que nouveau membre',
126
195
  message: [
127
196
  {
128
197
  type: 'paragraph',
129
198
  children: [
130
199
  {
131
- text: '{userDisplayName} ({userInstrument}), vient de rejoindre {groupDisplayName}.',
200
+ text: '{userDisplayName}',
201
+ bold: true,
202
+ },
203
+ {
204
+ text: ' rejoint {groupDisplayName} en tant que ',
205
+ },
206
+ {
207
+ text: '{userInstrument}.',
208
+ bold: true,
132
209
  },
133
210
  ],
134
211
  },
212
+ { children: [{ 'text': '' }], type: 'paragraph' },
135
213
  {
136
214
  type: 'paragraph',
137
- children: [{ text: 'Bienvenue ! À très vite pour la prochaine répétition. 🎵' }],
215
+ children: [{ text: '🎶 Bienvenue !' }],
138
216
  },
139
217
  ],
140
218
  },
141
219
  [lang_1.LanguagesTypes.IT]: {
142
- title: '👋 {userName} si è unito al gruppo',
220
+ title: '👋 {userName} si unisce come nuovo membro',
143
221
  message: [
144
222
  {
145
223
  type: 'paragraph',
146
224
  children: [
147
225
  {
148
- text: '{userDisplayName} ({userInstrument}), si è appena unito a {groupDisplayName}.',
226
+ text: '{userDisplayName}',
227
+ bold: true,
228
+ },
229
+ {
230
+ text: ' si unisce a {groupDisplayName} come ',
231
+ },
232
+ {
233
+ text: '{userInstrument}.',
234
+ bold: true,
149
235
  },
150
236
  ],
151
237
  },
238
+ { children: [{ 'text': '' }], type: 'paragraph' },
152
239
  {
153
240
  type: 'paragraph',
154
- children: [{ text: 'Benvenut@! Ci vediamo alla prossima prova. 🎵' }],
241
+ children: [{ text: '🎶 Benvenut@!' }],
155
242
  },
156
243
  ],
157
244
  },
158
245
  [lang_1.LanguagesTypes.NL]: {
159
- title: '👋 {userName} is lid geworden van de groep',
246
+ title: '👋 {userName} voegt zich toe als nieuw lid',
160
247
  message: [
161
248
  {
162
249
  type: 'paragraph',
163
250
  children: [
164
251
  {
165
- text: '{userDisplayName} ({userInstrument}), is zojuist toegetreden tot {groupDisplayName}.',
252
+ text: '{userDisplayName}',
253
+ bold: true,
254
+ },
255
+ {
256
+ text: ' voegt zich toe aan {groupDisplayName} als ',
257
+ },
258
+ {
259
+ text: '{userInstrument}.',
260
+ bold: true,
166
261
  },
167
262
  ],
168
263
  },
264
+ { children: [{ 'text': '' }], type: 'paragraph' },
169
265
  {
170
266
  type: 'paragraph',
171
- children: [{ text: 'Welkom! Tot bij de volgende repetitie. 🎵' }],
267
+ children: [{ text: '🎶 Welkom!' }],
172
268
  },
173
269
  ],
174
270
  },
@@ -175,6 +175,10 @@ exports.userNotificationSettings = {
175
175
  types_1.NotificationActions.PerformanceAssistanceDecline,
176
176
  types_1.NotificationActions.PracticeAssistanceDecline,
177
177
  ],
178
+ [types_2.UserNotificationSettings.NewMembers]: [
179
+ types_1.NotificationActions.GroupPlayersJoin,
180
+ types_1.NotificationActions.GroupPlayersJoinPlayers,
181
+ ],
178
182
  // [UserNotificationSettings.InterestConfirmed]: [
179
183
  // NotificationActions.PerformanceInterestConfirm,
180
184
  // NotificationActions.PracticeInterestConfirm,
@@ -25,7 +25,8 @@ export declare enum UserDashboardConfig {
25
25
  }
26
26
  export declare enum UserNotificationSettings {
27
27
  AttendanceConfirmed = "enabled_attendance_confirmed",
28
- AttendanceDeclined = "enabled_attendance_declined"
28
+ AttendanceDeclined = "enabled_attendance_declined",
29
+ NewMembers = "enabled_new_members"
29
30
  }
30
31
  export declare enum UserEmailSettings {
31
32
  ReminderBiweeklyEvents = "enabled_reminder_biweekly_events",
@@ -30,8 +30,7 @@ var UserNotificationSettings;
30
30
  (function (UserNotificationSettings) {
31
31
  UserNotificationSettings["AttendanceConfirmed"] = "enabled_attendance_confirmed";
32
32
  UserNotificationSettings["AttendanceDeclined"] = "enabled_attendance_declined";
33
- // InterestConfirmed = 'enabled_interest_confirmed',
34
- // InterestLost = 'enabled_interest_lost',
33
+ UserNotificationSettings["NewMembers"] = "enabled_new_members";
35
34
  })(UserNotificationSettings = exports.UserNotificationSettings || (exports.UserNotificationSettings = {}));
36
35
  var UserEmailSettings;
37
36
  (function (UserEmailSettings) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.104.2",
3
+ "version": "1.104.3",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",