@euler-edu/schema 7.0.8 → 7.0.9
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/lib/.tsbuildinfo +1 -1
- package/lib/endpoints/index.d.ts +313 -9
- package/lib/endpoints/oj-api/index.d.ts +313 -9
- package/lib/endpoints/oj-api/problem.atom.d.ts +78 -2
- package/lib/endpoints/oj-api/problem.atom.js +2 -1
- package/lib/endpoints/oj-api/problem.atom.js.map +1 -1
- package/lib/endpoints/oj-api/problem.endpoint.d.ts +235 -7
- package/lib/endpoints/oj-api/problem.endpoint.js +1 -1
- package/lib/endpoints/oj-api/problem.endpoint.js.map +1 -1
- package/package.json +2 -2
|
@@ -15,7 +15,83 @@ declare const _default: {
|
|
|
15
15
|
problems: z.ZodArray<z.ZodObject<{
|
|
16
16
|
id: z.ZodString;
|
|
17
17
|
title: z.ZodString;
|
|
18
|
-
tags: z.ZodArray<z.
|
|
18
|
+
tags: z.ZodArray<z.ZodEnum<{
|
|
19
|
+
string: "string";
|
|
20
|
+
pattern: "pattern";
|
|
21
|
+
set: "set";
|
|
22
|
+
books: "books";
|
|
23
|
+
algorithms: "algorithms";
|
|
24
|
+
sources: "sources";
|
|
25
|
+
nosolve: "nosolve";
|
|
26
|
+
youtube: "youtube";
|
|
27
|
+
blog: "blog";
|
|
28
|
+
spj: "spj";
|
|
29
|
+
bookmark: "bookmark";
|
|
30
|
+
try: "try";
|
|
31
|
+
basic: "basic";
|
|
32
|
+
sorting: "sorting";
|
|
33
|
+
directionCheck: "directionCheck";
|
|
34
|
+
recursion: "recursion";
|
|
35
|
+
divideAndConquer: "divideAndConquer";
|
|
36
|
+
backTracking: "backTracking";
|
|
37
|
+
stack: "stack";
|
|
38
|
+
queue: "queue";
|
|
39
|
+
dfs: "dfs";
|
|
40
|
+
bfs: "bfs";
|
|
41
|
+
bfsShortsPath: "bfsShortsPath";
|
|
42
|
+
floodFill: "floodFill";
|
|
43
|
+
greedy: "greedy";
|
|
44
|
+
scanning: "scanning";
|
|
45
|
+
binarySearch: "binarySearch";
|
|
46
|
+
parametricSearch: "parametricSearch";
|
|
47
|
+
math: "math";
|
|
48
|
+
bruteForce: "bruteForce";
|
|
49
|
+
rotation: "rotation";
|
|
50
|
+
eulerTour: "eulerTour";
|
|
51
|
+
tsp: "tsp";
|
|
52
|
+
carlender: "carlender";
|
|
53
|
+
lis: "lis";
|
|
54
|
+
knapsack: "knapsack";
|
|
55
|
+
mincoin: "mincoin";
|
|
56
|
+
lcs: "lcs";
|
|
57
|
+
dijkstra: "dijkstra";
|
|
58
|
+
floydWarshall: "floydWarshall";
|
|
59
|
+
prim: "prim";
|
|
60
|
+
topologicalSort: "topologicalSort";
|
|
61
|
+
unionFind: "unionFind";
|
|
62
|
+
Dynamic: "Dynamic";
|
|
63
|
+
numberOfTheory: "numberOfTheory";
|
|
64
|
+
priorityQueue: "priorityQueue";
|
|
65
|
+
segmentTree: "segmentTree";
|
|
66
|
+
networkFlow: "networkFlow";
|
|
67
|
+
bitMask: "bitMask";
|
|
68
|
+
geometry: "geometry";
|
|
69
|
+
convexHull: "convexHull";
|
|
70
|
+
bigNumber: "bigNumber";
|
|
71
|
+
bellmanFord: "bellmanFord";
|
|
72
|
+
planeSweeping: "planeSweeping";
|
|
73
|
+
dataStructure: "dataStructure";
|
|
74
|
+
gets: "gets";
|
|
75
|
+
shape: "shape";
|
|
76
|
+
regulation: "regulation";
|
|
77
|
+
convexHullTrick: "convexHullTrick";
|
|
78
|
+
DnCOptimization: "DnCOptimization";
|
|
79
|
+
dijkstraHeap: "dijkstraHeap";
|
|
80
|
+
hash: "hash";
|
|
81
|
+
koi: "koi";
|
|
82
|
+
ioi: "ioi";
|
|
83
|
+
apio: "apio";
|
|
84
|
+
ceoi: "ceoi";
|
|
85
|
+
balticOI: "balticOI";
|
|
86
|
+
balkanOI: "balkanOI";
|
|
87
|
+
icpc: "icpc";
|
|
88
|
+
stone: "stone";
|
|
89
|
+
iron: "iron";
|
|
90
|
+
bronze: "bronze";
|
|
91
|
+
silver: "silver";
|
|
92
|
+
gold: "gold";
|
|
93
|
+
platinum: "platinum";
|
|
94
|
+
}>>;
|
|
19
95
|
solvesCount: z.ZodNumber;
|
|
20
96
|
submitsCount: z.ZodNumber;
|
|
21
97
|
}, z.core.$strip>>;
|
|
@@ -31,6 +107,9 @@ declare const _default: {
|
|
|
31
107
|
numberGroup: z.ZodOptional<z.ZodString>;
|
|
32
108
|
search: z.ZodOptional<z.ZodString>;
|
|
33
109
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
110
|
+
stone: "stone";
|
|
111
|
+
iron: "iron";
|
|
112
|
+
bronze: "bronze";
|
|
34
113
|
"createdAt-asc": "createdAt-asc";
|
|
35
114
|
"createdAt-desc": "createdAt-desc";
|
|
36
115
|
"id-asc": "id-asc";
|
|
@@ -39,9 +118,6 @@ declare const _default: {
|
|
|
39
118
|
"title-desc": "title-desc";
|
|
40
119
|
"solvesCount-asc": "solvesCount-asc";
|
|
41
120
|
"solvesCount-desc": "solvesCount-desc";
|
|
42
|
-
stone: "stone";
|
|
43
|
-
iron: "iron";
|
|
44
|
-
bronze: "bronze";
|
|
45
121
|
}>>;
|
|
46
122
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
47
123
|
onePageLength: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -63,7 +139,83 @@ declare const _default: {
|
|
|
63
139
|
title: z.ZodString;
|
|
64
140
|
isViewable: z.ZodBoolean;
|
|
65
141
|
isSubmitable: z.ZodBoolean;
|
|
66
|
-
tags: z.ZodArray<z.
|
|
142
|
+
tags: z.ZodArray<z.ZodEnum<{
|
|
143
|
+
string: "string";
|
|
144
|
+
pattern: "pattern";
|
|
145
|
+
set: "set";
|
|
146
|
+
books: "books";
|
|
147
|
+
algorithms: "algorithms";
|
|
148
|
+
sources: "sources";
|
|
149
|
+
nosolve: "nosolve";
|
|
150
|
+
youtube: "youtube";
|
|
151
|
+
blog: "blog";
|
|
152
|
+
spj: "spj";
|
|
153
|
+
bookmark: "bookmark";
|
|
154
|
+
try: "try";
|
|
155
|
+
basic: "basic";
|
|
156
|
+
sorting: "sorting";
|
|
157
|
+
directionCheck: "directionCheck";
|
|
158
|
+
recursion: "recursion";
|
|
159
|
+
divideAndConquer: "divideAndConquer";
|
|
160
|
+
backTracking: "backTracking";
|
|
161
|
+
stack: "stack";
|
|
162
|
+
queue: "queue";
|
|
163
|
+
dfs: "dfs";
|
|
164
|
+
bfs: "bfs";
|
|
165
|
+
bfsShortsPath: "bfsShortsPath";
|
|
166
|
+
floodFill: "floodFill";
|
|
167
|
+
greedy: "greedy";
|
|
168
|
+
scanning: "scanning";
|
|
169
|
+
binarySearch: "binarySearch";
|
|
170
|
+
parametricSearch: "parametricSearch";
|
|
171
|
+
math: "math";
|
|
172
|
+
bruteForce: "bruteForce";
|
|
173
|
+
rotation: "rotation";
|
|
174
|
+
eulerTour: "eulerTour";
|
|
175
|
+
tsp: "tsp";
|
|
176
|
+
carlender: "carlender";
|
|
177
|
+
lis: "lis";
|
|
178
|
+
knapsack: "knapsack";
|
|
179
|
+
mincoin: "mincoin";
|
|
180
|
+
lcs: "lcs";
|
|
181
|
+
dijkstra: "dijkstra";
|
|
182
|
+
floydWarshall: "floydWarshall";
|
|
183
|
+
prim: "prim";
|
|
184
|
+
topologicalSort: "topologicalSort";
|
|
185
|
+
unionFind: "unionFind";
|
|
186
|
+
Dynamic: "Dynamic";
|
|
187
|
+
numberOfTheory: "numberOfTheory";
|
|
188
|
+
priorityQueue: "priorityQueue";
|
|
189
|
+
segmentTree: "segmentTree";
|
|
190
|
+
networkFlow: "networkFlow";
|
|
191
|
+
bitMask: "bitMask";
|
|
192
|
+
geometry: "geometry";
|
|
193
|
+
convexHull: "convexHull";
|
|
194
|
+
bigNumber: "bigNumber";
|
|
195
|
+
bellmanFord: "bellmanFord";
|
|
196
|
+
planeSweeping: "planeSweeping";
|
|
197
|
+
dataStructure: "dataStructure";
|
|
198
|
+
gets: "gets";
|
|
199
|
+
shape: "shape";
|
|
200
|
+
regulation: "regulation";
|
|
201
|
+
convexHullTrick: "convexHullTrick";
|
|
202
|
+
DnCOptimization: "DnCOptimization";
|
|
203
|
+
dijkstraHeap: "dijkstraHeap";
|
|
204
|
+
hash: "hash";
|
|
205
|
+
koi: "koi";
|
|
206
|
+
ioi: "ioi";
|
|
207
|
+
apio: "apio";
|
|
208
|
+
ceoi: "ceoi";
|
|
209
|
+
balticOI: "balticOI";
|
|
210
|
+
balkanOI: "balkanOI";
|
|
211
|
+
icpc: "icpc";
|
|
212
|
+
stone: "stone";
|
|
213
|
+
iron: "iron";
|
|
214
|
+
bronze: "bronze";
|
|
215
|
+
silver: "silver";
|
|
216
|
+
gold: "gold";
|
|
217
|
+
platinum: "platinum";
|
|
218
|
+
}>>;
|
|
67
219
|
youtubeUrl: z.ZodOptional<z.ZodString>;
|
|
68
220
|
blogUrl: z.ZodOptional<z.ZodString>;
|
|
69
221
|
samples: z.ZodArray<z.ZodObject<{
|
|
@@ -81,8 +233,8 @@ declare const _default: {
|
|
|
81
233
|
"Standard Output": "Standard Output";
|
|
82
234
|
}>;
|
|
83
235
|
scoringmethod: z.ZodEnum<{
|
|
84
|
-
"exact-match": "exact-match";
|
|
85
236
|
spj: "spj";
|
|
237
|
+
"exact-match": "exact-match";
|
|
86
238
|
}>;
|
|
87
239
|
createdAt: z.ZodISODateTime;
|
|
88
240
|
}, z.core.$strip>;
|
|
@@ -255,7 +407,83 @@ declare const _default: {
|
|
|
255
407
|
readonly base: "oj-api";
|
|
256
408
|
readonly method: "get";
|
|
257
409
|
readonly path: () => string;
|
|
258
|
-
readonly data: z.ZodRecord<z.
|
|
410
|
+
readonly data: z.ZodRecord<z.ZodEnum<{
|
|
411
|
+
string: "string";
|
|
412
|
+
pattern: "pattern";
|
|
413
|
+
set: "set";
|
|
414
|
+
books: "books";
|
|
415
|
+
algorithms: "algorithms";
|
|
416
|
+
sources: "sources";
|
|
417
|
+
nosolve: "nosolve";
|
|
418
|
+
youtube: "youtube";
|
|
419
|
+
blog: "blog";
|
|
420
|
+
spj: "spj";
|
|
421
|
+
bookmark: "bookmark";
|
|
422
|
+
try: "try";
|
|
423
|
+
basic: "basic";
|
|
424
|
+
sorting: "sorting";
|
|
425
|
+
directionCheck: "directionCheck";
|
|
426
|
+
recursion: "recursion";
|
|
427
|
+
divideAndConquer: "divideAndConquer";
|
|
428
|
+
backTracking: "backTracking";
|
|
429
|
+
stack: "stack";
|
|
430
|
+
queue: "queue";
|
|
431
|
+
dfs: "dfs";
|
|
432
|
+
bfs: "bfs";
|
|
433
|
+
bfsShortsPath: "bfsShortsPath";
|
|
434
|
+
floodFill: "floodFill";
|
|
435
|
+
greedy: "greedy";
|
|
436
|
+
scanning: "scanning";
|
|
437
|
+
binarySearch: "binarySearch";
|
|
438
|
+
parametricSearch: "parametricSearch";
|
|
439
|
+
math: "math";
|
|
440
|
+
bruteForce: "bruteForce";
|
|
441
|
+
rotation: "rotation";
|
|
442
|
+
eulerTour: "eulerTour";
|
|
443
|
+
tsp: "tsp";
|
|
444
|
+
carlender: "carlender";
|
|
445
|
+
lis: "lis";
|
|
446
|
+
knapsack: "knapsack";
|
|
447
|
+
mincoin: "mincoin";
|
|
448
|
+
lcs: "lcs";
|
|
449
|
+
dijkstra: "dijkstra";
|
|
450
|
+
floydWarshall: "floydWarshall";
|
|
451
|
+
prim: "prim";
|
|
452
|
+
topologicalSort: "topologicalSort";
|
|
453
|
+
unionFind: "unionFind";
|
|
454
|
+
Dynamic: "Dynamic";
|
|
455
|
+
numberOfTheory: "numberOfTheory";
|
|
456
|
+
priorityQueue: "priorityQueue";
|
|
457
|
+
segmentTree: "segmentTree";
|
|
458
|
+
networkFlow: "networkFlow";
|
|
459
|
+
bitMask: "bitMask";
|
|
460
|
+
geometry: "geometry";
|
|
461
|
+
convexHull: "convexHull";
|
|
462
|
+
bigNumber: "bigNumber";
|
|
463
|
+
bellmanFord: "bellmanFord";
|
|
464
|
+
planeSweeping: "planeSweeping";
|
|
465
|
+
dataStructure: "dataStructure";
|
|
466
|
+
gets: "gets";
|
|
467
|
+
shape: "shape";
|
|
468
|
+
regulation: "regulation";
|
|
469
|
+
convexHullTrick: "convexHullTrick";
|
|
470
|
+
DnCOptimization: "DnCOptimization";
|
|
471
|
+
dijkstraHeap: "dijkstraHeap";
|
|
472
|
+
hash: "hash";
|
|
473
|
+
koi: "koi";
|
|
474
|
+
ioi: "ioi";
|
|
475
|
+
apio: "apio";
|
|
476
|
+
ceoi: "ceoi";
|
|
477
|
+
balticOI: "balticOI";
|
|
478
|
+
balkanOI: "balkanOI";
|
|
479
|
+
icpc: "icpc";
|
|
480
|
+
stone: "stone";
|
|
481
|
+
iron: "iron";
|
|
482
|
+
bronze: "bronze";
|
|
483
|
+
silver: "silver";
|
|
484
|
+
gold: "gold";
|
|
485
|
+
platinum: "platinum";
|
|
486
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
259
487
|
problemIds: z.ZodArray<z.ZodString>;
|
|
260
488
|
}, z.core.$strip>>;
|
|
261
489
|
};
|
|
@@ -152,7 +152,7 @@ exports.default = {
|
|
|
152
152
|
base: 'oj-api',
|
|
153
153
|
method: 'get',
|
|
154
154
|
path: () => `/tags`,
|
|
155
|
-
data: zod_1.z.
|
|
155
|
+
data: zod_1.z.partialRecord(problem_atom_1.problemAtom.tag, zod_1.z.object({
|
|
156
156
|
problemIds: zod_1.z.array(problem_atom_1.problemAtom.id),
|
|
157
157
|
})),
|
|
158
158
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"problem.endpoint.js","sourceRoot":"","sources":["../../../src/endpoints/oj-api/problem.endpoint.ts"],"names":[],"mappings":";;AACA,6BAAwB;AAExB,+DAA2D;AAE3D,iDAA6C;AAE7C,MAAM,EAAE,MAAM,EAAE,GAAG,0BAAW,CAAC;AAE/B,kBAAe;IACb,GAAG,EAAE;QACH,MAAM;QACN,SAAS,EAAE;YACT,OAAO,EA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C,CAAC,KAAK,CAAC,0BAAW,CAAC,QAAQ,CAAC;KACpC;IACD,qBAAqB,EAAE;QACrB,MAAM;QACN,SAAS,EAAE;YACT,OAAO,EAAE,gBAAgB;SAC1B;QACD,IAAI,EAAE,QAAiB;QACvB,MAAM,EAAE,KAAc;QACtB,IAAI,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,yBAAyB,EAAE,EAAE;QACnD,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,0BAAW,CAAC,cAAc,CAAC;KAC1C;IACD,eAAe,EAAE;QACf,MAAM;QACN,SAAS,EAAE;YACT,OAAO,EAAE,aAAa;SACvB;QACD,IAAI,EAAE,QAAiB;QACvB,MAAM,EAAE,KAAc;QACtB,IAAI,EAAE,GAAG,EAAE,CAAC,UAAU;QACtB,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,0BAAW,CAAC,WAAW,CAAC;KACvC;IACD,OAAO,EAAE;QACP,MAAM;QACN,SAAS,EAAE;YACT,OAAO,EAAE,UAAU;SACpB;QACD,IAAI,EAAE,QAAiB;QACvB,MAAM,EAAE,KAAc;QACtB,IAAI,EAAE,GAAG,EAAE,CAAC,OAAO;QACnB,IAAI,EAAE,OAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"problem.endpoint.js","sourceRoot":"","sources":["../../../src/endpoints/oj-api/problem.endpoint.ts"],"names":[],"mappings":";;AACA,6BAAwB;AAExB,+DAA2D;AAE3D,iDAA6C;AAE7C,MAAM,EAAE,MAAM,EAAE,GAAG,0BAAW,CAAC;AAE/B,kBAAe;IACb,GAAG,EAAE;QACH,MAAM;QACN,SAAS,EAAE;YACT,OAAO,EAAE,OAAO;SACjB;QACD,IAAI,EAAE;YACJ,aAAa,EAAE,CAAC;SACjB;QACD,IAAI,EAAE,QAAiB;QACvB,MAAM,EAAE,KAAc;QACtB,IAAI,EAAE,GAAG,EAAE,CAAC,GAAG;QACf,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC;YACb,QAAQ,EAAE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;SACrB;QACD,IAAI,EAAE,QAAiB;QACvB,MAAM,EAAE,KAAc;QACtB,IAAI,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,eAAe,EAAE,EAAE;KAC1C;IACD,eAAe,EAAE;QACf,MAAM;QACN,SAAS,EAAE;YACT,OAAO,EAAE,gBAAgB;YACzB,cAAc,EAAE,IAAI;SACrB;QACD,IAAI,EAAE,QAAiB;QACvB,MAAM,EAAE,KAAc;QACtB,IAAI,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,kBAAkB,EAAE,EAAE;KAC7C;CAC0C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@euler-edu/schema",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"author": "Geon Kim",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "^4.4.3",
|
|
22
|
-
"@euler-edu/constant": "7.0.
|
|
22
|
+
"@euler-edu/constant": "7.0.9"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"lib"
|