@xcpcio/core 0.78.3 → 0.78.4
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 +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +2 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1790,6 +1790,7 @@ class Organization {
|
|
|
1790
1790
|
id;
|
|
1791
1791
|
name;
|
|
1792
1792
|
logo;
|
|
1793
|
+
icpcID;
|
|
1793
1794
|
// Teams belonging to this organization
|
|
1794
1795
|
teams;
|
|
1795
1796
|
rank;
|
|
@@ -1816,6 +1817,7 @@ function createOrganization(orgJSON) {
|
|
|
1816
1817
|
org.id = orgJSON.id;
|
|
1817
1818
|
org.name = I18nText.fromIText(orgJSON.name);
|
|
1818
1819
|
org.logo = orgJSON.logo;
|
|
1820
|
+
org.icpcID = orgJSON.icpc_id;
|
|
1819
1821
|
return org;
|
|
1820
1822
|
}
|
|
1821
1823
|
function createOrganizations(orgsJSON) {
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1759,6 +1759,7 @@ class Organization {
|
|
|
1759
1759
|
id;
|
|
1760
1760
|
name;
|
|
1761
1761
|
logo;
|
|
1762
|
+
icpcID;
|
|
1762
1763
|
// Teams belonging to this organization
|
|
1763
1764
|
teams;
|
|
1764
1765
|
rank;
|
|
@@ -1785,6 +1786,7 @@ function createOrganization(orgJSON) {
|
|
|
1785
1786
|
org.id = orgJSON.id;
|
|
1786
1787
|
org.name = I18nText.fromIText(orgJSON.name);
|
|
1787
1788
|
org.logo = orgJSON.logo;
|
|
1789
|
+
org.icpcID = orgJSON.icpc_id;
|
|
1788
1790
|
return org;
|
|
1789
1791
|
}
|
|
1790
1792
|
function createOrganizations(orgsJSON) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xcpcio/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.78.
|
|
4
|
+
"version": "0.78.4",
|
|
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.78.
|
|
45
|
+
"@xcpcio/types": "0.78.4"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/types": "^7.28.6",
|