@xcpcio/types 0.83.1 → 0.83.2
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/dist/index.d.cts +6 -1
- package/dist/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -146,6 +146,10 @@ interface ContestOptions {
|
|
|
146
146
|
}
|
|
147
147
|
type MedalPreset = "ccpc" | "icpc";
|
|
148
148
|
type BannerMode = "ONLY_BANNER" | "ALL";
|
|
149
|
+
interface SocialMedia {
|
|
150
|
+
bilibili?: string;
|
|
151
|
+
youtube?: string;
|
|
152
|
+
}
|
|
149
153
|
interface Contest {
|
|
150
154
|
contest_name: Text;
|
|
151
155
|
description?: Text;
|
|
@@ -169,6 +173,7 @@ interface Contest {
|
|
|
169
173
|
organizations?: DataItem | Organizations;
|
|
170
174
|
board_link?: string;
|
|
171
175
|
version?: string;
|
|
176
|
+
social_media?: SocialMedia;
|
|
172
177
|
}
|
|
173
178
|
|
|
174
179
|
interface ContestIndexConfig {
|
|
@@ -308,4 +313,4 @@ interface Team {
|
|
|
308
313
|
type Teams = Array<Team> | Record<string, Team>;
|
|
309
314
|
|
|
310
315
|
export { ContestState, SubmissionStatus, SubmissionStatusToSimpleString, SubmissionStatusToString };
|
|
311
|
-
export type { BalloonColor, BannerMode, Base64, CalculationOfPenalty, Color, ColorHEX, ColorRGB, ColorRGBA, Contest, ContestIndex, ContestIndexConfig, ContestOptions, Contributor, DataItem, DateTimeISO8601String, I18NStringSet, IRating, IRatingHistory, IRatingIndex, IRatingUser, Image, ImagePreset, Lang, Link, LinkString, MedalPreset, Organization, Organizations, Person, Persons, Problem, Problems, StatusTimeDisplay, Style, Submission, SubmissionReaction, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, UrlString };
|
|
316
|
+
export type { BalloonColor, BannerMode, Base64, CalculationOfPenalty, Color, ColorHEX, ColorRGB, ColorRGBA, Contest, ContestIndex, ContestIndexConfig, ContestOptions, Contributor, DataItem, DateTimeISO8601String, I18NStringSet, IRating, IRatingHistory, IRatingIndex, IRatingUser, Image, ImagePreset, Lang, Link, LinkString, MedalPreset, Organization, Organizations, Person, Persons, Problem, Problems, SocialMedia, StatusTimeDisplay, Style, Submission, SubmissionReaction, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, UrlString };
|
package/dist/index.d.mts
CHANGED
|
@@ -146,6 +146,10 @@ interface ContestOptions {
|
|
|
146
146
|
}
|
|
147
147
|
type MedalPreset = "ccpc" | "icpc";
|
|
148
148
|
type BannerMode = "ONLY_BANNER" | "ALL";
|
|
149
|
+
interface SocialMedia {
|
|
150
|
+
bilibili?: string;
|
|
151
|
+
youtube?: string;
|
|
152
|
+
}
|
|
149
153
|
interface Contest {
|
|
150
154
|
contest_name: Text;
|
|
151
155
|
description?: Text;
|
|
@@ -169,6 +173,7 @@ interface Contest {
|
|
|
169
173
|
organizations?: DataItem | Organizations;
|
|
170
174
|
board_link?: string;
|
|
171
175
|
version?: string;
|
|
176
|
+
social_media?: SocialMedia;
|
|
172
177
|
}
|
|
173
178
|
|
|
174
179
|
interface ContestIndexConfig {
|
|
@@ -308,4 +313,4 @@ interface Team {
|
|
|
308
313
|
type Teams = Array<Team> | Record<string, Team>;
|
|
309
314
|
|
|
310
315
|
export { ContestState, SubmissionStatus, SubmissionStatusToSimpleString, SubmissionStatusToString };
|
|
311
|
-
export type { BalloonColor, BannerMode, Base64, CalculationOfPenalty, Color, ColorHEX, ColorRGB, ColorRGBA, Contest, ContestIndex, ContestIndexConfig, ContestOptions, Contributor, DataItem, DateTimeISO8601String, I18NStringSet, IRating, IRatingHistory, IRatingIndex, IRatingUser, Image, ImagePreset, Lang, Link, LinkString, MedalPreset, Organization, Organizations, Person, Persons, Problem, Problems, StatusTimeDisplay, Style, Submission, SubmissionReaction, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, UrlString };
|
|
316
|
+
export type { BalloonColor, BannerMode, Base64, CalculationOfPenalty, Color, ColorHEX, ColorRGB, ColorRGBA, Contest, ContestIndex, ContestIndexConfig, ContestOptions, Contributor, DataItem, DateTimeISO8601String, I18NStringSet, IRating, IRatingHistory, IRatingIndex, IRatingUser, Image, ImagePreset, Lang, Link, LinkString, MedalPreset, Organization, Organizations, Person, Persons, Problem, Problems, SocialMedia, StatusTimeDisplay, Style, Submission, SubmissionReaction, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, UrlString };
|
package/dist/index.d.ts
CHANGED
|
@@ -146,6 +146,10 @@ interface ContestOptions {
|
|
|
146
146
|
}
|
|
147
147
|
type MedalPreset = "ccpc" | "icpc";
|
|
148
148
|
type BannerMode = "ONLY_BANNER" | "ALL";
|
|
149
|
+
interface SocialMedia {
|
|
150
|
+
bilibili?: string;
|
|
151
|
+
youtube?: string;
|
|
152
|
+
}
|
|
149
153
|
interface Contest {
|
|
150
154
|
contest_name: Text;
|
|
151
155
|
description?: Text;
|
|
@@ -169,6 +173,7 @@ interface Contest {
|
|
|
169
173
|
organizations?: DataItem | Organizations;
|
|
170
174
|
board_link?: string;
|
|
171
175
|
version?: string;
|
|
176
|
+
social_media?: SocialMedia;
|
|
172
177
|
}
|
|
173
178
|
|
|
174
179
|
interface ContestIndexConfig {
|
|
@@ -308,4 +313,4 @@ interface Team {
|
|
|
308
313
|
type Teams = Array<Team> | Record<string, Team>;
|
|
309
314
|
|
|
310
315
|
export { ContestState, SubmissionStatus, SubmissionStatusToSimpleString, SubmissionStatusToString };
|
|
311
|
-
export type { BalloonColor, BannerMode, Base64, CalculationOfPenalty, Color, ColorHEX, ColorRGB, ColorRGBA, Contest, ContestIndex, ContestIndexConfig, ContestOptions, Contributor, DataItem, DateTimeISO8601String, I18NStringSet, IRating, IRatingHistory, IRatingIndex, IRatingUser, Image, ImagePreset, Lang, Link, LinkString, MedalPreset, Organization, Organizations, Person, Persons, Problem, Problems, StatusTimeDisplay, Style, Submission, SubmissionReaction, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, UrlString };
|
|
316
|
+
export type { BalloonColor, BannerMode, Base64, CalculationOfPenalty, Color, ColorHEX, ColorRGB, ColorRGBA, Contest, ContestIndex, ContestIndexConfig, ContestOptions, Contributor, DataItem, DateTimeISO8601String, I18NStringSet, IRating, IRatingHistory, IRatingIndex, IRatingUser, Image, ImagePreset, Lang, Link, LinkString, MedalPreset, Organization, Organizations, Person, Persons, Problem, Problems, SocialMedia, StatusTimeDisplay, Style, Submission, SubmissionReaction, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, UrlString };
|