Skip to content

Commit 90ba72f

Browse files
committed
feat: upgrade srk@0.3.4, renderer-component@0.4.3
1 parent b5814ba commit 90ba72f

File tree

3 files changed

+28
-22
lines changed

3 files changed

+28
-22
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"dependencies": {
2222
"@algoux/standard-ranklist-convert-to": "^0.1.0",
23-
"@algoux/standard-ranklist-renderer-component": "0.4.1",
23+
"@algoux/standard-ranklist-renderer-component": "0.4.3",
2424
"@algoux/standard-ranklist-utils": "^0.1.1",
2525
"@ant-design/icons": "^4.7.0",
2626
"@antv/g-lite": "^1.2.1",
@@ -52,7 +52,7 @@
5252
"uuid": "^8.3.2"
5353
},
5454
"devDependencies": {
55-
"@algoux/standard-ranklist": "^0.3.3",
55+
"@algoux/standard-ranklist": "^0.3.4",
5656
"@types/file-saver": "^2.0.5",
5757
"@types/lodash-es": "^4.17.6",
5858
"@types/punycode": "^2.1.0",

pnpm-lock.yaml

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/srk-checker/index.d.ti.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as t from "ts-interface-checker";
66

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

9-
export const Version = t.lit('0.3.3');
9+
export const Version = t.lit('0.3.4');
1010

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

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

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

91-
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'));
91+
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'));
9292

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

@@ -200,7 +200,12 @@ export const SorterICPC = t.iface(["SorterBase"], {
200200
}),
201201
});
202202

203-
export const Sorter = t.name("SorterICPC");
203+
export const SorterScore = t.iface(["SorterBase"], {
204+
"algorithm": t.lit('score'),
205+
"config": "any",
206+
});
207+
208+
export const Sorter = t.union("SorterICPC", "SorterScore");
204209

205210
export const Ranklist = t.iface([], {
206211
"type": t.union("Type", "string"),
@@ -259,6 +264,7 @@ const exportedTypeSuite: t.ITypeSuite = {
259264
Marker,
260265
SorterBase,
261266
SorterICPC,
267+
SorterScore,
262268
Sorter,
263269
Ranklist,
264270
};

0 commit comments

Comments
 (0)