Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamerblue committed Dec 10, 2023
1 parent b5814ba commit 90ba72f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 22 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"@algoux/standard-ranklist-convert-to": "^0.1.0",
"@algoux/standard-ranklist-renderer-component": "0.4.1",
"@algoux/standard-ranklist-renderer-component": "0.4.3",
"@algoux/standard-ranklist-utils": "^0.1.1",
"@ant-design/icons": "^4.7.0",
"@antv/g-lite": "^1.2.1",
Expand Down Expand Up @@ -52,7 +52,7 @@
"uuid": "^8.3.2"
},
"devDependencies": {
"@algoux/standard-ranklist": "^0.3.3",
"@algoux/standard-ranklist": "^0.3.4",
"@types/file-saver": "^2.0.5",
"@types/lodash-es": "^4.17.6",
"@types/punycode": "^2.1.0",
Expand Down
34 changes: 17 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions src/lib/srk-checker/index.d.ti.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as t from "ts-interface-checker";

export const Type = t.lit('general');

export const Version = t.lit('0.3.3');
export const Version = t.lit('0.3.4');

export const DatetimeISOString = t.name("string");

Expand Down Expand Up @@ -88,7 +88,7 @@ export const Problem = t.iface([], {

export const SolutionResultLite = t.union(t.lit('FB'), t.lit('AC'), t.lit('RJ'), t.lit('?'), "null");

export const SolutionResultFull = t.union("SolutionResultLite", t.lit('WA'), t.lit('PE'), t.lit('TLE'), t.lit('MLE'), t.lit('OLE'), t.lit('RTE'), t.lit('CE'), t.lit('UKE'));
export const SolutionResultFull = t.union("SolutionResultLite", t.lit('WA'), t.lit('PE'), t.lit('TLE'), t.lit('MLE'), t.lit('OLE'), t.lit('RTE'), t.lit('NOUT'), t.lit('CE'), t.lit('UKE'));

export const SolutionResultCustom = t.name("string");

Expand Down Expand Up @@ -200,7 +200,12 @@ export const SorterICPC = t.iface(["SorterBase"], {
}),
});

export const Sorter = t.name("SorterICPC");
export const SorterScore = t.iface(["SorterBase"], {
"algorithm": t.lit('score'),
"config": "any",
});

export const Sorter = t.union("SorterICPC", "SorterScore");

export const Ranklist = t.iface([], {
"type": t.union("Type", "string"),
Expand Down Expand Up @@ -259,6 +264,7 @@ const exportedTypeSuite: t.ITypeSuite = {
Marker,
SorterBase,
SorterICPC,
SorterScore,
Sorter,
Ranklist,
};
Expand Down

0 comments on commit 90ba72f

Please sign in to comment.