mcp-paike 1.1.1 → 1.2.1

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.
@@ -0,0 +1,290 @@
1
+ interface ToolResult {
2
+ content: Array<{
3
+ type: 'text';
4
+ text: string;
5
+ }>;
6
+ isError?: boolean;
7
+ }
8
+ export declare const listGradesTool: {
9
+ name: string;
10
+ description: string;
11
+ inputSchema: {
12
+ type: "object";
13
+ properties: {
14
+ studentName: {
15
+ type: string;
16
+ description: string;
17
+ };
18
+ examId: {
19
+ type: string;
20
+ description: string;
21
+ };
22
+ examTypeId: {
23
+ type: string;
24
+ description: string;
25
+ };
26
+ academicYear: {
27
+ type: string;
28
+ description: string;
29
+ };
30
+ semester: {
31
+ type: string;
32
+ description: string;
33
+ };
34
+ subjectId: {
35
+ type: string;
36
+ description: string;
37
+ };
38
+ classIds: {
39
+ type: string;
40
+ description: string;
41
+ };
42
+ gradeLevel: {
43
+ type: string;
44
+ description: string;
45
+ };
46
+ minScore: {
47
+ type: string;
48
+ description: string;
49
+ };
50
+ maxScore: {
51
+ type: string;
52
+ description: string;
53
+ };
54
+ scoreLevel: {
55
+ type: string;
56
+ enum: string[];
57
+ description: string;
58
+ };
59
+ page: {
60
+ type: string;
61
+ description: string;
62
+ };
63
+ pageSize: {
64
+ type: string;
65
+ description: string;
66
+ };
67
+ };
68
+ required: never[];
69
+ };
70
+ handler: (args: {
71
+ studentName?: string;
72
+ examId?: string;
73
+ examTypeId?: string;
74
+ academicYear?: string;
75
+ semester?: number;
76
+ subjectId?: string;
77
+ classIds?: string;
78
+ gradeLevel?: string;
79
+ minScore?: number;
80
+ maxScore?: number;
81
+ scoreLevel?: string;
82
+ page?: number;
83
+ pageSize?: number;
84
+ }) => Promise<ToolResult>;
85
+ };
86
+ export declare const getStudentGradesTool: {
87
+ name: string;
88
+ description: string;
89
+ inputSchema: {
90
+ type: "object";
91
+ properties: {
92
+ studentId: {
93
+ type: string;
94
+ description: string;
95
+ };
96
+ academicYear: {
97
+ type: string;
98
+ description: string;
99
+ };
100
+ semester: {
101
+ type: string;
102
+ description: string;
103
+ };
104
+ };
105
+ required: string[];
106
+ };
107
+ handler: (args: {
108
+ studentId: string;
109
+ academicYear?: string;
110
+ semester?: number;
111
+ }) => Promise<ToolResult>;
112
+ };
113
+ export declare const getExamGradesTool: {
114
+ name: string;
115
+ description: string;
116
+ inputSchema: {
117
+ type: "object";
118
+ properties: {
119
+ examId: {
120
+ type: string;
121
+ description: string;
122
+ };
123
+ classIds: {
124
+ type: string;
125
+ description: string;
126
+ };
127
+ subjectId: {
128
+ type: string;
129
+ description: string;
130
+ };
131
+ };
132
+ required: string[];
133
+ };
134
+ handler: (args: {
135
+ examId: string;
136
+ classIds?: string;
137
+ subjectId?: string;
138
+ }) => Promise<ToolResult>;
139
+ };
140
+ export declare const getGradeFilterOptionsTool: {
141
+ name: string;
142
+ description: string;
143
+ inputSchema: {
144
+ type: "object";
145
+ properties: {};
146
+ required: never[];
147
+ };
148
+ handler: () => Promise<ToolResult>;
149
+ };
150
+ export declare const gradeTools: ({
151
+ name: string;
152
+ description: string;
153
+ inputSchema: {
154
+ type: "object";
155
+ properties: {
156
+ studentName: {
157
+ type: string;
158
+ description: string;
159
+ };
160
+ examId: {
161
+ type: string;
162
+ description: string;
163
+ };
164
+ examTypeId: {
165
+ type: string;
166
+ description: string;
167
+ };
168
+ academicYear: {
169
+ type: string;
170
+ description: string;
171
+ };
172
+ semester: {
173
+ type: string;
174
+ description: string;
175
+ };
176
+ subjectId: {
177
+ type: string;
178
+ description: string;
179
+ };
180
+ classIds: {
181
+ type: string;
182
+ description: string;
183
+ };
184
+ gradeLevel: {
185
+ type: string;
186
+ description: string;
187
+ };
188
+ minScore: {
189
+ type: string;
190
+ description: string;
191
+ };
192
+ maxScore: {
193
+ type: string;
194
+ description: string;
195
+ };
196
+ scoreLevel: {
197
+ type: string;
198
+ enum: string[];
199
+ description: string;
200
+ };
201
+ page: {
202
+ type: string;
203
+ description: string;
204
+ };
205
+ pageSize: {
206
+ type: string;
207
+ description: string;
208
+ };
209
+ };
210
+ required: never[];
211
+ };
212
+ handler: (args: {
213
+ studentName?: string;
214
+ examId?: string;
215
+ examTypeId?: string;
216
+ academicYear?: string;
217
+ semester?: number;
218
+ subjectId?: string;
219
+ classIds?: string;
220
+ gradeLevel?: string;
221
+ minScore?: number;
222
+ maxScore?: number;
223
+ scoreLevel?: string;
224
+ page?: number;
225
+ pageSize?: number;
226
+ }) => Promise<ToolResult>;
227
+ } | {
228
+ name: string;
229
+ description: string;
230
+ inputSchema: {
231
+ type: "object";
232
+ properties: {
233
+ studentId: {
234
+ type: string;
235
+ description: string;
236
+ };
237
+ academicYear: {
238
+ type: string;
239
+ description: string;
240
+ };
241
+ semester: {
242
+ type: string;
243
+ description: string;
244
+ };
245
+ };
246
+ required: string[];
247
+ };
248
+ handler: (args: {
249
+ studentId: string;
250
+ academicYear?: string;
251
+ semester?: number;
252
+ }) => Promise<ToolResult>;
253
+ } | {
254
+ name: string;
255
+ description: string;
256
+ inputSchema: {
257
+ type: "object";
258
+ properties: {
259
+ examId: {
260
+ type: string;
261
+ description: string;
262
+ };
263
+ classIds: {
264
+ type: string;
265
+ description: string;
266
+ };
267
+ subjectId: {
268
+ type: string;
269
+ description: string;
270
+ };
271
+ };
272
+ required: string[];
273
+ };
274
+ handler: (args: {
275
+ examId: string;
276
+ classIds?: string;
277
+ subjectId?: string;
278
+ }) => Promise<ToolResult>;
279
+ } | {
280
+ name: string;
281
+ description: string;
282
+ inputSchema: {
283
+ type: "object";
284
+ properties: {};
285
+ required: never[];
286
+ };
287
+ handler: () => Promise<ToolResult>;
288
+ })[];
289
+ export {};
290
+ //# sourceMappingURL=grades.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grades.d.ts","sourceRoot":"","sources":["../../src/tools/grades.ts"],"names":[],"mappings":"AAGA,UAAU,UAAU;IAClB,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,E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