From d2b35ee84843dc74afce87c3fb8b7e5a53cd56a7 Mon Sep 17 00:00:00 2001 From: WillemDalton Date: Fri, 14 Nov 2025 13:15:12 -0500 Subject: finished testing most of JSON personal database --- data/personaldb.json | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'data/personaldb.json') diff --git a/data/personaldb.json b/data/personaldb.json index 9b9709d..3a08057 100644 --- a/data/personaldb.json +++ b/data/personaldb.json @@ -61,8 +61,8 @@ "clubUsed": 2 } ], - "swingCount": 3, - "distance": 106 + "distance": 106, + "swingCount": 3 }, { "holeNumber": 2, @@ -76,17 +76,17 @@ "clubUsed": 1 } ], - "swingCount": 2, - "distance": 1002 + "distance": 1002, + "swingCount": 2 } ], "currentHoleIndex": 2, - "totalSwings": 5, "totalDistance": 1108.0, "currentHole": { "number": 3, "par": 4 - } + }, + "totalSwings": 5 }, { "course": 1, @@ -112,20 +112,19 @@ "clubUsed": 1 } ], - "swingCount": 1, - "distance": 204 + "distance": 204, + "swingCount": 1 } ], "currentHoleIndex": 9, - "totalSwings": 1, "totalDistance": 204.0, "currentHole": { "number": 10, "par": 3 - } + }, + "totalSwings": 1 } - ], - "invites": [] + ] }, { "clubs": [], @@ -134,7 +133,6 @@ "passwordHash": 389416948, "fullName": "tyler f", "courses": [], - "rounds": [], - "invites": [] + "rounds": [] } ] \ No newline at end of file -- cgit v1.2.3 From af9f559a2ee427905c39363643bac2e7878fb10c Mon Sep 17 00:00:00 2001 From: WillemDalton Date: Sun, 16 Nov 2025 15:06:41 -0500 Subject: fixed guests viewing courses --- data/personaldb.json | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'data/personaldb.json') diff --git a/data/personaldb.json b/data/personaldb.json index 3a08057..2aa4ec7 100644 --- a/data/personaldb.json +++ b/data/personaldb.json @@ -1,4 +1,18 @@ [ + { + "clubs": [], + "nextClubId": 1, + "username": "test", + "passwordHash": 3556498, + "fullName": "test", + "courses": [ + 999 + ], + "rounds": [], + "invites": [], + "joinedTeam": null, + "team": null + }, { "clubs": [ { @@ -81,12 +95,12 @@ } ], "currentHoleIndex": 2, - "totalDistance": 1108.0, "currentHole": { "number": 3, "par": 4 }, - "totalSwings": 5 + "totalSwings": 5, + "totalDistance": 1108.0 }, { "course": 1, @@ -117,14 +131,17 @@ } ], "currentHoleIndex": 9, - "totalDistance": 204.0, "currentHole": { "number": 10, "par": 3 }, - "totalSwings": 1 + "totalSwings": 1, + "totalDistance": 204.0 } - ] + ], + "invites": [], + "joinedTeam": null, + "team": null }, { "clubs": [], @@ -133,6 +150,9 @@ "passwordHash": 389416948, "fullName": "tyler f", "courses": [], - "rounds": [] + "rounds": [], + "invites": [], + "joinedTeam": null, + "team": null } ] \ No newline at end of file -- cgit v1.2.3