rhythia-api 194.0.0 → 196.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/getBeatmapPage.ts +1 -0
- package/api/getLeaderboard.ts +2 -0
- package/index.ts +2 -0
- package/package.json +1 -1
package/api/getBeatmapPage.ts
CHANGED
package/api/getLeaderboard.ts
CHANGED
|
@@ -28,6 +28,7 @@ export const Schema = {
|
|
|
28
28
|
skill_points: z.number().nullable(),
|
|
29
29
|
spin_skill_points: z.number().nullable(),
|
|
30
30
|
total_score: z.number().nullable(),
|
|
31
|
+
verified: z.boolean().nullable(),
|
|
31
32
|
clans: z
|
|
32
33
|
.object({
|
|
33
34
|
id: z.number(),
|
|
@@ -131,6 +132,7 @@ export async function getLeaderboard(
|
|
|
131
132
|
total_score: user.total_score,
|
|
132
133
|
username: user.username,
|
|
133
134
|
clans: user.clans as any,
|
|
135
|
+
verified: user.verified,
|
|
134
136
|
})),
|
|
135
137
|
};
|
|
136
138
|
}
|
package/index.ts
CHANGED
|
@@ -405,6 +405,7 @@ export const Schema = {
|
|
|
405
405
|
userId: z.number().nullable(),
|
|
406
406
|
username: z.string().nullable(),
|
|
407
407
|
avatar_url: z.string().nullable(),
|
|
408
|
+
accuracy: z.number().nullable(),
|
|
408
409
|
})
|
|
409
410
|
)
|
|
410
411
|
.optional(),
|
|
@@ -742,6 +743,7 @@ export const Schema = {
|
|
|
742
743
|
skill_points: z.number().nullable(),
|
|
743
744
|
spin_skill_points: z.number().nullable(),
|
|
744
745
|
total_score: z.number().nullable(),
|
|
746
|
+
verified: z.boolean().nullable(),
|
|
745
747
|
clans: z
|
|
746
748
|
.object({
|
|
747
749
|
id: z.number(),
|