rhythia-api 147.0.0 → 148.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/index.ts +24 -24
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -11,7 +11,7 @@ export const Schema = {
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
error: z.string().optional(),
|
|
13
13
|
}),
|
|
14
|
-
|
|
14
|
+
};*/
|
|
15
15
|
import { Schema as ApproveMap } from "./api/approveMap"
|
|
16
16
|
export { Schema as SchemaApproveMap } from "./api/approveMap"
|
|
17
17
|
export const approveMap = handleApi({url:"/api/approveMap",...ApproveMap})
|
|
@@ -29,7 +29,7 @@ export const Schema = {
|
|
|
29
29
|
hash: z.string().optional(),
|
|
30
30
|
error: z.string().optional(),
|
|
31
31
|
}),
|
|
32
|
-
|
|
32
|
+
};*/
|
|
33
33
|
import { Schema as CreateBeatmap } from "./api/createBeatmap"
|
|
34
34
|
export { Schema as SchemaCreateBeatmap } from "./api/createBeatmap"
|
|
35
35
|
export const createBeatmap = handleApi({url:"/api/createBeatmap",...CreateBeatmap})
|
|
@@ -45,7 +45,7 @@ export const Schema = {
|
|
|
45
45
|
error: z.string().optional(),
|
|
46
46
|
id: z.number().optional(),
|
|
47
47
|
}),
|
|
48
|
-
|
|
48
|
+
};*/
|
|
49
49
|
import { Schema as CreateBeatmapPage } from "./api/createBeatmapPage"
|
|
50
50
|
export { Schema as SchemaCreateBeatmapPage } from "./api/createBeatmapPage"
|
|
51
51
|
export const createBeatmapPage = handleApi({url:"/api/createBeatmapPage",...CreateBeatmapPage})
|
|
@@ -61,7 +61,7 @@ export const Schema = {
|
|
|
61
61
|
output: z.strictObject({
|
|
62
62
|
error: z.string().optional(),
|
|
63
63
|
}),
|
|
64
|
-
|
|
64
|
+
};*/
|
|
65
65
|
import { Schema as DeleteBeatmapPage } from "./api/deleteBeatmapPage"
|
|
66
66
|
export { Schema as SchemaDeleteBeatmapPage } from "./api/deleteBeatmapPage"
|
|
67
67
|
export const deleteBeatmapPage = handleApi({url:"/api/deleteBeatmapPage",...DeleteBeatmapPage})
|
|
@@ -79,7 +79,7 @@ export const Schema = {
|
|
|
79
79
|
output: z.object({
|
|
80
80
|
error: z.string().optional(),
|
|
81
81
|
}),
|
|
82
|
-
|
|
82
|
+
};*/
|
|
83
83
|
import { Schema as EditAboutMe } from "./api/editAboutMe"
|
|
84
84
|
export { Schema as SchemaEditAboutMe } from "./api/editAboutMe"
|
|
85
85
|
export const editAboutMe = handleApi({url:"/api/editAboutMe",...EditAboutMe})
|
|
@@ -98,7 +98,7 @@ export const Schema = {
|
|
|
98
98
|
output: z.object({
|
|
99
99
|
error: z.string().optional(),
|
|
100
100
|
}),
|
|
101
|
-
|
|
101
|
+
};*/
|
|
102
102
|
import { Schema as EditProfile } from "./api/editProfile"
|
|
103
103
|
export { Schema as SchemaEditProfile } from "./api/editProfile"
|
|
104
104
|
export const editProfile = handleApi({url:"/api/editProfile",...EditProfile})
|
|
@@ -118,7 +118,7 @@ export const Schema = {
|
|
|
118
118
|
url: z.string().optional(),
|
|
119
119
|
objectKey: z.string().optional(),
|
|
120
120
|
}),
|
|
121
|
-
|
|
121
|
+
};*/
|
|
122
122
|
import { Schema as GetAvatarUploadUrl } from "./api/getAvatarUploadUrl"
|
|
123
123
|
export { Schema as SchemaGetAvatarUploadUrl } from "./api/getAvatarUploadUrl"
|
|
124
124
|
export const getAvatarUploadUrl = handleApi({url:"/api/getAvatarUploadUrl",...GetAvatarUploadUrl})
|
|
@@ -142,7 +142,7 @@ export const Schema = {
|
|
|
142
142
|
)
|
|
143
143
|
.optional(),
|
|
144
144
|
}),
|
|
145
|
-
|
|
145
|
+
};*/
|
|
146
146
|
import { Schema as GetBadgedUsers } from "./api/getBadgedUsers"
|
|
147
147
|
export { Schema as SchemaGetBadgedUsers } from "./api/getBadgedUsers"
|
|
148
148
|
export const getBadgedUsers = handleApi({url:"/api/getBadgedUsers",...GetBadgedUsers})
|
|
@@ -170,7 +170,7 @@ export const Schema = {
|
|
|
170
170
|
})
|
|
171
171
|
),
|
|
172
172
|
}),
|
|
173
|
-
|
|
173
|
+
};*/
|
|
174
174
|
import { Schema as GetBeatmapComments } from "./api/getBeatmapComments"
|
|
175
175
|
export { Schema as SchemaGetBeatmapComments } from "./api/getBeatmapComments"
|
|
176
176
|
export const getBeatmapComments = handleApi({url:"/api/getBeatmapComments",...GetBeatmapComments})
|
|
@@ -206,7 +206,7 @@ export const Schema = {
|
|
|
206
206
|
})
|
|
207
207
|
.optional(),
|
|
208
208
|
}),
|
|
209
|
-
|
|
209
|
+
};*/
|
|
210
210
|
import { Schema as GetBeatmapPage } from "./api/getBeatmapPage"
|
|
211
211
|
export { Schema as SchemaGetBeatmapPage } from "./api/getBeatmapPage"
|
|
212
212
|
export const getBeatmapPage = handleApi({url:"/api/getBeatmapPage",...GetBeatmapPage})
|
|
@@ -242,7 +242,7 @@ export const Schema = {
|
|
|
242
242
|
})
|
|
243
243
|
.optional(),
|
|
244
244
|
}),
|
|
245
|
-
|
|
245
|
+
};*/
|
|
246
246
|
import { Schema as GetBeatmapPageById } from "./api/getBeatmapPageById"
|
|
247
247
|
export { Schema as SchemaGetBeatmapPageById } from "./api/getBeatmapPageById"
|
|
248
248
|
export const getBeatmapPageById = handleApi({url:"/api/getBeatmapPageById",...GetBeatmapPageById})
|
|
@@ -292,7 +292,7 @@ export const Schema = {
|
|
|
292
292
|
)
|
|
293
293
|
.optional(),
|
|
294
294
|
}),
|
|
295
|
-
|
|
295
|
+
};*/
|
|
296
296
|
import { Schema as GetBeatmaps } from "./api/getBeatmaps"
|
|
297
297
|
export { Schema as SchemaGetBeatmaps } from "./api/getBeatmaps"
|
|
298
298
|
export const getBeatmaps = handleApi({url:"/api/getBeatmaps",...GetBeatmaps})
|
|
@@ -324,7 +324,7 @@ export const Schema = {
|
|
|
324
324
|
)
|
|
325
325
|
.optional(),
|
|
326
326
|
}),
|
|
327
|
-
|
|
327
|
+
};*/
|
|
328
328
|
import { Schema as GetLeaderboard } from "./api/getLeaderboard"
|
|
329
329
|
export { Schema as SchemaGetLeaderboard } from "./api/getLeaderboard"
|
|
330
330
|
export const getLeaderboard = handleApi({url:"/api/getLeaderboard",...GetLeaderboard})
|
|
@@ -345,7 +345,7 @@ export const Schema = {
|
|
|
345
345
|
url: z.string().optional(),
|
|
346
346
|
objectKey: z.string().optional(),
|
|
347
347
|
}),
|
|
348
|
-
|
|
348
|
+
};*/
|
|
349
349
|
import { Schema as GetMapUploadUrl } from "./api/getMapUploadUrl"
|
|
350
350
|
export { Schema as SchemaGetMapUploadUrl } from "./api/getMapUploadUrl"
|
|
351
351
|
export const getMapUploadUrl = handleApi({url:"/api/getMapUploadUrl",...GetMapUploadUrl})
|
|
@@ -381,7 +381,7 @@ export const Schema = {
|
|
|
381
381
|
})
|
|
382
382
|
.optional(),
|
|
383
383
|
}),
|
|
384
|
-
|
|
384
|
+
};*/
|
|
385
385
|
import { Schema as GetProfile } from "./api/getProfile"
|
|
386
386
|
export { Schema as SchemaGetProfile } from "./api/getProfile"
|
|
387
387
|
export const getProfile = handleApi({url:"/api/getProfile",...GetProfile})
|
|
@@ -396,7 +396,7 @@ export const Schema = {
|
|
|
396
396
|
beatmaps: z.number(),
|
|
397
397
|
scores: z.number(),
|
|
398
398
|
}),
|
|
399
|
-
|
|
399
|
+
};*/
|
|
400
400
|
import { Schema as GetPublicStats } from "./api/getPublicStats"
|
|
401
401
|
export { Schema as SchemaGetPublicStats } from "./api/getPublicStats"
|
|
402
402
|
export const getPublicStats = handleApi({url:"/api/getPublicStats",...GetPublicStats})
|
|
@@ -429,7 +429,7 @@ export const Schema = {
|
|
|
429
429
|
})
|
|
430
430
|
.optional(),
|
|
431
431
|
}),
|
|
432
|
-
|
|
432
|
+
};*/
|
|
433
433
|
import { Schema as GetScore } from "./api/getScore"
|
|
434
434
|
export { Schema as SchemaGetScore } from "./api/getScore"
|
|
435
435
|
export const getScore = handleApi({url:"/api/getScore",...GetScore})
|
|
@@ -482,7 +482,7 @@ export const Schema = {
|
|
|
482
482
|
)
|
|
483
483
|
.optional(),
|
|
484
484
|
}),
|
|
485
|
-
|
|
485
|
+
};*/
|
|
486
486
|
import { Schema as GetUserScores } from "./api/getUserScores"
|
|
487
487
|
export { Schema as SchemaGetUserScores } from "./api/getUserScores"
|
|
488
488
|
export const getUserScores = handleApi({url:"/api/getUserScores",...GetUserScores})
|
|
@@ -498,7 +498,7 @@ export const Schema = {
|
|
|
498
498
|
output: z.object({
|
|
499
499
|
error: z.string().optional(),
|
|
500
500
|
}),
|
|
501
|
-
|
|
501
|
+
};*/
|
|
502
502
|
import { Schema as NominateMap } from "./api/nominateMap"
|
|
503
503
|
export { Schema as SchemaNominateMap } from "./api/nominateMap"
|
|
504
504
|
export const nominateMap = handleApi({url:"/api/nominateMap",...NominateMap})
|
|
@@ -515,7 +515,7 @@ export const Schema = {
|
|
|
515
515
|
output: z.strictObject({
|
|
516
516
|
error: z.string().optional(),
|
|
517
517
|
}),
|
|
518
|
-
|
|
518
|
+
};*/
|
|
519
519
|
import { Schema as PostBeatmapComment } from "./api/postBeatmapComment"
|
|
520
520
|
export { Schema as SchemaPostBeatmapComment } from "./api/postBeatmapComment"
|
|
521
521
|
export const postBeatmapComment = handleApi({url:"/api/postBeatmapComment",...PostBeatmapComment})
|
|
@@ -531,7 +531,7 @@ export const Schema = {
|
|
|
531
531
|
output: z.object({
|
|
532
532
|
error: z.string().optional(),
|
|
533
533
|
}),
|
|
534
|
-
|
|
534
|
+
};*/
|
|
535
535
|
import { Schema as RankMapsArchive } from "./api/rankMapsArchive"
|
|
536
536
|
export { Schema as SchemaRankMapsArchive } from "./api/rankMapsArchive"
|
|
537
537
|
export const rankMapsArchive = handleApi({url:"/api/rankMapsArchive",...RankMapsArchive})
|
|
@@ -554,7 +554,7 @@ export const Schema = {
|
|
|
554
554
|
)
|
|
555
555
|
.optional(),
|
|
556
556
|
}),
|
|
557
|
-
|
|
557
|
+
};*/
|
|
558
558
|
import { Schema as SearchUsers } from "./api/searchUsers"
|
|
559
559
|
export { Schema as SchemaSearchUsers } from "./api/searchUsers"
|
|
560
560
|
export const searchUsers = handleApi({url:"/api/searchUsers",...SearchUsers})
|
|
@@ -579,7 +579,7 @@ export const Schema = {
|
|
|
579
579
|
output: z.object({
|
|
580
580
|
error: z.string().optional(),
|
|
581
581
|
}),
|
|
582
|
-
|
|
582
|
+
};*/
|
|
583
583
|
import { Schema as SubmitScore } from "./api/submitScore"
|
|
584
584
|
export { Schema as SchemaSubmitScore } from "./api/submitScore"
|
|
585
585
|
export const submitScore = handleApi({url:"/api/submitScore",...SubmitScore})
|
|
@@ -598,7 +598,7 @@ export const Schema = {
|
|
|
598
598
|
output: z.strictObject({
|
|
599
599
|
error: z.string().optional(),
|
|
600
600
|
}),
|
|
601
|
-
|
|
601
|
+
};*/
|
|
602
602
|
import { Schema as UpdateBeatmapPage } from "./api/updateBeatmapPage"
|
|
603
603
|
export { Schema as SchemaUpdateBeatmapPage } from "./api/updateBeatmapPage"
|
|
604
604
|
export const updateBeatmapPage = handleApi({url:"/api/updateBeatmapPage",...UpdateBeatmapPage})
|