@profcomff/api-uilib 2026.2.28 → 2026.3.30
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/package.json +1 -1
- package/src/openapi/rating.ts +85 -0
- package/src/openapi/userdata.ts +4 -0
package/package.json
CHANGED
package/src/openapi/rating.ts
CHANGED
|
@@ -268,6 +268,26 @@ export interface paths {
|
|
|
268
268
|
patch: operations["update_lecturer_rating_lecturer_import_rating_patch"];
|
|
269
269
|
trace?: never;
|
|
270
270
|
};
|
|
271
|
+
"/rating/lecturer/timetable-id/{timetable_id}": {
|
|
272
|
+
parameters: {
|
|
273
|
+
query?: never;
|
|
274
|
+
header?: never;
|
|
275
|
+
path?: never;
|
|
276
|
+
cookie?: never;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Get Lecturer By Timetable Id
|
|
280
|
+
* @description Возвращает преподавателя по его timetable_id
|
|
281
|
+
*/
|
|
282
|
+
get: operations["get_lecturer_by_timetable_id_lecturer_timetable_id__timetable_id__get"];
|
|
283
|
+
put?: never;
|
|
284
|
+
post?: never;
|
|
285
|
+
delete?: never;
|
|
286
|
+
options?: never;
|
|
287
|
+
head?: never;
|
|
288
|
+
patch?: never;
|
|
289
|
+
trace?: never;
|
|
290
|
+
};
|
|
271
291
|
}
|
|
272
292
|
export type webhooks = Record<string, never>;
|
|
273
293
|
export interface components {
|
|
@@ -281,6 +301,16 @@ export interface components {
|
|
|
281
301
|
create_ts: string;
|
|
282
302
|
/** Dislike Count */
|
|
283
303
|
dislike_count: number;
|
|
304
|
+
/**
|
|
305
|
+
* Is Disliked
|
|
306
|
+
* @default false
|
|
307
|
+
*/
|
|
308
|
+
is_disliked: boolean;
|
|
309
|
+
/**
|
|
310
|
+
* Is Liked
|
|
311
|
+
* @default false
|
|
312
|
+
*/
|
|
313
|
+
is_liked: boolean;
|
|
284
314
|
/** Lecturer Id */
|
|
285
315
|
lecturer_id: number;
|
|
286
316
|
/** Like Count */
|
|
@@ -365,6 +395,16 @@ export interface components {
|
|
|
365
395
|
create_ts: string;
|
|
366
396
|
/** Dislike Count */
|
|
367
397
|
dislike_count: number;
|
|
398
|
+
/**
|
|
399
|
+
* Is Disliked
|
|
400
|
+
* @default false
|
|
401
|
+
*/
|
|
402
|
+
is_disliked: boolean;
|
|
403
|
+
/**
|
|
404
|
+
* Is Liked
|
|
405
|
+
* @default false
|
|
406
|
+
*/
|
|
407
|
+
is_liked: boolean;
|
|
368
408
|
/** Lecturer Id */
|
|
369
409
|
lecturer_id: number;
|
|
370
410
|
/** Like Count */
|
|
@@ -406,6 +446,16 @@ export interface components {
|
|
|
406
446
|
create_ts: string;
|
|
407
447
|
/** Dislike Count */
|
|
408
448
|
dislike_count: number;
|
|
449
|
+
/**
|
|
450
|
+
* Is Disliked
|
|
451
|
+
* @default false
|
|
452
|
+
*/
|
|
453
|
+
is_disliked: boolean;
|
|
454
|
+
/**
|
|
455
|
+
* Is Liked
|
|
456
|
+
* @default false
|
|
457
|
+
*/
|
|
458
|
+
is_liked: boolean;
|
|
409
459
|
/** Lecturer Id */
|
|
410
460
|
lecturer_id: number;
|
|
411
461
|
/** Like Count */
|
|
@@ -632,6 +682,10 @@ export interface components {
|
|
|
632
682
|
};
|
|
633
683
|
/** ValidationError */
|
|
634
684
|
ValidationError: {
|
|
685
|
+
/** Context */
|
|
686
|
+
ctx?: Record<string, never>;
|
|
687
|
+
/** Input */
|
|
688
|
+
input?: unknown;
|
|
635
689
|
/** Location */
|
|
636
690
|
loc: (string | number)[];
|
|
637
691
|
/** Message */
|
|
@@ -1118,4 +1172,35 @@ export interface operations {
|
|
|
1118
1172
|
};
|
|
1119
1173
|
};
|
|
1120
1174
|
};
|
|
1175
|
+
get_lecturer_by_timetable_id_lecturer_timetable_id__timetable_id__get: {
|
|
1176
|
+
parameters: {
|
|
1177
|
+
query?: never;
|
|
1178
|
+
header?: never;
|
|
1179
|
+
path: {
|
|
1180
|
+
timetable_id: number;
|
|
1181
|
+
};
|
|
1182
|
+
cookie?: never;
|
|
1183
|
+
};
|
|
1184
|
+
requestBody?: never;
|
|
1185
|
+
responses: {
|
|
1186
|
+
/** @description Successful Response */
|
|
1187
|
+
200: {
|
|
1188
|
+
headers: {
|
|
1189
|
+
[name: string]: unknown;
|
|
1190
|
+
};
|
|
1191
|
+
content: {
|
|
1192
|
+
"application/json": components["schemas"]["LecturerGet"];
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
/** @description Validation Error */
|
|
1196
|
+
422: {
|
|
1197
|
+
headers: {
|
|
1198
|
+
[name: string]: unknown;
|
|
1199
|
+
};
|
|
1200
|
+
content: {
|
|
1201
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
};
|
|
1121
1206
|
}
|
package/src/openapi/userdata.ts
CHANGED