@xcpcio/types 0.5.2 → 0.5.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 +5 -3
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/lang.ts +1 -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.5.
|
|
5
|
+
const VERSION = "0.5.2";
|
|
6
6
|
const GITHUB_URL = "https://github.com/xcpcio/xcpcio";
|
|
7
|
-
const GITHUB_SHA = "
|
|
7
|
+
const GITHUB_SHA = "e69472bc86";
|
|
8
8
|
|
|
9
9
|
var ContestState = /* @__PURE__ */ ((ContestState2) => {
|
|
10
10
|
ContestState2["PENDING"] = "PENDING";
|
package/dist/index.d.ts
CHANGED
|
@@ -85,9 +85,9 @@ interface StatusTimeDisplay {
|
|
|
85
85
|
pending: boolean;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
declare const VERSION = "0.5.
|
|
88
|
+
declare const VERSION = "0.5.2";
|
|
89
89
|
declare const GITHUB_URL = "https://github.com/xcpcio/xcpcio";
|
|
90
|
-
declare const GITHUB_SHA = "
|
|
90
|
+
declare const GITHUB_SHA = "e69472bc86";
|
|
91
91
|
|
|
92
92
|
interface ContestIndexConfig {
|
|
93
93
|
contest_name: string;
|
|
@@ -139,6 +139,8 @@ interface Contest {
|
|
|
139
139
|
version?: string;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
+
type Lang = "en" | "zh-CN";
|
|
143
|
+
|
|
142
144
|
declare enum SubmissionStatus {
|
|
143
145
|
PENDING = "PENDING",
|
|
144
146
|
WAITING = "WAITING",
|
|
@@ -196,4 +198,4 @@ interface Team {
|
|
|
196
198
|
}
|
|
197
199
|
type Teams = Array<Team> | Record<string, Team>;
|
|
198
200
|
|
|
199
|
-
export { BalloonColor, Base64, Color, ColorHEX, ColorRGB, ColorRGBA, Contest, ContestIndex, ContestIndexConfig, ContestState, Contributor, DateTimeISO8601String, GITHUB_SHA, GITHUB_URL, I18NStringSet, Image, Link, LinkString, Problem, Problems, StatusTimeDisplay, Style, Submission, SubmissionStatus, Submissions, Team, Teams, Text, ThemeColor, VERSION };
|
|
201
|
+
export { BalloonColor, Base64, Color, ColorHEX, ColorRGB, ColorRGBA, Contest, ContestIndex, ContestIndexConfig, ContestState, Contributor, DateTimeISO8601String, GITHUB_SHA, GITHUB_URL, I18NStringSet, Image, Lang, Link, LinkString, Problem, Problems, StatusTimeDisplay, Style, Submission, SubmissionStatus, Submissions, Team, Teams, Text, ThemeColor, VERSION };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const VERSION = "0.5.
|
|
1
|
+
const VERSION = "0.5.2";
|
|
2
2
|
const GITHUB_URL = "https://github.com/xcpcio/xcpcio";
|
|
3
|
-
const GITHUB_SHA = "
|
|
3
|
+
const GITHUB_SHA = "e69472bc86";
|
|
4
4
|
|
|
5
5
|
var ContestState = /* @__PURE__ */ ((ContestState2) => {
|
|
6
6
|
ContestState2["PENDING"] = "PENDING";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/lang.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Lang = "en" | "zh-CN";
|