@glissandoo/lib 1.0.4 → 1.0.5
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/helpers/collections.d.ts +1 -0
- package/helpers/collections.js +1 -0
- package/models/Counters/Group/Analytics/index.d.ts +1 -0
- package/models/Counters/Group/Analytics/index.js +3 -0
- package/models/Counters/Group/Analytics/types.d.ts +12 -7
- package/models/Counters/Group/Analytics/types.js +11 -7
- package/package.json +1 -1
package/helpers/collections.d.ts
CHANGED
package/helpers/collections.js
CHANGED
|
@@ -9,6 +9,7 @@ var CollectionNames;
|
|
|
9
9
|
CollectionNames["UserGroups"] = "groups";
|
|
10
10
|
CollectionNames["UserNotifications"] = "notifications";
|
|
11
11
|
CollectionNames["Counters"] = "database";
|
|
12
|
+
CollectionNames["Records"] = "records";
|
|
12
13
|
CollectionNames["Event"] = "event";
|
|
13
14
|
CollectionNames["EventPlayers"] = "players";
|
|
14
15
|
CollectionNames["EventRepertory"] = "repertory";
|
|
@@ -8,4 +8,5 @@ export default class GroupAnalytics extends Model<GroupAnalyticsData> {
|
|
|
8
8
|
get satisfactionIndexElements(): Record<import("./types").SatisfactionIndexElements, import("./types").SITypes>;
|
|
9
9
|
get createdAt(): firestore.Timestamp;
|
|
10
10
|
get weekDate(): Date;
|
|
11
|
+
get status(): string;
|
|
11
12
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { Timestamp } from '@google-cloud/firestore';
|
|
2
2
|
export declare enum SatisfactionIndexElements {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
ROLLCALLED_EVENTS_RATIO = "ROLLCALLED_EVENTS_RATIO",
|
|
4
|
+
ADMIN_COUNT = "ADMIN_COUNT",
|
|
5
|
+
MEMBERS_COUNT = "MEMBERS_COUNT",
|
|
6
|
+
EVENTS_PER_WEEK = "EVENTS_PER_WEEK",
|
|
7
|
+
ATTENDANCE_PREVISION_RATIO = "ATTENDANCE_PREVISION_RATIO",
|
|
8
|
+
EVENTS_ANSWER_PERCENTAGE = "EVENTS_ANSWER_PERCENTAGE",
|
|
9
|
+
EVENTS_WITH_REPERTORY_PERCENTAGE = "EVENTS_WITH_REPERTORY_PERCENTAGE",
|
|
10
|
+
REPERTORY_COUNT = "REPERTORY_COUNT",
|
|
11
|
+
COMMUNICATION_COUNT = "COMMUNICATION_COUNT",
|
|
12
|
+
EVENTS_COUNT = "EVENTS_COUNT",
|
|
13
|
+
EVENTS_FUTURE_COUNT = "EVENTS_FUTURE_COUNT"
|
|
10
14
|
}
|
|
11
15
|
export interface SITypes {
|
|
12
16
|
value: number;
|
|
@@ -17,4 +21,5 @@ export interface GroupAnalyticsData {
|
|
|
17
21
|
satisfactionIndexElements: Record<SatisfactionIndexElements, SITypes>;
|
|
18
22
|
satisfactionIndex: number;
|
|
19
23
|
createdAt: Timestamp;
|
|
24
|
+
status: string;
|
|
20
25
|
}
|
|
@@ -3,11 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SatisfactionIndexElements = void 0;
|
|
4
4
|
var SatisfactionIndexElements;
|
|
5
5
|
(function (SatisfactionIndexElements) {
|
|
6
|
-
SatisfactionIndexElements["
|
|
7
|
-
SatisfactionIndexElements["
|
|
8
|
-
SatisfactionIndexElements["
|
|
9
|
-
SatisfactionIndexElements["
|
|
10
|
-
SatisfactionIndexElements["
|
|
11
|
-
SatisfactionIndexElements["
|
|
12
|
-
SatisfactionIndexElements["
|
|
6
|
+
SatisfactionIndexElements["ROLLCALLED_EVENTS_RATIO"] = "ROLLCALLED_EVENTS_RATIO";
|
|
7
|
+
SatisfactionIndexElements["ADMIN_COUNT"] = "ADMIN_COUNT";
|
|
8
|
+
SatisfactionIndexElements["MEMBERS_COUNT"] = "MEMBERS_COUNT";
|
|
9
|
+
SatisfactionIndexElements["EVENTS_PER_WEEK"] = "EVENTS_PER_WEEK";
|
|
10
|
+
SatisfactionIndexElements["ATTENDANCE_PREVISION_RATIO"] = "ATTENDANCE_PREVISION_RATIO";
|
|
11
|
+
SatisfactionIndexElements["EVENTS_ANSWER_PERCENTAGE"] = "EVENTS_ANSWER_PERCENTAGE";
|
|
12
|
+
SatisfactionIndexElements["EVENTS_WITH_REPERTORY_PERCENTAGE"] = "EVENTS_WITH_REPERTORY_PERCENTAGE";
|
|
13
|
+
SatisfactionIndexElements["REPERTORY_COUNT"] = "REPERTORY_COUNT";
|
|
14
|
+
SatisfactionIndexElements["COMMUNICATION_COUNT"] = "COMMUNICATION_COUNT";
|
|
15
|
+
SatisfactionIndexElements["EVENTS_COUNT"] = "EVENTS_COUNT";
|
|
16
|
+
SatisfactionIndexElements["EVENTS_FUTURE_COUNT"] = "EVENTS_FUTURE_COUNT";
|
|
13
17
|
})(SatisfactionIndexElements = exports.SatisfactionIndexElements || (exports.SatisfactionIndexElements = {}));
|