@@ -10,6 +10,7 @@ import { avatarRequestSchema } from './_internal/request/avatarRequestSchema.ts'
1010import { commentOnTypeParamsSchema } from './_internal/request/commentOnTypeParamsSchema.ts' ;
1111import { commentsRequestSchema } from './_internal/request/commentsRequestSchema.ts' ;
1212import { commentTypeParamsSchema } from './_internal/request/commentTypeParamsSchema.ts' ;
13+ import { monthInReviewParamsSchema } from './_internal/request/monthInReviewParamsSchema.ts' ;
1314import { profileParamsSchema } from './_internal/request/profileParamsSchema.ts' ;
1415import { settingsRequestSchema } from './_internal/request/settingsRequestSchema.ts' ;
1516import { socialActivityParamsSchema } from './_internal/request/socialActivityParamsSchema.ts' ;
@@ -21,6 +22,7 @@ import {
2122 likedCommentResponseSchema ,
2223 likedListResponseSchema ,
2324} from './_internal/response/likedItemResponseSchema.ts' ;
25+ import { monthInReviewResponseSchema } from './_internal/response/monthInReviewResponseSchema.ts' ;
2426import { settingsResponseSchema } from './_internal/response/settingsResponseSchema.ts' ;
2527import { socialActivityResponseSchema } from './_internal/response/socialActivityResponseSchema.ts' ;
2628import { userCommentResponseSchema } from './_internal/response/userCommentResponseSchema.ts' ;
@@ -183,6 +185,16 @@ const ENTITY_LEVEL = builder.router({
183185 200 : friendResponseSchema . array ( ) ,
184186 } ,
185187 } ,
188+ month_in_review : {
189+ path : '/mir' ,
190+ pathParams : profileParamsSchema
191+ . merge ( monthInReviewParamsSchema ) ,
192+ query : extendedMediaQuerySchema ,
193+ method : 'GET' ,
194+ responses : {
195+ 200 : monthInReviewResponseSchema ,
196+ } ,
197+ } ,
186198} , {
187199 pathPrefix : '/:id' ,
188200} ) ;
@@ -245,3 +257,6 @@ export type UserCommentResponse = z.infer<typeof userCommentResponseSchema>;
245257export type WatchingResponse = z . infer < typeof watchingResponseSchema > ;
246258export type AvatarRequest = z . infer < typeof avatarRequestSchema > ;
247259export type SettingsRequest = z . infer < typeof settingsRequestSchema > ;
260+
261+ export type MonthInReviewParams = z . infer < typeof monthInReviewParamsSchema > ;
262+ export type MonthInReviewResponse = z . infer < typeof monthInReviewResponseSchema > ;
0 commit comments