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");
|
2021-05-08 13:03:56 +08:00
|
|
|
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");
|
2021-02-16 05:46:33 +08:00
|
|
|
|
|
|
|
export const removeSmallTests = firebase
|
|
|
|
.functions()
|
|
|
|
.httpsCallable("removeSmallTestsAndQPB");
|
2021-02-18 16:12:57 +08:00
|
|
|
export const resetPersonalBests = firebase
|
|
|
|
.functions()
|
|
|
|
.httpsCallable("resetPersonalBests");
|
2021-03-18 05:42:11 +08:00
|
|
|
export const checkLeaderboards = firebase
|
|
|
|
.functions()
|
|
|
|
.httpsCallable("checkLeaderboards");
|