@xcpcio/core 0.83.1 → 0.83.2
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 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +2 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1184,6 +1184,7 @@ class Contest {
|
|
|
1184
1184
|
banner;
|
|
1185
1185
|
bannerMode;
|
|
1186
1186
|
boardLink;
|
|
1187
|
+
socialMedia;
|
|
1187
1188
|
options;
|
|
1188
1189
|
organizations;
|
|
1189
1190
|
constructor() {
|
|
@@ -1405,6 +1406,7 @@ function createContest(contestJSON) {
|
|
|
1405
1406
|
}
|
|
1406
1407
|
c.logo = contestJSON.logo;
|
|
1407
1408
|
c.boardLink = contestJSON.board_link;
|
|
1409
|
+
c.socialMedia = contestJSON.social_media;
|
|
1408
1410
|
if (contestJSON.options) {
|
|
1409
1411
|
c.options = createContestOptions(contestJSON.options);
|
|
1410
1412
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalculationOfPenalty, TimeUnit, Image, Lang, I18NStringSet, Text, Person as Person$1, Persons as Persons$1, Team as Team$1, Teams as Teams$1, Organization as Organization$1, Organizations as Organizations$1, StatusTimeDisplay, MedalPreset, BannerMode, ContestState, Contest as Contest$1, SubmissionReaction, SubmissionStatus, Submission as Submission$1, Submissions as Submissions$1, BalloonColor, Problem as Problem$1, Problems as Problems$1, ContestIndex as ContestIndex$1, IRatingHistory, IRatingUser, IRating } from '@xcpcio/types';
|
|
1
|
+
import { CalculationOfPenalty, TimeUnit, Image, Lang, I18NStringSet, Text, Person as Person$1, Persons as Persons$1, Team as Team$1, Teams as Teams$1, Organization as Organization$1, Organizations as Organizations$1, StatusTimeDisplay, MedalPreset, BannerMode, SocialMedia, ContestState, Contest as Contest$1, SubmissionReaction, SubmissionStatus, Submission as Submission$1, Submissions as Submissions$1, BalloonColor, Problem as Problem$1, Problems as Problems$1, ContestIndex as ContestIndex$1, IRatingHistory, IRatingUser, IRating } from '@xcpcio/types';
|
|
2
2
|
import dayjs from 'dayjs';
|
|
3
3
|
export { default as dayjs } from 'dayjs';
|
|
4
4
|
import * as XLSX from 'xlsx-js-style';
|
|
@@ -183,6 +183,7 @@ declare class Contest {
|
|
|
183
183
|
banner?: Image;
|
|
184
184
|
bannerMode?: BannerMode;
|
|
185
185
|
boardLink?: string;
|
|
186
|
+
socialMedia?: SocialMedia;
|
|
186
187
|
options: ContestOptions;
|
|
187
188
|
organizations?: Organizations;
|
|
188
189
|
constructor();
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalculationOfPenalty, TimeUnit, Image, Lang, I18NStringSet, Text, Person as Person$1, Persons as Persons$1, Team as Team$1, Teams as Teams$1, Organization as Organization$1, Organizations as Organizations$1, StatusTimeDisplay, MedalPreset, BannerMode, ContestState, Contest as Contest$1, SubmissionReaction, SubmissionStatus, Submission as Submission$1, Submissions as Submissions$1, BalloonColor, Problem as Problem$1, Problems as Problems$1, ContestIndex as ContestIndex$1, IRatingHistory, IRatingUser, IRating } from '@xcpcio/types';
|
|
1
|
+
import { CalculationOfPenalty, TimeUnit, Image, Lang, I18NStringSet, Text, Person as Person$1, Persons as Persons$1, Team as Team$1, Teams as Teams$1, Organization as Organization$1, Organizations as Organizations$1, StatusTimeDisplay, MedalPreset, BannerMode, SocialMedia, ContestState, Contest as Contest$1, SubmissionReaction, SubmissionStatus, Submission as Submission$1, Submissions as Submissions$1, BalloonColor, Problem as Problem$1, Problems as Problems$1, ContestIndex as ContestIndex$1, IRatingHistory, IRatingUser, IRating } from '@xcpcio/types';
|
|
2
2
|
import dayjs from 'dayjs';
|
|
3
3
|
export { default as dayjs } from 'dayjs';
|
|
4
4
|
import * as XLSX from 'xlsx-js-style';
|
|
@@ -183,6 +183,7 @@ declare class Contest {
|
|
|
183
183
|
banner?: Image;
|
|
184
184
|
bannerMode?: BannerMode;
|
|
185
185
|
boardLink?: string;
|
|
186
|
+
socialMedia?: SocialMedia;
|
|
186
187
|
options: ContestOptions;
|
|
187
188
|
organizations?: Organizations;
|
|
188
189
|
constructor();
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalculationOfPenalty, TimeUnit, Image, Lang, I18NStringSet, Text, Person as Person$1, Persons as Persons$1, Team as Team$1, Teams as Teams$1, Organization as Organization$1, Organizations as Organizations$1, StatusTimeDisplay, MedalPreset, BannerMode, ContestState, Contest as Contest$1, SubmissionReaction, SubmissionStatus, Submission as Submission$1, Submissions as Submissions$1, BalloonColor, Problem as Problem$1, Problems as Problems$1, ContestIndex as ContestIndex$1, IRatingHistory, IRatingUser, IRating } from '@xcpcio/types';
|
|
1
|
+
import { CalculationOfPenalty, TimeUnit, Image, Lang, I18NStringSet, Text, Person as Person$1, Persons as Persons$1, Team as Team$1, Teams as Teams$1, Organization as Organization$1, Organizations as Organizations$1, StatusTimeDisplay, MedalPreset, BannerMode, SocialMedia, ContestState, Contest as Contest$1, SubmissionReaction, SubmissionStatus, Submission as Submission$1, Submissions as Submissions$1, BalloonColor, Problem as Problem$1, Problems as Problems$1, ContestIndex as ContestIndex$1, IRatingHistory, IRatingUser, IRating } from '@xcpcio/types';
|
|
2
2
|
import dayjs from 'dayjs';
|
|
3
3
|
export { default as dayjs } from 'dayjs';
|
|
4
4
|
import * as XLSX from 'xlsx-js-style';
|
|
@@ -183,6 +183,7 @@ declare class Contest {
|
|
|
183
183
|
banner?: Image;
|
|
184
184
|
bannerMode?: BannerMode;
|
|
185
185
|
boardLink?: string;
|
|
186
|
+
socialMedia?: SocialMedia;
|
|
186
187
|
options: ContestOptions;
|
|
187
188
|
organizations?: Organizations;
|
|
188
189
|
constructor();
|
package/dist/index.mjs
CHANGED
|
@@ -1153,6 +1153,7 @@ class Contest {
|
|
|
1153
1153
|
banner;
|
|
1154
1154
|
bannerMode;
|
|
1155
1155
|
boardLink;
|
|
1156
|
+
socialMedia;
|
|
1156
1157
|
options;
|
|
1157
1158
|
organizations;
|
|
1158
1159
|
constructor() {
|
|
@@ -1374,6 +1375,7 @@ function createContest(contestJSON) {
|
|
|
1374
1375
|
}
|
|
1375
1376
|
c.logo = contestJSON.logo;
|
|
1376
1377
|
c.boardLink = contestJSON.board_link;
|
|
1378
|
+
c.socialMedia = contestJSON.social_media;
|
|
1377
1379
|
if (contestJSON.options) {
|
|
1378
1380
|
c.options = createContestOptions(contestJSON.options);
|
|
1379
1381
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xcpcio/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.83.
|
|
4
|
+
"version": "0.83.2",
|
|
5
5
|
"description": "The core library for XCPCIO",
|
|
6
6
|
"author": "Dup4 <hi@dup4.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"papaparse": "^5.5.3",
|
|
43
43
|
"string-width": "^8.1.0",
|
|
44
44
|
"xlsx-js-style": "^1.2.0",
|
|
45
|
-
"@xcpcio/types": "0.83.
|
|
45
|
+
"@xcpcio/types": "0.83.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/types": "^7.28.6",
|