Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 93e75eb

Browse files
committed
fix(misc): update ConfigResponse
1 parent 3648270 commit 93e75eb

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

‎luogu-api.d.ts‎

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export interface ConfigResponse {
342342
ContestInvitationType: {
343343
[id: number]: { type: string; id: number; name: string };
344344
};
345-
ContestMethodType: {
345+
ContestMethod: {
346346
[id: number]: { type: string; id: number; name: string; color: string };
347347
};
348348
ContestPublicType: {
@@ -354,9 +354,8 @@ export interface ConfigResponse {
354354
userCreatable: boolean;
355355
invitation: boolean;
356356
}[];
357-
OpenIdPlatformType: {
358-
[id: number]: { type: string; id: number; name: string };
359-
};
357+
ImageHostingWatermarkStyle: { type: string; id: number }[];
358+
OpenIdPlatform: { [id: number]: { type: string; id: number; name: string } };
360359
ProblemDifficulty: {
361360
type: string;
362361
id: number;
@@ -397,20 +396,27 @@ export interface ConfigResponse {
397396
filterable: boolean;
398397
};
399398
};
400-
TeamJoinPermissionType: { type: string; id: number; name: string }[];
401-
TeamJoinRequestStatusType: { type: string; id: number; name: string }[];
399+
SendEndpoint: { [id: number]: { type: string; id: number } };
400+
TeamJoinOpenness: { type: string; id: number; name: string }[];
401+
TeamJoinRequestStatus: { type: string; id: number; name: string }[];
402402
TeamMemberType: { [id: number]: { type: string; id: number; name: string } };
403403
TeamType: { [id: number]: { type: string; id: number; name: string } };
404-
UserMessageReceiveMode: { type: string; id: number }[];
404+
TicketActionType: { [id: string]: { type: string; id: string } };
405+
TicketStatus: {
406+
[id: number]: { type: string; id: number; name: string; color: string };
407+
};
408+
UserMessageReceiveMode: { type: string; id: number; name: string }[];
405409
UserNotificationType: {
406410
[id: number]: { type: string; id: number; name: string };
407411
};
408412
UserOfflinePrizeShowLevel: { type: string; id: number; name: string }[];
409-
UserOpenSourceType: { [id: number]: { type: string; id: number } };
413+
UserOpenSourceType: {
414+
[id: number]: { type: string; id: number; name: string };
415+
};
410416
UserRelationship: { [id: number]: { type: string; id: number } };
411417
VoteType: { [id: number]: { type: string; id: number } };
412418
route: { [id: string]: string };
413-
routeAttr: { [id: string]: { instance: string } };
419+
routeAttr: { [id: string]: { instance?: string;rawLink?: boolean } };
414420
_locale: string;
415421
_instance: string;
416422
routes: { [id: string]: string };

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /