@burdenoff/microfe-technospam 2026.704.1 → 2026.705.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.
- package/dist/technospam/api/technospamApi.js +232 -150
- package/dist/technospam/api/technospamApi.js.map +1 -1
- package/dist/technospam/components/LoadMore.js +18 -2
- package/dist/technospam/components/LoadMore.js.map +1 -0
- package/dist/technospam/pages/AdminAdminDashboardPagePage.js +664 -334
- package/dist/technospam/pages/AdminAdminDashboardPagePage.js.map +1 -1
- package/dist/technospam/pages/ApplicationsProblemsPagePage.js +79 -72
- package/dist/technospam/pages/ApplicationsProblemsPagePage.js.map +1 -1
- package/dist/technospam/pages/CoursesCourseDetailsPagePage.js +140 -87
- package/dist/technospam/pages/CoursesCourseDetailsPagePage.js.map +1 -1
- package/dist/technospam/pages/CoursesCoursesPagePage.js +75 -68
- package/dist/technospam/pages/CoursesCoursesPagePage.js.map +1 -1
- package/dist/technospam/pages/CoursesMyLearningPagePage.js +3 -0
- package/dist/technospam/pages/CoursesMyLearningPagePage.js.map +1 -1
- package/dist/technospam/pages/HackathonsHackathonsPagePage.js +76 -53
- package/dist/technospam/pages/HackathonsHackathonsPagePage.js.map +1 -1
- package/dist/technospam/pages/MentorshipMentorProfilePagePage.js +36 -35
- package/dist/technospam/pages/MentorshipMentorProfilePagePage.js.map +1 -1
- package/dist/technospam/pages/MentorshipMentorsPagePage.js +112 -103
- package/dist/technospam/pages/MentorshipMentorsPagePage.js.map +1 -1
- package/dist/technospam/pages/MentorshipSessionsPagePage.js +219 -110
- package/dist/technospam/pages/MentorshipSessionsPagePage.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { notify as e } from "../lib/toast.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { useState as t } from "react";
|
|
3
|
+
import { gql as n } from "@apollo/client";
|
|
4
|
+
import { useMutation as r, useQuery as i } from "@apollo/client/react";
|
|
4
5
|
//#region src/technospam/api/technospamApi.ts
|
|
5
|
-
function
|
|
6
|
+
function a(e = 50, t) {
|
|
6
7
|
return t ? {
|
|
7
8
|
limit: e,
|
|
8
9
|
cursor: t
|
|
9
10
|
} : { limit: e };
|
|
10
11
|
}
|
|
11
|
-
var
|
|
12
|
+
var o = n`
|
|
12
13
|
fragment CourseFields on TecCourse {
|
|
13
14
|
id
|
|
14
15
|
slug
|
|
@@ -24,7 +25,7 @@ var a = t`
|
|
|
24
25
|
createdAt
|
|
25
26
|
updatedAt
|
|
26
27
|
}
|
|
27
|
-
`,
|
|
28
|
+
`, s = n`
|
|
28
29
|
fragment LessonFields on TecLesson {
|
|
29
30
|
id
|
|
30
31
|
courseId
|
|
@@ -37,7 +38,7 @@ var a = t`
|
|
|
37
38
|
createdAt
|
|
38
39
|
updatedAt
|
|
39
40
|
}
|
|
40
|
-
`,
|
|
41
|
+
`, c = n`
|
|
41
42
|
fragment EnrollmentFields on TecEnrollment {
|
|
42
43
|
id
|
|
43
44
|
courseId
|
|
@@ -51,7 +52,7 @@ var a = t`
|
|
|
51
52
|
createdAt
|
|
52
53
|
updatedAt
|
|
53
54
|
}
|
|
54
|
-
`,
|
|
55
|
+
`, l = n`
|
|
55
56
|
fragment ProblemFields on TecProblem {
|
|
56
57
|
id
|
|
57
58
|
slug
|
|
@@ -68,7 +69,7 @@ var a = t`
|
|
|
68
69
|
createdAt
|
|
69
70
|
updatedAt
|
|
70
71
|
}
|
|
71
|
-
`,
|
|
72
|
+
`, u = n`
|
|
72
73
|
fragment SubmissionFields on TecSubmission {
|
|
73
74
|
id
|
|
74
75
|
problemId
|
|
@@ -82,7 +83,7 @@ var a = t`
|
|
|
82
83
|
createdAt
|
|
83
84
|
updatedAt
|
|
84
85
|
}
|
|
85
|
-
`,
|
|
86
|
+
`, d = n`
|
|
86
87
|
fragment MentorFields on TecMentor {
|
|
87
88
|
id
|
|
88
89
|
userId
|
|
@@ -98,7 +99,7 @@ var a = t`
|
|
|
98
99
|
createdAt
|
|
99
100
|
updatedAt
|
|
100
101
|
}
|
|
101
|
-
`,
|
|
102
|
+
`, f = n`
|
|
102
103
|
fragment SessionFields on TecMentorSession {
|
|
103
104
|
id
|
|
104
105
|
mentorId
|
|
@@ -116,7 +117,7 @@ var a = t`
|
|
|
116
117
|
createdAt
|
|
117
118
|
updatedAt
|
|
118
119
|
}
|
|
119
|
-
`,
|
|
120
|
+
`, p = n`
|
|
120
121
|
fragment HackathonFields on TecHackathon {
|
|
121
122
|
id
|
|
122
123
|
slug
|
|
@@ -134,7 +135,7 @@ var a = t`
|
|
|
134
135
|
createdAt
|
|
135
136
|
updatedAt
|
|
136
137
|
}
|
|
137
|
-
`,
|
|
138
|
+
`, m = n`
|
|
138
139
|
fragment TeamFields on TecHackathonTeam {
|
|
139
140
|
id
|
|
140
141
|
hackathonId
|
|
@@ -151,7 +152,7 @@ var a = t`
|
|
|
151
152
|
createdAt
|
|
152
153
|
updatedAt
|
|
153
154
|
}
|
|
154
|
-
`,
|
|
155
|
+
`, h = n`
|
|
155
156
|
fragment CertificateFields on TecCertificate {
|
|
156
157
|
id
|
|
157
158
|
courseId
|
|
@@ -164,8 +165,8 @@ var a = t`
|
|
|
164
165
|
revokeReason
|
|
165
166
|
createdAt
|
|
166
167
|
}
|
|
167
|
-
`,
|
|
168
|
-
${
|
|
168
|
+
`, g = n`
|
|
169
|
+
${o}
|
|
169
170
|
query TecListCourses(
|
|
170
171
|
$level: TecCourseLevel
|
|
171
172
|
$status: TecCourseStatus
|
|
@@ -181,10 +182,10 @@ var a = t`
|
|
|
181
182
|
}
|
|
182
183
|
}
|
|
183
184
|
}
|
|
184
|
-
`,
|
|
185
|
-
${a}
|
|
185
|
+
`, _ = n`
|
|
186
186
|
${o}
|
|
187
187
|
${s}
|
|
188
|
+
${c}
|
|
188
189
|
query TecCourse($id: ID!) {
|
|
189
190
|
tecCourse(id: $id) {
|
|
190
191
|
...CourseFields
|
|
@@ -196,9 +197,9 @@ var a = t`
|
|
|
196
197
|
}
|
|
197
198
|
}
|
|
198
199
|
}
|
|
199
|
-
`,
|
|
200
|
-
${
|
|
201
|
-
${
|
|
200
|
+
`, ee = n`
|
|
201
|
+
${c}
|
|
202
|
+
${o}
|
|
202
203
|
query TecListEnrollments($learnerId: ID, $courseId: ID, $pagination: PaginationInput) {
|
|
203
204
|
tecListEnrollments(learnerId: $learnerId, courseId: $courseId, pagination: $pagination) {
|
|
204
205
|
items {
|
|
@@ -213,9 +214,9 @@ var a = t`
|
|
|
213
214
|
}
|
|
214
215
|
}
|
|
215
216
|
}
|
|
216
|
-
`,
|
|
217
|
-
${
|
|
218
|
-
${
|
|
217
|
+
`, te = n`
|
|
218
|
+
${h}
|
|
219
|
+
${o}
|
|
219
220
|
query TecListCertificates($learnerId: ID, $courseId: ID) {
|
|
220
221
|
tecListCertificates(learnerId: $learnerId, courseId: $courseId) {
|
|
221
222
|
...CertificateFields
|
|
@@ -224,8 +225,8 @@ var a = t`
|
|
|
224
225
|
}
|
|
225
226
|
}
|
|
226
227
|
}
|
|
227
|
-
`, v =
|
|
228
|
-
${
|
|
228
|
+
`, v = n`
|
|
229
|
+
${l}
|
|
229
230
|
query TecListProblems(
|
|
230
231
|
$difficulty: TecProblemDifficulty
|
|
231
232
|
$status: TecProblemStatus
|
|
@@ -247,9 +248,9 @@ var a = t`
|
|
|
247
248
|
}
|
|
248
249
|
}
|
|
249
250
|
}
|
|
250
|
-
`, y =
|
|
251
|
-
${c}
|
|
251
|
+
`, y = n`
|
|
252
252
|
${l}
|
|
253
|
+
${u}
|
|
253
254
|
query TecProblem($id: ID!) {
|
|
254
255
|
tecProblem(id: $id) {
|
|
255
256
|
...ProblemFields
|
|
@@ -258,9 +259,9 @@ var a = t`
|
|
|
258
259
|
}
|
|
259
260
|
}
|
|
260
261
|
}
|
|
261
|
-
`, b =
|
|
262
|
+
`, b = n`
|
|
263
|
+
${u}
|
|
262
264
|
${l}
|
|
263
|
-
${c}
|
|
264
265
|
query TecListSubmissions($learnerId: ID, $problemId: ID, $pagination: PaginationInput) {
|
|
265
266
|
tecListSubmissions(learnerId: $learnerId, problemId: $problemId, pagination: $pagination) {
|
|
266
267
|
items {
|
|
@@ -275,8 +276,8 @@ var a = t`
|
|
|
275
276
|
}
|
|
276
277
|
}
|
|
277
278
|
}
|
|
278
|
-
`, x =
|
|
279
|
-
${
|
|
279
|
+
`, x = n`
|
|
280
|
+
${d}
|
|
280
281
|
query TecListMentors($status: TecMentorStatus, $pagination: PaginationInput) {
|
|
281
282
|
tecListMentors(status: $status, pagination: $pagination) {
|
|
282
283
|
items {
|
|
@@ -288,9 +289,9 @@ var a = t`
|
|
|
288
289
|
}
|
|
289
290
|
}
|
|
290
291
|
}
|
|
291
|
-
`, S =
|
|
292
|
-
${u}
|
|
292
|
+
`, S = n`
|
|
293
293
|
${d}
|
|
294
|
+
${f}
|
|
294
295
|
query TecMentor($id: ID!) {
|
|
295
296
|
tecMentor(id: $id) {
|
|
296
297
|
...MentorFields
|
|
@@ -299,9 +300,9 @@ var a = t`
|
|
|
299
300
|
}
|
|
300
301
|
}
|
|
301
302
|
}
|
|
302
|
-
`, C =
|
|
303
|
+
`, C = n`
|
|
304
|
+
${f}
|
|
303
305
|
${d}
|
|
304
|
-
${u}
|
|
305
306
|
query TecListSessions($mentorId: ID, $menteeId: ID, $status: TecSessionStatus) {
|
|
306
307
|
tecListSessions(mentorId: $mentorId, menteeId: $menteeId, status: $status) {
|
|
307
308
|
...SessionFields
|
|
@@ -310,8 +311,8 @@ var a = t`
|
|
|
310
311
|
}
|
|
311
312
|
}
|
|
312
313
|
}
|
|
313
|
-
`, w =
|
|
314
|
-
${
|
|
314
|
+
`, w = n`
|
|
315
|
+
${p}
|
|
315
316
|
query TecListHackathons($status: TecHackathonStatus, $pagination: PaginationInput) {
|
|
316
317
|
tecListHackathons(status: $status, pagination: $pagination) {
|
|
317
318
|
items {
|
|
@@ -323,9 +324,9 @@ var a = t`
|
|
|
323
324
|
}
|
|
324
325
|
}
|
|
325
326
|
}
|
|
326
|
-
`, T =
|
|
327
|
-
${f}
|
|
327
|
+
`, T = n`
|
|
328
328
|
${p}
|
|
329
|
+
${m}
|
|
329
330
|
query TecHackathon($id: ID!) {
|
|
330
331
|
tecHackathon(id: $id) {
|
|
331
332
|
...HackathonFields
|
|
@@ -334,87 +335,89 @@ var a = t`
|
|
|
334
335
|
}
|
|
335
336
|
}
|
|
336
337
|
}
|
|
337
|
-
`, E =
|
|
338
|
-
${
|
|
338
|
+
`, E = n`
|
|
339
|
+
${m}
|
|
339
340
|
query TecListTeams($hackathonId: ID!) {
|
|
340
341
|
tecListTeams(hackathonId: $hackathonId) {
|
|
341
342
|
...TeamFields
|
|
342
343
|
}
|
|
343
344
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
${o}
|
|
345
|
+
`, D = n`
|
|
346
|
+
${s}
|
|
347
347
|
query TecListLessons($courseId: ID!) {
|
|
348
348
|
tecListLessons(courseId: $courseId) {
|
|
349
349
|
...LessonFields
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
|
|
353
|
-
var D = (e) => r(h, {
|
|
352
|
+
`, O = (e) => i(g, {
|
|
354
353
|
variables: {
|
|
355
|
-
pagination:
|
|
354
|
+
pagination: a(50),
|
|
356
355
|
...e
|
|
357
356
|
},
|
|
358
357
|
fetchPolicy: "cache-and-network"
|
|
359
|
-
}),
|
|
358
|
+
}), k = (e) => i(_, {
|
|
360
359
|
variables: { id: e },
|
|
361
360
|
skip: !e,
|
|
362
361
|
fetchPolicy: "cache-and-network"
|
|
363
|
-
}),
|
|
362
|
+
}), A = (e) => i(ee, {
|
|
364
363
|
variables: {
|
|
365
|
-
pagination:
|
|
364
|
+
pagination: a(50),
|
|
366
365
|
...e
|
|
367
366
|
},
|
|
368
367
|
fetchPolicy: "cache-and-network"
|
|
369
|
-
}),
|
|
368
|
+
}), j = (e) => i(te, {
|
|
370
369
|
variables: e,
|
|
371
370
|
fetchPolicy: "cache-and-network"
|
|
372
|
-
}),
|
|
371
|
+
}), M = (e) => i(v, {
|
|
373
372
|
variables: {
|
|
374
|
-
pagination:
|
|
373
|
+
pagination: a(50),
|
|
375
374
|
...e
|
|
376
375
|
},
|
|
377
376
|
fetchPolicy: "cache-and-network"
|
|
378
|
-
}),
|
|
377
|
+
}), N = (e) => i(y, {
|
|
379
378
|
variables: { id: e },
|
|
380
379
|
skip: !e,
|
|
381
380
|
fetchPolicy: "cache-and-network"
|
|
382
|
-
}),
|
|
381
|
+
}), P = (e) => i(b, {
|
|
383
382
|
variables: {
|
|
384
|
-
pagination:
|
|
383
|
+
pagination: a(50),
|
|
385
384
|
...e
|
|
386
385
|
},
|
|
387
386
|
fetchPolicy: "cache-and-network"
|
|
388
|
-
}),
|
|
387
|
+
}), F = (e) => i(x, {
|
|
389
388
|
variables: {
|
|
390
|
-
pagination:
|
|
389
|
+
pagination: a(50),
|
|
391
390
|
...e
|
|
392
391
|
},
|
|
393
392
|
fetchPolicy: "cache-and-network"
|
|
394
|
-
}),
|
|
393
|
+
}), I = (e) => i(S, {
|
|
395
394
|
variables: { id: e },
|
|
396
395
|
skip: !e,
|
|
397
396
|
fetchPolicy: "cache-and-network"
|
|
398
|
-
}),
|
|
397
|
+
}), L = (e) => i(C, {
|
|
399
398
|
variables: e,
|
|
400
399
|
fetchPolicy: "cache-and-network"
|
|
401
|
-
}),
|
|
400
|
+
}), R = (e) => i(w, {
|
|
402
401
|
variables: {
|
|
403
|
-
pagination:
|
|
402
|
+
pagination: a(50),
|
|
404
403
|
...e
|
|
405
404
|
},
|
|
406
405
|
fetchPolicy: "cache-and-network"
|
|
407
|
-
}),
|
|
406
|
+
}), z = (e) => i(T, {
|
|
408
407
|
variables: { id: e },
|
|
409
408
|
skip: !e,
|
|
410
409
|
fetchPolicy: "cache-and-network"
|
|
411
|
-
}),
|
|
410
|
+
}), B = (e) => i(E, {
|
|
412
411
|
variables: { hackathonId: e },
|
|
413
412
|
skip: !e,
|
|
414
413
|
fetchPolicy: "cache-and-network"
|
|
415
|
-
}),
|
|
414
|
+
}), V = (e) => i(D, {
|
|
415
|
+
variables: { courseId: e },
|
|
416
|
+
skip: !e,
|
|
417
|
+
fetchPolicy: "cache-and-network"
|
|
418
|
+
}), H = (t) => {
|
|
416
419
|
e.error("Something went wrong", t.message || "Please try again.");
|
|
417
|
-
},
|
|
420
|
+
}, U = {
|
|
418
421
|
courses: "TecListCourses",
|
|
419
422
|
enrollments: "TecListEnrollments",
|
|
420
423
|
problems: "TecListProblems",
|
|
@@ -422,180 +425,259 @@ var D = (e) => r(h, {
|
|
|
422
425
|
mentors: "TecListMentors",
|
|
423
426
|
sessions: "TecListSessions",
|
|
424
427
|
hackathons: "TecListHackathons"
|
|
425
|
-
},
|
|
426
|
-
${
|
|
428
|
+
}, W = n`
|
|
429
|
+
${c}
|
|
427
430
|
mutation TecEnroll($input: TecEnrollInput!) {
|
|
428
431
|
tecEnroll(input: $input) {
|
|
429
432
|
...EnrollmentFields
|
|
430
433
|
}
|
|
431
434
|
}
|
|
432
|
-
`,
|
|
433
|
-
${
|
|
435
|
+
`, G = n`
|
|
436
|
+
${c}
|
|
434
437
|
mutation TecUpdateProgress($input: TecUpdateProgressInput!) {
|
|
435
438
|
tecUpdateProgress(input: $input) {
|
|
436
439
|
...EnrollmentFields
|
|
437
440
|
}
|
|
438
441
|
}
|
|
439
|
-
`,
|
|
440
|
-
${
|
|
442
|
+
`, K = n`
|
|
443
|
+
${u}
|
|
441
444
|
mutation TecSubmitSolution($input: TecSubmitSolutionInput!) {
|
|
442
445
|
tecSubmitSolution(input: $input) {
|
|
443
446
|
...SubmissionFields
|
|
444
447
|
}
|
|
445
448
|
}
|
|
446
|
-
`,
|
|
447
|
-
${
|
|
449
|
+
`, q = n`
|
|
450
|
+
${f}
|
|
448
451
|
mutation TecBookSession($input: TecBookSessionInput!) {
|
|
449
452
|
tecBookSession(input: $input) {
|
|
450
453
|
...SessionFields
|
|
451
454
|
}
|
|
452
455
|
}
|
|
453
|
-
`,
|
|
454
|
-
${
|
|
456
|
+
`, J = n`
|
|
457
|
+
${f}
|
|
455
458
|
mutation TecCancelSession($id: ID!) {
|
|
456
459
|
tecCancelSession(id: $id) {
|
|
457
460
|
...SessionFields
|
|
458
461
|
}
|
|
459
462
|
}
|
|
460
|
-
`,
|
|
461
|
-
${
|
|
463
|
+
`, Y = n`
|
|
464
|
+
${d}
|
|
462
465
|
mutation TecBecomeMentor($input: TecCreateMentorInput!) {
|
|
463
466
|
tecBecomeMentor(input: $input) {
|
|
464
467
|
...MentorFields
|
|
465
468
|
}
|
|
466
469
|
}
|
|
467
|
-
`,
|
|
468
|
-
${
|
|
470
|
+
`, X = n`
|
|
471
|
+
${m}
|
|
469
472
|
mutation TecRegisterTeam($input: TecRegisterTeamInput!) {
|
|
470
473
|
tecRegisterTeam(input: $input) {
|
|
471
474
|
...TeamFields
|
|
472
475
|
}
|
|
473
476
|
}
|
|
474
|
-
`,
|
|
475
|
-
${
|
|
477
|
+
`, Z = n`
|
|
478
|
+
${m}
|
|
476
479
|
mutation TecSubmitProject($input: TecSubmitProjectInput!) {
|
|
477
480
|
tecSubmitProject(input: $input) {
|
|
478
481
|
...TeamFields
|
|
479
482
|
}
|
|
480
483
|
}
|
|
481
|
-
`,
|
|
482
|
-
${
|
|
484
|
+
`, Q = n`
|
|
485
|
+
${o}
|
|
483
486
|
mutation TecCreateCourse($input: TecCreateCourseInput!) {
|
|
484
487
|
tecCreateCourse(input: $input) {
|
|
485
488
|
...CourseFields
|
|
486
489
|
}
|
|
487
490
|
}
|
|
488
|
-
`,
|
|
489
|
-
${
|
|
491
|
+
`, ne = n`
|
|
492
|
+
${o}
|
|
490
493
|
mutation TecPublishCourse($id: ID!) {
|
|
491
494
|
tecPublishCourse(id: $id) {
|
|
492
495
|
...CourseFields
|
|
493
496
|
}
|
|
494
497
|
}
|
|
495
|
-
`,
|
|
498
|
+
`, re = n`
|
|
496
499
|
mutation TecArchiveCourse($id: ID!) {
|
|
497
500
|
tecArchiveCourse(id: $id)
|
|
498
501
|
}
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
${o}
|
|
502
|
+
`, ie = n`
|
|
503
|
+
${s}
|
|
502
504
|
mutation TecCreateLesson($input: TecCreateLessonInput!) {
|
|
503
505
|
tecCreateLesson(input: $input) {
|
|
504
506
|
...LessonFields
|
|
505
507
|
}
|
|
506
508
|
}
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
${c}
|
|
509
|
+
`, ae = n`
|
|
510
|
+
${l}
|
|
510
511
|
mutation TecCreateProblem($input: TecCreateProblemInput!) {
|
|
511
512
|
tecCreateProblem(input: $input) {
|
|
512
513
|
...ProblemFields
|
|
513
514
|
}
|
|
514
515
|
}
|
|
515
|
-
`,
|
|
516
|
-
${
|
|
516
|
+
`, oe = n`
|
|
517
|
+
${l}
|
|
517
518
|
mutation TecPublishProblem($id: ID!) {
|
|
518
519
|
tecPublishProblem(id: $id) {
|
|
519
520
|
...ProblemFields
|
|
520
521
|
}
|
|
521
522
|
}
|
|
522
|
-
`,
|
|
523
|
-
${
|
|
523
|
+
`, se = n`
|
|
524
|
+
${p}
|
|
524
525
|
mutation TecCreateHackathon($input: TecCreateHackathonInput!) {
|
|
525
526
|
tecCreateHackathon(input: $input) {
|
|
526
527
|
...HackathonFields
|
|
527
528
|
}
|
|
528
529
|
}
|
|
529
|
-
`,
|
|
530
|
-
${
|
|
530
|
+
`, ce = n`
|
|
531
|
+
${p}
|
|
531
532
|
mutation TecOpenRegistration($id: ID!) {
|
|
532
533
|
tecOpenRegistration(id: $id) {
|
|
533
534
|
...HackathonFields
|
|
534
535
|
}
|
|
535
536
|
}
|
|
536
|
-
`,
|
|
537
|
-
${
|
|
537
|
+
`, le = n`
|
|
538
|
+
${d}
|
|
538
539
|
mutation TecApproveMentor($id: ID!) {
|
|
539
540
|
tecApproveMentor(id: $id) {
|
|
540
541
|
...MentorFields
|
|
541
542
|
}
|
|
542
543
|
}
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
${p}
|
|
544
|
+
`, ue = n`
|
|
545
|
+
${m}
|
|
546
546
|
mutation TecScoreTeam($id: ID!, $score: Int!, $winner: Boolean) {
|
|
547
547
|
tecScoreTeam(id: $id, score: $score, winner: $winner) {
|
|
548
548
|
...TeamFields
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
+
`, de = n`
|
|
552
|
+
${f}
|
|
553
|
+
mutation TecConfirmSession($id: ID!, $meetingUrl: String) {
|
|
554
|
+
tecConfirmSession(id: $id, meetingUrl: $meetingUrl) {
|
|
555
|
+
...SessionFields
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
`, fe = n`
|
|
559
|
+
${f}
|
|
560
|
+
mutation TecCompleteSession($id: ID!, $rating: Int, $feedback: String) {
|
|
561
|
+
tecCompleteSession(id: $id, rating: $rating, feedback: $feedback) {
|
|
562
|
+
...SessionFields
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
`, pe = n`
|
|
566
|
+
${u}
|
|
567
|
+
mutation TecGradeSubmission($id: ID!, $verdict: TecSubmissionVerdict!, $runtimeMs: Int) {
|
|
568
|
+
tecGradeSubmission(id: $id, verdict: $verdict, runtimeMs: $runtimeMs) {
|
|
569
|
+
...SubmissionFields
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
`, me = n`
|
|
573
|
+
${h}
|
|
574
|
+
mutation TecIssueCertificate($courseId: ID!, $learnerId: ID!, $score: Int!) {
|
|
575
|
+
tecIssueCertificate(courseId: $courseId, learnerId: $learnerId, score: $score) {
|
|
576
|
+
...CertificateFields
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
`;
|
|
580
|
+
n`
|
|
581
|
+
${h}
|
|
582
|
+
mutation TecRevokeCertificate($id: ID!, $reason: String) {
|
|
583
|
+
tecRevokeCertificate(id: $id, reason: $reason) {
|
|
584
|
+
...CertificateFields
|
|
585
|
+
}
|
|
586
|
+
}
|
|
551
587
|
`;
|
|
552
|
-
var
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
onError:
|
|
575
|
-
refetchQueries: [
|
|
576
|
-
}),
|
|
577
|
-
onError:
|
|
578
|
-
refetchQueries: [
|
|
579
|
-
}),
|
|
580
|
-
onError:
|
|
581
|
-
refetchQueries: [
|
|
582
|
-
}),
|
|
583
|
-
onError:
|
|
584
|
-
refetchQueries: [
|
|
585
|
-
}),
|
|
586
|
-
onError:
|
|
587
|
-
refetchQueries: [
|
|
588
|
-
}),
|
|
589
|
-
onError:
|
|
590
|
-
refetchQueries: [
|
|
591
|
-
}),
|
|
592
|
-
onError:
|
|
593
|
-
refetchQueries: [
|
|
594
|
-
}),
|
|
595
|
-
onError:
|
|
596
|
-
refetchQueries: [
|
|
588
|
+
var he = n`
|
|
589
|
+
${p}
|
|
590
|
+
mutation TecStartHackathon($id: ID!) {
|
|
591
|
+
tecStartHackathon(id: $id) {
|
|
592
|
+
...HackathonFields
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
`, ge = n`
|
|
596
|
+
${p}
|
|
597
|
+
mutation TecStartJudging($id: ID!) {
|
|
598
|
+
tecStartJudging(id: $id) {
|
|
599
|
+
...HackathonFields
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
`, _e = n`
|
|
603
|
+
${p}
|
|
604
|
+
mutation TecCompleteHackathon($id: ID!) {
|
|
605
|
+
tecCompleteHackathon(id: $id) {
|
|
606
|
+
...HackathonFields
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
`, ve = () => r(W, {
|
|
610
|
+
onError: H,
|
|
611
|
+
refetchQueries: [U.enrollments, U.courses]
|
|
612
|
+
}), ye = () => r(G, {
|
|
613
|
+
onError: H,
|
|
614
|
+
refetchQueries: [U.enrollments]
|
|
615
|
+
}), be = () => r(K, {
|
|
616
|
+
onError: H,
|
|
617
|
+
refetchQueries: [U.submissions]
|
|
618
|
+
}), xe = () => r(q, {
|
|
619
|
+
onError: H,
|
|
620
|
+
refetchQueries: [U.sessions, U.mentors]
|
|
621
|
+
}), Se = () => r(J, {
|
|
622
|
+
onError: H,
|
|
623
|
+
refetchQueries: [U.sessions]
|
|
624
|
+
}), Ce = () => r(Y, {
|
|
625
|
+
onError: H,
|
|
626
|
+
refetchQueries: [U.mentors]
|
|
627
|
+
}), we = () => r(X, {
|
|
628
|
+
onError: H,
|
|
629
|
+
refetchQueries: [U.hackathons]
|
|
630
|
+
}), Te = () => r(Z, { onError: H }), Ee = () => r(Q, {
|
|
631
|
+
onError: H,
|
|
632
|
+
refetchQueries: [U.courses]
|
|
633
|
+
}), De = () => r(ne, {
|
|
634
|
+
onError: H,
|
|
635
|
+
refetchQueries: [U.courses]
|
|
636
|
+
}), Oe = () => r(re, {
|
|
637
|
+
onError: H,
|
|
638
|
+
refetchQueries: [U.courses]
|
|
639
|
+
}), ke = () => r(ie, { onError: H }), Ae = () => r(ae, {
|
|
640
|
+
onError: H,
|
|
641
|
+
refetchQueries: [U.problems]
|
|
642
|
+
}), je = () => r(oe, {
|
|
643
|
+
onError: H,
|
|
644
|
+
refetchQueries: [U.problems]
|
|
645
|
+
}), Me = () => r(se, {
|
|
646
|
+
onError: H,
|
|
647
|
+
refetchQueries: [U.hackathons]
|
|
648
|
+
}), Ne = () => r(ce, {
|
|
649
|
+
onError: H,
|
|
650
|
+
refetchQueries: [U.hackathons]
|
|
651
|
+
}), Pe = () => r(le, {
|
|
652
|
+
onError: H,
|
|
653
|
+
refetchQueries: [U.mentors]
|
|
654
|
+
}), $ = () => r(ue, { onError: H }), Fe = () => r(de, {
|
|
655
|
+
onError: H,
|
|
656
|
+
refetchQueries: [U.sessions]
|
|
657
|
+
}), Ie = () => r(fe, {
|
|
658
|
+
onError: H,
|
|
659
|
+
refetchQueries: [U.sessions]
|
|
660
|
+
}), Le = () => r(pe, {
|
|
661
|
+
onError: H,
|
|
662
|
+
refetchQueries: [U.submissions]
|
|
663
|
+
}), Re = () => r(me, { onError: H }), ze = () => r(he, {
|
|
664
|
+
onError: H,
|
|
665
|
+
refetchQueries: [U.hackathons]
|
|
666
|
+
}), Be = () => r(ge, {
|
|
667
|
+
onError: H,
|
|
668
|
+
refetchQueries: [U.hackathons]
|
|
669
|
+
}), Ve = () => r(_e, {
|
|
670
|
+
onError: H,
|
|
671
|
+
refetchQueries: [U.hackathons]
|
|
597
672
|
});
|
|
673
|
+
function He(e = 24, n = 24) {
|
|
674
|
+
let [r, i] = t(n);
|
|
675
|
+
return {
|
|
676
|
+
limit: r,
|
|
677
|
+
more: () => i((t) => t + e)
|
|
678
|
+
};
|
|
679
|
+
}
|
|
598
680
|
//#endregion
|
|
599
|
-
export {
|
|
681
|
+
export { a as pageArg, Pe as useApproveMentor, Oe as useArchiveCourse, Ce as useBecomeMentor, xe as useBookSession, Se as useCancelSession, j as useCertificatesQuery, Ve as useCompleteHackathon, Ie as useCompleteSession, Fe as useConfirmSession, k as useCourseQuery, O as useCoursesQuery, Ee as useCreateCourse, Me as useCreateHackathon, ke as useCreateLesson, Ae as useCreateProblem, ve as useEnroll, A as useEnrollmentsQuery, Le as useGradeSubmission, z as useHackathonQuery, R as useHackathonsQuery, Re as useIssueCertificate, V as useLessonsQuery, I as useMentorQuery, F as useMentorsQuery, Ne as useOpenRegistration, He as usePageLimit, N as useProblemQuery, M as useProblemsQuery, De as usePublishCourse, je as usePublishProblem, we as useRegisterTeam, $ as useScoreTeam, L as useSessionsQuery, ze as useStartHackathon, Be as useStartJudging, P as useSubmissionsQuery, Te as useSubmitProject, be as useSubmitSolution, B as useTeamsQuery, ye as useUpdateProgress };
|
|
600
682
|
|
|
601
683
|
//# sourceMappingURL=technospamApi.js.map
|