@euler-edu/schema 0.0.0-stage → 7.0.1-beta0
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 -0
- package/lib/auths/index.d.ts +49 -0
- package/lib/auths/index.js +49 -0
- package/lib/auths/index.js.map +1 -0
- package/lib/configs/index.d.ts +2 -0
- package/lib/configs/index.js +19 -0
- package/lib/configs/index.js.map +1 -0
- package/lib/configs/oj-envConfig/index.d.ts +143 -0
- package/lib/configs/oj-envConfig/index.js +35 -0
- package/lib/configs/oj-envConfig/index.js.map +1 -0
- package/lib/configs/style/index.d.ts +53 -0
- package/lib/configs/style/index.js +46 -0
- package/lib/configs/style/index.js.map +1 -0
- package/lib/endpoints/index.d.ts +2586 -0
- package/lib/endpoints/index.js +11 -0
- package/lib/endpoints/index.js.map +1 -0
- package/lib/endpoints/oj-api/auth.atom.d.ts +10 -0
- package/lib/endpoints/oj-api/auth.atom.js +26 -0
- package/lib/endpoints/oj-api/auth.atom.js.map +1 -0
- package/lib/endpoints/oj-api/auth.endpoint.d.ts +105 -0
- package/lib/endpoints/oj-api/auth.endpoint.js +118 -0
- package/lib/endpoints/oj-api/auth.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/contest.atom.d.ts +23 -0
- package/lib/endpoints/oj-api/contest.atom.js +20 -0
- package/lib/endpoints/oj-api/contest.atom.js.map +1 -0
- package/lib/endpoints/oj-api/contest.endpoint.d.ts +53 -0
- package/lib/endpoints/oj-api/contest.endpoint.js +49 -0
- package/lib/endpoints/oj-api/contest.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/index.d.ts +2523 -0
- package/lib/endpoints/oj-api/index.js +58 -0
- package/lib/endpoints/oj-api/index.js.map +1 -0
- package/lib/endpoints/oj-api/mail.atom.d.ts +12 -0
- package/lib/endpoints/oj-api/mail.atom.js +14 -0
- package/lib/endpoints/oj-api/mail.atom.js.map +1 -0
- package/lib/endpoints/oj-api/mail.endpoint.d.ts +48 -0
- package/lib/endpoints/oj-api/mail.endpoint.js +50 -0
- package/lib/endpoints/oj-api/mail.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/problem.atom.d.ts +120 -0
- package/lib/endpoints/oj-api/problem.atom.js +164 -0
- package/lib/endpoints/oj-api/problem.atom.js.map +1 -0
- package/lib/endpoints/oj-api/problem.endpoint.d.ts +291 -0
- package/lib/endpoints/oj-api/problem.endpoint.js +199 -0
- package/lib/endpoints/oj-api/problem.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/rank.atom.d.ts +5 -0
- package/lib/endpoints/oj-api/rank.atom.js +9 -0
- package/lib/endpoints/oj-api/rank.atom.js.map +1 -0
- package/lib/endpoints/oj-api/rank.endpoint.d.ts +54 -0
- package/lib/endpoints/oj-api/rank.endpoint.js +59 -0
- package/lib/endpoints/oj-api/rank.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/record.atom.d.ts +31 -0
- package/lib/endpoints/oj-api/record.atom.js +12 -0
- package/lib/endpoints/oj-api/record.atom.js.map +1 -0
- package/lib/endpoints/oj-api/record.endpoint.d.ts +107 -0
- package/lib/endpoints/oj-api/record.endpoint.js +87 -0
- package/lib/endpoints/oj-api/record.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/run.atom.d.ts +29 -0
- package/lib/endpoints/oj-api/run.atom.js +22 -0
- package/lib/endpoints/oj-api/run.atom.js.map +1 -0
- package/lib/endpoints/oj-api/run.endpoint.d.ts +59 -0
- package/lib/endpoints/oj-api/run.endpoint.js +50 -0
- package/lib/endpoints/oj-api/run.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/scoringRequest.atom.d.ts +24 -0
- package/lib/endpoints/oj-api/scoringRequest.atom.js +21 -0
- package/lib/endpoints/oj-api/scoringRequest.atom.js.map +1 -0
- package/lib/endpoints/oj-api/scoringRequest.endpoint.d.ts +47 -0
- package/lib/endpoints/oj-api/scoringRequest.endpoint.js +37 -0
- package/lib/endpoints/oj-api/scoringRequest.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/scoringServer.atom.d.ts +10 -0
- package/lib/endpoints/oj-api/scoringServer.atom.js +18 -0
- package/lib/endpoints/oj-api/scoringServer.atom.js.map +1 -0
- package/lib/endpoints/oj-api/scoringServer.endpoint.d.ts +21 -0
- package/lib/endpoints/oj-api/scoringServer.endpoint.js +25 -0
- package/lib/endpoints/oj-api/scoringServer.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/source.atom.d.ts +10 -0
- package/lib/endpoints/oj-api/source.atom.js +22 -0
- package/lib/endpoints/oj-api/source.atom.js.map +1 -0
- package/lib/endpoints/oj-api/source.endpoint.d.ts +98 -0
- package/lib/endpoints/oj-api/source.endpoint.js +72 -0
- package/lib/endpoints/oj-api/source.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/submit.atom.d.ts +62 -0
- package/lib/endpoints/oj-api/submit.atom.js +40 -0
- package/lib/endpoints/oj-api/submit.atom.js.map +1 -0
- package/lib/endpoints/oj-api/submit.endpoint.d.ts +236 -0
- package/lib/endpoints/oj-api/submit.endpoint.js +162 -0
- package/lib/endpoints/oj-api/submit.endpoint.js.map +1 -0
- package/lib/endpoints/oj-api/user.atom.d.ts +220 -0
- package/lib/endpoints/oj-api/user.atom.js +74 -0
- package/lib/endpoints/oj-api/user.atom.js.map +1 -0
- package/lib/endpoints/oj-api/user.endpoint.d.ts +879 -0
- package/lib/endpoints/oj-api/user.endpoint.js +502 -0
- package/lib/endpoints/oj-api/user.endpoint.js.map +1 -0
- package/lib/endpoints/oj-archives/index.d.ts +51 -0
- package/lib/endpoints/oj-archives/index.js +47 -0
- package/lib/endpoints/oj-archives/index.js.map +1 -0
- package/lib/endpoints/oj-problemContents/index.d.ts +15 -0
- package/lib/endpoints/oj-problemContents/index.js +17 -0
- package/lib/endpoints/oj-problemContents/index.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +6 -0
- package/lib/index.js.map +1 -0
- package/lib/queues/index.d.ts +12 -0
- package/lib/queues/index.js +11 -0
- package/lib/queues/index.js.map +1 -0
- package/lib/queues/oj-clientSocketEventQueue.d.ts +12 -0
- package/lib/queues/oj-clientSocketEventQueue.js +16 -0
- package/lib/queues/oj-clientSocketEventQueue.js.map +1 -0
- package/lib/sockets/index.d.ts +34 -0
- package/lib/sockets/index.js +13 -0
- package/lib/sockets/index.js.map +1 -0
- package/lib/sockets/oj-socket/index.d.ts +18 -0
- package/lib/sockets/oj-socket/index.js +21 -0
- package/lib/sockets/oj-socket/index.js.map +1 -0
- package/lib/sockets/oj-web/index.d.ts +18 -0
- package/lib/sockets/oj-web/index.js +21 -0
- package/lib/sockets/oj-web/index.js.map +1 -0
- package/lib/types/index.d.ts +28 -0
- package/lib/types/index.js +3 -0
- package/lib/types/index.js.map +1 -0
- package/package.json +30 -3
- package/README.md +0 -3
|
@@ -0,0 +1,2586 @@
|
|
|
1
|
+
export declare const endpoints: {
|
|
2
|
+
ojApi: {
|
|
3
|
+
atoms: {
|
|
4
|
+
auth: {
|
|
5
|
+
prefix: string;
|
|
6
|
+
id: import("zod").ZodString;
|
|
7
|
+
password: import("zod").ZodString;
|
|
8
|
+
accessToken: import("zod").ZodString;
|
|
9
|
+
refreshToken: import("zod").ZodString;
|
|
10
|
+
tempAccessToken: import("zod").ZodString;
|
|
11
|
+
accessTokenExpiredAt: import("zod").ZodISODateTime;
|
|
12
|
+
};
|
|
13
|
+
contest: {
|
|
14
|
+
prefix: string;
|
|
15
|
+
id: import("zod").ZodString;
|
|
16
|
+
pastContestId: import("zod").ZodString;
|
|
17
|
+
title: import("zod").ZodString;
|
|
18
|
+
rankType: import("zod").ZodEnum<{
|
|
19
|
+
"acm-icpc": "acm-icpc";
|
|
20
|
+
}>;
|
|
21
|
+
joinType: import("zod").ZodEnum<{
|
|
22
|
+
public: "public";
|
|
23
|
+
}>;
|
|
24
|
+
participantsCount: import("zod").ZodNumber;
|
|
25
|
+
timeStart: import("zod").ZodISODateTime;
|
|
26
|
+
timeEnd: import("zod").ZodISODateTime;
|
|
27
|
+
tag: import("zod").ZodEnum<{
|
|
28
|
+
end: "end";
|
|
29
|
+
ready: "ready";
|
|
30
|
+
ongoing: "ongoing";
|
|
31
|
+
joined: "joined";
|
|
32
|
+
manager: "manager";
|
|
33
|
+
}>;
|
|
34
|
+
};
|
|
35
|
+
mail: {
|
|
36
|
+
prefix: string;
|
|
37
|
+
id: import("zod").ZodString;
|
|
38
|
+
type: import("zod").ZodEnum<{
|
|
39
|
+
"email-verification": "email-verification";
|
|
40
|
+
"reset-password": "reset-password";
|
|
41
|
+
}>;
|
|
42
|
+
email: import("zod").ZodEmail;
|
|
43
|
+
verificationToken: import("zod").ZodString;
|
|
44
|
+
expiredAt: import("zod").ZodISODateTime;
|
|
45
|
+
};
|
|
46
|
+
problem: {
|
|
47
|
+
prefix: string;
|
|
48
|
+
id: import("zod").ZodString;
|
|
49
|
+
title: import("zod").ZodString;
|
|
50
|
+
isViewable: import("zod").ZodBoolean;
|
|
51
|
+
isSubmitable: import("zod").ZodBoolean;
|
|
52
|
+
tag: import("zod").ZodString;
|
|
53
|
+
youtubeUrl: import("zod").ZodString;
|
|
54
|
+
blogUrl: import("zod").ZodString;
|
|
55
|
+
sample: import("zod").ZodObject<{
|
|
56
|
+
input: import("zod").ZodString;
|
|
57
|
+
output: import("zod").ZodString;
|
|
58
|
+
}, import("zod/v4/core").$strip>;
|
|
59
|
+
solvesCount: import("zod").ZodNumber;
|
|
60
|
+
submitsCount: import("zod").ZodNumber;
|
|
61
|
+
stats: import("zod").ZodObject<{
|
|
62
|
+
solvesCount: import("zod").ZodNumber;
|
|
63
|
+
submitsCount: import("zod").ZodNumber;
|
|
64
|
+
createdAtMin: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
65
|
+
createdAtMax: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
66
|
+
sourceLengthMin: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
67
|
+
sourceLengthMedian: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
68
|
+
sourceLengthMax: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
69
|
+
timeMin: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
70
|
+
timeMedian: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
71
|
+
timeMax: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
72
|
+
memoryMin: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
73
|
+
memoryMedian: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
74
|
+
memoryMax: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
75
|
+
status: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
76
|
+
output: "output";
|
|
77
|
+
accept: "accept";
|
|
78
|
+
wrong: "wrong";
|
|
79
|
+
time: "time";
|
|
80
|
+
memory: "memory";
|
|
81
|
+
compile: "compile";
|
|
82
|
+
runtime: "runtime";
|
|
83
|
+
server: "server";
|
|
84
|
+
pending: "pending";
|
|
85
|
+
}> & import("zod/v4/core").$partial, import("zod").ZodNumber>;
|
|
86
|
+
createdAt: import("zod").ZodArray<import("zod").ZodObject<{
|
|
87
|
+
min: import("zod").ZodISODateTime;
|
|
88
|
+
max: import("zod").ZodISODateTime;
|
|
89
|
+
acceptCount: import("zod").ZodNumber;
|
|
90
|
+
totalCount: import("zod").ZodNumber;
|
|
91
|
+
}, import("zod/v4/core").$strip>>;
|
|
92
|
+
language: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
93
|
+
c: "c";
|
|
94
|
+
ruby: "ruby";
|
|
95
|
+
r: "r";
|
|
96
|
+
c11: "c11";
|
|
97
|
+
"c++": "c++";
|
|
98
|
+
"c++11": "c++11";
|
|
99
|
+
"c++14": "c++14";
|
|
100
|
+
"c++17": "c++17";
|
|
101
|
+
python2: "python2";
|
|
102
|
+
python3: "python3";
|
|
103
|
+
pypy3: "pypy3";
|
|
104
|
+
openjdk: "openjdk";
|
|
105
|
+
golang: "golang";
|
|
106
|
+
}> & import("zod/v4/core").$partial, import("zod").ZodObject<{
|
|
107
|
+
acceptCount: import("zod").ZodNumber;
|
|
108
|
+
totalCount: import("zod").ZodNumber;
|
|
109
|
+
}, import("zod/v4/core").$strip>>;
|
|
110
|
+
time: import("zod").ZodArray<import("zod").ZodObject<{
|
|
111
|
+
min: import("zod").ZodNumber;
|
|
112
|
+
max: import("zod").ZodNumber;
|
|
113
|
+
acceptCount: import("zod").ZodNumber;
|
|
114
|
+
}, import("zod/v4/core").$strip>>;
|
|
115
|
+
memory: import("zod").ZodArray<import("zod").ZodObject<{
|
|
116
|
+
min: import("zod").ZodNumber;
|
|
117
|
+
max: import("zod").ZodNumber;
|
|
118
|
+
acceptCount: import("zod").ZodNumber;
|
|
119
|
+
}, import("zod/v4/core").$strip>>;
|
|
120
|
+
sourceLength: import("zod").ZodArray<import("zod").ZodObject<{
|
|
121
|
+
min: import("zod").ZodNumber;
|
|
122
|
+
max: import("zod").ZodNumber;
|
|
123
|
+
acceptCount: import("zod").ZodNumber;
|
|
124
|
+
}, import("zod/v4/core").$strip>>;
|
|
125
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
126
|
+
}, import("zod/v4/core").$strip>;
|
|
127
|
+
testcase: import("zod").ZodObject<{
|
|
128
|
+
index: import("zod").ZodNumber;
|
|
129
|
+
input: import("zod").ZodObject<{
|
|
130
|
+
path: import("zod").ZodString;
|
|
131
|
+
versions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
132
|
+
versionId: import("zod").ZodString;
|
|
133
|
+
lastModified: import("zod").ZodISODateTime;
|
|
134
|
+
isLatest: import("zod").ZodBoolean;
|
|
135
|
+
}, import("zod/v4/core").$strip>>;
|
|
136
|
+
}, import("zod/v4/core").$strip>;
|
|
137
|
+
output: import("zod").ZodObject<{
|
|
138
|
+
path: import("zod").ZodString;
|
|
139
|
+
versions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
140
|
+
versionId: import("zod").ZodString;
|
|
141
|
+
lastModified: import("zod").ZodISODateTime;
|
|
142
|
+
isLatest: import("zod").ZodBoolean;
|
|
143
|
+
}, import("zod/v4/core").$strip>>;
|
|
144
|
+
}, import("zod/v4/core").$strip>;
|
|
145
|
+
}, import("zod/v4/core").$strip>;
|
|
146
|
+
contentVersion: import("zod").ZodObject<{
|
|
147
|
+
versionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
148
|
+
lastModified: import("zod").ZodISODateTime;
|
|
149
|
+
isLatest: import("zod").ZodBoolean;
|
|
150
|
+
}, import("zod/v4/core").$strip>;
|
|
151
|
+
timelimit: import("zod").ZodNumber;
|
|
152
|
+
memorylimit: import("zod").ZodNumber;
|
|
153
|
+
scoringmethod: import("zod").ZodEnum<{
|
|
154
|
+
"exact-match": "exact-match";
|
|
155
|
+
spj: "spj";
|
|
156
|
+
}>;
|
|
157
|
+
inputmethod: import("zod").ZodEnum<{
|
|
158
|
+
"Standard Input": "Standard Input";
|
|
159
|
+
}>;
|
|
160
|
+
outputmethod: import("zod").ZodEnum<{
|
|
161
|
+
"Standard Output": "Standard Output";
|
|
162
|
+
}>;
|
|
163
|
+
numberGroup: import("zod").ZodString;
|
|
164
|
+
};
|
|
165
|
+
rank: {
|
|
166
|
+
prefix: string;
|
|
167
|
+
rank: import("zod").ZodNumber;
|
|
168
|
+
};
|
|
169
|
+
record: {
|
|
170
|
+
readonly prefix: "/record";
|
|
171
|
+
readonly type: import("zod").ZodEnum<{
|
|
172
|
+
trophy: "trophy";
|
|
173
|
+
"problem-pioneer": "problem-pioneer";
|
|
174
|
+
"contest-winner": "contest-winner";
|
|
175
|
+
}>;
|
|
176
|
+
readonly trophyType: import("zod").ZodEnum<{
|
|
177
|
+
stone: "stone";
|
|
178
|
+
"first-solve": "first-solve";
|
|
179
|
+
"50-solves": "50-solves";
|
|
180
|
+
"100-solves": "100-solves";
|
|
181
|
+
"200-solves": "200-solves";
|
|
182
|
+
"500-solves": "500-solves";
|
|
183
|
+
"1000-solves": "1000-solves";
|
|
184
|
+
"2000-solves": "2000-solves";
|
|
185
|
+
"5000-solves": "5000-solves";
|
|
186
|
+
"10-trials": "10-trials";
|
|
187
|
+
"first-pioneer": "first-pioneer";
|
|
188
|
+
"20-pioneers": "20-pioneers";
|
|
189
|
+
"50-pioneers": "50-pioneers";
|
|
190
|
+
"100-pioneers": "100-pioneers";
|
|
191
|
+
"weekly-coder": "weekly-coder";
|
|
192
|
+
cola: "cola";
|
|
193
|
+
steak: "steak";
|
|
194
|
+
"win-contest": "win-contest";
|
|
195
|
+
"win-yearly-rank": "win-yearly-rank";
|
|
196
|
+
}>;
|
|
197
|
+
readonly createdAt: import("zod").ZodISODateTime;
|
|
198
|
+
};
|
|
199
|
+
run: {
|
|
200
|
+
prefix: string;
|
|
201
|
+
id: import("zod").ZodString;
|
|
202
|
+
socketId: import("zod").ZodString;
|
|
203
|
+
input: import("zod").ZodString;
|
|
204
|
+
output: import("zod").ZodString;
|
|
205
|
+
error: import("zod").ZodString;
|
|
206
|
+
time: import("zod").ZodNumber;
|
|
207
|
+
memory: import("zod").ZodNumber;
|
|
208
|
+
source: import("zod").ZodString;
|
|
209
|
+
language: import("zod").ZodEnum<{
|
|
210
|
+
c: "c";
|
|
211
|
+
ruby: "ruby";
|
|
212
|
+
r: "r";
|
|
213
|
+
c11: "c11";
|
|
214
|
+
"c++": "c++";
|
|
215
|
+
"c++11": "c++11";
|
|
216
|
+
"c++14": "c++14";
|
|
217
|
+
"c++17": "c++17";
|
|
218
|
+
python2: "python2";
|
|
219
|
+
python3: "python3";
|
|
220
|
+
pypy3: "pypy3";
|
|
221
|
+
openjdk: "openjdk";
|
|
222
|
+
golang: "golang";
|
|
223
|
+
}>;
|
|
224
|
+
createdAt: import("zod").ZodISODateTime;
|
|
225
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
226
|
+
};
|
|
227
|
+
scoringRequest: {
|
|
228
|
+
prefix: string;
|
|
229
|
+
status: import("zod").ZodEnum<{
|
|
230
|
+
pending: "pending";
|
|
231
|
+
processing: "processing";
|
|
232
|
+
processed: "processed";
|
|
233
|
+
completed: "completed";
|
|
234
|
+
}>;
|
|
235
|
+
isSubmit: import("zod").ZodBoolean;
|
|
236
|
+
isRun: import("zod").ZodBoolean;
|
|
237
|
+
history: import("zod").ZodObject<{
|
|
238
|
+
status: import("zod").ZodEnum<{
|
|
239
|
+
pending: "pending";
|
|
240
|
+
processing: "processing";
|
|
241
|
+
processed: "processed";
|
|
242
|
+
completed: "completed";
|
|
243
|
+
}>;
|
|
244
|
+
serverName: import("zod").ZodString;
|
|
245
|
+
createdAt: import("zod").ZodISODateTime;
|
|
246
|
+
}, import("zod/v4/core").$strip>;
|
|
247
|
+
createdAt: import("zod").ZodISODateTime;
|
|
248
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
249
|
+
};
|
|
250
|
+
scoringServer: {
|
|
251
|
+
prefix: string;
|
|
252
|
+
name: import("zod").ZodString;
|
|
253
|
+
type: import("zod").ZodString;
|
|
254
|
+
isOnline: import("zod").ZodBoolean;
|
|
255
|
+
createdAt: import("zod").ZodISODateTime;
|
|
256
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
257
|
+
lastScoringRequestAt: import("zod").ZodISODateTime;
|
|
258
|
+
};
|
|
259
|
+
source: {
|
|
260
|
+
prefix: string;
|
|
261
|
+
version: import("zod").ZodObject<{
|
|
262
|
+
size: import("zod").ZodNumber;
|
|
263
|
+
versionId: import("zod").ZodString;
|
|
264
|
+
lastModified: import("zod").ZodISODateTime;
|
|
265
|
+
isLatest: import("zod").ZodBoolean;
|
|
266
|
+
}, import("zod/v4/core").$strip>;
|
|
267
|
+
};
|
|
268
|
+
submit: {
|
|
269
|
+
prefix: string;
|
|
270
|
+
id: import("zod").ZodString;
|
|
271
|
+
status: import("zod").ZodEnum<{
|
|
272
|
+
output: "output";
|
|
273
|
+
accept: "accept";
|
|
274
|
+
wrong: "wrong";
|
|
275
|
+
time: "time";
|
|
276
|
+
memory: "memory";
|
|
277
|
+
compile: "compile";
|
|
278
|
+
runtime: "runtime";
|
|
279
|
+
server: "server";
|
|
280
|
+
pending: "pending";
|
|
281
|
+
}>;
|
|
282
|
+
statusPercentage: import("zod").ZodNumber;
|
|
283
|
+
language: import("zod").ZodEnum<{
|
|
284
|
+
c: "c";
|
|
285
|
+
ruby: "ruby";
|
|
286
|
+
r: "r";
|
|
287
|
+
c11: "c11";
|
|
288
|
+
"c++": "c++";
|
|
289
|
+
"c++11": "c++11";
|
|
290
|
+
"c++14": "c++14";
|
|
291
|
+
"c++17": "c++17";
|
|
292
|
+
python2: "python2";
|
|
293
|
+
python3: "python3";
|
|
294
|
+
pypy3: "pypy3";
|
|
295
|
+
openjdk: "openjdk";
|
|
296
|
+
golang: "golang";
|
|
297
|
+
}>;
|
|
298
|
+
createdAt: import("zod").ZodISODateTime;
|
|
299
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
300
|
+
source: import("zod").ZodString;
|
|
301
|
+
stderr: import("zod").ZodString;
|
|
302
|
+
sourceLength: import("zod").ZodNumber;
|
|
303
|
+
time: import("zod").ZodNumber;
|
|
304
|
+
memory: import("zod").ZodNumber;
|
|
305
|
+
testcase: {
|
|
306
|
+
id: import("zod").ZodString;
|
|
307
|
+
inputPath: import("zod").ZodString;
|
|
308
|
+
inputVersion: import("zod").ZodString;
|
|
309
|
+
outputPath: import("zod").ZodString;
|
|
310
|
+
outputVersion: import("zod").ZodString;
|
|
311
|
+
time: import("zod").ZodNumber;
|
|
312
|
+
memory: import("zod").ZodNumber;
|
|
313
|
+
result: import("zod").ZodEnum<{
|
|
314
|
+
output: "output";
|
|
315
|
+
accept: "accept";
|
|
316
|
+
wrong: "wrong";
|
|
317
|
+
time: "time";
|
|
318
|
+
memory: "memory";
|
|
319
|
+
compile: "compile";
|
|
320
|
+
runtime: "runtime";
|
|
321
|
+
server: "server";
|
|
322
|
+
pending: "pending";
|
|
323
|
+
ignored: "ignored";
|
|
324
|
+
}>;
|
|
325
|
+
};
|
|
326
|
+
testcasesCount: import("zod").ZodNumber;
|
|
327
|
+
isIgnored: import("zod").ZodBoolean;
|
|
328
|
+
};
|
|
329
|
+
user: {
|
|
330
|
+
prefix: string;
|
|
331
|
+
id: import("zod").ZodString;
|
|
332
|
+
password: import("zod").ZodString;
|
|
333
|
+
name: import("zod").ZodString;
|
|
334
|
+
message: import("zod").ZodString;
|
|
335
|
+
email: import("zod").ZodEmail;
|
|
336
|
+
school: import("zod").ZodString;
|
|
337
|
+
recaptchaToken: import("zod").ZodString;
|
|
338
|
+
level: import("zod").ZodNumber;
|
|
339
|
+
profileImageUrl: import("zod").ZodURL;
|
|
340
|
+
isEmailPublic: import("zod").ZodBoolean;
|
|
341
|
+
loginMethods: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
342
|
+
naver: "naver";
|
|
343
|
+
google: "google";
|
|
344
|
+
kakao: "kakao";
|
|
345
|
+
password: "password";
|
|
346
|
+
}>>;
|
|
347
|
+
submitsCount: import("zod").ZodNumber;
|
|
348
|
+
solvesCount: import("zod").ZodNumber;
|
|
349
|
+
trophiesCount: import("zod").ZodNumber;
|
|
350
|
+
recordsCount: import("zod").ZodNumber;
|
|
351
|
+
accessAt: import("zod").ZodISODateTime;
|
|
352
|
+
createdAt: import("zod").ZodISODateTime;
|
|
353
|
+
editorConfig: import("zod").ZodObject<{
|
|
354
|
+
theme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
355
|
+
vs: "vs";
|
|
356
|
+
"vs-dark": "vs-dark";
|
|
357
|
+
"hc-black": "hc-black";
|
|
358
|
+
}>>;
|
|
359
|
+
letterSpacing: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
360
|
+
font: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
361
|
+
Pretendard: "Pretendard";
|
|
362
|
+
BitgoeulGwangju: "BitgoeulGwangju";
|
|
363
|
+
D2Coding: "D2Coding";
|
|
364
|
+
JetBrainsMono: "JetBrainsMono";
|
|
365
|
+
FiraCode: "FiraCode";
|
|
366
|
+
Hack: "Hack";
|
|
367
|
+
UbuntuMono: "UbuntuMono";
|
|
368
|
+
SourceCodePro: "SourceCodePro";
|
|
369
|
+
IbmPlex: "IbmPlex";
|
|
370
|
+
MonaspaceNeon: "MonaspaceNeon";
|
|
371
|
+
MonaspaceArgon: "MonaspaceArgon";
|
|
372
|
+
MonaspaceKrypton: "MonaspaceKrypton";
|
|
373
|
+
MonaspaceXenon: "MonaspaceXenon";
|
|
374
|
+
Inconsolata: "Inconsolata";
|
|
375
|
+
RobotoMono: "RobotoMono";
|
|
376
|
+
}>>;
|
|
377
|
+
fontSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
378
|
+
tabSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
379
|
+
}, import("zod/v4/core").$strip>;
|
|
380
|
+
styleConfig: import("zod").ZodObject<{
|
|
381
|
+
simplifiedTheme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
382
|
+
light: "light";
|
|
383
|
+
dark: "dark";
|
|
384
|
+
system: "system";
|
|
385
|
+
}>>;
|
|
386
|
+
lightTheme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
387
|
+
light: "light";
|
|
388
|
+
dark: "dark";
|
|
389
|
+
"light-high-contrast": "light-high-contrast";
|
|
390
|
+
"dark-high-contrast": "dark-high-contrast";
|
|
391
|
+
"dark-dimmed": "dark-dimmed";
|
|
392
|
+
"light-colorblind": "light-colorblind";
|
|
393
|
+
"dark-colorblind": "dark-colorblind";
|
|
394
|
+
}>>;
|
|
395
|
+
darkTheme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
396
|
+
light: "light";
|
|
397
|
+
dark: "dark";
|
|
398
|
+
"light-high-contrast": "light-high-contrast";
|
|
399
|
+
"dark-high-contrast": "dark-high-contrast";
|
|
400
|
+
"dark-dimmed": "dark-dimmed";
|
|
401
|
+
"light-colorblind": "light-colorblind";
|
|
402
|
+
"dark-colorblind": "dark-colorblind";
|
|
403
|
+
}>>;
|
|
404
|
+
}, import("zod/v4/core").$strip>;
|
|
405
|
+
envConfig: import("zod").ZodObject<{
|
|
406
|
+
quickeditor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
407
|
+
languages: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
408
|
+
c: "c";
|
|
409
|
+
cpp: "cpp";
|
|
410
|
+
python: "python";
|
|
411
|
+
java: "java";
|
|
412
|
+
ruby: "ruby";
|
|
413
|
+
go: "go";
|
|
414
|
+
r: "r";
|
|
415
|
+
javascript: "javascript";
|
|
416
|
+
}>>>;
|
|
417
|
+
environments: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
418
|
+
c: "c";
|
|
419
|
+
cpp: "cpp";
|
|
420
|
+
python: "python";
|
|
421
|
+
java: "java";
|
|
422
|
+
ruby: "ruby";
|
|
423
|
+
go: "go";
|
|
424
|
+
r: "r";
|
|
425
|
+
javascript: "javascript";
|
|
426
|
+
}> & import("zod/v4/core").$partial, import("zod").ZodEnum<{
|
|
427
|
+
c: "c";
|
|
428
|
+
ruby: "ruby";
|
|
429
|
+
r: "r";
|
|
430
|
+
c11: "c11";
|
|
431
|
+
"c++": "c++";
|
|
432
|
+
"c++11": "c++11";
|
|
433
|
+
"c++14": "c++14";
|
|
434
|
+
"c++17": "c++17";
|
|
435
|
+
python2: "python2";
|
|
436
|
+
python3: "python3";
|
|
437
|
+
pypy3: "pypy3";
|
|
438
|
+
openjdk: "openjdk";
|
|
439
|
+
golang: "golang";
|
|
440
|
+
}>>>;
|
|
441
|
+
isShortcutDisabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
442
|
+
shortcuts: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
443
|
+
close: "close";
|
|
444
|
+
up: "up";
|
|
445
|
+
down: "down";
|
|
446
|
+
enter: "enter";
|
|
447
|
+
"problem-submit": "problem-submit";
|
|
448
|
+
"problem-editor": "problem-editor";
|
|
449
|
+
"editor-save": "editor-save";
|
|
450
|
+
}> & import("zod/v4/core").$partial, import("zod").ZodArray<import("zod").ZodEnum<{
|
|
451
|
+
Mod: "Mod";
|
|
452
|
+
Control: "Control";
|
|
453
|
+
Alt: "Alt";
|
|
454
|
+
Shift: "Shift";
|
|
455
|
+
KeyA: "KeyA";
|
|
456
|
+
KeyB: "KeyB";
|
|
457
|
+
KeyC: "KeyC";
|
|
458
|
+
KeyD: "KeyD";
|
|
459
|
+
KeyE: "KeyE";
|
|
460
|
+
KeyF: "KeyF";
|
|
461
|
+
KeyG: "KeyG";
|
|
462
|
+
KeyH: "KeyH";
|
|
463
|
+
KeyI: "KeyI";
|
|
464
|
+
KeyJ: "KeyJ";
|
|
465
|
+
KeyK: "KeyK";
|
|
466
|
+
KeyL: "KeyL";
|
|
467
|
+
KeyM: "KeyM";
|
|
468
|
+
KeyN: "KeyN";
|
|
469
|
+
KeyO: "KeyO";
|
|
470
|
+
KeyP: "KeyP";
|
|
471
|
+
KeyQ: "KeyQ";
|
|
472
|
+
KeyR: "KeyR";
|
|
473
|
+
KeyS: "KeyS";
|
|
474
|
+
KeyT: "KeyT";
|
|
475
|
+
KeyU: "KeyU";
|
|
476
|
+
KeyV: "KeyV";
|
|
477
|
+
KeyW: "KeyW";
|
|
478
|
+
KeyX: "KeyX";
|
|
479
|
+
KeyY: "KeyY";
|
|
480
|
+
KeyZ: "KeyZ";
|
|
481
|
+
Digit0: "Digit0";
|
|
482
|
+
Digit1: "Digit1";
|
|
483
|
+
Digit2: "Digit2";
|
|
484
|
+
Digit3: "Digit3";
|
|
485
|
+
Digit4: "Digit4";
|
|
486
|
+
Digit5: "Digit5";
|
|
487
|
+
Digit6: "Digit6";
|
|
488
|
+
Digit7: "Digit7";
|
|
489
|
+
Digit8: "Digit8";
|
|
490
|
+
Digit9: "Digit9";
|
|
491
|
+
Backquote: "Backquote";
|
|
492
|
+
Minus: "Minus";
|
|
493
|
+
Equal: "Equal";
|
|
494
|
+
BracketLeft: "BracketLeft";
|
|
495
|
+
BracketRight: "BracketRight";
|
|
496
|
+
Backslash: "Backslash";
|
|
497
|
+
Semicolon: "Semicolon";
|
|
498
|
+
Quote: "Quote";
|
|
499
|
+
Comma: "Comma";
|
|
500
|
+
Period: "Period";
|
|
501
|
+
Slash: "Slash";
|
|
502
|
+
F1: "F1";
|
|
503
|
+
F2: "F2";
|
|
504
|
+
F3: "F3";
|
|
505
|
+
F4: "F4";
|
|
506
|
+
F5: "F5";
|
|
507
|
+
F6: "F6";
|
|
508
|
+
F7: "F7";
|
|
509
|
+
F8: "F8";
|
|
510
|
+
F9: "F9";
|
|
511
|
+
F10: "F10";
|
|
512
|
+
F11: "F11";
|
|
513
|
+
F12: "F12";
|
|
514
|
+
ArrowUp: "ArrowUp";
|
|
515
|
+
ArrowDown: "ArrowDown";
|
|
516
|
+
ArrowLeft: "ArrowLeft";
|
|
517
|
+
ArrowRight: "ArrowRight";
|
|
518
|
+
Home: "Home";
|
|
519
|
+
End: "End";
|
|
520
|
+
PageUp: "PageUp";
|
|
521
|
+
PageDown: "PageDown";
|
|
522
|
+
Enter: "Enter";
|
|
523
|
+
Space: "Space";
|
|
524
|
+
Backspace: "Backspace";
|
|
525
|
+
Delete: "Delete";
|
|
526
|
+
Insert: "Insert";
|
|
527
|
+
Escape: "Escape";
|
|
528
|
+
Tab: "Tab";
|
|
529
|
+
Numpad0: "Numpad0";
|
|
530
|
+
Numpad1: "Numpad1";
|
|
531
|
+
Numpad2: "Numpad2";
|
|
532
|
+
Numpad3: "Numpad3";
|
|
533
|
+
Numpad4: "Numpad4";
|
|
534
|
+
Numpad5: "Numpad5";
|
|
535
|
+
Numpad6: "Numpad6";
|
|
536
|
+
Numpad7: "Numpad7";
|
|
537
|
+
Numpad8: "Numpad8";
|
|
538
|
+
Numpad9: "Numpad9";
|
|
539
|
+
NumpadAdd: "NumpadAdd";
|
|
540
|
+
NumpadSubtract: "NumpadSubtract";
|
|
541
|
+
NumpadMultiply: "NumpadMultiply";
|
|
542
|
+
NumpadDivide: "NumpadDivide";
|
|
543
|
+
NumpadDecimal: "NumpadDecimal";
|
|
544
|
+
NumpadEnter: "NumpadEnter";
|
|
545
|
+
}>>>>;
|
|
546
|
+
}, import("zod/v4/core").$strip>;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
auth: {
|
|
550
|
+
readonly postAccessToken: {
|
|
551
|
+
readonly prefix: string;
|
|
552
|
+
readonly operation: {
|
|
553
|
+
readonly summary: "accessToken 발급";
|
|
554
|
+
readonly description: "로그인 시, 아이디와 비밀번호로 accessToken를 발급합니다. 일부 사유로 발급 실패 시, tempAccessToken를 발급합니다.";
|
|
555
|
+
};
|
|
556
|
+
readonly auth: {
|
|
557
|
+
readonly temp: 0;
|
|
558
|
+
};
|
|
559
|
+
readonly base: "oj-api";
|
|
560
|
+
readonly method: "post";
|
|
561
|
+
readonly path: () => string;
|
|
562
|
+
readonly body: import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
563
|
+
id: import("zod").ZodString;
|
|
564
|
+
password: import("zod").ZodString;
|
|
565
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
566
|
+
naverCode: import("zod").ZodString;
|
|
567
|
+
state: import("zod").ZodString;
|
|
568
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodObject<{
|
|
569
|
+
googleCode: import("zod").ZodString;
|
|
570
|
+
state: import("zod").ZodString;
|
|
571
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodObject<{
|
|
572
|
+
kakaoCode: import("zod").ZodString;
|
|
573
|
+
state: import("zod").ZodString;
|
|
574
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodObject<{
|
|
575
|
+
googleIdToken: import("zod").ZodString;
|
|
576
|
+
}, import("zod/v4/core").$strip>]>;
|
|
577
|
+
readonly data: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
578
|
+
accessToken: import("zod").ZodString;
|
|
579
|
+
accessTokenExpiredAt: import("zod").ZodISODateTime;
|
|
580
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
581
|
+
tempAccessToken: import("zod").ZodString;
|
|
582
|
+
tempAccessTokenType: import("zod").ZodEnum<{
|
|
583
|
+
SOCIAL_SIGNUP_REQUIRED: "SOCIAL_SIGNUP_REQUIRED";
|
|
584
|
+
EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED";
|
|
585
|
+
TERMS_NOT_AGREED: "TERMS_NOT_AGREED";
|
|
586
|
+
}>;
|
|
587
|
+
}, import("zod/v4/core").$strip>]>;
|
|
588
|
+
};
|
|
589
|
+
readonly putAccessToken: {
|
|
590
|
+
readonly prefix: string;
|
|
591
|
+
readonly operation: {
|
|
592
|
+
readonly summary: "accessToken 갱신";
|
|
593
|
+
readonly description: "refreshToken으로 accessToken를 갱신합니다";
|
|
594
|
+
};
|
|
595
|
+
readonly base: "oj-api";
|
|
596
|
+
readonly method: "put";
|
|
597
|
+
readonly path: () => string;
|
|
598
|
+
readonly data: import("zod").ZodObject<{
|
|
599
|
+
accessToken: import("zod").ZodString;
|
|
600
|
+
accessTokenExpiredAt: import("zod").ZodISODateTime;
|
|
601
|
+
}, import("zod/v4/core").$strip>;
|
|
602
|
+
};
|
|
603
|
+
readonly getRefreshTokenByMe: {
|
|
604
|
+
readonly prefix: string;
|
|
605
|
+
readonly operation: {
|
|
606
|
+
readonly summary: "refreshToken 조회";
|
|
607
|
+
readonly description: "현재 유효한 refreshToken를 조회합니다";
|
|
608
|
+
};
|
|
609
|
+
readonly auth: {
|
|
610
|
+
readonly requiredLevel: 1;
|
|
611
|
+
};
|
|
612
|
+
readonly base: "oj-api";
|
|
613
|
+
readonly method: "get";
|
|
614
|
+
readonly path: () => string;
|
|
615
|
+
readonly data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
616
|
+
deviceId: import("zod").ZodString;
|
|
617
|
+
issuedBy: import("zod").ZodString;
|
|
618
|
+
issuedAt: import("zod").ZodISODateTime;
|
|
619
|
+
expiredAt: import("zod").ZodISODateTime;
|
|
620
|
+
clientMetadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
621
|
+
ip: import("zod").ZodOptional<import("zod").ZodString>;
|
|
622
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
623
|
+
browser: import("zod").ZodOptional<import("zod").ZodString>;
|
|
624
|
+
os: import("zod").ZodOptional<import("zod").ZodString>;
|
|
625
|
+
device: import("zod").ZodOptional<import("zod").ZodString>;
|
|
626
|
+
}, import("zod/v4/core").$strip>>;
|
|
627
|
+
}, import("zod/v4/core").$strip>>;
|
|
628
|
+
};
|
|
629
|
+
readonly deleteRefreshToken: {
|
|
630
|
+
readonly prefix: string;
|
|
631
|
+
readonly operation: {
|
|
632
|
+
readonly summary: "refreshToken 삭제";
|
|
633
|
+
readonly description: "로그아웃 시, refreshToken를 삭제합니다";
|
|
634
|
+
};
|
|
635
|
+
readonly base: "oj-api";
|
|
636
|
+
readonly method: "delete";
|
|
637
|
+
readonly path: () => string;
|
|
638
|
+
};
|
|
639
|
+
readonly deleteRefreshTokenByDeviceId: {
|
|
640
|
+
readonly prefix: string;
|
|
641
|
+
readonly operation: {
|
|
642
|
+
readonly summary: "refreshToken 삭제";
|
|
643
|
+
};
|
|
644
|
+
readonly auth: {
|
|
645
|
+
readonly requiredLevel: 1;
|
|
646
|
+
};
|
|
647
|
+
readonly base: "oj-api";
|
|
648
|
+
readonly method: "delete";
|
|
649
|
+
readonly path: (deviceId: string) => string;
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
contest: {
|
|
653
|
+
readonly get: {
|
|
654
|
+
readonly prefix: string;
|
|
655
|
+
readonly operation: {
|
|
656
|
+
readonly summary: "대회 조회";
|
|
657
|
+
};
|
|
658
|
+
readonly auth: {
|
|
659
|
+
readonly requiredLevel: 0;
|
|
660
|
+
};
|
|
661
|
+
readonly base: "oj-api";
|
|
662
|
+
readonly method: "get";
|
|
663
|
+
readonly path: () => string;
|
|
664
|
+
readonly data: import("zod").ZodObject<{
|
|
665
|
+
contests: import("zod").ZodArray<import("zod").ZodObject<{
|
|
666
|
+
id: import("zod").ZodString;
|
|
667
|
+
title: import("zod").ZodString;
|
|
668
|
+
rankType: import("zod").ZodEnum<{
|
|
669
|
+
"acm-icpc": "acm-icpc";
|
|
670
|
+
}>;
|
|
671
|
+
joinType: import("zod").ZodEnum<{
|
|
672
|
+
public: "public";
|
|
673
|
+
}>;
|
|
674
|
+
participantsCount: import("zod").ZodNumber;
|
|
675
|
+
timeStart: import("zod").ZodISODateTime;
|
|
676
|
+
timeEnd: import("zod").ZodISODateTime;
|
|
677
|
+
tags: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
678
|
+
end: "end";
|
|
679
|
+
ready: "ready";
|
|
680
|
+
ongoing: "ongoing";
|
|
681
|
+
joined: "joined";
|
|
682
|
+
manager: "manager";
|
|
683
|
+
}>>;
|
|
684
|
+
}, import("zod/v4/core").$strip>>;
|
|
685
|
+
page: import("zod").ZodNumber;
|
|
686
|
+
maxPage: import("zod").ZodNumber;
|
|
687
|
+
count: import("zod").ZodNumber;
|
|
688
|
+
}, import("zod/v4/core").$strip>;
|
|
689
|
+
readonly query: import("zod").ZodObject<{
|
|
690
|
+
tags: import("zod").ZodOptional<import("zod").ZodString>;
|
|
691
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
692
|
+
sort: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
693
|
+
"timeStart-asc": "timeStart-asc";
|
|
694
|
+
"timeStart-desc": "timeStart-desc";
|
|
695
|
+
"timeEnd-asc": "timeEnd-asc";
|
|
696
|
+
"timeEnd-desc": "timeEnd-desc";
|
|
697
|
+
}>>;
|
|
698
|
+
page: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
699
|
+
onePageLength: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
700
|
+
}, import("zod/v4/core").$strip>;
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
mail: {
|
|
704
|
+
readonly getById: {
|
|
705
|
+
readonly prefix: string;
|
|
706
|
+
readonly operation: {
|
|
707
|
+
readonly summary: "메일 조회";
|
|
708
|
+
};
|
|
709
|
+
readonly base: "oj-api";
|
|
710
|
+
readonly method: "get";
|
|
711
|
+
readonly path: (id: string) => string;
|
|
712
|
+
readonly data: import("zod").ZodObject<{
|
|
713
|
+
id: import("zod").ZodString;
|
|
714
|
+
type: import("zod").ZodEnum<{
|
|
715
|
+
"email-verification": "email-verification";
|
|
716
|
+
"reset-password": "reset-password";
|
|
717
|
+
}>;
|
|
718
|
+
expiredAt: import("zod").ZodISODateTime;
|
|
719
|
+
}, import("zod/v4/core").$strip>;
|
|
720
|
+
};
|
|
721
|
+
readonly postEmailVerification: {
|
|
722
|
+
readonly prefix: string;
|
|
723
|
+
readonly operation: {
|
|
724
|
+
readonly summary: "이메일 인증 요청";
|
|
725
|
+
};
|
|
726
|
+
readonly auth: {
|
|
727
|
+
readonly temp: true;
|
|
728
|
+
};
|
|
729
|
+
readonly base: "oj-api";
|
|
730
|
+
readonly method: "post";
|
|
731
|
+
readonly path: () => string;
|
|
732
|
+
readonly data: import("zod").ZodString;
|
|
733
|
+
};
|
|
734
|
+
readonly postResetPassword: {
|
|
735
|
+
readonly prefix: string;
|
|
736
|
+
readonly operation: {
|
|
737
|
+
readonly summary: "비밀번호 재설정 요청";
|
|
738
|
+
};
|
|
739
|
+
readonly base: "oj-api";
|
|
740
|
+
readonly method: "post";
|
|
741
|
+
readonly path: () => string;
|
|
742
|
+
readonly body: import("zod").ZodObject<{
|
|
743
|
+
userId: import("zod").ZodString;
|
|
744
|
+
userEmail: import("zod").ZodEmail;
|
|
745
|
+
}, import("zod/v4/core").$strip>;
|
|
746
|
+
readonly data: import("zod").ZodString;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
problem: {
|
|
750
|
+
readonly get: {
|
|
751
|
+
readonly prefix: string;
|
|
752
|
+
readonly operation: {
|
|
753
|
+
readonly summary: "문제 조회";
|
|
754
|
+
};
|
|
755
|
+
readonly auth: {
|
|
756
|
+
readonly requiredLevel: 0;
|
|
757
|
+
};
|
|
758
|
+
readonly base: "oj-api";
|
|
759
|
+
readonly method: "get";
|
|
760
|
+
readonly path: () => string;
|
|
761
|
+
readonly data: import("zod").ZodObject<{
|
|
762
|
+
problems: import("zod").ZodArray<import("zod").ZodObject<{
|
|
763
|
+
id: import("zod").ZodString;
|
|
764
|
+
title: import("zod").ZodString;
|
|
765
|
+
tags: import("zod").ZodArray<import("zod").ZodString>;
|
|
766
|
+
solvesCount: import("zod").ZodNumber;
|
|
767
|
+
submitsCount: import("zod").ZodNumber;
|
|
768
|
+
}, import("zod/v4/core").$strip>>;
|
|
769
|
+
page: import("zod").ZodNumber;
|
|
770
|
+
maxPage: import("zod").ZodNumber;
|
|
771
|
+
count: import("zod").ZodNumber;
|
|
772
|
+
randomProblemId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
773
|
+
}, import("zod/v4/core").$strip>;
|
|
774
|
+
readonly query: import("zod").ZodObject<{
|
|
775
|
+
tags: import("zod").ZodOptional<import("zod").ZodString>;
|
|
776
|
+
problemIds: import("zod").ZodOptional<import("zod").ZodString>;
|
|
777
|
+
problemIdsNin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
778
|
+
numberGroup: import("zod").ZodOptional<import("zod").ZodString>;
|
|
779
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
780
|
+
sort: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
781
|
+
"createdAt-asc": "createdAt-asc";
|
|
782
|
+
"createdAt-desc": "createdAt-desc";
|
|
783
|
+
"id-asc": "id-asc";
|
|
784
|
+
"id-desc": "id-desc";
|
|
785
|
+
"title-asc": "title-asc";
|
|
786
|
+
"title-desc": "title-desc";
|
|
787
|
+
"solvesCount-asc": "solvesCount-asc";
|
|
788
|
+
"solvesCount-desc": "solvesCount-desc";
|
|
789
|
+
stone: "stone";
|
|
790
|
+
iron: "iron";
|
|
791
|
+
bronze: "bronze";
|
|
792
|
+
}>>;
|
|
793
|
+
page: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
794
|
+
onePageLength: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
795
|
+
}, import("zod/v4/core").$strip>;
|
|
796
|
+
};
|
|
797
|
+
readonly getById: {
|
|
798
|
+
readonly prefix: string;
|
|
799
|
+
readonly operation: {
|
|
800
|
+
readonly summary: "문제 정보 조회";
|
|
801
|
+
};
|
|
802
|
+
readonly auth: {
|
|
803
|
+
readonly requiredLevel: 0;
|
|
804
|
+
};
|
|
805
|
+
readonly base: "oj-api";
|
|
806
|
+
readonly method: "get";
|
|
807
|
+
readonly path: (id: string) => string;
|
|
808
|
+
readonly data: import("zod").ZodObject<{
|
|
809
|
+
id: import("zod").ZodString;
|
|
810
|
+
title: import("zod").ZodString;
|
|
811
|
+
isViewable: import("zod").ZodBoolean;
|
|
812
|
+
isSubmitable: import("zod").ZodBoolean;
|
|
813
|
+
tags: import("zod").ZodArray<import("zod").ZodString>;
|
|
814
|
+
youtubeUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
815
|
+
blogUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
816
|
+
samples: import("zod").ZodArray<import("zod").ZodObject<{
|
|
817
|
+
input: import("zod").ZodString;
|
|
818
|
+
output: import("zod").ZodString;
|
|
819
|
+
}, import("zod/v4/core").$strip>>;
|
|
820
|
+
solvesCount: import("zod").ZodNumber;
|
|
821
|
+
submitsCount: import("zod").ZodNumber;
|
|
822
|
+
timelimit: import("zod").ZodNumber;
|
|
823
|
+
memorylimit: import("zod").ZodNumber;
|
|
824
|
+
inputmethod: import("zod").ZodEnum<{
|
|
825
|
+
"Standard Input": "Standard Input";
|
|
826
|
+
}>;
|
|
827
|
+
outputmethod: import("zod").ZodEnum<{
|
|
828
|
+
"Standard Output": "Standard Output";
|
|
829
|
+
}>;
|
|
830
|
+
scoringmethod: import("zod").ZodEnum<{
|
|
831
|
+
"exact-match": "exact-match";
|
|
832
|
+
spj: "spj";
|
|
833
|
+
}>;
|
|
834
|
+
}, import("zod/v4/core").$strip>;
|
|
835
|
+
};
|
|
836
|
+
readonly getAdjacentById: {
|
|
837
|
+
readonly prefix: string;
|
|
838
|
+
readonly operation: {
|
|
839
|
+
readonly summary: "문제 이전/다음 문제 조회";
|
|
840
|
+
};
|
|
841
|
+
readonly auth: {
|
|
842
|
+
readonly requiredLevel: 0;
|
|
843
|
+
};
|
|
844
|
+
readonly base: "oj-api";
|
|
845
|
+
readonly method: "get";
|
|
846
|
+
readonly path: (id: string) => string;
|
|
847
|
+
readonly data: import("zod").ZodObject<{
|
|
848
|
+
prevId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
849
|
+
nextId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
850
|
+
}, import("zod/v4/core").$strip>;
|
|
851
|
+
};
|
|
852
|
+
readonly getStatsById: {
|
|
853
|
+
readonly prefix: string;
|
|
854
|
+
readonly operation: {
|
|
855
|
+
readonly summary: "문제 통계 조회";
|
|
856
|
+
};
|
|
857
|
+
readonly auth: {
|
|
858
|
+
readonly requiredLevel: 0;
|
|
859
|
+
};
|
|
860
|
+
readonly base: "oj-api";
|
|
861
|
+
readonly method: "get";
|
|
862
|
+
readonly path: (id: string) => string;
|
|
863
|
+
readonly data: import("zod").ZodObject<{
|
|
864
|
+
solvesCount: import("zod").ZodNumber;
|
|
865
|
+
submitsCount: import("zod").ZodNumber;
|
|
866
|
+
createdAtMin: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
867
|
+
createdAtMax: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
868
|
+
sourceLengthMin: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
869
|
+
sourceLengthMedian: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
870
|
+
sourceLengthMax: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
871
|
+
timeMin: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
872
|
+
timeMedian: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
873
|
+
timeMax: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
874
|
+
memoryMin: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
875
|
+
memoryMedian: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
876
|
+
memoryMax: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
877
|
+
status: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
878
|
+
output: "output";
|
|
879
|
+
accept: "accept";
|
|
880
|
+
wrong: "wrong";
|
|
881
|
+
time: "time";
|
|
882
|
+
memory: "memory";
|
|
883
|
+
compile: "compile";
|
|
884
|
+
runtime: "runtime";
|
|
885
|
+
server: "server";
|
|
886
|
+
pending: "pending";
|
|
887
|
+
}> & import("zod/v4/core").$partial, import("zod").ZodNumber>;
|
|
888
|
+
createdAt: import("zod").ZodArray<import("zod").ZodObject<{
|
|
889
|
+
min: import("zod").ZodISODateTime;
|
|
890
|
+
max: import("zod").ZodISODateTime;
|
|
891
|
+
acceptCount: import("zod").ZodNumber;
|
|
892
|
+
totalCount: import("zod").ZodNumber;
|
|
893
|
+
}, import("zod/v4/core").$strip>>;
|
|
894
|
+
language: import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
895
|
+
c: "c";
|
|
896
|
+
ruby: "ruby";
|
|
897
|
+
r: "r";
|
|
898
|
+
c11: "c11";
|
|
899
|
+
"c++": "c++";
|
|
900
|
+
"c++11": "c++11";
|
|
901
|
+
"c++14": "c++14";
|
|
902
|
+
"c++17": "c++17";
|
|
903
|
+
python2: "python2";
|
|
904
|
+
python3: "python3";
|
|
905
|
+
pypy3: "pypy3";
|
|
906
|
+
openjdk: "openjdk";
|
|
907
|
+
golang: "golang";
|
|
908
|
+
}> & import("zod/v4/core").$partial, import("zod").ZodObject<{
|
|
909
|
+
acceptCount: import("zod").ZodNumber;
|
|
910
|
+
totalCount: import("zod").ZodNumber;
|
|
911
|
+
}, import("zod/v4/core").$strip>>;
|
|
912
|
+
time: import("zod").ZodArray<import("zod").ZodObject<{
|
|
913
|
+
min: import("zod").ZodNumber;
|
|
914
|
+
max: import("zod").ZodNumber;
|
|
915
|
+
acceptCount: import("zod").ZodNumber;
|
|
916
|
+
}, import("zod/v4/core").$strip>>;
|
|
917
|
+
memory: import("zod").ZodArray<import("zod").ZodObject<{
|
|
918
|
+
min: import("zod").ZodNumber;
|
|
919
|
+
max: import("zod").ZodNumber;
|
|
920
|
+
acceptCount: import("zod").ZodNumber;
|
|
921
|
+
}, import("zod/v4/core").$strip>>;
|
|
922
|
+
sourceLength: import("zod").ZodArray<import("zod").ZodObject<{
|
|
923
|
+
min: import("zod").ZodNumber;
|
|
924
|
+
max: import("zod").ZodNumber;
|
|
925
|
+
acceptCount: import("zod").ZodNumber;
|
|
926
|
+
}, import("zod/v4/core").$strip>>;
|
|
927
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
928
|
+
}, import("zod/v4/core").$strip>;
|
|
929
|
+
};
|
|
930
|
+
readonly getTestcaseById: {
|
|
931
|
+
readonly prefix: string;
|
|
932
|
+
readonly operation: {
|
|
933
|
+
readonly summary: "문제 테스트케이스 조회";
|
|
934
|
+
};
|
|
935
|
+
readonly auth: {
|
|
936
|
+
readonly requiredLevel: 0;
|
|
937
|
+
};
|
|
938
|
+
readonly base: "oj-api";
|
|
939
|
+
readonly method: "get";
|
|
940
|
+
readonly path: (id: string) => string;
|
|
941
|
+
readonly data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
942
|
+
index: import("zod").ZodNumber;
|
|
943
|
+
input: import("zod").ZodObject<{
|
|
944
|
+
path: import("zod").ZodString;
|
|
945
|
+
versions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
946
|
+
versionId: import("zod").ZodString;
|
|
947
|
+
lastModified: import("zod").ZodISODateTime;
|
|
948
|
+
isLatest: import("zod").ZodBoolean;
|
|
949
|
+
}, import("zod/v4/core").$strip>>;
|
|
950
|
+
}, import("zod/v4/core").$strip>;
|
|
951
|
+
output: import("zod").ZodObject<{
|
|
952
|
+
path: import("zod").ZodString;
|
|
953
|
+
versions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
954
|
+
versionId: import("zod").ZodString;
|
|
955
|
+
lastModified: import("zod").ZodISODateTime;
|
|
956
|
+
isLatest: import("zod").ZodBoolean;
|
|
957
|
+
}, import("zod/v4/core").$strip>>;
|
|
958
|
+
}, import("zod/v4/core").$strip>;
|
|
959
|
+
}, import("zod/v4/core").$strip>>;
|
|
960
|
+
};
|
|
961
|
+
readonly getContentVersionById: {
|
|
962
|
+
readonly prefix: string;
|
|
963
|
+
readonly operation: {
|
|
964
|
+
readonly summary: "문제 내용 수정 내용 조회";
|
|
965
|
+
};
|
|
966
|
+
readonly base: "oj-api";
|
|
967
|
+
readonly method: "get";
|
|
968
|
+
readonly path: (id: string) => string;
|
|
969
|
+
readonly data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
970
|
+
versionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
971
|
+
lastModified: import("zod").ZodISODateTime;
|
|
972
|
+
isLatest: import("zod").ZodBoolean;
|
|
973
|
+
}, import("zod/v4/core").$strip>>;
|
|
974
|
+
};
|
|
975
|
+
readonly getNumberGroups: {
|
|
976
|
+
readonly prefix: string;
|
|
977
|
+
readonly operation: {
|
|
978
|
+
readonly summary: "문제 번호 그룹 조회";
|
|
979
|
+
};
|
|
980
|
+
readonly base: "oj-api";
|
|
981
|
+
readonly method: "get";
|
|
982
|
+
readonly path: () => string;
|
|
983
|
+
readonly data: import("zod").ZodArray<import("zod").ZodString>;
|
|
984
|
+
};
|
|
985
|
+
readonly getTags: {
|
|
986
|
+
readonly prefix: string;
|
|
987
|
+
readonly operation: {
|
|
988
|
+
readonly summary: "문제 태그 조회";
|
|
989
|
+
};
|
|
990
|
+
readonly base: "oj-api";
|
|
991
|
+
readonly method: "get";
|
|
992
|
+
readonly path: () => string;
|
|
993
|
+
readonly data: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
994
|
+
problemIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
995
|
+
}, import("zod/v4/core").$strip>>;
|
|
996
|
+
};
|
|
997
|
+
readonly putSubmitsCountById: {
|
|
998
|
+
readonly prefix: string;
|
|
999
|
+
readonly operation: {
|
|
1000
|
+
readonly summary: "문제 제출 횟수 업데이트";
|
|
1001
|
+
readonly triggerHandler: true;
|
|
1002
|
+
};
|
|
1003
|
+
readonly base: "oj-api";
|
|
1004
|
+
readonly method: "put";
|
|
1005
|
+
readonly path: (id: string) => string;
|
|
1006
|
+
};
|
|
1007
|
+
readonly putSolvesCountById: {
|
|
1008
|
+
readonly prefix: string;
|
|
1009
|
+
readonly operation: {
|
|
1010
|
+
readonly summary: "문제 풀이 횟수 업데이트";
|
|
1011
|
+
readonly triggerHandler: true;
|
|
1012
|
+
};
|
|
1013
|
+
readonly base: "oj-api";
|
|
1014
|
+
readonly method: "put";
|
|
1015
|
+
readonly path: (id: string) => string;
|
|
1016
|
+
};
|
|
1017
|
+
readonly putStatsById: {
|
|
1018
|
+
readonly prefix: string;
|
|
1019
|
+
readonly operation: {
|
|
1020
|
+
readonly summary: "문제 통계 업데이트";
|
|
1021
|
+
readonly triggerHandler: true;
|
|
1022
|
+
};
|
|
1023
|
+
readonly base: "oj-api";
|
|
1024
|
+
readonly method: "put";
|
|
1025
|
+
readonly path: (id: string) => string;
|
|
1026
|
+
};
|
|
1027
|
+
readonly putTestcaseById: {
|
|
1028
|
+
readonly prefix: string;
|
|
1029
|
+
readonly operation: {
|
|
1030
|
+
readonly summary: "문제 테스트케이스 업데이트";
|
|
1031
|
+
readonly triggerHandler: true;
|
|
1032
|
+
};
|
|
1033
|
+
readonly base: "oj-api";
|
|
1034
|
+
readonly method: "put";
|
|
1035
|
+
readonly path: (id: string) => string;
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
rank: {
|
|
1039
|
+
readonly getTotal: {
|
|
1040
|
+
readonly prefix: string;
|
|
1041
|
+
readonly operation: {
|
|
1042
|
+
readonly summary: "누적 순위 조회";
|
|
1043
|
+
};
|
|
1044
|
+
readonly base: "oj-api";
|
|
1045
|
+
readonly method: "get";
|
|
1046
|
+
readonly path: () => string;
|
|
1047
|
+
readonly data: import("zod").ZodObject<{
|
|
1048
|
+
ranks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1049
|
+
userId: import("zod").ZodString;
|
|
1050
|
+
rank: import("zod").ZodNumber;
|
|
1051
|
+
}, import("zod/v4/core").$strip>>;
|
|
1052
|
+
}, import("zod/v4/core").$strip>;
|
|
1053
|
+
readonly query: import("zod").ZodObject<{
|
|
1054
|
+
userIds: import("zod").ZodString;
|
|
1055
|
+
}, import("zod/v4/core").$strip>;
|
|
1056
|
+
};
|
|
1057
|
+
readonly putTotal: {
|
|
1058
|
+
readonly prefix: string;
|
|
1059
|
+
readonly operation: {
|
|
1060
|
+
readonly summary: "누적 순위 업데이트";
|
|
1061
|
+
readonly triggerHandler: true;
|
|
1062
|
+
};
|
|
1063
|
+
readonly base: "oj-api";
|
|
1064
|
+
readonly method: "put";
|
|
1065
|
+
readonly path: () => string;
|
|
1066
|
+
};
|
|
1067
|
+
readonly putTotalByUserId: {
|
|
1068
|
+
readonly prefix: string;
|
|
1069
|
+
readonly operation: {
|
|
1070
|
+
readonly summary: "누적 순위 업데이트";
|
|
1071
|
+
readonly triggerHandler: true;
|
|
1072
|
+
};
|
|
1073
|
+
readonly base: "oj-api";
|
|
1074
|
+
readonly method: "put";
|
|
1075
|
+
readonly path: (userId: string) => string;
|
|
1076
|
+
};
|
|
1077
|
+
readonly deleteTotal: {
|
|
1078
|
+
readonly prefix: string;
|
|
1079
|
+
readonly operation: {
|
|
1080
|
+
readonly summary: "누적 순위 삭제";
|
|
1081
|
+
};
|
|
1082
|
+
readonly auth: {
|
|
1083
|
+
readonly requiredLevel: 5;
|
|
1084
|
+
};
|
|
1085
|
+
readonly base: "oj-api";
|
|
1086
|
+
readonly method: "delete";
|
|
1087
|
+
readonly path: () => string;
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
record: {
|
|
1091
|
+
readonly get: {
|
|
1092
|
+
readonly prefix: "/record";
|
|
1093
|
+
readonly operation: {
|
|
1094
|
+
readonly summary: "기록 조회";
|
|
1095
|
+
};
|
|
1096
|
+
readonly base: "oj-api";
|
|
1097
|
+
readonly method: "get";
|
|
1098
|
+
readonly path: () => string;
|
|
1099
|
+
readonly data: import("zod").ZodObject<{
|
|
1100
|
+
records: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1101
|
+
type: import("zod").ZodEnum<{
|
|
1102
|
+
trophy: "trophy";
|
|
1103
|
+
"problem-pioneer": "problem-pioneer";
|
|
1104
|
+
"contest-winner": "contest-winner";
|
|
1105
|
+
}>;
|
|
1106
|
+
userId: import("zod").ZodString;
|
|
1107
|
+
trophyType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1108
|
+
stone: "stone";
|
|
1109
|
+
"first-solve": "first-solve";
|
|
1110
|
+
"50-solves": "50-solves";
|
|
1111
|
+
"100-solves": "100-solves";
|
|
1112
|
+
"200-solves": "200-solves";
|
|
1113
|
+
"500-solves": "500-solves";
|
|
1114
|
+
"1000-solves": "1000-solves";
|
|
1115
|
+
"2000-solves": "2000-solves";
|
|
1116
|
+
"5000-solves": "5000-solves";
|
|
1117
|
+
"10-trials": "10-trials";
|
|
1118
|
+
"first-pioneer": "first-pioneer";
|
|
1119
|
+
"20-pioneers": "20-pioneers";
|
|
1120
|
+
"50-pioneers": "50-pioneers";
|
|
1121
|
+
"100-pioneers": "100-pioneers";
|
|
1122
|
+
"weekly-coder": "weekly-coder";
|
|
1123
|
+
cola: "cola";
|
|
1124
|
+
steak: "steak";
|
|
1125
|
+
"win-contest": "win-contest";
|
|
1126
|
+
"win-yearly-rank": "win-yearly-rank";
|
|
1127
|
+
}>>;
|
|
1128
|
+
problemId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1129
|
+
contestId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1130
|
+
pastContestId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1131
|
+
createdAt: import("zod").ZodISODateTime;
|
|
1132
|
+
}, import("zod/v4/core").$strip>>;
|
|
1133
|
+
page: import("zod").ZodNumber;
|
|
1134
|
+
maxPage: import("zod").ZodNumber;
|
|
1135
|
+
count: import("zod").ZodNumber;
|
|
1136
|
+
}, import("zod/v4/core").$strip>;
|
|
1137
|
+
readonly query: import("zod").ZodObject<{
|
|
1138
|
+
types: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1139
|
+
userIds: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1140
|
+
trophyTypes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1141
|
+
sort: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1142
|
+
"createdAt-asc": "createdAt-asc";
|
|
1143
|
+
"createdAt-desc": "createdAt-desc";
|
|
1144
|
+
"userId-asc": "userId-asc";
|
|
1145
|
+
"userId-desc": "userId-desc";
|
|
1146
|
+
}>>;
|
|
1147
|
+
page: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1148
|
+
onePageLength: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1149
|
+
}, import("zod/v4/core").$strip>;
|
|
1150
|
+
};
|
|
1151
|
+
readonly putByUserId: {
|
|
1152
|
+
readonly prefix: "/record";
|
|
1153
|
+
readonly operation: {
|
|
1154
|
+
readonly summary: "기록 업데이트";
|
|
1155
|
+
readonly triggerHandler: true;
|
|
1156
|
+
};
|
|
1157
|
+
readonly base: "oj-api";
|
|
1158
|
+
readonly method: "put";
|
|
1159
|
+
readonly path: (userId: string) => string;
|
|
1160
|
+
};
|
|
1161
|
+
readonly putBySubmitId: {
|
|
1162
|
+
readonly prefix: "/record";
|
|
1163
|
+
readonly operation: {
|
|
1164
|
+
readonly summary: "기록 업데이트";
|
|
1165
|
+
readonly triggerHandler: true;
|
|
1166
|
+
};
|
|
1167
|
+
readonly base: "oj-api";
|
|
1168
|
+
readonly method: "put";
|
|
1169
|
+
readonly path: (submitId: string) => string;
|
|
1170
|
+
};
|
|
1171
|
+
readonly putByContestId: {
|
|
1172
|
+
readonly prefix: "/record";
|
|
1173
|
+
readonly operation: {
|
|
1174
|
+
readonly summary: "기록 업데이트";
|
|
1175
|
+
readonly triggerHandler: true;
|
|
1176
|
+
readonly deprecated: true;
|
|
1177
|
+
};
|
|
1178
|
+
readonly base: "oj-api";
|
|
1179
|
+
readonly method: "put";
|
|
1180
|
+
readonly path: (contestId: string) => string;
|
|
1181
|
+
};
|
|
1182
|
+
readonly putMigrate: {
|
|
1183
|
+
readonly prefix: "/record";
|
|
1184
|
+
readonly operation: {
|
|
1185
|
+
readonly summary: "기록 마이그레이션";
|
|
1186
|
+
};
|
|
1187
|
+
readonly auth: {
|
|
1188
|
+
readonly requiredLevel: 5;
|
|
1189
|
+
};
|
|
1190
|
+
readonly base: "oj-api";
|
|
1191
|
+
readonly method: "put";
|
|
1192
|
+
readonly path: () => string;
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
run: {
|
|
1196
|
+
readonly getById: {
|
|
1197
|
+
readonly prefix: string;
|
|
1198
|
+
readonly operation: {
|
|
1199
|
+
readonly summary: "실행 조회";
|
|
1200
|
+
};
|
|
1201
|
+
readonly auth: {
|
|
1202
|
+
readonly requiredLevel: 1;
|
|
1203
|
+
};
|
|
1204
|
+
readonly base: "oj-api";
|
|
1205
|
+
readonly method: "get";
|
|
1206
|
+
readonly path: (id: string) => string;
|
|
1207
|
+
readonly data: import("zod").ZodObject<{
|
|
1208
|
+
socketId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1209
|
+
output: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1210
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1211
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1212
|
+
memory: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1213
|
+
createdAt: import("zod").ZodISODateTime;
|
|
1214
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
1215
|
+
}, import("zod/v4/core").$strip>;
|
|
1216
|
+
};
|
|
1217
|
+
readonly post: {
|
|
1218
|
+
readonly prefix: string;
|
|
1219
|
+
readonly operation: {
|
|
1220
|
+
readonly summary: "실행 생성";
|
|
1221
|
+
};
|
|
1222
|
+
readonly auth: {
|
|
1223
|
+
readonly requiredLevel: 1;
|
|
1224
|
+
};
|
|
1225
|
+
readonly base: "oj-api";
|
|
1226
|
+
readonly method: "post";
|
|
1227
|
+
readonly path: () => string;
|
|
1228
|
+
readonly body: import("zod").ZodObject<{
|
|
1229
|
+
problemId: import("zod").ZodString;
|
|
1230
|
+
source: import("zod").ZodString;
|
|
1231
|
+
input: import("zod").ZodString;
|
|
1232
|
+
language: import("zod").ZodEnum<{
|
|
1233
|
+
c: "c";
|
|
1234
|
+
ruby: "ruby";
|
|
1235
|
+
r: "r";
|
|
1236
|
+
c11: "c11";
|
|
1237
|
+
"c++": "c++";
|
|
1238
|
+
"c++11": "c++11";
|
|
1239
|
+
"c++14": "c++14";
|
|
1240
|
+
"c++17": "c++17";
|
|
1241
|
+
python2: "python2";
|
|
1242
|
+
python3: "python3";
|
|
1243
|
+
pypy3: "pypy3";
|
|
1244
|
+
openjdk: "openjdk";
|
|
1245
|
+
golang: "golang";
|
|
1246
|
+
}>;
|
|
1247
|
+
socketId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1248
|
+
}, import("zod/v4/core").$strip>;
|
|
1249
|
+
readonly data: import("zod").ZodString;
|
|
1250
|
+
};
|
|
1251
|
+
};
|
|
1252
|
+
scoringRequest: {
|
|
1253
|
+
readonly get: {
|
|
1254
|
+
readonly prefix: string;
|
|
1255
|
+
readonly operation: {
|
|
1256
|
+
readonly summary: "채점 기록 조회";
|
|
1257
|
+
};
|
|
1258
|
+
readonly base: "oj-api";
|
|
1259
|
+
readonly method: "get";
|
|
1260
|
+
readonly path: () => string;
|
|
1261
|
+
readonly data: import("zod").ZodObject<{
|
|
1262
|
+
requests: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1263
|
+
status: import("zod").ZodEnum<{
|
|
1264
|
+
pending: "pending";
|
|
1265
|
+
processing: "processing";
|
|
1266
|
+
processed: "processed";
|
|
1267
|
+
completed: "completed";
|
|
1268
|
+
}>;
|
|
1269
|
+
isSubmit: import("zod").ZodBoolean;
|
|
1270
|
+
isRun: import("zod").ZodBoolean;
|
|
1271
|
+
histories: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1272
|
+
status: import("zod").ZodEnum<{
|
|
1273
|
+
pending: "pending";
|
|
1274
|
+
processing: "processing";
|
|
1275
|
+
processed: "processed";
|
|
1276
|
+
completed: "completed";
|
|
1277
|
+
}>;
|
|
1278
|
+
serverName: import("zod").ZodString;
|
|
1279
|
+
createdAt: import("zod").ZodISODateTime;
|
|
1280
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1281
|
+
createdAt: import("zod").ZodISODateTime;
|
|
1282
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
1283
|
+
}, import("zod/v4/core").$strip>>;
|
|
1284
|
+
page: import("zod").ZodNumber;
|
|
1285
|
+
maxPage: import("zod").ZodNumber;
|
|
1286
|
+
count: import("zod").ZodNumber;
|
|
1287
|
+
}, import("zod/v4/core").$strip>;
|
|
1288
|
+
readonly query: import("zod").ZodObject<{
|
|
1289
|
+
statuses: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1290
|
+
isSubmit: import("zod").ZodOptional<import("zod").ZodCoercedBoolean<unknown>>;
|
|
1291
|
+
isRun: import("zod").ZodOptional<import("zod").ZodCoercedBoolean<unknown>>;
|
|
1292
|
+
page: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1293
|
+
onePageLength: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1294
|
+
}, import("zod/v4/core").$strip>;
|
|
1295
|
+
};
|
|
1296
|
+
};
|
|
1297
|
+
scoringServer: {
|
|
1298
|
+
readonly get: {
|
|
1299
|
+
readonly prefix: string;
|
|
1300
|
+
readonly operation: {
|
|
1301
|
+
readonly summary: "채점 서버 조회";
|
|
1302
|
+
};
|
|
1303
|
+
readonly base: "oj-api";
|
|
1304
|
+
readonly method: "get";
|
|
1305
|
+
readonly path: () => string;
|
|
1306
|
+
readonly data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1307
|
+
name: import("zod").ZodString;
|
|
1308
|
+
type: import("zod").ZodString;
|
|
1309
|
+
isOnline: import("zod").ZodBoolean;
|
|
1310
|
+
createdAt: import("zod").ZodISODateTime;
|
|
1311
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
1312
|
+
lastScoringRequestAt: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
1313
|
+
}, import("zod/v4/core").$strip>>;
|
|
1314
|
+
};
|
|
1315
|
+
};
|
|
1316
|
+
source: {
|
|
1317
|
+
readonly getVersionByMeByProblemId: {
|
|
1318
|
+
readonly prefix: string;
|
|
1319
|
+
readonly operation: {
|
|
1320
|
+
readonly summary: "소스코드 저장 내용 조회";
|
|
1321
|
+
};
|
|
1322
|
+
readonly auth: {
|
|
1323
|
+
readonly requiredLevel: 1;
|
|
1324
|
+
};
|
|
1325
|
+
readonly base: "oj-api";
|
|
1326
|
+
readonly method: "get";
|
|
1327
|
+
readonly path: (problemId: string) => string;
|
|
1328
|
+
readonly data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1329
|
+
size: import("zod").ZodNumber;
|
|
1330
|
+
versionId: import("zod").ZodString;
|
|
1331
|
+
lastModified: import("zod").ZodISODateTime;
|
|
1332
|
+
isLatest: import("zod").ZodBoolean;
|
|
1333
|
+
}, import("zod/v4/core").$strip>>;
|
|
1334
|
+
};
|
|
1335
|
+
readonly getVersionByMeByProblemIdByVersionId: {
|
|
1336
|
+
readonly prefix: string;
|
|
1337
|
+
readonly operation: {
|
|
1338
|
+
readonly summary: "소스코드 저장 내용 조회";
|
|
1339
|
+
};
|
|
1340
|
+
readonly auth: {
|
|
1341
|
+
readonly requiredLevel: 1;
|
|
1342
|
+
};
|
|
1343
|
+
readonly base: "oj-api";
|
|
1344
|
+
readonly method: "get";
|
|
1345
|
+
readonly path: (problemId: string, versionId: string) => string;
|
|
1346
|
+
readonly data: import("zod").ZodObject<{
|
|
1347
|
+
language: import("zod").ZodEnum<{
|
|
1348
|
+
c: "c";
|
|
1349
|
+
ruby: "ruby";
|
|
1350
|
+
r: "r";
|
|
1351
|
+
c11: "c11";
|
|
1352
|
+
"c++": "c++";
|
|
1353
|
+
"c++11": "c++11";
|
|
1354
|
+
"c++14": "c++14";
|
|
1355
|
+
"c++17": "c++17";
|
|
1356
|
+
python2: "python2";
|
|
1357
|
+
python3: "python3";
|
|
1358
|
+
pypy3: "pypy3";
|
|
1359
|
+
openjdk: "openjdk";
|
|
1360
|
+
golang: "golang";
|
|
1361
|
+
}>;
|
|
1362
|
+
source: import("zod").ZodString;
|
|
1363
|
+
problemId: import("zod").ZodString;
|
|
1364
|
+
userId: import("zod").ZodString;
|
|
1365
|
+
createdAt: import("zod").ZodISODateTime;
|
|
1366
|
+
}, import("zod/v4/core").$strip>;
|
|
1367
|
+
};
|
|
1368
|
+
readonly postByMe: {
|
|
1369
|
+
readonly prefix: string;
|
|
1370
|
+
readonly operation: {
|
|
1371
|
+
readonly summary: "소스코드 저장";
|
|
1372
|
+
};
|
|
1373
|
+
readonly auth: {
|
|
1374
|
+
readonly requiredLevel: 1;
|
|
1375
|
+
};
|
|
1376
|
+
readonly base: "oj-api";
|
|
1377
|
+
readonly method: "post";
|
|
1378
|
+
readonly path: () => string;
|
|
1379
|
+
readonly body: import("zod").ZodObject<{
|
|
1380
|
+
language: import("zod").ZodEnum<{
|
|
1381
|
+
c: "c";
|
|
1382
|
+
ruby: "ruby";
|
|
1383
|
+
r: "r";
|
|
1384
|
+
c11: "c11";
|
|
1385
|
+
"c++": "c++";
|
|
1386
|
+
"c++11": "c++11";
|
|
1387
|
+
"c++14": "c++14";
|
|
1388
|
+
"c++17": "c++17";
|
|
1389
|
+
python2: "python2";
|
|
1390
|
+
python3: "python3";
|
|
1391
|
+
pypy3: "pypy3";
|
|
1392
|
+
openjdk: "openjdk";
|
|
1393
|
+
golang: "golang";
|
|
1394
|
+
}>;
|
|
1395
|
+
source: import("zod").ZodString;
|
|
1396
|
+
problemId: import("zod").ZodString;
|
|
1397
|
+
}, import("zod/v4/core").$strip>;
|
|
1398
|
+
};
|
|
1399
|
+
readonly deleteVersionByMeByProblemIdByVersionId: {
|
|
1400
|
+
readonly prefix: string;
|
|
1401
|
+
readonly operation: {
|
|
1402
|
+
readonly summary: "소스코드 저장 내용 삭제";
|
|
1403
|
+
};
|
|
1404
|
+
readonly auth: {
|
|
1405
|
+
readonly requiredLevel: 1;
|
|
1406
|
+
};
|
|
1407
|
+
readonly base: "oj-api";
|
|
1408
|
+
readonly method: "delete";
|
|
1409
|
+
readonly path: (problemId: string, versionId: string) => string;
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
|
+
submit: {
|
|
1413
|
+
readonly get: {
|
|
1414
|
+
readonly prefix: string;
|
|
1415
|
+
readonly operation: {
|
|
1416
|
+
readonly summary: "제출 조회";
|
|
1417
|
+
};
|
|
1418
|
+
readonly base: "oj-api";
|
|
1419
|
+
readonly method: "get";
|
|
1420
|
+
readonly path: () => string;
|
|
1421
|
+
readonly data: import("zod").ZodObject<{
|
|
1422
|
+
submits: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1423
|
+
id: import("zod").ZodString;
|
|
1424
|
+
problemId: import("zod").ZodString;
|
|
1425
|
+
userId: import("zod").ZodString;
|
|
1426
|
+
language: import("zod").ZodEnum<{
|
|
1427
|
+
c: "c";
|
|
1428
|
+
ruby: "ruby";
|
|
1429
|
+
r: "r";
|
|
1430
|
+
c11: "c11";
|
|
1431
|
+
"c++": "c++";
|
|
1432
|
+
"c++11": "c++11";
|
|
1433
|
+
"c++14": "c++14";
|
|
1434
|
+
"c++17": "c++17";
|
|
1435
|
+
python2: "python2";
|
|
1436
|
+
python3: "python3";
|
|
1437
|
+
pypy3: "pypy3";
|
|
1438
|
+
openjdk: "openjdk";
|
|
1439
|
+
golang: "golang";
|
|
1440
|
+
}>;
|
|
1441
|
+
status: import("zod").ZodEnum<{
|
|
1442
|
+
output: "output";
|
|
1443
|
+
accept: "accept";
|
|
1444
|
+
wrong: "wrong";
|
|
1445
|
+
time: "time";
|
|
1446
|
+
memory: "memory";
|
|
1447
|
+
compile: "compile";
|
|
1448
|
+
runtime: "runtime";
|
|
1449
|
+
server: "server";
|
|
1450
|
+
pending: "pending";
|
|
1451
|
+
}>;
|
|
1452
|
+
statusPercentage: import("zod").ZodNumber;
|
|
1453
|
+
sourceLength: import("zod").ZodNumber;
|
|
1454
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1455
|
+
memory: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1456
|
+
testcasesCount: import("zod").ZodNumber;
|
|
1457
|
+
createdAt: import("zod").ZodISODateTime;
|
|
1458
|
+
}, import("zod/v4/core").$strip>>;
|
|
1459
|
+
page: import("zod").ZodNumber;
|
|
1460
|
+
maxPage: import("zod").ZodNumber;
|
|
1461
|
+
count: import("zod").ZodNumber;
|
|
1462
|
+
usersCount: import("zod").ZodNumber;
|
|
1463
|
+
}, import("zod/v4/core").$strip>;
|
|
1464
|
+
readonly query: import("zod").ZodObject<{
|
|
1465
|
+
problemIds: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1466
|
+
userIds: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1467
|
+
userIdsNin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1468
|
+
languages: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1469
|
+
statuses: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1470
|
+
createdAtMin: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
1471
|
+
createdAtMax: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
1472
|
+
sort: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1473
|
+
"createdAt-asc": "createdAt-asc";
|
|
1474
|
+
"createdAt-desc": "createdAt-desc";
|
|
1475
|
+
"id-asc": "id-asc";
|
|
1476
|
+
"id-desc": "id-desc";
|
|
1477
|
+
"userId-asc": "userId-asc";
|
|
1478
|
+
"userId-desc": "userId-desc";
|
|
1479
|
+
"problemId-asc": "problemId-asc";
|
|
1480
|
+
"problemId-desc": "problemId-desc";
|
|
1481
|
+
"time-asc": "time-asc";
|
|
1482
|
+
"time-desc": "time-desc";
|
|
1483
|
+
"memory-asc": "memory-asc";
|
|
1484
|
+
"memory-desc": "memory-desc";
|
|
1485
|
+
"sourceLength-asc": "sourceLength-asc";
|
|
1486
|
+
"sourceLength-desc": "sourceLength-desc";
|
|
1487
|
+
}>>;
|
|
1488
|
+
page: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1489
|
+
onePageLength: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1490
|
+
}, import("zod/v4/core").$strip>;
|
|
1491
|
+
};
|
|
1492
|
+
readonly getById: {
|
|
1493
|
+
readonly prefix: string;
|
|
1494
|
+
readonly operation: {
|
|
1495
|
+
readonly summary: "제출 정보 조회";
|
|
1496
|
+
};
|
|
1497
|
+
readonly auth: {
|
|
1498
|
+
readonly requiredLevel: 0;
|
|
1499
|
+
};
|
|
1500
|
+
readonly base: "oj-api";
|
|
1501
|
+
readonly method: "get";
|
|
1502
|
+
readonly path: (id: string) => string;
|
|
1503
|
+
readonly data: import("zod").ZodObject<{
|
|
1504
|
+
id: import("zod").ZodString;
|
|
1505
|
+
problemId: import("zod").ZodString;
|
|
1506
|
+
userId: import("zod").ZodString;
|
|
1507
|
+
language: import("zod").ZodEnum<{
|
|
1508
|
+
c: "c";
|
|
1509
|
+
ruby: "ruby";
|
|
1510
|
+
r: "r";
|
|
1511
|
+
c11: "c11";
|
|
1512
|
+
"c++": "c++";
|
|
1513
|
+
"c++11": "c++11";
|
|
1514
|
+
"c++14": "c++14";
|
|
1515
|
+
"c++17": "c++17";
|
|
1516
|
+
python2: "python2";
|
|
1517
|
+
python3: "python3";
|
|
1518
|
+
pypy3: "pypy3";
|
|
1519
|
+
openjdk: "openjdk";
|
|
1520
|
+
golang: "golang";
|
|
1521
|
+
}>;
|
|
1522
|
+
status: import("zod").ZodEnum<{
|
|
1523
|
+
output: "output";
|
|
1524
|
+
accept: "accept";
|
|
1525
|
+
wrong: "wrong";
|
|
1526
|
+
time: "time";
|
|
1527
|
+
memory: "memory";
|
|
1528
|
+
compile: "compile";
|
|
1529
|
+
runtime: "runtime";
|
|
1530
|
+
server: "server";
|
|
1531
|
+
pending: "pending";
|
|
1532
|
+
}>;
|
|
1533
|
+
statusPercentage: import("zod").ZodNumber;
|
|
1534
|
+
createdAt: import("zod").ZodISODateTime;
|
|
1535
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
1536
|
+
source: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1537
|
+
stderr: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1538
|
+
sourceLength: import("zod").ZodNumber;
|
|
1539
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1540
|
+
memory: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1541
|
+
testcases: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1542
|
+
id: import("zod").ZodString;
|
|
1543
|
+
inputPath: import("zod").ZodString;
|
|
1544
|
+
inputVersion: import("zod").ZodString;
|
|
1545
|
+
outputPath: import("zod").ZodString;
|
|
1546
|
+
outputVersion: import("zod").ZodString;
|
|
1547
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1548
|
+
memory: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1549
|
+
result: import("zod").ZodEnum<{
|
|
1550
|
+
output: "output";
|
|
1551
|
+
accept: "accept";
|
|
1552
|
+
wrong: "wrong";
|
|
1553
|
+
time: "time";
|
|
1554
|
+
memory: "memory";
|
|
1555
|
+
compile: "compile";
|
|
1556
|
+
runtime: "runtime";
|
|
1557
|
+
server: "server";
|
|
1558
|
+
pending: "pending";
|
|
1559
|
+
ignored: "ignored";
|
|
1560
|
+
}>;
|
|
1561
|
+
}, import("zod/v4/core").$strip>>;
|
|
1562
|
+
}, import("zod/v4/core").$strip>;
|
|
1563
|
+
};
|
|
1564
|
+
readonly getByMe: {
|
|
1565
|
+
readonly prefix: string;
|
|
1566
|
+
readonly operation: {
|
|
1567
|
+
readonly summary: "내 제출 조회";
|
|
1568
|
+
};
|
|
1569
|
+
readonly auth: {
|
|
1570
|
+
readonly requiredLevel: 0;
|
|
1571
|
+
};
|
|
1572
|
+
readonly base: "oj-api";
|
|
1573
|
+
readonly method: "get";
|
|
1574
|
+
readonly path: () => string;
|
|
1575
|
+
readonly data: import("zod").ZodObject<{
|
|
1576
|
+
submits: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1577
|
+
id: import("zod").ZodString;
|
|
1578
|
+
problemId: import("zod").ZodString;
|
|
1579
|
+
status: import("zod").ZodEnum<{
|
|
1580
|
+
output: "output";
|
|
1581
|
+
accept: "accept";
|
|
1582
|
+
wrong: "wrong";
|
|
1583
|
+
time: "time";
|
|
1584
|
+
memory: "memory";
|
|
1585
|
+
compile: "compile";
|
|
1586
|
+
runtime: "runtime";
|
|
1587
|
+
server: "server";
|
|
1588
|
+
pending: "pending";
|
|
1589
|
+
}>;
|
|
1590
|
+
}, import("zod/v4/core").$strip>>;
|
|
1591
|
+
}, import("zod/v4/core").$strip>;
|
|
1592
|
+
readonly query: import("zod").ZodObject<{
|
|
1593
|
+
problemIds: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1594
|
+
isUniqueProblemId: import("zod").ZodOptional<import("zod").ZodCoercedBoolean<unknown>>;
|
|
1595
|
+
}, import("zod/v4/core").$strip>;
|
|
1596
|
+
};
|
|
1597
|
+
readonly post: {
|
|
1598
|
+
readonly prefix: string;
|
|
1599
|
+
readonly operation: {
|
|
1600
|
+
readonly summary: "제출";
|
|
1601
|
+
};
|
|
1602
|
+
readonly auth: {
|
|
1603
|
+
readonly requiredLevel: 1;
|
|
1604
|
+
};
|
|
1605
|
+
readonly base: "oj-api";
|
|
1606
|
+
readonly method: "post";
|
|
1607
|
+
readonly path: () => string;
|
|
1608
|
+
readonly body: import("zod").ZodObject<{
|
|
1609
|
+
problemId: import("zod").ZodString;
|
|
1610
|
+
contestId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1611
|
+
source: import("zod").ZodString;
|
|
1612
|
+
language: import("zod").ZodEnum<{
|
|
1613
|
+
c: "c";
|
|
1614
|
+
ruby: "ruby";
|
|
1615
|
+
r: "r";
|
|
1616
|
+
c11: "c11";
|
|
1617
|
+
"c++": "c++";
|
|
1618
|
+
"c++11": "c++11";
|
|
1619
|
+
"c++14": "c++14";
|
|
1620
|
+
"c++17": "c++17";
|
|
1621
|
+
python2: "python2";
|
|
1622
|
+
python3: "python3";
|
|
1623
|
+
pypy3: "pypy3";
|
|
1624
|
+
openjdk: "openjdk";
|
|
1625
|
+
golang: "golang";
|
|
1626
|
+
}>;
|
|
1627
|
+
isIgnored: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1628
|
+
}, import("zod/v4/core").$strip>;
|
|
1629
|
+
readonly data: import("zod").ZodObject<{
|
|
1630
|
+
id: import("zod").ZodString;
|
|
1631
|
+
}, import("zod/v4/core").$strip>;
|
|
1632
|
+
};
|
|
1633
|
+
readonly putMigrate: {
|
|
1634
|
+
readonly prefix: string;
|
|
1635
|
+
readonly operation: {
|
|
1636
|
+
readonly summary: "제출 마이그레이션";
|
|
1637
|
+
};
|
|
1638
|
+
readonly auth: {
|
|
1639
|
+
readonly requiredLevel: 5;
|
|
1640
|
+
};
|
|
1641
|
+
readonly base: "oj-api";
|
|
1642
|
+
readonly method: "put";
|
|
1643
|
+
readonly path: () => string;
|
|
1644
|
+
};
|
|
1645
|
+
};
|
|
1646
|
+
user: {
|
|
1647
|
+
readonly get: {
|
|
1648
|
+
readonly prefix: string;
|
|
1649
|
+
readonly operation: {
|
|
1650
|
+
readonly summary: "유저 조회";
|
|
1651
|
+
};
|
|
1652
|
+
readonly base: "oj-api";
|
|
1653
|
+
readonly method: "get";
|
|
1654
|
+
readonly path: () => string;
|
|
1655
|
+
readonly data: import("zod").ZodObject<{
|
|
1656
|
+
users: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1657
|
+
id: import("zod").ZodString;
|
|
1658
|
+
name: import("zod").ZodString;
|
|
1659
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1660
|
+
profileImageUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
1661
|
+
solvesCount: import("zod").ZodNumber;
|
|
1662
|
+
trophiesCount: import("zod").ZodNumber;
|
|
1663
|
+
recordsCount: import("zod").ZodNumber;
|
|
1664
|
+
accessAt: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
1665
|
+
}, import("zod/v4/core").$strip>>;
|
|
1666
|
+
page: import("zod").ZodNumber;
|
|
1667
|
+
maxPage: import("zod").ZodNumber;
|
|
1668
|
+
count: import("zod").ZodNumber;
|
|
1669
|
+
}, import("zod/v4/core").$strip>;
|
|
1670
|
+
readonly query: import("zod").ZodObject<{
|
|
1671
|
+
userIds: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1672
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1673
|
+
sort: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1674
|
+
"id-asc": "id-asc";
|
|
1675
|
+
"id-desc": "id-desc";
|
|
1676
|
+
"solvesCount-asc": "solvesCount-asc";
|
|
1677
|
+
"solvesCount-desc": "solvesCount-desc";
|
|
1678
|
+
"rank-asc": "rank-asc";
|
|
1679
|
+
"rank-desc": "rank-desc";
|
|
1680
|
+
"trophiesCount-asc": "trophiesCount-asc";
|
|
1681
|
+
"trophiesCount-desc": "trophiesCount-desc";
|
|
1682
|
+
"recordsCount-asc": "recordsCount-asc";
|
|
1683
|
+
"recordsCount-desc": "recordsCount-desc";
|
|
1684
|
+
"accessAt-asc": "accessAt-asc";
|
|
1685
|
+
"accessAt-desc": "accessAt-desc";
|
|
1686
|
+
}>>;
|
|
1687
|
+
page: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1688
|
+
onePageLength: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1689
|
+
}, import("zod/v4/core").$strip>;
|
|
1690
|
+
};
|
|
1691
|
+
readonly getByMe: {
|
|
1692
|
+
readonly prefix: string;
|
|
1693
|
+
readonly operation: {
|
|
1694
|
+
readonly summary: "로그인 한 유저 정보 조회";
|
|
1695
|
+
readonly description: "로그인 하지 않은 유저는 id와 name이 빈 문자열, level이 0으로 반환됩니다.";
|
|
1696
|
+
};
|
|
1697
|
+
readonly auth: {
|
|
1698
|
+
readonly requiredLevel: 0;
|
|
1699
|
+
};
|
|
1700
|
+
readonly base: "oj-api";
|
|
1701
|
+
readonly method: "get";
|
|
1702
|
+
readonly path: () => string;
|
|
1703
|
+
readonly data: import("zod").ZodObject<{
|
|
1704
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1705
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1706
|
+
level: import("zod").ZodNumber;
|
|
1707
|
+
profileImageUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
1708
|
+
}, import("zod/v4/core").$strip>;
|
|
1709
|
+
};
|
|
1710
|
+
readonly getByTemp: {
|
|
1711
|
+
readonly prefix: string;
|
|
1712
|
+
readonly operation: {
|
|
1713
|
+
readonly summary: "유저 정보 조회";
|
|
1714
|
+
readonly description: "유저 정보를 조회합니다.";
|
|
1715
|
+
};
|
|
1716
|
+
readonly auth: {
|
|
1717
|
+
readonly temp: true;
|
|
1718
|
+
};
|
|
1719
|
+
readonly base: "oj-api";
|
|
1720
|
+
readonly method: "get";
|
|
1721
|
+
readonly path: () => string;
|
|
1722
|
+
readonly data: import("zod").ZodObject<{
|
|
1723
|
+
maskedEmail: import("zod").ZodString;
|
|
1724
|
+
}, import("zod/v4/core").$strip>;
|
|
1725
|
+
};
|
|
1726
|
+
readonly getEditorConfigByMe: {
|
|
1727
|
+
readonly prefix: string;
|
|
1728
|
+
readonly operation: {
|
|
1729
|
+
readonly summary: "에디터 설정 조회";
|
|
1730
|
+
readonly description: "에디터 설정을 조회합니다.";
|
|
1731
|
+
};
|
|
1732
|
+
readonly auth: {
|
|
1733
|
+
readonly requiredLevel: 0;
|
|
1734
|
+
};
|
|
1735
|
+
readonly base: "oj-api";
|
|
1736
|
+
readonly method: "get";
|
|
1737
|
+
readonly path: () => string;
|
|
1738
|
+
readonly data: import("zod").ZodObject<{
|
|
1739
|
+
theme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1740
|
+
vs: "vs";
|
|
1741
|
+
"vs-dark": "vs-dark";
|
|
1742
|
+
"hc-black": "hc-black";
|
|
1743
|
+
}>>;
|
|
1744
|
+
letterSpacing: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1745
|
+
font: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1746
|
+
Pretendard: "Pretendard";
|
|
1747
|
+
BitgoeulGwangju: "BitgoeulGwangju";
|
|
1748
|
+
D2Coding: "D2Coding";
|
|
1749
|
+
JetBrainsMono: "JetBrainsMono";
|
|
1750
|
+
FiraCode: "FiraCode";
|
|
1751
|
+
Hack: "Hack";
|
|
1752
|
+
UbuntuMono: "UbuntuMono";
|
|
1753
|
+
SourceCodePro: "SourceCodePro";
|
|
1754
|
+
IbmPlex: "IbmPlex";
|
|
1755
|
+
MonaspaceNeon: "MonaspaceNeon";
|
|
1756
|
+
MonaspaceArgon: "MonaspaceArgon";
|
|
1757
|
+
MonaspaceKrypton: "MonaspaceKrypton";
|
|
1758
|
+
MonaspaceXenon: "MonaspaceXenon";
|
|
1759
|
+
Inconsolata: "Inconsolata";
|
|
1760
|
+
RobotoMono: "RobotoMono";
|
|
1761
|
+
}>>;
|
|
1762
|
+
fontSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1763
|
+
tabSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1764
|
+
}, import("zod/v4/core").$strip>;
|
|
1765
|
+
};
|
|
1766
|
+
readonly getStyleConfigByMe: {
|
|
1767
|
+
readonly prefix: string;
|
|
1768
|
+
readonly operation: {
|
|
1769
|
+
readonly summary: "UI 설정 조회";
|
|
1770
|
+
readonly description: "UI 설정을 조회합니다.";
|
|
1771
|
+
};
|
|
1772
|
+
readonly auth: {
|
|
1773
|
+
readonly requiredLevel: 0;
|
|
1774
|
+
};
|
|
1775
|
+
readonly base: "oj-api";
|
|
1776
|
+
readonly method: "get";
|
|
1777
|
+
readonly path: () => string;
|
|
1778
|
+
readonly data: import("zod").ZodObject<{
|
|
1779
|
+
simplifiedTheme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1780
|
+
light: "light";
|
|
1781
|
+
dark: "dark";
|
|
1782
|
+
system: "system";
|
|
1783
|
+
}>>;
|
|
1784
|
+
lightTheme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1785
|
+
light: "light";
|
|
1786
|
+
dark: "dark";
|
|
1787
|
+
"light-high-contrast": "light-high-contrast";
|
|
1788
|
+
"dark-high-contrast": "dark-high-contrast";
|
|
1789
|
+
"dark-dimmed": "dark-dimmed";
|
|
1790
|
+
"light-colorblind": "light-colorblind";
|
|
1791
|
+
"dark-colorblind": "dark-colorblind";
|
|
1792
|
+
}>>;
|
|
1793
|
+
darkTheme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1794
|
+
light: "light";
|
|
1795
|
+
dark: "dark";
|
|
1796
|
+
"light-high-contrast": "light-high-contrast";
|
|
1797
|
+
"dark-high-contrast": "dark-high-contrast";
|
|
1798
|
+
"dark-dimmed": "dark-dimmed";
|
|
1799
|
+
"light-colorblind": "light-colorblind";
|
|
1800
|
+
"dark-colorblind": "dark-colorblind";
|
|
1801
|
+
}>>;
|
|
1802
|
+
}, import("zod/v4/core").$strip>;
|
|
1803
|
+
};
|
|
1804
|
+
readonly getEnvConfigByMe: {
|
|
1805
|
+
readonly prefix: string;
|
|
1806
|
+
readonly operation: {
|
|
1807
|
+
readonly summary: "환경 설정 조회";
|
|
1808
|
+
readonly description: "환경 설정을 조회합니다.";
|
|
1809
|
+
};
|
|
1810
|
+
readonly auth: {
|
|
1811
|
+
readonly requiredLevel: 0;
|
|
1812
|
+
};
|
|
1813
|
+
readonly base: "oj-api";
|
|
1814
|
+
readonly method: "get";
|
|
1815
|
+
readonly path: () => string;
|
|
1816
|
+
readonly data: import("zod").ZodObject<{
|
|
1817
|
+
quickeditor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1818
|
+
languages: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1819
|
+
c: "c";
|
|
1820
|
+
cpp: "cpp";
|
|
1821
|
+
python: "python";
|
|
1822
|
+
java: "java";
|
|
1823
|
+
ruby: "ruby";
|
|
1824
|
+
go: "go";
|
|
1825
|
+
r: "r";
|
|
1826
|
+
javascript: "javascript";
|
|
1827
|
+
}>>>;
|
|
1828
|
+
environments: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
1829
|
+
c: "c";
|
|
1830
|
+
cpp: "cpp";
|
|
1831
|
+
python: "python";
|
|
1832
|
+
java: "java";
|
|
1833
|
+
ruby: "ruby";
|
|
1834
|
+
go: "go";
|
|
1835
|
+
r: "r";
|
|
1836
|
+
javascript: "javascript";
|
|
1837
|
+
}> & import("zod/v4/core").$partial, import("zod").ZodEnum<{
|
|
1838
|
+
c: "c";
|
|
1839
|
+
ruby: "ruby";
|
|
1840
|
+
r: "r";
|
|
1841
|
+
c11: "c11";
|
|
1842
|
+
"c++": "c++";
|
|
1843
|
+
"c++11": "c++11";
|
|
1844
|
+
"c++14": "c++14";
|
|
1845
|
+
"c++17": "c++17";
|
|
1846
|
+
python2: "python2";
|
|
1847
|
+
python3: "python3";
|
|
1848
|
+
pypy3: "pypy3";
|
|
1849
|
+
openjdk: "openjdk";
|
|
1850
|
+
golang: "golang";
|
|
1851
|
+
}>>>;
|
|
1852
|
+
isShortcutDisabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1853
|
+
shortcuts: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
1854
|
+
close: "close";
|
|
1855
|
+
up: "up";
|
|
1856
|
+
down: "down";
|
|
1857
|
+
enter: "enter";
|
|
1858
|
+
"problem-submit": "problem-submit";
|
|
1859
|
+
"problem-editor": "problem-editor";
|
|
1860
|
+
"editor-save": "editor-save";
|
|
1861
|
+
}> & import("zod/v4/core").$partial, import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1862
|
+
Mod: "Mod";
|
|
1863
|
+
Control: "Control";
|
|
1864
|
+
Alt: "Alt";
|
|
1865
|
+
Shift: "Shift";
|
|
1866
|
+
KeyA: "KeyA";
|
|
1867
|
+
KeyB: "KeyB";
|
|
1868
|
+
KeyC: "KeyC";
|
|
1869
|
+
KeyD: "KeyD";
|
|
1870
|
+
KeyE: "KeyE";
|
|
1871
|
+
KeyF: "KeyF";
|
|
1872
|
+
KeyG: "KeyG";
|
|
1873
|
+
KeyH: "KeyH";
|
|
1874
|
+
KeyI: "KeyI";
|
|
1875
|
+
KeyJ: "KeyJ";
|
|
1876
|
+
KeyK: "KeyK";
|
|
1877
|
+
KeyL: "KeyL";
|
|
1878
|
+
KeyM: "KeyM";
|
|
1879
|
+
KeyN: "KeyN";
|
|
1880
|
+
KeyO: "KeyO";
|
|
1881
|
+
KeyP: "KeyP";
|
|
1882
|
+
KeyQ: "KeyQ";
|
|
1883
|
+
KeyR: "KeyR";
|
|
1884
|
+
KeyS: "KeyS";
|
|
1885
|
+
KeyT: "KeyT";
|
|
1886
|
+
KeyU: "KeyU";
|
|
1887
|
+
KeyV: "KeyV";
|
|
1888
|
+
KeyW: "KeyW";
|
|
1889
|
+
KeyX: "KeyX";
|
|
1890
|
+
KeyY: "KeyY";
|
|
1891
|
+
KeyZ: "KeyZ";
|
|
1892
|
+
Digit0: "Digit0";
|
|
1893
|
+
Digit1: "Digit1";
|
|
1894
|
+
Digit2: "Digit2";
|
|
1895
|
+
Digit3: "Digit3";
|
|
1896
|
+
Digit4: "Digit4";
|
|
1897
|
+
Digit5: "Digit5";
|
|
1898
|
+
Digit6: "Digit6";
|
|
1899
|
+
Digit7: "Digit7";
|
|
1900
|
+
Digit8: "Digit8";
|
|
1901
|
+
Digit9: "Digit9";
|
|
1902
|
+
Backquote: "Backquote";
|
|
1903
|
+
Minus: "Minus";
|
|
1904
|
+
Equal: "Equal";
|
|
1905
|
+
BracketLeft: "BracketLeft";
|
|
1906
|
+
BracketRight: "BracketRight";
|
|
1907
|
+
Backslash: "Backslash";
|
|
1908
|
+
Semicolon: "Semicolon";
|
|
1909
|
+
Quote: "Quote";
|
|
1910
|
+
Comma: "Comma";
|
|
1911
|
+
Period: "Period";
|
|
1912
|
+
Slash: "Slash";
|
|
1913
|
+
F1: "F1";
|
|
1914
|
+
F2: "F2";
|
|
1915
|
+
F3: "F3";
|
|
1916
|
+
F4: "F4";
|
|
1917
|
+
F5: "F5";
|
|
1918
|
+
F6: "F6";
|
|
1919
|
+
F7: "F7";
|
|
1920
|
+
F8: "F8";
|
|
1921
|
+
F9: "F9";
|
|
1922
|
+
F10: "F10";
|
|
1923
|
+
F11: "F11";
|
|
1924
|
+
F12: "F12";
|
|
1925
|
+
ArrowUp: "ArrowUp";
|
|
1926
|
+
ArrowDown: "ArrowDown";
|
|
1927
|
+
ArrowLeft: "ArrowLeft";
|
|
1928
|
+
ArrowRight: "ArrowRight";
|
|
1929
|
+
Home: "Home";
|
|
1930
|
+
End: "End";
|
|
1931
|
+
PageUp: "PageUp";
|
|
1932
|
+
PageDown: "PageDown";
|
|
1933
|
+
Enter: "Enter";
|
|
1934
|
+
Space: "Space";
|
|
1935
|
+
Backspace: "Backspace";
|
|
1936
|
+
Delete: "Delete";
|
|
1937
|
+
Insert: "Insert";
|
|
1938
|
+
Escape: "Escape";
|
|
1939
|
+
Tab: "Tab";
|
|
1940
|
+
Numpad0: "Numpad0";
|
|
1941
|
+
Numpad1: "Numpad1";
|
|
1942
|
+
Numpad2: "Numpad2";
|
|
1943
|
+
Numpad3: "Numpad3";
|
|
1944
|
+
Numpad4: "Numpad4";
|
|
1945
|
+
Numpad5: "Numpad5";
|
|
1946
|
+
Numpad6: "Numpad6";
|
|
1947
|
+
Numpad7: "Numpad7";
|
|
1948
|
+
Numpad8: "Numpad8";
|
|
1949
|
+
Numpad9: "Numpad9";
|
|
1950
|
+
NumpadAdd: "NumpadAdd";
|
|
1951
|
+
NumpadSubtract: "NumpadSubtract";
|
|
1952
|
+
NumpadMultiply: "NumpadMultiply";
|
|
1953
|
+
NumpadDivide: "NumpadDivide";
|
|
1954
|
+
NumpadDecimal: "NumpadDecimal";
|
|
1955
|
+
NumpadEnter: "NumpadEnter";
|
|
1956
|
+
}>>>>;
|
|
1957
|
+
}, import("zod/v4/core").$strip>;
|
|
1958
|
+
};
|
|
1959
|
+
readonly getBookmarksByMe: {
|
|
1960
|
+
readonly prefix: string;
|
|
1961
|
+
readonly operation: {
|
|
1962
|
+
readonly summary: "북마크 조회";
|
|
1963
|
+
readonly description: "북마크를 조회합니다.";
|
|
1964
|
+
};
|
|
1965
|
+
readonly auth: {
|
|
1966
|
+
readonly requiredLevel: 0;
|
|
1967
|
+
};
|
|
1968
|
+
readonly base: "oj-api";
|
|
1969
|
+
readonly method: "get";
|
|
1970
|
+
readonly path: () => string;
|
|
1971
|
+
readonly data: import("zod").ZodArray<import("zod").ZodString>;
|
|
1972
|
+
};
|
|
1973
|
+
readonly getById: {
|
|
1974
|
+
readonly prefix: string;
|
|
1975
|
+
readonly operation: {
|
|
1976
|
+
readonly summary: "유저 정보 조회";
|
|
1977
|
+
readonly description: "유저 정보를 조회합니다.";
|
|
1978
|
+
};
|
|
1979
|
+
readonly auth: {
|
|
1980
|
+
readonly requiredLevel: 0;
|
|
1981
|
+
};
|
|
1982
|
+
readonly base: "oj-api";
|
|
1983
|
+
readonly method: "get";
|
|
1984
|
+
readonly path: (id: string) => string;
|
|
1985
|
+
readonly query: import("zod").ZodObject<{
|
|
1986
|
+
isSafe: import("zod").ZodDefault<import("zod").ZodCoercedBoolean<unknown>>;
|
|
1987
|
+
}, import("zod/v4/core").$strip>;
|
|
1988
|
+
readonly data: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1989
|
+
id: import("zod").ZodString;
|
|
1990
|
+
name: import("zod").ZodString;
|
|
1991
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1992
|
+
school: import("zod").ZodString;
|
|
1993
|
+
profileImageUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
1994
|
+
email: import("zod").ZodOptional<import("zod").ZodEmail>;
|
|
1995
|
+
isEmailPublic: import("zod").ZodBoolean;
|
|
1996
|
+
loginMethods: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1997
|
+
naver: "naver";
|
|
1998
|
+
google: "google";
|
|
1999
|
+
kakao: "kakao";
|
|
2000
|
+
password: "password";
|
|
2001
|
+
}>>;
|
|
2002
|
+
solvesCount: import("zod").ZodNumber;
|
|
2003
|
+
trophiesCount: import("zod").ZodNumber;
|
|
2004
|
+
recordsCount: import("zod").ZodNumber;
|
|
2005
|
+
accessAt: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
2006
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
2007
|
+
}, import("zod/v4/core").$strip>>;
|
|
2008
|
+
};
|
|
2009
|
+
readonly getByEmail: {
|
|
2010
|
+
readonly prefix: string;
|
|
2011
|
+
readonly operation: {
|
|
2012
|
+
readonly summary: "유저 정보 조회";
|
|
2013
|
+
readonly description: "유저 정보를 조회합니다.";
|
|
2014
|
+
};
|
|
2015
|
+
readonly base: "oj-api";
|
|
2016
|
+
readonly method: "get";
|
|
2017
|
+
readonly path: (email: string) => string;
|
|
2018
|
+
readonly query: import("zod").ZodObject<{
|
|
2019
|
+
isSafe: import("zod").ZodDefault<import("zod").ZodCoercedBoolean<unknown>>;
|
|
2020
|
+
}, import("zod/v4/core").$strip>;
|
|
2021
|
+
readonly data: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2022
|
+
id: import("zod").ZodString;
|
|
2023
|
+
}, import("zod/v4/core").$strip>>;
|
|
2024
|
+
};
|
|
2025
|
+
readonly getSocialByTemp: {
|
|
2026
|
+
readonly prefix: string;
|
|
2027
|
+
readonly operation: {
|
|
2028
|
+
readonly summary: "유저 정보 조회";
|
|
2029
|
+
readonly description: "유저 정보를 조회합니다.";
|
|
2030
|
+
};
|
|
2031
|
+
readonly auth: {
|
|
2032
|
+
readonly temp: true;
|
|
2033
|
+
};
|
|
2034
|
+
readonly base: "oj-api";
|
|
2035
|
+
readonly method: "get";
|
|
2036
|
+
readonly path: () => string;
|
|
2037
|
+
readonly data: import("zod").ZodObject<{
|
|
2038
|
+
name: import("zod").ZodString;
|
|
2039
|
+
email: import("zod").ZodEmail;
|
|
2040
|
+
}, import("zod/v4/core").$strip>;
|
|
2041
|
+
};
|
|
2042
|
+
readonly post: {
|
|
2043
|
+
readonly prefix: string;
|
|
2044
|
+
readonly operation: {
|
|
2045
|
+
readonly summary: "회원가입";
|
|
2046
|
+
};
|
|
2047
|
+
readonly base: "oj-api";
|
|
2048
|
+
readonly method: "post";
|
|
2049
|
+
readonly path: () => string;
|
|
2050
|
+
readonly body: import("zod").ZodObject<{
|
|
2051
|
+
id: import("zod").ZodString;
|
|
2052
|
+
password: import("zod").ZodString;
|
|
2053
|
+
name: import("zod").ZodString;
|
|
2054
|
+
email: import("zod").ZodEmail;
|
|
2055
|
+
school: import("zod").ZodString;
|
|
2056
|
+
recaptchaToken: import("zod").ZodString;
|
|
2057
|
+
}, import("zod/v4/core").$strip>;
|
|
2058
|
+
readonly data: import("zod").ZodObject<{
|
|
2059
|
+
id: import("zod").ZodString;
|
|
2060
|
+
}, import("zod/v4/core").$strip>;
|
|
2061
|
+
};
|
|
2062
|
+
readonly postByTemp: {
|
|
2063
|
+
readonly prefix: string;
|
|
2064
|
+
readonly operation: {
|
|
2065
|
+
readonly summary: "회원가입";
|
|
2066
|
+
};
|
|
2067
|
+
readonly auth: {
|
|
2068
|
+
readonly temp: true;
|
|
2069
|
+
};
|
|
2070
|
+
readonly base: "oj-api";
|
|
2071
|
+
readonly method: "post";
|
|
2072
|
+
readonly path: () => string;
|
|
2073
|
+
readonly body: import("zod").ZodObject<{
|
|
2074
|
+
id: import("zod").ZodString;
|
|
2075
|
+
school: import("zod").ZodString;
|
|
2076
|
+
}, import("zod/v4/core").$strip>;
|
|
2077
|
+
readonly data: import("zod").ZodObject<{
|
|
2078
|
+
id: import("zod").ZodString;
|
|
2079
|
+
}, import("zod/v4/core").$strip>;
|
|
2080
|
+
};
|
|
2081
|
+
readonly postProfileImagePresignedUrlByMe: {
|
|
2082
|
+
readonly prefix: string;
|
|
2083
|
+
readonly operation: {
|
|
2084
|
+
readonly summary: "프로필 이미지 업로드를 위한 presigned url 발급";
|
|
2085
|
+
};
|
|
2086
|
+
readonly auth: {
|
|
2087
|
+
readonly requiredLevel: 1;
|
|
2088
|
+
};
|
|
2089
|
+
readonly base: "oj-api";
|
|
2090
|
+
readonly method: "post";
|
|
2091
|
+
readonly path: () => string;
|
|
2092
|
+
readonly data: import("zod").ZodObject<{
|
|
2093
|
+
url: import("zod").ZodString;
|
|
2094
|
+
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
2095
|
+
}, import("zod/v4/core").$strip>;
|
|
2096
|
+
};
|
|
2097
|
+
readonly postLoginMethodByMe: {
|
|
2098
|
+
readonly prefix: string;
|
|
2099
|
+
readonly operation: {
|
|
2100
|
+
readonly summary: "로그인 수단 추가";
|
|
2101
|
+
};
|
|
2102
|
+
readonly auth: {
|
|
2103
|
+
readonly requiredLevel: 1;
|
|
2104
|
+
};
|
|
2105
|
+
readonly base: "oj-api";
|
|
2106
|
+
readonly method: "put";
|
|
2107
|
+
readonly path: () => string;
|
|
2108
|
+
readonly body: import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
2109
|
+
naverCode: import("zod").ZodString;
|
|
2110
|
+
state: import("zod").ZodString;
|
|
2111
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2112
|
+
googleCode: import("zod").ZodString;
|
|
2113
|
+
state: import("zod").ZodString;
|
|
2114
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodObject<{
|
|
2115
|
+
kakaoCode: import("zod").ZodString;
|
|
2116
|
+
state: import("zod").ZodString;
|
|
2117
|
+
}, import("zod/v4/core").$strip>]>;
|
|
2118
|
+
};
|
|
2119
|
+
readonly putIsAgreeTermsByTemp: {
|
|
2120
|
+
readonly prefix: string;
|
|
2121
|
+
readonly operation: {
|
|
2122
|
+
readonly summary: "약관에 동의";
|
|
2123
|
+
};
|
|
2124
|
+
readonly auth: {
|
|
2125
|
+
readonly temp: true;
|
|
2126
|
+
};
|
|
2127
|
+
readonly base: "oj-api";
|
|
2128
|
+
readonly method: "put";
|
|
2129
|
+
readonly path: () => string;
|
|
2130
|
+
};
|
|
2131
|
+
readonly putIsVerifiedEmail: {
|
|
2132
|
+
readonly prefix: string;
|
|
2133
|
+
readonly operation: {
|
|
2134
|
+
readonly summary: "이메일 인증";
|
|
2135
|
+
};
|
|
2136
|
+
readonly base: "oj-api";
|
|
2137
|
+
readonly method: "put";
|
|
2138
|
+
readonly path: () => string;
|
|
2139
|
+
readonly body: import("zod").ZodObject<{
|
|
2140
|
+
mailId: import("zod").ZodString;
|
|
2141
|
+
mailVerificationToken: import("zod").ZodString;
|
|
2142
|
+
}, import("zod/v4/core").$strip>;
|
|
2143
|
+
};
|
|
2144
|
+
readonly putPassword: {
|
|
2145
|
+
readonly prefix: string;
|
|
2146
|
+
readonly operation: {
|
|
2147
|
+
readonly summary: "비밀번호 변경";
|
|
2148
|
+
};
|
|
2149
|
+
readonly base: "oj-api";
|
|
2150
|
+
readonly method: "put";
|
|
2151
|
+
readonly path: () => string;
|
|
2152
|
+
readonly body: import("zod").ZodObject<{
|
|
2153
|
+
password: import("zod").ZodString;
|
|
2154
|
+
mailId: import("zod").ZodString;
|
|
2155
|
+
mailVerificationToken: import("zod").ZodString;
|
|
2156
|
+
}, import("zod/v4/core").$strip>;
|
|
2157
|
+
};
|
|
2158
|
+
readonly putPasswordByMe: {
|
|
2159
|
+
readonly prefix: string;
|
|
2160
|
+
readonly operation: {
|
|
2161
|
+
readonly summary: "비밀번호 변경";
|
|
2162
|
+
readonly description: "내 비밀번호를 변경 또는 설정 합니다.";
|
|
2163
|
+
};
|
|
2164
|
+
readonly auth: {
|
|
2165
|
+
readonly requiredLevel: 1;
|
|
2166
|
+
};
|
|
2167
|
+
readonly base: "oj-api";
|
|
2168
|
+
readonly method: "put";
|
|
2169
|
+
readonly path: () => string;
|
|
2170
|
+
readonly body: import("zod").ZodObject<{
|
|
2171
|
+
currentPassword: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2172
|
+
password: import("zod").ZodString;
|
|
2173
|
+
}, import("zod/v4/core").$strip>;
|
|
2174
|
+
};
|
|
2175
|
+
readonly putProfileImageUrlByMe: {
|
|
2176
|
+
readonly prefix: string;
|
|
2177
|
+
readonly operation: {
|
|
2178
|
+
readonly summary: "프로필 이미지 url 업데이트";
|
|
2179
|
+
};
|
|
2180
|
+
readonly auth: {
|
|
2181
|
+
readonly requiredLevel: 1;
|
|
2182
|
+
};
|
|
2183
|
+
readonly base: "oj-api";
|
|
2184
|
+
readonly method: "put";
|
|
2185
|
+
readonly path: () => string;
|
|
2186
|
+
};
|
|
2187
|
+
readonly putProfileImageUrlByTemp: {
|
|
2188
|
+
readonly prefix: string;
|
|
2189
|
+
readonly operation: {
|
|
2190
|
+
readonly summary: "프로필 이미지 url 업데이트";
|
|
2191
|
+
};
|
|
2192
|
+
readonly auth: {
|
|
2193
|
+
readonly temp: true;
|
|
2194
|
+
};
|
|
2195
|
+
readonly base: "oj-api";
|
|
2196
|
+
readonly method: "put";
|
|
2197
|
+
readonly path: () => string;
|
|
2198
|
+
};
|
|
2199
|
+
readonly putBookmarksByMe: {
|
|
2200
|
+
readonly prefix: string;
|
|
2201
|
+
readonly operation: {
|
|
2202
|
+
readonly summary: "북마크 덮어쓰기";
|
|
2203
|
+
readonly description: "북마크를 덮어씁니다.";
|
|
2204
|
+
};
|
|
2205
|
+
readonly auth: {
|
|
2206
|
+
readonly requiredLevel: 1;
|
|
2207
|
+
};
|
|
2208
|
+
readonly base: "oj-api";
|
|
2209
|
+
readonly method: "put";
|
|
2210
|
+
readonly path: () => string;
|
|
2211
|
+
readonly body: import("zod").ZodArray<import("zod").ZodString>;
|
|
2212
|
+
};
|
|
2213
|
+
readonly putEditorConfigByMe: {
|
|
2214
|
+
readonly prefix: string;
|
|
2215
|
+
readonly operation: {
|
|
2216
|
+
readonly summary: "에디터 설정 덮어쓰기";
|
|
2217
|
+
readonly description: "에디터 설정을 덮어씁니다.";
|
|
2218
|
+
};
|
|
2219
|
+
readonly auth: {
|
|
2220
|
+
readonly requiredLevel: 1;
|
|
2221
|
+
};
|
|
2222
|
+
readonly base: "oj-api";
|
|
2223
|
+
readonly method: "put";
|
|
2224
|
+
readonly path: () => string;
|
|
2225
|
+
readonly body: import("zod").ZodObject<{
|
|
2226
|
+
theme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
2227
|
+
vs: "vs";
|
|
2228
|
+
"vs-dark": "vs-dark";
|
|
2229
|
+
"hc-black": "hc-black";
|
|
2230
|
+
}>>;
|
|
2231
|
+
letterSpacing: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2232
|
+
font: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
2233
|
+
Pretendard: "Pretendard";
|
|
2234
|
+
BitgoeulGwangju: "BitgoeulGwangju";
|
|
2235
|
+
D2Coding: "D2Coding";
|
|
2236
|
+
JetBrainsMono: "JetBrainsMono";
|
|
2237
|
+
FiraCode: "FiraCode";
|
|
2238
|
+
Hack: "Hack";
|
|
2239
|
+
UbuntuMono: "UbuntuMono";
|
|
2240
|
+
SourceCodePro: "SourceCodePro";
|
|
2241
|
+
IbmPlex: "IbmPlex";
|
|
2242
|
+
MonaspaceNeon: "MonaspaceNeon";
|
|
2243
|
+
MonaspaceArgon: "MonaspaceArgon";
|
|
2244
|
+
MonaspaceKrypton: "MonaspaceKrypton";
|
|
2245
|
+
MonaspaceXenon: "MonaspaceXenon";
|
|
2246
|
+
Inconsolata: "Inconsolata";
|
|
2247
|
+
RobotoMono: "RobotoMono";
|
|
2248
|
+
}>>;
|
|
2249
|
+
fontSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2250
|
+
tabSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2251
|
+
}, import("zod/v4/core").$strip>;
|
|
2252
|
+
};
|
|
2253
|
+
readonly putStyleConfigByMe: {
|
|
2254
|
+
readonly prefix: string;
|
|
2255
|
+
readonly operation: {
|
|
2256
|
+
readonly summary: "UI 설정 덮어쓰기";
|
|
2257
|
+
readonly description: "UI 설정을 덮어씁니다.";
|
|
2258
|
+
};
|
|
2259
|
+
readonly auth: {
|
|
2260
|
+
readonly requiredLevel: 1;
|
|
2261
|
+
};
|
|
2262
|
+
readonly base: "oj-api";
|
|
2263
|
+
readonly method: "put";
|
|
2264
|
+
readonly path: () => string;
|
|
2265
|
+
readonly body: import("zod").ZodObject<{
|
|
2266
|
+
simplifiedTheme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
2267
|
+
light: "light";
|
|
2268
|
+
dark: "dark";
|
|
2269
|
+
system: "system";
|
|
2270
|
+
}>>;
|
|
2271
|
+
lightTheme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
2272
|
+
light: "light";
|
|
2273
|
+
dark: "dark";
|
|
2274
|
+
"light-high-contrast": "light-high-contrast";
|
|
2275
|
+
"dark-high-contrast": "dark-high-contrast";
|
|
2276
|
+
"dark-dimmed": "dark-dimmed";
|
|
2277
|
+
"light-colorblind": "light-colorblind";
|
|
2278
|
+
"dark-colorblind": "dark-colorblind";
|
|
2279
|
+
}>>;
|
|
2280
|
+
darkTheme: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
2281
|
+
light: "light";
|
|
2282
|
+
dark: "dark";
|
|
2283
|
+
"light-high-contrast": "light-high-contrast";
|
|
2284
|
+
"dark-high-contrast": "dark-high-contrast";
|
|
2285
|
+
"dark-dimmed": "dark-dimmed";
|
|
2286
|
+
"light-colorblind": "light-colorblind";
|
|
2287
|
+
"dark-colorblind": "dark-colorblind";
|
|
2288
|
+
}>>;
|
|
2289
|
+
}, import("zod/v4/core").$strip>;
|
|
2290
|
+
};
|
|
2291
|
+
readonly putEnvConfigByMe: {
|
|
2292
|
+
readonly prefix: string;
|
|
2293
|
+
readonly operation: {
|
|
2294
|
+
readonly summary: "환경 설정 덮어쓰기";
|
|
2295
|
+
readonly description: "환경 설정을 덮어씁니다.";
|
|
2296
|
+
};
|
|
2297
|
+
readonly auth: {
|
|
2298
|
+
readonly requiredLevel: 1;
|
|
2299
|
+
};
|
|
2300
|
+
readonly base: "oj-api";
|
|
2301
|
+
readonly method: "put";
|
|
2302
|
+
readonly path: () => string;
|
|
2303
|
+
readonly body: import("zod").ZodObject<{
|
|
2304
|
+
quickeditor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2305
|
+
languages: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
2306
|
+
c: "c";
|
|
2307
|
+
cpp: "cpp";
|
|
2308
|
+
python: "python";
|
|
2309
|
+
java: "java";
|
|
2310
|
+
ruby: "ruby";
|
|
2311
|
+
go: "go";
|
|
2312
|
+
r: "r";
|
|
2313
|
+
javascript: "javascript";
|
|
2314
|
+
}>>>;
|
|
2315
|
+
environments: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
2316
|
+
c: "c";
|
|
2317
|
+
cpp: "cpp";
|
|
2318
|
+
python: "python";
|
|
2319
|
+
java: "java";
|
|
2320
|
+
ruby: "ruby";
|
|
2321
|
+
go: "go";
|
|
2322
|
+
r: "r";
|
|
2323
|
+
javascript: "javascript";
|
|
2324
|
+
}> & import("zod/v4/core").$partial, import("zod").ZodEnum<{
|
|
2325
|
+
c: "c";
|
|
2326
|
+
ruby: "ruby";
|
|
2327
|
+
r: "r";
|
|
2328
|
+
c11: "c11";
|
|
2329
|
+
"c++": "c++";
|
|
2330
|
+
"c++11": "c++11";
|
|
2331
|
+
"c++14": "c++14";
|
|
2332
|
+
"c++17": "c++17";
|
|
2333
|
+
python2: "python2";
|
|
2334
|
+
python3: "python3";
|
|
2335
|
+
pypy3: "pypy3";
|
|
2336
|
+
openjdk: "openjdk";
|
|
2337
|
+
golang: "golang";
|
|
2338
|
+
}>>>;
|
|
2339
|
+
isShortcutDisabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2340
|
+
shortcuts: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
2341
|
+
close: "close";
|
|
2342
|
+
up: "up";
|
|
2343
|
+
down: "down";
|
|
2344
|
+
enter: "enter";
|
|
2345
|
+
"problem-submit": "problem-submit";
|
|
2346
|
+
"problem-editor": "problem-editor";
|
|
2347
|
+
"editor-save": "editor-save";
|
|
2348
|
+
}> & import("zod/v4/core").$partial, import("zod").ZodArray<import("zod").ZodEnum<{
|
|
2349
|
+
Mod: "Mod";
|
|
2350
|
+
Control: "Control";
|
|
2351
|
+
Alt: "Alt";
|
|
2352
|
+
Shift: "Shift";
|
|
2353
|
+
KeyA: "KeyA";
|
|
2354
|
+
KeyB: "KeyB";
|
|
2355
|
+
KeyC: "KeyC";
|
|
2356
|
+
KeyD: "KeyD";
|
|
2357
|
+
KeyE: "KeyE";
|
|
2358
|
+
KeyF: "KeyF";
|
|
2359
|
+
KeyG: "KeyG";
|
|
2360
|
+
KeyH: "KeyH";
|
|
2361
|
+
KeyI: "KeyI";
|
|
2362
|
+
KeyJ: "KeyJ";
|
|
2363
|
+
KeyK: "KeyK";
|
|
2364
|
+
KeyL: "KeyL";
|
|
2365
|
+
KeyM: "KeyM";
|
|
2366
|
+
KeyN: "KeyN";
|
|
2367
|
+
KeyO: "KeyO";
|
|
2368
|
+
KeyP: "KeyP";
|
|
2369
|
+
KeyQ: "KeyQ";
|
|
2370
|
+
KeyR: "KeyR";
|
|
2371
|
+
KeyS: "KeyS";
|
|
2372
|
+
KeyT: "KeyT";
|
|
2373
|
+
KeyU: "KeyU";
|
|
2374
|
+
KeyV: "KeyV";
|
|
2375
|
+
KeyW: "KeyW";
|
|
2376
|
+
KeyX: "KeyX";
|
|
2377
|
+
KeyY: "KeyY";
|
|
2378
|
+
KeyZ: "KeyZ";
|
|
2379
|
+
Digit0: "Digit0";
|
|
2380
|
+
Digit1: "Digit1";
|
|
2381
|
+
Digit2: "Digit2";
|
|
2382
|
+
Digit3: "Digit3";
|
|
2383
|
+
Digit4: "Digit4";
|
|
2384
|
+
Digit5: "Digit5";
|
|
2385
|
+
Digit6: "Digit6";
|
|
2386
|
+
Digit7: "Digit7";
|
|
2387
|
+
Digit8: "Digit8";
|
|
2388
|
+
Digit9: "Digit9";
|
|
2389
|
+
Backquote: "Backquote";
|
|
2390
|
+
Minus: "Minus";
|
|
2391
|
+
Equal: "Equal";
|
|
2392
|
+
BracketLeft: "BracketLeft";
|
|
2393
|
+
BracketRight: "BracketRight";
|
|
2394
|
+
Backslash: "Backslash";
|
|
2395
|
+
Semicolon: "Semicolon";
|
|
2396
|
+
Quote: "Quote";
|
|
2397
|
+
Comma: "Comma";
|
|
2398
|
+
Period: "Period";
|
|
2399
|
+
Slash: "Slash";
|
|
2400
|
+
F1: "F1";
|
|
2401
|
+
F2: "F2";
|
|
2402
|
+
F3: "F3";
|
|
2403
|
+
F4: "F4";
|
|
2404
|
+
F5: "F5";
|
|
2405
|
+
F6: "F6";
|
|
2406
|
+
F7: "F7";
|
|
2407
|
+
F8: "F8";
|
|
2408
|
+
F9: "F9";
|
|
2409
|
+
F10: "F10";
|
|
2410
|
+
F11: "F11";
|
|
2411
|
+
F12: "F12";
|
|
2412
|
+
ArrowUp: "ArrowUp";
|
|
2413
|
+
ArrowDown: "ArrowDown";
|
|
2414
|
+
ArrowLeft: "ArrowLeft";
|
|
2415
|
+
ArrowRight: "ArrowRight";
|
|
2416
|
+
Home: "Home";
|
|
2417
|
+
End: "End";
|
|
2418
|
+
PageUp: "PageUp";
|
|
2419
|
+
PageDown: "PageDown";
|
|
2420
|
+
Enter: "Enter";
|
|
2421
|
+
Space: "Space";
|
|
2422
|
+
Backspace: "Backspace";
|
|
2423
|
+
Delete: "Delete";
|
|
2424
|
+
Insert: "Insert";
|
|
2425
|
+
Escape: "Escape";
|
|
2426
|
+
Tab: "Tab";
|
|
2427
|
+
Numpad0: "Numpad0";
|
|
2428
|
+
Numpad1: "Numpad1";
|
|
2429
|
+
Numpad2: "Numpad2";
|
|
2430
|
+
Numpad3: "Numpad3";
|
|
2431
|
+
Numpad4: "Numpad4";
|
|
2432
|
+
Numpad5: "Numpad5";
|
|
2433
|
+
Numpad6: "Numpad6";
|
|
2434
|
+
Numpad7: "Numpad7";
|
|
2435
|
+
Numpad8: "Numpad8";
|
|
2436
|
+
Numpad9: "Numpad9";
|
|
2437
|
+
NumpadAdd: "NumpadAdd";
|
|
2438
|
+
NumpadSubtract: "NumpadSubtract";
|
|
2439
|
+
NumpadMultiply: "NumpadMultiply";
|
|
2440
|
+
NumpadDivide: "NumpadDivide";
|
|
2441
|
+
NumpadDecimal: "NumpadDecimal";
|
|
2442
|
+
NumpadEnter: "NumpadEnter";
|
|
2443
|
+
}>>>>;
|
|
2444
|
+
}, import("zod/v4/core").$strip>;
|
|
2445
|
+
};
|
|
2446
|
+
readonly putSubmitsCountById: {
|
|
2447
|
+
readonly prefix: string;
|
|
2448
|
+
readonly operation: {
|
|
2449
|
+
readonly summary: "유저 제출 수 업데이트";
|
|
2450
|
+
readonly triggerHandler: true;
|
|
2451
|
+
};
|
|
2452
|
+
readonly base: "oj-api";
|
|
2453
|
+
readonly method: "put";
|
|
2454
|
+
readonly path: (id: string) => string;
|
|
2455
|
+
};
|
|
2456
|
+
readonly putSolvesCountById: {
|
|
2457
|
+
readonly prefix: string;
|
|
2458
|
+
readonly operation: {
|
|
2459
|
+
readonly summary: "유저 문제 풀이 수 업데이트";
|
|
2460
|
+
readonly triggerHandler: true;
|
|
2461
|
+
};
|
|
2462
|
+
readonly base: "oj-api";
|
|
2463
|
+
readonly method: "put";
|
|
2464
|
+
readonly path: (id: string) => string;
|
|
2465
|
+
};
|
|
2466
|
+
readonly putTrophiesCountById: {
|
|
2467
|
+
readonly prefix: string;
|
|
2468
|
+
readonly operation: {
|
|
2469
|
+
readonly summary: "유저 트로피 수 업데이트";
|
|
2470
|
+
readonly triggerHandler: true;
|
|
2471
|
+
};
|
|
2472
|
+
readonly base: "oj-api";
|
|
2473
|
+
readonly method: "put";
|
|
2474
|
+
readonly path: (id: string) => string;
|
|
2475
|
+
};
|
|
2476
|
+
readonly putRecordsCountById: {
|
|
2477
|
+
readonly prefix: string;
|
|
2478
|
+
readonly operation: {
|
|
2479
|
+
readonly summary: "유저 기록 수 업데이트";
|
|
2480
|
+
readonly triggerHandler: true;
|
|
2481
|
+
};
|
|
2482
|
+
readonly base: "oj-api";
|
|
2483
|
+
readonly method: "put";
|
|
2484
|
+
readonly path: (id: string) => string;
|
|
2485
|
+
};
|
|
2486
|
+
readonly patchByMe: {
|
|
2487
|
+
readonly prefix: string;
|
|
2488
|
+
readonly operation: {
|
|
2489
|
+
readonly summary: "유저 정보 수정";
|
|
2490
|
+
};
|
|
2491
|
+
readonly auth: {
|
|
2492
|
+
readonly requiredLevel: 1;
|
|
2493
|
+
};
|
|
2494
|
+
readonly base: "oj-api";
|
|
2495
|
+
readonly method: "patch";
|
|
2496
|
+
readonly path: () => string;
|
|
2497
|
+
readonly body: import("zod").ZodObject<{
|
|
2498
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2499
|
+
school: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2500
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2501
|
+
isEmailPublic: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2502
|
+
loginMethods: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
2503
|
+
naver: "naver";
|
|
2504
|
+
google: "google";
|
|
2505
|
+
kakao: "kakao";
|
|
2506
|
+
password: "password";
|
|
2507
|
+
}>>>;
|
|
2508
|
+
}, import("zod/v4/core").$strip>;
|
|
2509
|
+
};
|
|
2510
|
+
readonly deleteProfileImageUrlByMe: {
|
|
2511
|
+
readonly prefix: string;
|
|
2512
|
+
readonly operation: {
|
|
2513
|
+
readonly summary: "프로필 이미지 url 삭제";
|
|
2514
|
+
};
|
|
2515
|
+
readonly auth: {
|
|
2516
|
+
readonly requiredLevel: 1;
|
|
2517
|
+
};
|
|
2518
|
+
readonly base: "oj-api";
|
|
2519
|
+
readonly method: "delete";
|
|
2520
|
+
readonly path: () => string;
|
|
2521
|
+
};
|
|
2522
|
+
};
|
|
2523
|
+
};
|
|
2524
|
+
ojArchives: {
|
|
2525
|
+
readonly getRank2001: {
|
|
2526
|
+
readonly prefix: "";
|
|
2527
|
+
readonly operation: {
|
|
2528
|
+
readonly summary: "오일러 순위 2001 조회";
|
|
2529
|
+
};
|
|
2530
|
+
readonly base: "oj-archives";
|
|
2531
|
+
readonly method: "get";
|
|
2532
|
+
readonly path: () => string;
|
|
2533
|
+
readonly data: import("zod").ZodObject<{
|
|
2534
|
+
list: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2535
|
+
_id: import("zod").ZodString;
|
|
2536
|
+
rank: import("zod").ZodString;
|
|
2537
|
+
name: import("zod").ZodString;
|
|
2538
|
+
id: import("zod").ZodString;
|
|
2539
|
+
ac: import("zod").ZodString;
|
|
2540
|
+
percent: import("zod").ZodString;
|
|
2541
|
+
ts: import("zod").ZodString;
|
|
2542
|
+
date: import("zod").ZodString;
|
|
2543
|
+
wa: import("zod").ZodString;
|
|
2544
|
+
re: import("zod").ZodString;
|
|
2545
|
+
te: import("zod").ZodString;
|
|
2546
|
+
me: import("zod").ZodString;
|
|
2547
|
+
ce: import("zod").ZodString;
|
|
2548
|
+
}, import("zod/v4/core").$strip>>;
|
|
2549
|
+
}, import("zod/v4/core").$strip>;
|
|
2550
|
+
};
|
|
2551
|
+
readonly getProblemHistoryByProblemId: {
|
|
2552
|
+
readonly prefix: "";
|
|
2553
|
+
readonly operation: {
|
|
2554
|
+
readonly summary: "문제 수정 기록 조회";
|
|
2555
|
+
};
|
|
2556
|
+
readonly base: "oj-archives";
|
|
2557
|
+
readonly method: "get";
|
|
2558
|
+
readonly path: (problemId: string) => string;
|
|
2559
|
+
readonly data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2560
|
+
problem_id: import("zod").ZodString;
|
|
2561
|
+
action: import("zod").ZodEnum<{
|
|
2562
|
+
create: "create";
|
|
2563
|
+
update: "update";
|
|
2564
|
+
}>;
|
|
2565
|
+
date: import("zod").ZodISODateTime;
|
|
2566
|
+
claimed_by: import("zod").ZodEnum<{
|
|
2567
|
+
"oj-v3-crawler": "oj-v3-crawler";
|
|
2568
|
+
"oj-v5-crawler": "oj-v5-crawler";
|
|
2569
|
+
}>;
|
|
2570
|
+
}, import("zod/v4/core").$strip>>;
|
|
2571
|
+
};
|
|
2572
|
+
};
|
|
2573
|
+
ojProblemContents: {
|
|
2574
|
+
readonly getByProblemId: {
|
|
2575
|
+
readonly prefix: "";
|
|
2576
|
+
readonly operation: {
|
|
2577
|
+
readonly summary: "문제 내용 가져오기";
|
|
2578
|
+
readonly description: "문제 내용 html 파일을 반환합니다.";
|
|
2579
|
+
};
|
|
2580
|
+
readonly base: "oj-problemContents";
|
|
2581
|
+
readonly method: "get";
|
|
2582
|
+
readonly path: (problemId: string) => string;
|
|
2583
|
+
readonly data: import("zod").ZodString;
|
|
2584
|
+
};
|
|
2585
|
+
};
|
|
2586
|
+
};
|