monkeytype/src/js/cloud-functions.js

46 lines
1.8 KiB
JavaScript
Raw Normal View History

2020-11-28 15:27:24 +08:00
export const testCompleted = firebase
.functions()
.httpsCallable("testCompleted");
export const addTag = firebase.functions().httpsCallable("addTag");
export const editTag = firebase.functions().httpsCallable("editTag");
export const removeTag = firebase.functions().httpsCallable("removeTag");
export const updateResultTags = firebase
.functions()
.httpsCallable("updateResultTags");
export const saveConfig = firebase.functions().httpsCallable("saveConfig");
export const addPreset = firebase.functions().httpsCallable("addPreset");
export const editPreset = firebase.functions().httpsCallable("editPreset");
export const removePreset = firebase.functions().httpsCallable("removePreset");
2020-11-28 15:27:24 +08:00
export const generatePairingCode = firebase
.functions()
.httpsCallable("generatePairingCode");
export const saveLbMemory = firebase.functions().httpsCallable("saveLbMemory");
export const unlinkDiscord = firebase
.functions()
.httpsCallable("unlinkDiscord");
export const verifyUser = firebase.functions().httpsCallable("verifyUser");
export const reserveName = firebase
.functions()
.httpsCallable("reserveDisplayName");
export const updateEmail = firebase.functions().httpsCallable("updateEmail");
export const namecheck = firebase
.functions()
.httpsCallable("checkNameAvailability");
export const getLeaderboard = firebase
.functions()
.httpsCallable("getLeaderboard");
2020-12-14 06:37:19 +08:00
export const clearTagPb = firebase.functions().httpsCallable("clearTagPb");
2021-01-30 04:32:40 +08:00
export const changeDisplayName = firebase
.functions()
.httpsCallable("changeDisplayName");
export const removeSmallTests = firebase
.functions()
.httpsCallable("removeSmallTestsAndQPB");
export const resetPersonalBests = firebase
.functions()
.httpsCallable("resetPersonalBests");
2021-03-18 05:42:11 +08:00
export const checkLeaderboards = firebase
.functions()
.httpsCallable("checkLeaderboards");