feat: initial stats save #884

Merged
OrdisPrime merged 3 commits from AMelonInsideLemon/SpaceNinjaServer:stats into main 2025-02-06 04:43:00 -08:00
Contributor

Closes #203

Closes #203
AMelonInsideLemon added 1 commit 2025-02-02 11:53:39 -08:00
feat: initial stats save
All checks were successful
Build / build (18) (pull_request) Successful in 35s
Build / build (20) (pull_request) Successful in 47s
Build / build (22) (pull_request) Successful in 1m16s
3098d3290f
Sainan approved these changes 2025-02-02 11:58:27 -08:00
AMelonInsideLemon added 1 commit 2025-02-03 12:00:03 -08:00
move ??= outside for loop
All checks were successful
Build / build (20) (pull_request) Successful in 34s
Build / build (18) (pull_request) Successful in 55s
Build / build (22) (pull_request) Successful in 1m13s
8492720fd0
Sainan requested review from OrdisPrime 2025-02-04 03:22:17 -08:00
Sainan removed review request for OrdisPrime 2025-02-04 11:53:48 -08:00
OrdisPrime was assigned by Sainan 2025-02-04 11:53:50 -08:00
AMelonInsideLemon added 1 commit 2025-02-04 12:12:04 -08:00
delete stats when account is deleted
All checks were successful
Build / build (20) (pull_request) Successful in 33s
Build / build (22) (pull_request) Successful in 50s
Build / build (18) (pull_request) Successful in 1m26s
b46f2a1f59
OrdisPrime reviewed 2025-02-05 12:29:39 -08:00
OrdisPrime reviewed 2025-02-05 12:31:57 -08:00
@ -23,28 +25,32 @@ export interface IStatsView {
ReviveCount?: number;
}
export interface IStatsDatabase extends IStatsView {
Owner

IStatsView is the Client version of IStatsDatabase right?
It should be IStatsClient then

IStatsView is the Client version of IStatsDatabase right? It should be IStatsClient then
OrdisPrime reviewed 2025-02-05 12:32:57 -08:00
@ -0,0 +15,4 @@
return stats;
};
export const uploadStats = async (playerStats: TStatsDatabaseDocument, payload: IStatsUpload): Promise<void> => {
Owner

the function does not upload right? lets rename it

the function does not upload right? lets rename it
OrdisPrime merged commit 13c68a75c1 into main 2025-02-06 04:43:00 -08:00
Sign in to join this conversation.
No description provided.