@xcpcio/types 0.46.2 → 0.46.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.cjs +2 -2
- package/dist/index.d.ts +7 -3
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/rating.ts +5 -0
package/dist/index.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const VERSION = "0.46.
|
|
5
|
+
const VERSION = "0.46.3";
|
|
6
6
|
const GITHUB_URL = "https://github.com/xcpcio/xcpcio";
|
|
7
|
-
const GITHUB_SHA = "
|
|
7
|
+
const GITHUB_SHA = "95e64095c1";
|
|
8
8
|
|
|
9
9
|
var ContestState = /* @__PURE__ */ ((ContestState2) => {
|
|
10
10
|
ContestState2["PENDING"] = "PENDING";
|
package/dist/index.d.ts
CHANGED
|
@@ -87,9 +87,9 @@ interface StatusTimeDisplay {
|
|
|
87
87
|
}
|
|
88
88
|
type TimeUnit = "second" | "millisecond" | "microsecond" | "nanosecond";
|
|
89
89
|
|
|
90
|
-
declare const VERSION = "0.46.
|
|
90
|
+
declare const VERSION = "0.46.3";
|
|
91
91
|
declare const GITHUB_URL = "https://github.com/xcpcio/xcpcio";
|
|
92
|
-
declare const GITHUB_SHA = "
|
|
92
|
+
declare const GITHUB_SHA = "95e64095c1";
|
|
93
93
|
|
|
94
94
|
interface ContestIndexConfig {
|
|
95
95
|
contest_name: string;
|
|
@@ -158,6 +158,10 @@ interface IPerson {
|
|
|
158
158
|
}
|
|
159
159
|
type IPersons = Array<IPerson>;
|
|
160
160
|
|
|
161
|
+
interface IRatingIndex {
|
|
162
|
+
id: string;
|
|
163
|
+
name: string;
|
|
164
|
+
}
|
|
161
165
|
interface IRatingHistory {
|
|
162
166
|
rank: number;
|
|
163
167
|
rating: number;
|
|
@@ -261,4 +265,4 @@ interface Team {
|
|
|
261
265
|
}
|
|
262
266
|
type Teams = Array<Team> | Record<string, Team>;
|
|
263
267
|
|
|
264
|
-
export { BalloonColor, BannerMode, Base64, CalculationOfPenalty, Color, ColorHEX, ColorRGB, ColorRGBA, Contest, ContestIndex, ContestIndexConfig, ContestOptions, ContestState, Contributor, DateTimeISO8601String, GITHUB_SHA, GITHUB_URL, I18NStringSet, IPerson, IPersons, IRating, IRatingHistory, IRatingUser, Image, Lang, Link, LinkString, MedalPreset, Problem, Problems, StatusTimeDisplay, Style, Submission, SubmissionStatus, SubmissionStatusToSimpleString, SubmissionStatusToString, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, VERSION };
|
|
268
|
+
export { BalloonColor, BannerMode, Base64, CalculationOfPenalty, Color, ColorHEX, ColorRGB, ColorRGBA, Contest, ContestIndex, ContestIndexConfig, ContestOptions, ContestState, Contributor, DateTimeISO8601String, GITHUB_SHA, GITHUB_URL, I18NStringSet, IPerson, IPersons, IRating, IRatingHistory, IRatingIndex, IRatingUser, Image, Lang, Link, LinkString, MedalPreset, Problem, Problems, StatusTimeDisplay, Style, Submission, SubmissionStatus, SubmissionStatusToSimpleString, SubmissionStatusToString, Submissions, Team, Teams, Text, ThemeColor, TimeUnit, VERSION };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const VERSION = "0.46.
|
|
1
|
+
const VERSION = "0.46.3";
|
|
2
2
|
const GITHUB_URL = "https://github.com/xcpcio/xcpcio";
|
|
3
|
-
const GITHUB_SHA = "
|
|
3
|
+
const GITHUB_SHA = "95e64095c1";
|
|
4
4
|
|
|
5
5
|
var ContestState = /* @__PURE__ */ ((ContestState2) => {
|
|
6
6
|
ContestState2["PENDING"] = "PENDING";
|
package/package.json
CHANGED