-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.js
74 lines (64 loc) · 2.14 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
const { getAlerts } = require("./https/alerts");
const { getEvents } = require("./https/events");
const { stage } = require("./https/stage");
const { participate, participateStatus } = require("./https/participate");
const {
assignedGiftees,
updateApiKey,
volunteer,
} = require("./https/gw2Accounts");
const { updateAllGameAccounts } = require("./schedule/updateAllGameAccounts");
const {
getGifts,
donateGift,
updateGiftSentStatus,
updateGiftReceivedStatus,
updateGiftReportedStatus,
} = require("./https/gifts");
const { getStats } = require("./https/stats");
const {
sendSignupStarts,
sendEventStarts,
sendEventEnd,
sendExtending2022,
sendSorry2022,
} = require("./schedule/sendEmails");
const { sendSignupReminder } = require("./schedule/sendSignupReminder");
const { setMatches } = require("./schedule/setMatches");
const { onUserCreated } = require("./triggers/auth");
// Alerts
exports.getAlerts = getAlerts;
// Events
exports.getEvents = getEvents;
// Gifts
exports.getGifts = getGifts;
exports.donateGift = donateGift;
exports.updateGiftSentStatus = updateGiftSentStatus;
exports.updateGiftReceivedStatus = updateGiftReceivedStatus;
exports.updateGiftReportedStatus = updateGiftReportedStatus;
// Stage
exports.stage = stage;
exports.participate = participate;
exports.updateApiKey = updateApiKey;
exports.assignedGiftees = assignedGiftees;
exports.volunteer = volunteer;
exports.getStats = getStats;
exports.participateStatus = participateStatus;
// Scheduled function for sending emails
exports.sendSignupStarts = sendSignupStarts;
exports.sendSignupReminder = sendSignupReminder;
exports.sendEventStarts = sendEventStarts;
exports.sendEventEnd = sendEventEnd;
exports.sendExtending2022 = sendExtending2022;
exports.sendSorry2022 = sendSorry2022;
// Scheduled function for setting matches
exports.setMatches = setMatches;
// Scheduled function for updating account info
exports.updateAllGameAccounts = updateAllGameAccounts;
// Triggers
exports.onUserCreated = onUserCreated;
// admin commands
//exports.getNotSent = getNotSent
//exports.getNotReceived = getNotReceived
//exports.getReported = getReported
//exports.testing = require("./testing")