@burdenoff/microfe-technospam 2026.704.2 → 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 +233 -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
|
|
@@ -63,11 +64,12 @@ var a = t`
|
|
|
63
64
|
tags
|
|
64
65
|
languages
|
|
65
66
|
points
|
|
67
|
+
starterCode
|
|
66
68
|
publishedAt
|
|
67
69
|
createdAt
|
|
68
70
|
updatedAt
|
|
69
71
|
}
|
|
70
|
-
`,
|
|
72
|
+
`, u = n`
|
|
71
73
|
fragment SubmissionFields on TecSubmission {
|
|
72
74
|
id
|
|
73
75
|
problemId
|
|
@@ -81,7 +83,7 @@ var a = t`
|
|
|
81
83
|
createdAt
|
|
82
84
|
updatedAt
|
|
83
85
|
}
|
|
84
|
-
`,
|
|
86
|
+
`, d = n`
|
|
85
87
|
fragment MentorFields on TecMentor {
|
|
86
88
|
id
|
|
87
89
|
userId
|
|
@@ -97,7 +99,7 @@ var a = t`
|
|
|
97
99
|
createdAt
|
|
98
100
|
updatedAt
|
|
99
101
|
}
|
|
100
|
-
`,
|
|
102
|
+
`, f = n`
|
|
101
103
|
fragment SessionFields on TecMentorSession {
|
|
102
104
|
id
|
|
103
105
|
mentorId
|
|
@@ -115,7 +117,7 @@ var a = t`
|
|
|
115
117
|
createdAt
|
|
116
118
|
updatedAt
|
|
117
119
|
}
|
|
118
|
-
`,
|
|
120
|
+
`, p = n`
|
|
119
121
|
fragment HackathonFields on TecHackathon {
|
|
120
122
|
id
|
|
121
123
|
slug
|
|
@@ -133,7 +135,7 @@ var a = t`
|
|
|
133
135
|
createdAt
|
|
134
136
|
updatedAt
|
|
135
137
|
}
|
|
136
|
-
`,
|
|
138
|
+
`, m = n`
|
|
137
139
|
fragment TeamFields on TecHackathonTeam {
|
|
138
140
|
id
|
|
139
141
|
hackathonId
|
|
@@ -150,7 +152,7 @@ var a = t`
|
|
|
150
152
|
createdAt
|
|
151
153
|
updatedAt
|
|
152
154
|
}
|
|
153
|
-
`,
|
|
155
|
+
`, h = n`
|
|
154
156
|
fragment CertificateFields on TecCertificate {
|
|
155
157
|
id
|
|
156
158
|
courseId
|
|
@@ -163,8 +165,8 @@ var a = t`
|
|
|
163
165
|
revokeReason
|
|
164
166
|
createdAt
|
|
165
167
|
}
|
|
166
|
-
`,
|
|
167
|
-
${
|
|
168
|
+
`, g = n`
|
|
169
|
+
${o}
|
|
168
170
|
query TecListCourses(
|
|
169
171
|
$level: TecCourseLevel
|
|
170
172
|
$status: TecCourseStatus
|
|
@@ -180,10 +182,10 @@ var a = t`
|
|
|
180
182
|
}
|
|
181
183
|
}
|
|
182
184
|
}
|
|
183
|
-
`,
|
|
184
|
-
${a}
|
|
185
|
+
`, _ = n`
|
|
185
186
|
${o}
|
|
186
187
|
${s}
|
|
188
|
+
${c}
|
|
187
189
|
query TecCourse($id: ID!) {
|
|
188
190
|
tecCourse(id: $id) {
|
|
189
191
|
...CourseFields
|
|
@@ -195,9 +197,9 @@ var a = t`
|
|
|
195
197
|
}
|
|
196
198
|
}
|
|
197
199
|
}
|
|
198
|
-
`,
|
|
199
|
-
${
|
|
200
|
-
${
|
|
200
|
+
`, ee = n`
|
|
201
|
+
${c}
|
|
202
|
+
${o}
|
|
201
203
|
query TecListEnrollments($learnerId: ID, $courseId: ID, $pagination: PaginationInput) {
|
|
202
204
|
tecListEnrollments(learnerId: $learnerId, courseId: $courseId, pagination: $pagination) {
|
|
203
205
|
items {
|
|
@@ -212,9 +214,9 @@ var a = t`
|
|
|
212
214
|
}
|
|
213
215
|
}
|
|
214
216
|
}
|
|
215
|
-
`,
|
|
216
|
-
${
|
|
217
|
-
${
|
|
217
|
+
`, te = n`
|
|
218
|
+
${h}
|
|
219
|
+
${o}
|
|
218
220
|
query TecListCertificates($learnerId: ID, $courseId: ID) {
|
|
219
221
|
tecListCertificates(learnerId: $learnerId, courseId: $courseId) {
|
|
220
222
|
...CertificateFields
|
|
@@ -223,8 +225,8 @@ var a = t`
|
|
|
223
225
|
}
|
|
224
226
|
}
|
|
225
227
|
}
|
|
226
|
-
`, v =
|
|
227
|
-
${
|
|
228
|
+
`, v = n`
|
|
229
|
+
${l}
|
|
228
230
|
query TecListProblems(
|
|
229
231
|
$difficulty: TecProblemDifficulty
|
|
230
232
|
$status: TecProblemStatus
|
|
@@ -246,9 +248,9 @@ var a = t`
|
|
|
246
248
|
}
|
|
247
249
|
}
|
|
248
250
|
}
|
|
249
|
-
`, y =
|
|
250
|
-
${c}
|
|
251
|
+
`, y = n`
|
|
251
252
|
${l}
|
|
253
|
+
${u}
|
|
252
254
|
query TecProblem($id: ID!) {
|
|
253
255
|
tecProblem(id: $id) {
|
|
254
256
|
...ProblemFields
|
|
@@ -257,9 +259,9 @@ var a = t`
|
|
|
257
259
|
}
|
|
258
260
|
}
|
|
259
261
|
}
|
|
260
|
-
`, b =
|
|
262
|
+
`, b = n`
|
|
263
|
+
${u}
|
|
261
264
|
${l}
|
|
262
|
-
${c}
|
|
263
265
|
query TecListSubmissions($learnerId: ID, $problemId: ID, $pagination: PaginationInput) {
|
|
264
266
|
tecListSubmissions(learnerId: $learnerId, problemId: $problemId, pagination: $pagination) {
|
|
265
267
|
items {
|
|
@@ -274,8 +276,8 @@ var a = t`
|
|
|
274
276
|
}
|
|
275
277
|
}
|
|
276
278
|
}
|
|
277
|
-
`, x =
|
|
278
|
-
${
|
|
279
|
+
`, x = n`
|
|
280
|
+
${d}
|
|
279
281
|
query TecListMentors($status: TecMentorStatus, $pagination: PaginationInput) {
|
|
280
282
|
tecListMentors(status: $status, pagination: $pagination) {
|
|
281
283
|
items {
|
|
@@ -287,9 +289,9 @@ var a = t`
|
|
|
287
289
|
}
|
|
288
290
|
}
|
|
289
291
|
}
|
|
290
|
-
`, S =
|
|
291
|
-
${u}
|
|
292
|
+
`, S = n`
|
|
292
293
|
${d}
|
|
294
|
+
${f}
|
|
293
295
|
query TecMentor($id: ID!) {
|
|
294
296
|
tecMentor(id: $id) {
|
|
295
297
|
...MentorFields
|
|
@@ -298,9 +300,9 @@ var a = t`
|
|
|
298
300
|
}
|
|
299
301
|
}
|
|
300
302
|
}
|
|
301
|
-
`, C =
|
|
303
|
+
`, C = n`
|
|
304
|
+
${f}
|
|
302
305
|
${d}
|
|
303
|
-
${u}
|
|
304
306
|
query TecListSessions($mentorId: ID, $menteeId: ID, $status: TecSessionStatus) {
|
|
305
307
|
tecListSessions(mentorId: $mentorId, menteeId: $menteeId, status: $status) {
|
|
306
308
|
...SessionFields
|
|
@@ -309,8 +311,8 @@ var a = t`
|
|
|
309
311
|
}
|
|
310
312
|
}
|
|
311
313
|
}
|
|
312
|
-
`, w =
|
|
313
|
-
${
|
|
314
|
+
`, w = n`
|
|
315
|
+
${p}
|
|
314
316
|
query TecListHackathons($status: TecHackathonStatus, $pagination: PaginationInput) {
|
|
315
317
|
tecListHackathons(status: $status, pagination: $pagination) {
|
|
316
318
|
items {
|
|
@@ -322,9 +324,9 @@ var a = t`
|
|
|
322
324
|
}
|
|
323
325
|
}
|
|
324
326
|
}
|
|
325
|
-
`, T =
|
|
326
|
-
${f}
|
|
327
|
+
`, T = n`
|
|
327
328
|
${p}
|
|
329
|
+
${m}
|
|
328
330
|
query TecHackathon($id: ID!) {
|
|
329
331
|
tecHackathon(id: $id) {
|
|
330
332
|
...HackathonFields
|
|
@@ -333,87 +335,89 @@ var a = t`
|
|
|
333
335
|
}
|
|
334
336
|
}
|
|
335
337
|
}
|
|
336
|
-
`, E =
|
|
337
|
-
${
|
|
338
|
+
`, E = n`
|
|
339
|
+
${m}
|
|
338
340
|
query TecListTeams($hackathonId: ID!) {
|
|
339
341
|
tecListTeams(hackathonId: $hackathonId) {
|
|
340
342
|
...TeamFields
|
|
341
343
|
}
|
|
342
344
|
}
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
${o}
|
|
345
|
+
`, D = n`
|
|
346
|
+
${s}
|
|
346
347
|
query TecListLessons($courseId: ID!) {
|
|
347
348
|
tecListLessons(courseId: $courseId) {
|
|
348
349
|
...LessonFields
|
|
349
350
|
}
|
|
350
351
|
}
|
|
351
|
-
|
|
352
|
-
var D = (e) => r(h, {
|
|
352
|
+
`, O = (e) => i(g, {
|
|
353
353
|
variables: {
|
|
354
|
-
pagination:
|
|
354
|
+
pagination: a(50),
|
|
355
355
|
...e
|
|
356
356
|
},
|
|
357
357
|
fetchPolicy: "cache-and-network"
|
|
358
|
-
}),
|
|
358
|
+
}), k = (e) => i(_, {
|
|
359
359
|
variables: { id: e },
|
|
360
360
|
skip: !e,
|
|
361
361
|
fetchPolicy: "cache-and-network"
|
|
362
|
-
}),
|
|
362
|
+
}), A = (e) => i(ee, {
|
|
363
363
|
variables: {
|
|
364
|
-
pagination:
|
|
364
|
+
pagination: a(50),
|
|
365
365
|
...e
|
|
366
366
|
},
|
|
367
367
|
fetchPolicy: "cache-and-network"
|
|
368
|
-
}),
|
|
368
|
+
}), j = (e) => i(te, {
|
|
369
369
|
variables: e,
|
|
370
370
|
fetchPolicy: "cache-and-network"
|
|
371
|
-
}),
|
|
371
|
+
}), M = (e) => i(v, {
|
|
372
372
|
variables: {
|
|
373
|
-
pagination:
|
|
373
|
+
pagination: a(50),
|
|
374
374
|
...e
|
|
375
375
|
},
|
|
376
376
|
fetchPolicy: "cache-and-network"
|
|
377
|
-
}),
|
|
377
|
+
}), N = (e) => i(y, {
|
|
378
378
|
variables: { id: e },
|
|
379
379
|
skip: !e,
|
|
380
380
|
fetchPolicy: "cache-and-network"
|
|
381
|
-
}),
|
|
381
|
+
}), P = (e) => i(b, {
|
|
382
382
|
variables: {
|
|
383
|
-
pagination:
|
|
383
|
+
pagination: a(50),
|
|
384
384
|
...e
|
|
385
385
|
},
|
|
386
386
|
fetchPolicy: "cache-and-network"
|
|
387
|
-
}),
|
|
387
|
+
}), F = (e) => i(x, {
|
|
388
388
|
variables: {
|
|
389
|
-
pagination:
|
|
389
|
+
pagination: a(50),
|
|
390
390
|
...e
|
|
391
391
|
},
|
|
392
392
|
fetchPolicy: "cache-and-network"
|
|
393
|
-
}),
|
|
393
|
+
}), I = (e) => i(S, {
|
|
394
394
|
variables: { id: e },
|
|
395
395
|
skip: !e,
|
|
396
396
|
fetchPolicy: "cache-and-network"
|
|
397
|
-
}),
|
|
397
|
+
}), L = (e) => i(C, {
|
|
398
398
|
variables: e,
|
|
399
399
|
fetchPolicy: "cache-and-network"
|
|
400
|
-
}),
|
|
400
|
+
}), R = (e) => i(w, {
|
|
401
401
|
variables: {
|
|
402
|
-
pagination:
|
|
402
|
+
pagination: a(50),
|
|
403
403
|
...e
|
|
404
404
|
},
|
|
405
405
|
fetchPolicy: "cache-and-network"
|
|
406
|
-
}),
|
|
406
|
+
}), z = (e) => i(T, {
|
|
407
407
|
variables: { id: e },
|
|
408
408
|
skip: !e,
|
|
409
409
|
fetchPolicy: "cache-and-network"
|
|
410
|
-
}),
|
|
410
|
+
}), B = (e) => i(E, {
|
|
411
411
|
variables: { hackathonId: e },
|
|
412
412
|
skip: !e,
|
|
413
413
|
fetchPolicy: "cache-and-network"
|
|
414
|
-
}),
|
|
414
|
+
}), V = (e) => i(D, {
|
|
415
|
+
variables: { courseId: e },
|
|
416
|
+
skip: !e,
|
|
417
|
+
fetchPolicy: "cache-and-network"
|
|
418
|
+
}), H = (t) => {
|
|
415
419
|
e.error("Something went wrong", t.message || "Please try again.");
|
|
416
|
-
},
|
|
420
|
+
}, U = {
|
|
417
421
|
courses: "TecListCourses",
|
|
418
422
|
enrollments: "TecListEnrollments",
|
|
419
423
|
problems: "TecListProblems",
|
|
@@ -421,180 +425,259 @@ var D = (e) => r(h, {
|
|
|
421
425
|
mentors: "TecListMentors",
|
|
422
426
|
sessions: "TecListSessions",
|
|
423
427
|
hackathons: "TecListHackathons"
|
|
424
|
-
},
|
|
425
|
-
${
|
|
428
|
+
}, W = n`
|
|
429
|
+
${c}
|
|
426
430
|
mutation TecEnroll($input: TecEnrollInput!) {
|
|
427
431
|
tecEnroll(input: $input) {
|
|
428
432
|
...EnrollmentFields
|
|
429
433
|
}
|
|
430
434
|
}
|
|
431
|
-
`,
|
|
432
|
-
${
|
|
435
|
+
`, G = n`
|
|
436
|
+
${c}
|
|
433
437
|
mutation TecUpdateProgress($input: TecUpdateProgressInput!) {
|
|
434
438
|
tecUpdateProgress(input: $input) {
|
|
435
439
|
...EnrollmentFields
|
|
436
440
|
}
|
|
437
441
|
}
|
|
438
|
-
`,
|
|
439
|
-
${
|
|
442
|
+
`, K = n`
|
|
443
|
+
${u}
|
|
440
444
|
mutation TecSubmitSolution($input: TecSubmitSolutionInput!) {
|
|
441
445
|
tecSubmitSolution(input: $input) {
|
|
442
446
|
...SubmissionFields
|
|
443
447
|
}
|
|
444
448
|
}
|
|
445
|
-
`,
|
|
446
|
-
${
|
|
449
|
+
`, q = n`
|
|
450
|
+
${f}
|
|
447
451
|
mutation TecBookSession($input: TecBookSessionInput!) {
|
|
448
452
|
tecBookSession(input: $input) {
|
|
449
453
|
...SessionFields
|
|
450
454
|
}
|
|
451
455
|
}
|
|
452
|
-
`,
|
|
453
|
-
${
|
|
456
|
+
`, J = n`
|
|
457
|
+
${f}
|
|
454
458
|
mutation TecCancelSession($id: ID!) {
|
|
455
459
|
tecCancelSession(id: $id) {
|
|
456
460
|
...SessionFields
|
|
457
461
|
}
|
|
458
462
|
}
|
|
459
|
-
`,
|
|
460
|
-
${
|
|
463
|
+
`, Y = n`
|
|
464
|
+
${d}
|
|
461
465
|
mutation TecBecomeMentor($input: TecCreateMentorInput!) {
|
|
462
466
|
tecBecomeMentor(input: $input) {
|
|
463
467
|
...MentorFields
|
|
464
468
|
}
|
|
465
469
|
}
|
|
466
|
-
`,
|
|
467
|
-
${
|
|
470
|
+
`, X = n`
|
|
471
|
+
${m}
|
|
468
472
|
mutation TecRegisterTeam($input: TecRegisterTeamInput!) {
|
|
469
473
|
tecRegisterTeam(input: $input) {
|
|
470
474
|
...TeamFields
|
|
471
475
|
}
|
|
472
476
|
}
|
|
473
|
-
`,
|
|
474
|
-
${
|
|
477
|
+
`, Z = n`
|
|
478
|
+
${m}
|
|
475
479
|
mutation TecSubmitProject($input: TecSubmitProjectInput!) {
|
|
476
480
|
tecSubmitProject(input: $input) {
|
|
477
481
|
...TeamFields
|
|
478
482
|
}
|
|
479
483
|
}
|
|
480
|
-
`,
|
|
481
|
-
${
|
|
484
|
+
`, Q = n`
|
|
485
|
+
${o}
|
|
482
486
|
mutation TecCreateCourse($input: TecCreateCourseInput!) {
|
|
483
487
|
tecCreateCourse(input: $input) {
|
|
484
488
|
...CourseFields
|
|
485
489
|
}
|
|
486
490
|
}
|
|
487
|
-
`,
|
|
488
|
-
${
|
|
491
|
+
`, ne = n`
|
|
492
|
+
${o}
|
|
489
493
|
mutation TecPublishCourse($id: ID!) {
|
|
490
494
|
tecPublishCourse(id: $id) {
|
|
491
495
|
...CourseFields
|
|
492
496
|
}
|
|
493
497
|
}
|
|
494
|
-
`,
|
|
498
|
+
`, re = n`
|
|
495
499
|
mutation TecArchiveCourse($id: ID!) {
|
|
496
500
|
tecArchiveCourse(id: $id)
|
|
497
501
|
}
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
${o}
|
|
502
|
+
`, ie = n`
|
|
503
|
+
${s}
|
|
501
504
|
mutation TecCreateLesson($input: TecCreateLessonInput!) {
|
|
502
505
|
tecCreateLesson(input: $input) {
|
|
503
506
|
...LessonFields
|
|
504
507
|
}
|
|
505
508
|
}
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
${c}
|
|
509
|
+
`, ae = n`
|
|
510
|
+
${l}
|
|
509
511
|
mutation TecCreateProblem($input: TecCreateProblemInput!) {
|
|
510
512
|
tecCreateProblem(input: $input) {
|
|
511
513
|
...ProblemFields
|
|
512
514
|
}
|
|
513
515
|
}
|
|
514
|
-
`,
|
|
515
|
-
${
|
|
516
|
+
`, oe = n`
|
|
517
|
+
${l}
|
|
516
518
|
mutation TecPublishProblem($id: ID!) {
|
|
517
519
|
tecPublishProblem(id: $id) {
|
|
518
520
|
...ProblemFields
|
|
519
521
|
}
|
|
520
522
|
}
|
|
521
|
-
`,
|
|
522
|
-
${
|
|
523
|
+
`, se = n`
|
|
524
|
+
${p}
|
|
523
525
|
mutation TecCreateHackathon($input: TecCreateHackathonInput!) {
|
|
524
526
|
tecCreateHackathon(input: $input) {
|
|
525
527
|
...HackathonFields
|
|
526
528
|
}
|
|
527
529
|
}
|
|
528
|
-
`,
|
|
529
|
-
${
|
|
530
|
+
`, ce = n`
|
|
531
|
+
${p}
|
|
530
532
|
mutation TecOpenRegistration($id: ID!) {
|
|
531
533
|
tecOpenRegistration(id: $id) {
|
|
532
534
|
...HackathonFields
|
|
533
535
|
}
|
|
534
536
|
}
|
|
535
|
-
`,
|
|
536
|
-
${
|
|
537
|
+
`, le = n`
|
|
538
|
+
${d}
|
|
537
539
|
mutation TecApproveMentor($id: ID!) {
|
|
538
540
|
tecApproveMentor(id: $id) {
|
|
539
541
|
...MentorFields
|
|
540
542
|
}
|
|
541
543
|
}
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
${p}
|
|
544
|
+
`, ue = n`
|
|
545
|
+
${m}
|
|
545
546
|
mutation TecScoreTeam($id: ID!, $score: Int!, $winner: Boolean) {
|
|
546
547
|
tecScoreTeam(id: $id, score: $score, winner: $winner) {
|
|
547
548
|
...TeamFields
|
|
548
549
|
}
|
|
549
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
|
+
}
|
|
550
587
|
`;
|
|
551
|
-
var
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
onError:
|
|
574
|
-
refetchQueries: [
|
|
575
|
-
}),
|
|
576
|
-
onError:
|
|
577
|
-
refetchQueries: [
|
|
578
|
-
}),
|
|
579
|
-
onError:
|
|
580
|
-
refetchQueries: [
|
|
581
|
-
}),
|
|
582
|
-
onError:
|
|
583
|
-
refetchQueries: [
|
|
584
|
-
}),
|
|
585
|
-
onError:
|
|
586
|
-
refetchQueries: [
|
|
587
|
-
}),
|
|
588
|
-
onError:
|
|
589
|
-
refetchQueries: [
|
|
590
|
-
}),
|
|
591
|
-
onError:
|
|
592
|
-
refetchQueries: [
|
|
593
|
-
}),
|
|
594
|
-
onError:
|
|
595
|
-
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]
|
|
596
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
|
+
}
|
|
597
680
|
//#endregion
|
|
598
|
-
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 };
|
|
599
682
|
|
|
600
683
|
//# sourceMappingURL=technospamApi.js.map
|