@xcpcio/types 0.83.2 → 0.84.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/dist/index.d.cts +11 -1
- package/dist/index.d.mts +11 -1
- package/dist/index.d.ts +11 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -122,6 +122,15 @@ interface Problem {
|
|
|
122
122
|
}
|
|
123
123
|
type Problems = Array<Problem>;
|
|
124
124
|
|
|
125
|
+
interface SeatMapSection {
|
|
126
|
+
title?: Text;
|
|
127
|
+
rowLabels?: Array<string | null>;
|
|
128
|
+
grid: Array<Array<string | null>>;
|
|
129
|
+
}
|
|
130
|
+
interface SeatMap {
|
|
131
|
+
sections: Array<SeatMapSection>;
|
|
132
|
+
}
|
|
133
|
+
|
|
125
134
|
declare enum ContestState {
|
|
126
135
|
PENDING = "PENDING",
|
|
127
136
|
RUNNING = "RUNNING",
|
|
@@ -171,6 +180,7 @@ interface Contest {
|
|
|
171
180
|
banner_mode?: BannerMode;
|
|
172
181
|
options?: ContestOptions;
|
|
173
182
|
organizations?: DataItem | Organizations;
|
|
183
|
+
seat_map?: DataItem | SeatMap;
|
|
174
184
|
board_link?: string;
|
|
175
185
|
version?: string;
|
|
176
186
|
social_media?: SocialMedia;
|
|
@@ -313,4 +323,4 @@ interface Team {
|
|
|
313
323
|
type Teams = Array<Team> | Record<string, Team>;
|
|
314
324
|
|
|
315
325
|
export { ContestState, SubmissionStatus, SubmissionStatusToSimpleString, SubmissionStatusToString };
|
|
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 };
|
|
326
|
+
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, SeatMap, SeatMapSection, SocialMedia, StatusTimeDisplay, Style, Submission, SubmissionReaction, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, UrlString };
|
package/dist/index.d.mts
CHANGED
|
@@ -122,6 +122,15 @@ interface Problem {
|
|
|
122
122
|
}
|
|
123
123
|
type Problems = Array<Problem>;
|
|
124
124
|
|
|
125
|
+
interface SeatMapSection {
|
|
126
|
+
title?: Text;
|
|
127
|
+
rowLabels?: Array<string | null>;
|
|
128
|
+
grid: Array<Array<string | null>>;
|
|
129
|
+
}
|
|
130
|
+
interface SeatMap {
|
|
131
|
+
sections: Array<SeatMapSection>;
|
|
132
|
+
}
|
|
133
|
+
|
|
125
134
|
declare enum ContestState {
|
|
126
135
|
PENDING = "PENDING",
|
|
127
136
|
RUNNING = "RUNNING",
|
|
@@ -171,6 +180,7 @@ interface Contest {
|
|
|
171
180
|
banner_mode?: BannerMode;
|
|
172
181
|
options?: ContestOptions;
|
|
173
182
|
organizations?: DataItem | Organizations;
|
|
183
|
+
seat_map?: DataItem | SeatMap;
|
|
174
184
|
board_link?: string;
|
|
175
185
|
version?: string;
|
|
176
186
|
social_media?: SocialMedia;
|
|
@@ -313,4 +323,4 @@ interface Team {
|
|
|
313
323
|
type Teams = Array<Team> | Record<string, Team>;
|
|
314
324
|
|
|
315
325
|
export { ContestState, SubmissionStatus, SubmissionStatusToSimpleString, SubmissionStatusToString };
|
|
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 };
|
|
326
|
+
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, SeatMap, SeatMapSection, SocialMedia, StatusTimeDisplay, Style, Submission, SubmissionReaction, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, UrlString };
|
package/dist/index.d.ts
CHANGED
|
@@ -122,6 +122,15 @@ interface Problem {
|
|
|
122
122
|
}
|
|
123
123
|
type Problems = Array<Problem>;
|
|
124
124
|
|
|
125
|
+
interface SeatMapSection {
|
|
126
|
+
title?: Text;
|
|
127
|
+
rowLabels?: Array<string | null>;
|
|
128
|
+
grid: Array<Array<string | null>>;
|
|
129
|
+
}
|
|
130
|
+
interface SeatMap {
|
|
131
|
+
sections: Array<SeatMapSection>;
|
|
132
|
+
}
|
|
133
|
+
|
|
125
134
|
declare enum ContestState {
|
|
126
135
|
PENDING = "PENDING",
|
|
127
136
|
RUNNING = "RUNNING",
|
|
@@ -171,6 +180,7 @@ interface Contest {
|
|
|
171
180
|
banner_mode?: BannerMode;
|
|
172
181
|
options?: ContestOptions;
|
|
173
182
|
organizations?: DataItem | Organizations;
|
|
183
|
+
seat_map?: DataItem | SeatMap;
|
|
174
184
|
board_link?: string;
|
|
175
185
|
version?: string;
|
|
176
186
|
social_media?: SocialMedia;
|
|
@@ -313,4 +323,4 @@ interface Team {
|
|
|
313
323
|
type Teams = Array<Team> | Record<string, Team>;
|
|
314
324
|
|
|
315
325
|
export { ContestState, SubmissionStatus, SubmissionStatusToSimpleString, SubmissionStatusToString };
|
|
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 };
|
|
326
|
+
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, SeatMap, SeatMapSection, SocialMedia, StatusTimeDisplay, Style, Submission, SubmissionReaction, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, UrlString };
|