@xcpcio/types 0.83.2 → 0.85.3
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 +13 -1
- package/dist/index.d.mts +13 -1
- package/dist/index.d.ts +13 -1
- package/package.json +11 -12
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",
|
|
@@ -143,6 +152,7 @@ interface ContestOptions {
|
|
|
143
152
|
submission_source_code_url_template?: string;
|
|
144
153
|
realtime_reaction_webcam_stream_url_template?: string;
|
|
145
154
|
realtime_reaction_screen_stream_url_template?: string;
|
|
155
|
+
disable_pending_page?: boolean;
|
|
146
156
|
}
|
|
147
157
|
type MedalPreset = "ccpc" | "icpc";
|
|
148
158
|
type BannerMode = "ONLY_BANNER" | "ALL";
|
|
@@ -171,6 +181,7 @@ interface Contest {
|
|
|
171
181
|
banner_mode?: BannerMode;
|
|
172
182
|
options?: ContestOptions;
|
|
173
183
|
organizations?: DataItem | Organizations;
|
|
184
|
+
seat_map?: DataItem | SeatMap;
|
|
174
185
|
board_link?: string;
|
|
175
186
|
version?: string;
|
|
176
187
|
social_media?: SocialMedia;
|
|
@@ -293,6 +304,7 @@ interface Team {
|
|
|
293
304
|
team_id?: string;
|
|
294
305
|
name?: Text;
|
|
295
306
|
team_name?: Text;
|
|
307
|
+
description?: Text;
|
|
296
308
|
organization?: string;
|
|
297
309
|
organization_id?: string;
|
|
298
310
|
group?: Array<string>;
|
|
@@ -313,4 +325,4 @@ interface Team {
|
|
|
313
325
|
type Teams = Array<Team> | Record<string, Team>;
|
|
314
326
|
|
|
315
327
|
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 };
|
|
328
|
+
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",
|
|
@@ -143,6 +152,7 @@ interface ContestOptions {
|
|
|
143
152
|
submission_source_code_url_template?: string;
|
|
144
153
|
realtime_reaction_webcam_stream_url_template?: string;
|
|
145
154
|
realtime_reaction_screen_stream_url_template?: string;
|
|
155
|
+
disable_pending_page?: boolean;
|
|
146
156
|
}
|
|
147
157
|
type MedalPreset = "ccpc" | "icpc";
|
|
148
158
|
type BannerMode = "ONLY_BANNER" | "ALL";
|
|
@@ -171,6 +181,7 @@ interface Contest {
|
|
|
171
181
|
banner_mode?: BannerMode;
|
|
172
182
|
options?: ContestOptions;
|
|
173
183
|
organizations?: DataItem | Organizations;
|
|
184
|
+
seat_map?: DataItem | SeatMap;
|
|
174
185
|
board_link?: string;
|
|
175
186
|
version?: string;
|
|
176
187
|
social_media?: SocialMedia;
|
|
@@ -293,6 +304,7 @@ interface Team {
|
|
|
293
304
|
team_id?: string;
|
|
294
305
|
name?: Text;
|
|
295
306
|
team_name?: Text;
|
|
307
|
+
description?: Text;
|
|
296
308
|
organization?: string;
|
|
297
309
|
organization_id?: string;
|
|
298
310
|
group?: Array<string>;
|
|
@@ -313,4 +325,4 @@ interface Team {
|
|
|
313
325
|
type Teams = Array<Team> | Record<string, Team>;
|
|
314
326
|
|
|
315
327
|
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 };
|
|
328
|
+
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",
|
|
@@ -143,6 +152,7 @@ interface ContestOptions {
|
|
|
143
152
|
submission_source_code_url_template?: string;
|
|
144
153
|
realtime_reaction_webcam_stream_url_template?: string;
|
|
145
154
|
realtime_reaction_screen_stream_url_template?: string;
|
|
155
|
+
disable_pending_page?: boolean;
|
|
146
156
|
}
|
|
147
157
|
type MedalPreset = "ccpc" | "icpc";
|
|
148
158
|
type BannerMode = "ONLY_BANNER" | "ALL";
|
|
@@ -171,6 +181,7 @@ interface Contest {
|
|
|
171
181
|
banner_mode?: BannerMode;
|
|
172
182
|
options?: ContestOptions;
|
|
173
183
|
organizations?: DataItem | Organizations;
|
|
184
|
+
seat_map?: DataItem | SeatMap;
|
|
174
185
|
board_link?: string;
|
|
175
186
|
version?: string;
|
|
176
187
|
social_media?: SocialMedia;
|
|
@@ -293,6 +304,7 @@ interface Team {
|
|
|
293
304
|
team_id?: string;
|
|
294
305
|
name?: Text;
|
|
295
306
|
team_name?: Text;
|
|
307
|
+
description?: Text;
|
|
296
308
|
organization?: string;
|
|
297
309
|
organization_id?: string;
|
|
298
310
|
group?: Array<string>;
|
|
@@ -313,4 +325,4 @@ interface Team {
|
|
|
313
325
|
type Teams = Array<Team> | Record<string, Team>;
|
|
314
326
|
|
|
315
327
|
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 };
|
|
328
|
+
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xcpcio/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.85.3",
|
|
5
5
|
"description": "Types for XCPCIO",
|
|
6
6
|
"author": "Dup4 <hi@dup4.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -33,20 +33,19 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@babel/types": "^7.
|
|
37
|
-
"@types/node": "^
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
39
|
-
"@typescript-eslint/parser": "^8.
|
|
40
|
-
"bumpp": "^
|
|
41
|
-
"eslint": "^
|
|
36
|
+
"@babel/types": "^7.29.7",
|
|
37
|
+
"@types/node": "^25.9.3",
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
39
|
+
"@typescript-eslint/parser": "^8.61.0",
|
|
40
|
+
"bumpp": "^11.1.0",
|
|
41
|
+
"eslint": "^10.5.0",
|
|
42
42
|
"esmo": "^4.8.0",
|
|
43
43
|
"npm-run-all": "^4.1.5",
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"typescript": "^5.9.3",
|
|
44
|
+
"taze": "^19.14.1",
|
|
45
|
+
"typescript": "^6.0.3",
|
|
47
46
|
"unbuild": "^3.6.1",
|
|
48
|
-
"vite": "^
|
|
49
|
-
"vitest": "^4.
|
|
47
|
+
"vite": "^8.0.16",
|
|
48
|
+
"vitest": "^4.1.8"
|
|
50
49
|
},
|
|
51
50
|
"scripts": {
|
|
52
51
|
"build": "unbuild",
|