@glissandoo/lib 1.3.1 → 1.3.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.
- package/functions/group.d.ts +5 -0
- package/functions/index.d.ts +1 -0
- package/functions/index.js +1 -0
- package/functions/regions.js +1 -0
- package/models/Group/index.d.ts +1 -0
- package/models/Group/index.js +3 -0
- package/models/Group/types.d.ts +1 -0
- package/models/User/Notification/index.d.ts +2 -1
- package/models/User/Notification/index.js +3 -0
- package/package.json +1 -1
package/functions/group.d.ts
CHANGED
package/functions/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare enum FbFunctionName {
|
|
|
10
10
|
GroupOnCreate = "group-onCreate",
|
|
11
11
|
GroupOnUpdate = "group-onUpdate",
|
|
12
12
|
GroupGetById = "group-getById",
|
|
13
|
+
GroupSendInvitationEmail = "group-sendInvitationEmail",
|
|
13
14
|
GroupPlayerUpdateInstruments = "groupPlayer-updateInstruments",
|
|
14
15
|
GroupPlayerAdd = "groupPlayer-add",
|
|
15
16
|
GroupPlayerJoin = "groupPlayer-joinGroup",
|
package/functions/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var FbFunctionName;
|
|
|
14
14
|
FbFunctionName["GroupOnCreate"] = "group-onCreate";
|
|
15
15
|
FbFunctionName["GroupOnUpdate"] = "group-onUpdate";
|
|
16
16
|
FbFunctionName["GroupGetById"] = "group-getById";
|
|
17
|
+
FbFunctionName["GroupSendInvitationEmail"] = "group-sendInvitationEmail";
|
|
17
18
|
FbFunctionName["GroupPlayerUpdateInstruments"] = "groupPlayer-updateInstruments";
|
|
18
19
|
FbFunctionName["GroupPlayerAdd"] = "groupPlayer-add";
|
|
19
20
|
FbFunctionName["GroupPlayerJoin"] = "groupPlayer-joinGroup";
|
package/functions/regions.js
CHANGED
|
@@ -20,6 +20,7 @@ const regionByFunctions = {
|
|
|
20
20
|
[index_1.FbFunctionName.GroupOnCreate]: GCloudRegions.UsCentral1,
|
|
21
21
|
[index_1.FbFunctionName.GroupOnUpdate]: GCloudRegions.UsCentral1,
|
|
22
22
|
[index_1.FbFunctionName.GroupGetById]: GCloudRegions.EuropeWest6,
|
|
23
|
+
[index_1.FbFunctionName.GroupSendInvitationEmail]: GCloudRegions.EuropeWest6,
|
|
23
24
|
[index_1.FbFunctionName.GroupPlayerUpdateInstruments]: GCloudRegions.UsCentral1,
|
|
24
25
|
[index_1.FbFunctionName.GroupPlayerAdd]: GCloudRegions.UsCentral1,
|
|
25
26
|
[index_1.FbFunctionName.GroupPlayerJoin]: GCloudRegions.UsCentral1,
|
package/models/Group/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export default class Group extends GroupBasic<GroupData> {
|
|
|
13
13
|
get addressDefault(): import("./types").GroupAddressData | undefined;
|
|
14
14
|
get activeInvitationLink(): boolean;
|
|
15
15
|
get invitationLink(): string | null;
|
|
16
|
+
get invitationEmails(): string[];
|
|
16
17
|
get shortDynamicLink(): string | null;
|
|
17
18
|
get admins(): string[];
|
|
18
19
|
get createdAt(): FirebaseFirestore.Timestamp;
|
package/models/Group/index.js
CHANGED
package/models/Group/types.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export interface GroupData extends GroupBasicData {
|
|
|
51
51
|
administrators: string[];
|
|
52
52
|
addresses: GroupAddressData[];
|
|
53
53
|
activeInvitationLink: boolean;
|
|
54
|
+
invitationEmails: string[];
|
|
54
55
|
invitationLink: string | null;
|
|
55
56
|
shortDynamicLink: string | null;
|
|
56
57
|
intercom_id: string | null;
|
|
@@ -21,5 +21,6 @@ export default class Notification extends Model<UserNotificationData> {
|
|
|
21
21
|
get createdAt(): firestore.Timestamp;
|
|
22
22
|
get timestamp(): number;
|
|
23
23
|
get sendedAt(): firestore.Timestamp | null;
|
|
24
|
-
get readedAt()
|
|
24
|
+
private get readedAt();
|
|
25
|
+
get isReaded(): boolean;
|
|
25
26
|
}
|