@reekon-tools/boldr-utils 1.3.1 → 1.3.2
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/dist/types/firestore.d.ts +12 -1
- package/dist/types/firestore.js +3 -1
- package/package.json +1 -1
|
@@ -15,12 +15,23 @@ export interface Organization extends FirestoreDoc, Timestamps {
|
|
|
15
15
|
}
|
|
16
16
|
export declare enum OrganizationRole {
|
|
17
17
|
Admin = "admin",
|
|
18
|
-
|
|
18
|
+
Full = "full",
|
|
19
|
+
Contributor = "contributor",
|
|
20
|
+
Viewer = "viewer"
|
|
19
21
|
}
|
|
20
22
|
export declare enum InvitationStatus {
|
|
21
23
|
Pending = "pending",
|
|
22
24
|
Accepted = "accepted"
|
|
23
25
|
}
|
|
26
|
+
export interface Notification extends FirestoreDoc, Timestamps {
|
|
27
|
+
userId: string;
|
|
28
|
+
type: 'invitation';
|
|
29
|
+
organizationId: string;
|
|
30
|
+
senderId: string;
|
|
31
|
+
role: OrganizationRole;
|
|
32
|
+
message: string;
|
|
33
|
+
status: InvitationStatus;
|
|
34
|
+
}
|
|
24
35
|
export interface Invitation extends FirestoreDoc, Timestamps {
|
|
25
36
|
delivery?: unknown;
|
|
26
37
|
invitationCode: string;
|
package/dist/types/firestore.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export var OrganizationRole;
|
|
2
2
|
(function (OrganizationRole) {
|
|
3
3
|
OrganizationRole["Admin"] = "admin";
|
|
4
|
-
OrganizationRole["
|
|
4
|
+
OrganizationRole["Full"] = "full";
|
|
5
|
+
OrganizationRole["Contributor"] = "contributor";
|
|
6
|
+
OrganizationRole["Viewer"] = "viewer";
|
|
5
7
|
})(OrganizationRole || (OrganizationRole = {}));
|
|
6
8
|
export var InvitationStatus;
|
|
7
9
|
(function (InvitationStatus) {
|