@xcpcio/types 0.65.1 → 0.66.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 +6 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -86,9 +86,12 @@ interface Link {
|
|
|
86
86
|
}
|
|
87
87
|
interface Image {
|
|
88
88
|
url?: string;
|
|
89
|
+
mime?: string;
|
|
89
90
|
base64?: Base64;
|
|
90
91
|
type?: "png" | "svg" | "jpg" | "jpeg";
|
|
91
92
|
preset?: ImagePreset;
|
|
93
|
+
width?: number;
|
|
94
|
+
height?: number;
|
|
92
95
|
}
|
|
93
96
|
interface StatusTimeDisplay {
|
|
94
97
|
correct: boolean;
|
|
@@ -121,6 +124,8 @@ interface ContestOptions {
|
|
|
121
124
|
submission_has_reaction?: boolean;
|
|
122
125
|
has_reaction_videos?: boolean;
|
|
123
126
|
reaction_video_url_template?: string;
|
|
127
|
+
has_team_photos?: boolean;
|
|
128
|
+
team_photo_url_template?: Image;
|
|
124
129
|
}
|
|
125
130
|
type MedalPreset = "ccpc" | "icpc";
|
|
126
131
|
type BannerMode = "ONLY_BANNER" | "ALL";
|
|
@@ -274,6 +279,7 @@ interface Team {
|
|
|
274
279
|
unofficial?: boolean;
|
|
275
280
|
girl?: boolean;
|
|
276
281
|
badge?: Image;
|
|
282
|
+
photo?: Image;
|
|
277
283
|
location?: string;
|
|
278
284
|
icpc_id?: string;
|
|
279
285
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -86,9 +86,12 @@ interface Link {
|
|
|
86
86
|
}
|
|
87
87
|
interface Image {
|
|
88
88
|
url?: string;
|
|
89
|
+
mime?: string;
|
|
89
90
|
base64?: Base64;
|
|
90
91
|
type?: "png" | "svg" | "jpg" | "jpeg";
|
|
91
92
|
preset?: ImagePreset;
|
|
93
|
+
width?: number;
|
|
94
|
+
height?: number;
|
|
92
95
|
}
|
|
93
96
|
interface StatusTimeDisplay {
|
|
94
97
|
correct: boolean;
|
|
@@ -121,6 +124,8 @@ interface ContestOptions {
|
|
|
121
124
|
submission_has_reaction?: boolean;
|
|
122
125
|
has_reaction_videos?: boolean;
|
|
123
126
|
reaction_video_url_template?: string;
|
|
127
|
+
has_team_photos?: boolean;
|
|
128
|
+
team_photo_url_template?: Image;
|
|
124
129
|
}
|
|
125
130
|
type MedalPreset = "ccpc" | "icpc";
|
|
126
131
|
type BannerMode = "ONLY_BANNER" | "ALL";
|
|
@@ -274,6 +279,7 @@ interface Team {
|
|
|
274
279
|
unofficial?: boolean;
|
|
275
280
|
girl?: boolean;
|
|
276
281
|
badge?: Image;
|
|
282
|
+
photo?: Image;
|
|
277
283
|
location?: string;
|
|
278
284
|
icpc_id?: string;
|
|
279
285
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -86,9 +86,12 @@ interface Link {
|
|
|
86
86
|
}
|
|
87
87
|
interface Image {
|
|
88
88
|
url?: string;
|
|
89
|
+
mime?: string;
|
|
89
90
|
base64?: Base64;
|
|
90
91
|
type?: "png" | "svg" | "jpg" | "jpeg";
|
|
91
92
|
preset?: ImagePreset;
|
|
93
|
+
width?: number;
|
|
94
|
+
height?: number;
|
|
92
95
|
}
|
|
93
96
|
interface StatusTimeDisplay {
|
|
94
97
|
correct: boolean;
|
|
@@ -121,6 +124,8 @@ interface ContestOptions {
|
|
|
121
124
|
submission_has_reaction?: boolean;
|
|
122
125
|
has_reaction_videos?: boolean;
|
|
123
126
|
reaction_video_url_template?: string;
|
|
127
|
+
has_team_photos?: boolean;
|
|
128
|
+
team_photo_url_template?: Image;
|
|
124
129
|
}
|
|
125
130
|
type MedalPreset = "ccpc" | "icpc";
|
|
126
131
|
type BannerMode = "ONLY_BANNER" | "ALL";
|
|
@@ -274,6 +279,7 @@ interface Team {
|
|
|
274
279
|
unofficial?: boolean;
|
|
275
280
|
girl?: boolean;
|
|
276
281
|
badge?: Image;
|
|
282
|
+
photo?: Image;
|
|
277
283
|
location?: string;
|
|
278
284
|
icpc_id?: string;
|
|
279
285
|
}
|