rhythia-api 192.0.0 → 193.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/getUserScores.ts +2 -0
- package/index.ts +1 -0
- package/package.json +1 -1
package/api/getUserScores.ts
CHANGED
|
@@ -45,6 +45,7 @@ export const Schema = {
|
|
|
45
45
|
beatmapHash: z.string().nullable(), // Add beatmapHash to the schema
|
|
46
46
|
beatmapTitle: z.string().nullable(),
|
|
47
47
|
difficulty: z.number().nullable(),
|
|
48
|
+
beatmapNotes: z.number().optional().nullable(),
|
|
48
49
|
})
|
|
49
50
|
)
|
|
50
51
|
.optional(),
|
|
@@ -190,6 +191,7 @@ export async function handler(
|
|
|
190
191
|
spin: s.spin,
|
|
191
192
|
beatmapHash: s.beatmaphash,
|
|
192
193
|
beatmapTitle: s.beatmaptitle,
|
|
194
|
+
beatmapNotes: s.notes,
|
|
193
195
|
difficulty: s.difficulty,
|
|
194
196
|
})),
|
|
195
197
|
top: vals?.map((s) => ({
|
package/index.ts
CHANGED
|
@@ -969,6 +969,7 @@ export const Schema = {
|
|
|
969
969
|
beatmapHash: z.string().nullable(), // Add beatmapHash to the schema
|
|
970
970
|
beatmapTitle: z.string().nullable(),
|
|
971
971
|
difficulty: z.number().nullable(),
|
|
972
|
+
beatmapNotes: z.number().optional().nullable(),
|
|
972
973
|
})
|
|
973
974
|
)
|
|
974
975
|
.optional(),
|