@burdenoff/microfe-buildmyiq 2026.1102.1 → 2026.1102.2
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/buildmyiq/components/BuiDiscussion.d.ts +8 -4
- package/dist/buildmyiq/components/BuiDiscussion.d.ts.map +1 -1
- package/dist/buildmyiq/components/BuiDiscussion.js +190 -87
- package/dist/buildmyiq/components/BuiDiscussion.js.map +1 -1
- package/dist/buildmyiq/hooks/useBuiComments.d.ts +50 -10
- package/dist/buildmyiq/hooks/useBuiComments.d.ts.map +1 -1
- package/dist/buildmyiq/hooks/useBuiComments.js +67 -23
- package/dist/buildmyiq/hooks/useBuiComments.js.map +1 -1
- package/dist/buildmyiq/hooks/useBuildmyiqApi.d.ts +52 -0
- package/dist/buildmyiq/hooks/useBuildmyiqApi.d.ts.map +1 -1
- package/dist/buildmyiq/hooks/useBuildmyiqApi.js +169 -122
- package/dist/buildmyiq/hooks/useBuildmyiqApi.js.map +1 -1
- package/dist/buildmyiq/pages/catalog/CatalogPage.d.ts.map +1 -1
- package/dist/buildmyiq/pages/catalog/CatalogPage.js +97 -68
- package/dist/buildmyiq/pages/catalog/CatalogPage.js.map +1 -1
- package/dist/buildmyiq/pages/catalog/CourseDetailPage.d.ts.map +1 -1
- package/dist/buildmyiq/pages/catalog/CourseDetailPage.js +270 -208
- package/dist/buildmyiq/pages/catalog/CourseDetailPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -97,7 +97,8 @@ var c = () => {
|
|
|
97
97
|
"buildmyiq",
|
|
98
98
|
"enrollments",
|
|
99
99
|
"pathRecommendations"
|
|
100
|
-
]
|
|
100
|
+
],
|
|
101
|
+
savedCourses: ["buildmyiq", "savedCourses"]
|
|
101
102
|
}, d = u, f = 24, p = (e = 0, t = f) => e > 0 ? {
|
|
102
103
|
limit: t,
|
|
103
104
|
offset: e
|
|
@@ -223,7 +224,53 @@ var c = () => {
|
|
|
223
224
|
t(n, d.courses), t(n, d.course(r));
|
|
224
225
|
}
|
|
225
226
|
});
|
|
226
|
-
}, me = (
|
|
227
|
+
}, me = (t = {}) => {
|
|
228
|
+
let { apiGatewayUrl: n, workspaceId: r, currentUser: i } = e(), { courseId: o, offset: s, limit: c, enabled: u = !0 } = t;
|
|
229
|
+
return a({
|
|
230
|
+
queryKey: [
|
|
231
|
+
...d.savedCourses,
|
|
232
|
+
r ?? null,
|
|
233
|
+
i?.id ?? null,
|
|
234
|
+
{
|
|
235
|
+
courseId: o,
|
|
236
|
+
offset: s,
|
|
237
|
+
limit: c
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
enabled: u,
|
|
241
|
+
queryFn: async () => {
|
|
242
|
+
let e = await l(`query BuiMySavedCourses($courseId: ID, $pagination: PaginationInput) {
|
|
243
|
+
buiMySavedCourses(courseId: $courseId, pagination: $pagination) {
|
|
244
|
+
items {
|
|
245
|
+
id courseId savedAt
|
|
246
|
+
course { ${g} modules { items { id } } lessons { items { id } } }
|
|
247
|
+
}
|
|
248
|
+
pageInfo { cursor hasMore }
|
|
249
|
+
}
|
|
250
|
+
}`, {
|
|
251
|
+
courseId: o,
|
|
252
|
+
pagination: p(s, c)
|
|
253
|
+
}, n);
|
|
254
|
+
return {
|
|
255
|
+
items: e.buiMySavedCourses.items.map((e) => ({
|
|
256
|
+
...e,
|
|
257
|
+
course: {
|
|
258
|
+
...e.course,
|
|
259
|
+
modules: e.course.modules.items,
|
|
260
|
+
lessons: e.course.lessons.items
|
|
261
|
+
}
|
|
262
|
+
})),
|
|
263
|
+
pageInfo: e.buiMySavedCourses.pageInfo
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
}, he = () => {
|
|
268
|
+
let e = k(), n = o();
|
|
269
|
+
return i({
|
|
270
|
+
mutationFn: async ({ courseId: t, save: n }) => (n ? await l("mutation BuiSaveCourse($courseId: ID!) {\n buiSaveCourse(courseId: $courseId) { id courseId savedAt }\n }", { courseId: t }, e) : await l("mutation BuiUnsaveCourse($courseId: ID!) {\n buiUnsaveCourse(courseId: $courseId)\n }", { courseId: t }, e), n),
|
|
271
|
+
onSuccess: () => t(n, d.savedCourses)
|
|
272
|
+
});
|
|
273
|
+
}, ge = (e) => {
|
|
227
274
|
let t = k();
|
|
228
275
|
return a({
|
|
229
276
|
queryKey: e ? d.modules(e) : [
|
|
@@ -241,7 +288,7 @@ var c = () => {
|
|
|
241
288
|
lessons: e.lessons.items
|
|
242
289
|
}))
|
|
243
290
|
});
|
|
244
|
-
},
|
|
291
|
+
}, _e = (e, t) => {
|
|
245
292
|
let n = k();
|
|
246
293
|
return a({
|
|
247
294
|
queryKey: e ? [...d.lessons(e), { moduleId: t }] : [
|
|
@@ -257,7 +304,7 @@ var c = () => {
|
|
|
257
304
|
moduleId: t
|
|
258
305
|
}, n)).buiListLessons.items
|
|
259
306
|
});
|
|
260
|
-
},
|
|
307
|
+
}, A = () => {
|
|
261
308
|
let e = k(), n = o();
|
|
262
309
|
return i({
|
|
263
310
|
mutationFn: async (t) => (await l(`mutation BuiCreateModule($input: BuiCreateModuleInput!) {
|
|
@@ -267,7 +314,7 @@ var c = () => {
|
|
|
267
314
|
t(n, d.modules(e.courseId)), t(n, d.course(e.courseId));
|
|
268
315
|
}
|
|
269
316
|
});
|
|
270
|
-
},
|
|
317
|
+
}, j = () => {
|
|
271
318
|
let e = k(), n = o();
|
|
272
319
|
return i({
|
|
273
320
|
mutationFn: async (t) => (await l(`mutation BuiCreateLesson($input: BuiCreateLessonInput!) {
|
|
@@ -277,7 +324,7 @@ var c = () => {
|
|
|
277
324
|
t(n, d.lessons(e.courseId)), t(n, d.modules(e.courseId)), t(n, d.course(e.courseId));
|
|
278
325
|
}
|
|
279
326
|
});
|
|
280
|
-
},
|
|
327
|
+
}, M = (e, t) => {
|
|
281
328
|
let n = k();
|
|
282
329
|
return a({
|
|
283
330
|
queryKey: e ? [...d.assessments(e), { status: t }] : [
|
|
@@ -298,7 +345,7 @@ var c = () => {
|
|
|
298
345
|
questions: e.questions.items
|
|
299
346
|
}))
|
|
300
347
|
});
|
|
301
|
-
},
|
|
348
|
+
}, N = (e) => {
|
|
302
349
|
let t = k();
|
|
303
350
|
return a({
|
|
304
351
|
queryKey: e ? d.assessment(e) : [
|
|
@@ -314,7 +361,7 @@ var c = () => {
|
|
|
314
361
|
return n.buiAssessment ? oe(n.buiAssessment) : null;
|
|
315
362
|
}
|
|
316
363
|
});
|
|
317
|
-
},
|
|
364
|
+
}, P = () => {
|
|
318
365
|
let e = k(), n = o();
|
|
319
366
|
return i({
|
|
320
367
|
mutationFn: async (t) => (await l(`mutation BuiCreateAssessment($input: BuiCreateAssessmentInput!) {
|
|
@@ -322,7 +369,7 @@ var c = () => {
|
|
|
322
369
|
}`, { input: t }, e)).buiCreateAssessment,
|
|
323
370
|
onSuccess: (e) => t(n, d.assessments(e.courseId))
|
|
324
371
|
});
|
|
325
|
-
},
|
|
372
|
+
}, F = () => {
|
|
326
373
|
let e = k(), n = o();
|
|
327
374
|
return i({
|
|
328
375
|
mutationFn: async (t) => (await l(`mutation BuiPublishAssessment($id: ID!) {
|
|
@@ -332,7 +379,7 @@ var c = () => {
|
|
|
332
379
|
t(n, d.assessment(e.id)), t(n, d.assessments(e.courseId));
|
|
333
380
|
}
|
|
334
381
|
});
|
|
335
|
-
},
|
|
382
|
+
}, I = () => {
|
|
336
383
|
let e = k(), n = o();
|
|
337
384
|
return i({
|
|
338
385
|
mutationFn: async (t) => (await l("mutation BuiArchiveAssessment($id: ID!) { buiArchiveAssessment(id: $id) }", { id: t.id }, e)).buiArchiveAssessment,
|
|
@@ -340,7 +387,7 @@ var c = () => {
|
|
|
340
387
|
t(n, d.assessment(r.id)), t(n, d.assessments(r.courseId));
|
|
341
388
|
}
|
|
342
389
|
});
|
|
343
|
-
},
|
|
390
|
+
}, ve = () => {
|
|
344
391
|
let e = k(), n = o();
|
|
345
392
|
return i({
|
|
346
393
|
mutationFn: async (t) => (await l(`mutation BuiCreateQuestion($input: BuiCreateQuestionInput!) {
|
|
@@ -348,7 +395,7 @@ var c = () => {
|
|
|
348
395
|
}`, { input: t }, e)).buiCreateQuestion,
|
|
349
396
|
onSuccess: (e) => t(n, d.assessment(e.assessmentId))
|
|
350
397
|
});
|
|
351
|
-
},
|
|
398
|
+
}, ye = (e = {}) => {
|
|
352
399
|
let t = k(), { assessmentId: n, status: r, offset: i, limit: o, enabled: s = !0 } = e;
|
|
353
400
|
return a({
|
|
354
401
|
queryKey: [...d.submissions, {
|
|
@@ -369,7 +416,7 @@ var c = () => {
|
|
|
369
416
|
pagination: p(i, o)
|
|
370
417
|
}, t)).buiListSubmissions
|
|
371
418
|
});
|
|
372
|
-
},
|
|
419
|
+
}, be = (e = {}) => {
|
|
373
420
|
let t = k(), { assessmentId: n, status: r, offset: i, limit: o, enabled: s = !0 } = e;
|
|
374
421
|
return a({
|
|
375
422
|
queryKey: [
|
|
@@ -394,7 +441,7 @@ var c = () => {
|
|
|
394
441
|
pagination: p(i, o)
|
|
395
442
|
}, t)).buiMySubmissions
|
|
396
443
|
});
|
|
397
|
-
},
|
|
444
|
+
}, xe = (e) => {
|
|
398
445
|
let t = k();
|
|
399
446
|
return a({
|
|
400
447
|
queryKey: e ? d.submission(e) : [
|
|
@@ -407,7 +454,7 @@ var c = () => {
|
|
|
407
454
|
buiSubmission(id: $id) { ${x} }
|
|
408
455
|
}`, { id: e }, t)).buiSubmission
|
|
409
456
|
});
|
|
410
|
-
},
|
|
457
|
+
}, Se = () => {
|
|
411
458
|
let e = k(), n = o();
|
|
412
459
|
return i({
|
|
413
460
|
mutationFn: async (t) => (await l(`mutation BuiSubmitAssessment($input: BuiSubmitAssessmentInput!) {
|
|
@@ -415,7 +462,7 @@ var c = () => {
|
|
|
415
462
|
}`, { input: t }, e)).buiSubmitAssessment,
|
|
416
463
|
onSuccess: () => t(n, d.submissions)
|
|
417
464
|
});
|
|
418
|
-
},
|
|
465
|
+
}, Ce = () => {
|
|
419
466
|
let e = k(), n = o();
|
|
420
467
|
return i({
|
|
421
468
|
mutationFn: async (t) => (await l(`mutation BuiGradeSubmission($id: ID!, $input: BuiGradeSubmissionInput!) {
|
|
@@ -423,7 +470,7 @@ var c = () => {
|
|
|
423
470
|
}`, t, e)).buiGradeSubmission,
|
|
424
471
|
onSuccess: () => t(n, d.submissions)
|
|
425
472
|
});
|
|
426
|
-
},
|
|
473
|
+
}, we = () => {
|
|
427
474
|
let e = k(), n = o();
|
|
428
475
|
return i({
|
|
429
476
|
mutationFn: async (t) => (await l(`mutation BuiAutoScoreSubmission($id: ID!) {
|
|
@@ -433,7 +480,7 @@ var c = () => {
|
|
|
433
480
|
t(n, d.submissions), t(n, d.submission(e.id));
|
|
434
481
|
}
|
|
435
482
|
});
|
|
436
|
-
},
|
|
483
|
+
}, Te = (e = {}) => {
|
|
437
484
|
let t = k(), { courseId: n, status: r, offset: i, limit: o, enabled: s = !0 } = e;
|
|
438
485
|
return a({
|
|
439
486
|
queryKey: [...d.enrollments, {
|
|
@@ -454,7 +501,7 @@ var c = () => {
|
|
|
454
501
|
pagination: p(i, o)
|
|
455
502
|
}, t)).buiListEnrollments
|
|
456
503
|
});
|
|
457
|
-
},
|
|
504
|
+
}, Ee = (e = {}) => {
|
|
458
505
|
let t = k(), { courseId: n, status: r, offset: i, limit: o, enabled: s = !0 } = e;
|
|
459
506
|
return a({
|
|
460
507
|
queryKey: [
|
|
@@ -479,7 +526,7 @@ var c = () => {
|
|
|
479
526
|
pagination: p(i, o)
|
|
480
527
|
}, t)).buiMyEnrollments
|
|
481
528
|
});
|
|
482
|
-
},
|
|
529
|
+
}, De = (e) => {
|
|
483
530
|
let t = k();
|
|
484
531
|
return a({
|
|
485
532
|
queryKey: e ? [...d.enrollment(e), "mine"] : [
|
|
@@ -496,7 +543,7 @@ var c = () => {
|
|
|
496
543
|
return n.buiMyEnrollment ? se(n.buiMyEnrollment) : null;
|
|
497
544
|
}
|
|
498
545
|
});
|
|
499
|
-
},
|
|
546
|
+
}, Oe = () => {
|
|
500
547
|
let e = k(), n = o();
|
|
501
548
|
return i({
|
|
502
549
|
mutationFn: async (t) => (await l(`mutation BuiEnroll($input: BuiEnrollInput!) {
|
|
@@ -504,7 +551,7 @@ var c = () => {
|
|
|
504
551
|
}`, { input: t }, e)).buiEnroll,
|
|
505
552
|
onSuccess: () => t(n, d.enrollments)
|
|
506
553
|
});
|
|
507
|
-
},
|
|
554
|
+
}, ke = () => {
|
|
508
555
|
let e = k(), n = o();
|
|
509
556
|
return i({
|
|
510
557
|
mutationFn: async (t) => (await l(`mutation BuiCompleteMyEnrollment($id: ID!) {
|
|
@@ -514,7 +561,7 @@ var c = () => {
|
|
|
514
561
|
t(n, d.enrollments), t(n, d.enrollment(e.id)), t(n, d.badgeAwards), t(n, d.badges);
|
|
515
562
|
}
|
|
516
563
|
});
|
|
517
|
-
},
|
|
564
|
+
}, Ae = () => {
|
|
518
565
|
let e = k(), n = o();
|
|
519
566
|
return i({
|
|
520
567
|
mutationFn: async (t) => (await l(`mutation BuiRecordMyLessonProgress($input: BuiRecordLessonProgressInput!) {
|
|
@@ -524,7 +571,7 @@ var c = () => {
|
|
|
524
571
|
t(n, d.enrollment(e.enrollmentId)), t(n, d.enrollments);
|
|
525
572
|
}
|
|
526
573
|
});
|
|
527
|
-
},
|
|
574
|
+
}, je = (e, t) => {
|
|
528
575
|
let n = k();
|
|
529
576
|
return a({
|
|
530
577
|
queryKey: [...d.cohorts, {
|
|
@@ -538,7 +585,7 @@ var c = () => {
|
|
|
538
585
|
status: t
|
|
539
586
|
}, n)).buiListCohorts.items
|
|
540
587
|
});
|
|
541
|
-
},
|
|
588
|
+
}, Me = () => {
|
|
542
589
|
let e = k(), n = o();
|
|
543
590
|
return i({
|
|
544
591
|
mutationFn: async (t) => (await l(`mutation BuiCreateCohort($input: BuiCreateCohortInput!) {
|
|
@@ -546,7 +593,7 @@ var c = () => {
|
|
|
546
593
|
}`, { input: t }, e)).buiCreateCohort,
|
|
547
594
|
onSuccess: () => t(n, d.cohorts)
|
|
548
595
|
});
|
|
549
|
-
},
|
|
596
|
+
}, Ne = (e) => {
|
|
550
597
|
let t = k();
|
|
551
598
|
return a({
|
|
552
599
|
queryKey: [...d.skills, { category: e }],
|
|
@@ -554,7 +601,7 @@ var c = () => {
|
|
|
554
601
|
buiListSkills(category: $category) { items { ${h} } }
|
|
555
602
|
}`, { category: e }, t)).buiListSkills.items
|
|
556
603
|
});
|
|
557
|
-
},
|
|
604
|
+
}, Pe = () => {
|
|
558
605
|
let e = k(), n = o();
|
|
559
606
|
return i({
|
|
560
607
|
mutationFn: async (t) => (await l(`mutation BuiCreateSkill($input: BuiCreateSkillInput!) {
|
|
@@ -562,7 +609,7 @@ var c = () => {
|
|
|
562
609
|
}`, { input: t }, e)).buiCreateSkill,
|
|
563
610
|
onSuccess: () => t(n, d.skills)
|
|
564
611
|
});
|
|
565
|
-
},
|
|
612
|
+
}, Fe = (e, t = !0) => {
|
|
566
613
|
let n = k();
|
|
567
614
|
return a({
|
|
568
615
|
queryKey: [
|
|
@@ -575,7 +622,7 @@ var c = () => {
|
|
|
575
622
|
buiListCertifications(body: $body) { items { ${te} } }
|
|
576
623
|
}`, { body: e }, n)).buiListCertifications.items
|
|
577
624
|
});
|
|
578
|
-
},
|
|
625
|
+
}, Ie = (e, t, n = !0) => {
|
|
579
626
|
let r = k();
|
|
580
627
|
return a({
|
|
581
628
|
queryKey: [
|
|
@@ -599,7 +646,7 @@ var c = () => {
|
|
|
599
646
|
limit: 5
|
|
600
647
|
}, r)).buiSuggestSkillMappings
|
|
601
648
|
});
|
|
602
|
-
},
|
|
649
|
+
}, Le = (e, t = !0) => {
|
|
603
650
|
let n = k();
|
|
604
651
|
return a({
|
|
605
652
|
queryKey: [...d.certificates, { courseId: e }],
|
|
@@ -608,7 +655,7 @@ var c = () => {
|
|
|
608
655
|
buiListCertificates(courseId: $courseId) { items { ${T} } }
|
|
609
656
|
}`, { courseId: e }, n)).buiListCertificates.items
|
|
610
657
|
});
|
|
611
|
-
},
|
|
658
|
+
}, Re = (e, t = !0) => {
|
|
612
659
|
let n = k();
|
|
613
660
|
return a({
|
|
614
661
|
queryKey: [
|
|
@@ -621,7 +668,7 @@ var c = () => {
|
|
|
621
668
|
buiMyCertificates(courseId: $courseId) { items { ${T} } }
|
|
622
669
|
}`, { courseId: e }, n)).buiMyCertificates.items
|
|
623
670
|
});
|
|
624
|
-
},
|
|
671
|
+
}, ze = () => {
|
|
625
672
|
let e = k(), n = o();
|
|
626
673
|
return i({
|
|
627
674
|
mutationFn: async (t) => (await l(`mutation BuiIssueCertificate($input: BuiIssueCertificateInput!) {
|
|
@@ -629,7 +676,7 @@ var c = () => {
|
|
|
629
676
|
}`, { input: t }, e)).buiIssueCertificate,
|
|
630
677
|
onSuccess: () => t(n, d.certificates)
|
|
631
678
|
});
|
|
632
|
-
},
|
|
679
|
+
}, Be = () => {
|
|
633
680
|
let e = k(), n = o();
|
|
634
681
|
return i({
|
|
635
682
|
mutationFn: async (t) => (await l(`mutation BuiRevokeCertificate($id: ID!) {
|
|
@@ -637,7 +684,7 @@ var c = () => {
|
|
|
637
684
|
}`, { id: t }, e)).buiRevokeCertificate,
|
|
638
685
|
onSuccess: () => t(n, d.certificates)
|
|
639
686
|
});
|
|
640
|
-
},
|
|
687
|
+
}, Ve = (e) => {
|
|
641
688
|
let t = k();
|
|
642
689
|
return a({
|
|
643
690
|
queryKey: e ? d.tutorMode(e) : [
|
|
@@ -661,7 +708,7 @@ var c = () => {
|
|
|
661
708
|
}
|
|
662
709
|
}
|
|
663
710
|
});
|
|
664
|
-
},
|
|
711
|
+
}, He = (e) => {
|
|
665
712
|
let t = k();
|
|
666
713
|
return a({
|
|
667
714
|
queryKey: e ? d.tutorSessions(e) : [
|
|
@@ -674,7 +721,7 @@ var c = () => {
|
|
|
674
721
|
buiMyTutorSessions(lessonId: $lessonId) { items { ${O} } }
|
|
675
722
|
}`, { lessonId: e }, t)).buiMyTutorSessions.items
|
|
676
723
|
});
|
|
677
|
-
},
|
|
724
|
+
}, Ue = () => {
|
|
678
725
|
let e = k(), n = o();
|
|
679
726
|
return i({
|
|
680
727
|
mutationFn: async (t) => (await l(`mutation BuiTutorAsk($input: BuiTutorAskInput!) {
|
|
@@ -685,7 +732,7 @@ var c = () => {
|
|
|
685
732
|
}`, { input: t }, e)).buiTutorAsk,
|
|
686
733
|
onSuccess: (e) => t(n, d.tutorSessions(e.session.lessonId))
|
|
687
734
|
});
|
|
688
|
-
},
|
|
735
|
+
}, We = (e = {}) => {
|
|
689
736
|
let t = k(), { courseId: n, lessonId: r, offset: i, limit: o } = e;
|
|
690
737
|
return a({
|
|
691
738
|
queryKey: [...d.tutorReview, {
|
|
@@ -708,7 +755,7 @@ var c = () => {
|
|
|
708
755
|
pagination: p(i, o)
|
|
709
756
|
}, t)).buiListTutorSessions
|
|
710
757
|
});
|
|
711
|
-
},
|
|
758
|
+
}, Ge = () => {
|
|
712
759
|
let e = k(), n = o();
|
|
713
760
|
return i({
|
|
714
761
|
mutationFn: async (t) => (await l(`mutation BuiReviewTutorAnswer($input: BuiReviewTutorAnswerInput!) {
|
|
@@ -716,30 +763,30 @@ var c = () => {
|
|
|
716
763
|
}`, { input: t }, e)).buiReviewTutorAnswer,
|
|
717
764
|
onSuccess: () => Promise.all([t(n, d.tutorReview), t(n, ["buildmyiq", "tutorSessions"])])
|
|
718
765
|
});
|
|
719
|
-
}, L = "\n id submissionId proposedScore\n perQuestionFeedback {\n questionId feedback suggestedPoints\n criterionScores { criterionId title maxPoints suggestedPoints comment }\n }\n rubricRefs confidence inputRefs outcome createdAt\n",
|
|
766
|
+
}, L = "\n id submissionId proposedScore\n perQuestionFeedback {\n questionId feedback suggestedPoints\n criterionScores { criterionId title maxPoints suggestedPoints comment }\n }\n rubricRefs confidence inputRefs outcome createdAt\n", Ke = () => {
|
|
720
767
|
let e = k();
|
|
721
768
|
return i({ mutationFn: async (t) => (await l(`mutation BuiSuggestGrade($submissionId: ID!) {
|
|
722
769
|
buiSuggestGrade(submissionId: $submissionId) { ${L} }
|
|
723
770
|
}`, { submissionId: t }, e)).buiSuggestGrade });
|
|
724
|
-
},
|
|
771
|
+
}, qe = () => {
|
|
725
772
|
let e = k();
|
|
726
773
|
return i({ mutationFn: async (t) => (await l(`mutation BuiReviewGradeSuggestion($id: ID!, $outcome: BuiAiSuggestionOutcome!) {
|
|
727
774
|
buiReviewGradeSuggestion(id: $id, outcome: $outcome) { ${L} }
|
|
728
775
|
}`, t, e)).buiReviewGradeSuggestion });
|
|
729
|
-
}, R = "\n id enrollmentId lessonId lessonTitle moduleId moduleTitle\n rationale confidence pacingHint inputRefs outcome createdAt\n",
|
|
776
|
+
}, R = "\n id enrollmentId lessonId lessonTitle moduleId moduleTitle\n rationale confidence pacingHint inputRefs outcome createdAt\n", Je = () => {
|
|
730
777
|
let e = k();
|
|
731
778
|
return i({ mutationFn: async (t) => (await l(`mutation BuiSuggestNextLesson($enrollmentId: ID!) {
|
|
732
779
|
buiSuggestNextLesson(enrollmentId: $enrollmentId) { ${R} }
|
|
733
780
|
}`, { enrollmentId: t }, e)).buiSuggestNextLesson });
|
|
734
|
-
},
|
|
781
|
+
}, Ye = () => {
|
|
735
782
|
let e = k();
|
|
736
783
|
return i({ mutationFn: async (t) => (await l(`mutation BuiReviewNextLessonSuggestion($id: ID!, $outcome: BuiAiSuggestionOutcome!) {
|
|
737
784
|
buiReviewNextLessonSuggestion(id: $id, outcome: $outcome) { ${R} }
|
|
738
785
|
}`, t, e)).buiReviewNextLessonSuggestion });
|
|
739
|
-
},
|
|
786
|
+
}, Xe = () => {
|
|
740
787
|
let e = k();
|
|
741
788
|
return i({ mutationFn: async (t) => (await l("mutation BuiSuggestCourseOutline($topic: String!, $audienceLevel: String, $moduleCount: Int, $blockedTerms: [String!]) {\n buiSuggestCourseOutline(topic: $topic, audienceLevel: $audienceLevel, moduleCount: $moduleCount, blockedTerms: $blockedTerms) {\n rationale confidence\n modules { title description lessons { title description } }\n filteredOutCount blockedTermsMatched\n }\n }", t, e)).buiSuggestCourseOutline });
|
|
742
|
-
},
|
|
789
|
+
}, Ze = () => {
|
|
743
790
|
let e = k(), n = o();
|
|
744
791
|
return i({
|
|
745
792
|
mutationFn: async (t) => (await l(`mutation BuiApplyCourseOutline($input: BuiApplyCourseOutlineInput!) {
|
|
@@ -747,10 +794,10 @@ var c = () => {
|
|
|
747
794
|
}`, { input: t }, e)).buiApplyCourseOutline,
|
|
748
795
|
onSuccess: () => t(n, d.courses)
|
|
749
796
|
});
|
|
750
|
-
},
|
|
797
|
+
}, Qe = () => {
|
|
751
798
|
let e = k();
|
|
752
799
|
return i({ mutationFn: async (t) => (await l("mutation BuiSuggestAssessmentDraft($input: BuiSuggestAssessmentDraftInput!) {\n buiSuggestAssessmentDraft(input: $input) {\n courseId lessonId rationale confidence\n questions { prompt type points options answerKey explanation confidence }\n filteredOutCount lowConfidenceFilteredCount discardedInvalidCount\n blockedTermsMatched groundingRefs\n }\n }", { input: t }, e)).buiSuggestAssessmentDraft });
|
|
753
|
-
},
|
|
800
|
+
}, $e = () => {
|
|
754
801
|
let e = k(), n = o();
|
|
755
802
|
return i({
|
|
756
803
|
mutationFn: async (t) => (await l(`mutation BuiApplyAssessmentDraft($input: BuiApplyAssessmentDraftInput!) {
|
|
@@ -758,20 +805,20 @@ var c = () => {
|
|
|
758
805
|
}`, { input: t }, e)).buiApplyAssessmentDraft,
|
|
759
806
|
onSuccess: (e) => t(n, d.assessments(e.courseId))
|
|
760
807
|
});
|
|
761
|
-
},
|
|
808
|
+
}, z = "\n id kind status title rationale summary question\n courseId courseTitle cohortId cohortName sourceLabel\n affectedCount truncated reminderMessage inactiveDays statusFilter\n automationTemplate automationName automationEnabled automationWasEnabled automationConfig evidence\n result { enrolledCount skippedCount notifiedCount failedCount rowCount automationEnabled }\n errorMessage expiresAt createdAt createdBy confirmedBy confirmedAt executedAt dismissedAt\n", et = () => {
|
|
762
809
|
let e = k(), n = o();
|
|
763
810
|
return i({
|
|
764
811
|
mutationFn: async (t) => (await l(`mutation BuiAdminCopilotAsk($question: String!, $history: [BuiAdminCopilotTurnInput!]) {
|
|
765
812
|
buiAdminCopilotAsk(question: $question, history: $history) {
|
|
766
813
|
answer contextCourseIds discardedActionCount generatedAt
|
|
767
|
-
proposedActions { ${
|
|
814
|
+
proposedActions { ${z} }
|
|
768
815
|
}
|
|
769
816
|
}`, t, e)).buiAdminCopilotAsk,
|
|
770
817
|
onSuccess: (e) => {
|
|
771
818
|
e.proposedActions.length > 0 && t(n, d.adminCopilotActions);
|
|
772
819
|
}
|
|
773
820
|
});
|
|
774
|
-
},
|
|
821
|
+
}, tt = (e, t = 20) => {
|
|
775
822
|
let n = k();
|
|
776
823
|
return a({
|
|
777
824
|
queryKey: [
|
|
@@ -780,25 +827,25 @@ var c = () => {
|
|
|
780
827
|
t
|
|
781
828
|
],
|
|
782
829
|
queryFn: async () => (await l(`query BuiAdminCopilotActions($status: BuiAdminCopilotActionStatus, $limit: Int) {
|
|
783
|
-
buiAdminCopilotActions(status: $status, limit: $limit) { ${
|
|
830
|
+
buiAdminCopilotActions(status: $status, limit: $limit) { ${z} }
|
|
784
831
|
}`, e ? {
|
|
785
832
|
status: e,
|
|
786
833
|
limit: t
|
|
787
834
|
} : { limit: t }, n)).buiAdminCopilotActions
|
|
788
835
|
});
|
|
789
|
-
},
|
|
836
|
+
}, nt = {
|
|
790
837
|
ENROLL_LEARNERS: "buiAdminCopilotExecuteEnrollAction",
|
|
791
838
|
SEND_REMINDER: "buiAdminCopilotExecuteReminderAction",
|
|
792
839
|
EXPORT_REPORT: "buiAdminCopilotExecuteReportAction",
|
|
793
840
|
CONFIGURE_AUTOMATION: "buiAdminCopilotExecuteAutomationAction"
|
|
794
|
-
},
|
|
841
|
+
}, rt = () => {
|
|
795
842
|
let e = k(), n = o();
|
|
796
843
|
return i({
|
|
797
844
|
mutationFn: async (t) => {
|
|
798
|
-
let n =
|
|
845
|
+
let n = nt[t.kind], r = (await l(`mutation BuiAdminCopilotExecuteAction($actionId: ID!) {
|
|
799
846
|
${n}(actionId: $actionId) {
|
|
800
847
|
reportCsv reportFileName
|
|
801
|
-
action { ${
|
|
848
|
+
action { ${z} }
|
|
802
849
|
}
|
|
803
850
|
}`, { actionId: t.actionId }, e))[n];
|
|
804
851
|
if (!r) throw Error("The action response was empty.");
|
|
@@ -808,43 +855,43 @@ var c = () => {
|
|
|
808
855
|
t(n, d.adminCopilotActions), e.action.kind === "ENROLL_LEARNERS" && t(n, d.enrollments), e.action.kind === "CONFIGURE_AUTOMATION" && t(n, d.automations);
|
|
809
856
|
}
|
|
810
857
|
});
|
|
811
|
-
},
|
|
858
|
+
}, it = () => {
|
|
812
859
|
let e = k(), n = o();
|
|
813
860
|
return i({
|
|
814
861
|
mutationFn: async (t) => (await l(`mutation BuiAdminCopilotDismissAction($actionId: ID!) {
|
|
815
|
-
buiAdminCopilotDismissAction(actionId: $actionId) { ${
|
|
862
|
+
buiAdminCopilotDismissAction(actionId: $actionId) { ${z} }
|
|
816
863
|
}`, { actionId: t }, e)).buiAdminCopilotDismissAction,
|
|
817
864
|
onSuccess: () => t(n, d.adminCopilotActions)
|
|
818
865
|
});
|
|
819
|
-
},
|
|
866
|
+
}, B = "\n id workspaceId name issuer clientId deploymentIds\n authLoginUrl authTokenUrl keySetUrl active createdAt updatedAt\n", at = () => {
|
|
820
867
|
let e = k();
|
|
821
868
|
return a({
|
|
822
869
|
queryKey: d.ltiPlatforms,
|
|
823
|
-
queryFn: async () => (await l(`query BuiLtiPlatforms { buiLtiPlatforms { ${
|
|
870
|
+
queryFn: async () => (await l(`query BuiLtiPlatforms { buiLtiPlatforms { ${B} } }`, {}, e)).buiLtiPlatforms
|
|
824
871
|
});
|
|
825
|
-
},
|
|
872
|
+
}, ot = () => {
|
|
826
873
|
let e = k(), n = o();
|
|
827
874
|
return i({
|
|
828
875
|
mutationFn: async (t) => (await l(`mutation BuiRegisterLtiPlatform($input: BuiRegisterLtiPlatformInput!) {
|
|
829
|
-
buiRegisterLtiPlatform(input: $input) { ${
|
|
876
|
+
buiRegisterLtiPlatform(input: $input) { ${B} }
|
|
830
877
|
}`, { input: t }, e)).buiRegisterLtiPlatform,
|
|
831
878
|
onSuccess: () => t(n, d.ltiPlatforms)
|
|
832
879
|
});
|
|
833
|
-
},
|
|
880
|
+
}, st = () => {
|
|
834
881
|
let e = k(), n = o();
|
|
835
882
|
return i({
|
|
836
883
|
mutationFn: async (t) => (await l("mutation BuiDeactivateLtiPlatform($id: ID!) { buiDeactivateLtiPlatform(id: $id) }", { id: t }, e)).buiDeactivateLtiPlatform,
|
|
837
884
|
onSuccess: () => t(n, d.ltiPlatforms)
|
|
838
885
|
});
|
|
839
|
-
},
|
|
886
|
+
}, V = "\n id workspaceId platformId deploymentId resourceLinkId contextId contextTitle\n assessmentId lineItemUrl nrpsUrl createdAt updatedAt\n", ct = (e) => {
|
|
840
887
|
let t = k();
|
|
841
888
|
return a({
|
|
842
889
|
queryKey: [...d.ltiResourceLinks, { platformId: e ?? null }],
|
|
843
890
|
queryFn: async () => (await l(`query BuiLtiResourceLinks($platformId: ID) {
|
|
844
|
-
buiLtiResourceLinks(platformId: $platformId) { ${
|
|
891
|
+
buiLtiResourceLinks(platformId: $platformId) { ${V} }
|
|
845
892
|
}`, { platformId: e ?? null }, t)).buiLtiResourceLinks
|
|
846
893
|
});
|
|
847
|
-
},
|
|
894
|
+
}, lt = (e) => {
|
|
848
895
|
let t = k();
|
|
849
896
|
return a({
|
|
850
897
|
queryKey: [
|
|
@@ -858,18 +905,18 @@ var c = () => {
|
|
|
858
905
|
refetchOnWindowFocus: !1,
|
|
859
906
|
queryFn: async () => (await l("query BuiLtiLaunchContext($ticketId: ID!) {\n buiLtiLaunchContext(ticketId: $ticketId) {\n ticketId messageType platformId contextTitle assessmentId deepLinkAcceptTypes\n }\n }", { ticketId: e }, t)).buiLtiLaunchContext
|
|
860
907
|
});
|
|
861
|
-
},
|
|
908
|
+
}, ut = () => {
|
|
862
909
|
let e = k(), n = o();
|
|
863
910
|
return i({
|
|
864
911
|
mutationFn: async (t) => (await l(`mutation BuiCompleteLtiLink($ticketId: ID!) {
|
|
865
|
-
buiCompleteLtiLink(ticketId: $ticketId) { resourceLink { ${
|
|
912
|
+
buiCompleteLtiLink(ticketId: $ticketId) { resourceLink { ${V} } }
|
|
866
913
|
}`, { ticketId: t }, e)).buiCompleteLtiLink.resourceLink,
|
|
867
914
|
onSuccess: () => t(n, d.ltiResourceLinks)
|
|
868
915
|
});
|
|
869
|
-
},
|
|
916
|
+
}, dt = () => {
|
|
870
917
|
let e = k();
|
|
871
918
|
return i({ mutationFn: async (t) => (await l("mutation BuiCompleteLtiDeepLink($ticketId: ID!, $assessmentId: ID!) {\n buiCompleteLtiDeepLink(ticketId: $ticketId, assessmentId: $assessmentId) { jwt returnUrl }\n }", t, e)).buiCompleteLtiDeepLink });
|
|
872
|
-
},
|
|
919
|
+
}, H = "\n id resourceLinkId submissionId learnerId scoreGiven scoreMaximum status\n httpStatus errorMessage attemptedAt respondedAt\n", ft = (e) => {
|
|
873
920
|
let t = k();
|
|
874
921
|
return a({
|
|
875
922
|
queryKey: e ? d.ltiGradeSyncs(e) : [
|
|
@@ -879,18 +926,18 @@ var c = () => {
|
|
|
879
926
|
],
|
|
880
927
|
enabled: !!e,
|
|
881
928
|
queryFn: async () => (await l(`query BuiLtiGradeSyncs($resourceLinkId: ID!) {
|
|
882
|
-
buiLtiGradeSyncs(resourceLinkId: $resourceLinkId) { ${
|
|
929
|
+
buiLtiGradeSyncs(resourceLinkId: $resourceLinkId) { ${H} }
|
|
883
930
|
}`, { resourceLinkId: e }, t)).buiLtiGradeSyncs
|
|
884
931
|
});
|
|
885
|
-
},
|
|
932
|
+
}, pt = () => {
|
|
886
933
|
let e = k(), n = o();
|
|
887
934
|
return i({
|
|
888
935
|
mutationFn: async (t) => (await l(`mutation BuiSyncLtiGrade($resourceLinkId: ID!, $submissionId: ID!) {
|
|
889
|
-
buiSyncLtiGrade(resourceLinkId: $resourceLinkId, submissionId: $submissionId) { ${
|
|
936
|
+
buiSyncLtiGrade(resourceLinkId: $resourceLinkId, submissionId: $submissionId) { ${H} }
|
|
890
937
|
}`, t, e)).buiSyncLtiGrade,
|
|
891
938
|
onSettled: (e, r, i) => t(n, d.ltiGradeSyncs(i.resourceLinkId))
|
|
892
939
|
});
|
|
893
|
-
},
|
|
940
|
+
}, U = "id ltiSub email displayName roles status syncedAt", mt = (e) => {
|
|
894
941
|
let t = k();
|
|
895
942
|
return a({
|
|
896
943
|
queryKey: e ? d.ltiRoster(e) : [
|
|
@@ -900,19 +947,19 @@ var c = () => {
|
|
|
900
947
|
],
|
|
901
948
|
enabled: !!e,
|
|
902
949
|
queryFn: async () => (await l(`query BuiLtiRoster($resourceLinkId: ID!) {
|
|
903
|
-
buiLtiRoster(resourceLinkId: $resourceLinkId) { ${
|
|
950
|
+
buiLtiRoster(resourceLinkId: $resourceLinkId) { ${U} }
|
|
904
951
|
}`, { resourceLinkId: e }, t)).buiLtiRoster
|
|
905
952
|
});
|
|
906
|
-
},
|
|
953
|
+
}, ht = () => {
|
|
907
954
|
let e = k(), t = o();
|
|
908
955
|
return i({
|
|
909
956
|
mutationFn: async (t) => (await l(`mutation BuiSyncLtiRoster($resourceLinkId: ID!) {
|
|
910
|
-
buiSyncLtiRoster(resourceLinkId: $resourceLinkId) { ${
|
|
957
|
+
buiSyncLtiRoster(resourceLinkId: $resourceLinkId) { ${U} }
|
|
911
958
|
}`, { resourceLinkId: t }, e)).buiSyncLtiRoster,
|
|
912
959
|
onSuccess: (e, n) => t.setQueryData(d.ltiRoster(n), e)
|
|
913
960
|
});
|
|
914
961
|
};
|
|
915
|
-
function
|
|
962
|
+
function gt(t) {
|
|
916
963
|
let { workspaceId: n, currentUser: r, apiGatewayUrl: i } = e();
|
|
917
964
|
return a({
|
|
918
965
|
queryKey: [
|
|
@@ -928,7 +975,7 @@ function pt(t) {
|
|
|
928
975
|
queryFn: async () => (await l("query BuiCourseAssistantSettings($courseId: ID!) { buiCourseAssistantSettings(courseId: $courseId) {\n enabled agentId candidates { id name } courseStatus configured ready ingestionStatus sourceCount processedCount\n } }", { courseId: t }, i)).buiCourseAssistantSettings
|
|
929
976
|
});
|
|
930
977
|
}
|
|
931
|
-
function
|
|
978
|
+
function _t(n) {
|
|
932
979
|
let { workspaceId: r, currentUser: a, apiGatewayUrl: s } = e(), c = o();
|
|
933
980
|
return i({
|
|
934
981
|
retry: !1,
|
|
@@ -947,7 +994,7 @@ function mt(n) {
|
|
|
947
994
|
])
|
|
948
995
|
});
|
|
949
996
|
}
|
|
950
|
-
function
|
|
997
|
+
function vt(n, s) {
|
|
951
998
|
let { workspaceId: c, currentUser: u, apiGatewayUrl: d } = e(), f = o();
|
|
952
999
|
return {
|
|
953
1000
|
options: a({
|
|
@@ -1010,13 +1057,13 @@ function ht(n, s) {
|
|
|
1010
1057
|
})
|
|
1011
1058
|
};
|
|
1012
1059
|
}
|
|
1013
|
-
var
|
|
1060
|
+
var W = "\n id template name description triggerKind triggerDescription actionDescription enabled\n config defaultConfig workflowKey workflowVersion workflowDefinitionId\n lastRunAt lastRunStatus lastError updatedAt\n", G = "\n id template triggerSource status fluidgridsRunId subject action result error createdAt completedAt\n", yt = () => {
|
|
1014
1061
|
let e = k();
|
|
1015
1062
|
return a({
|
|
1016
1063
|
queryKey: d.automations,
|
|
1017
|
-
queryFn: async () => (await l(`query BuiAutomations { buiAutomations { ${
|
|
1064
|
+
queryFn: async () => (await l(`query BuiAutomations { buiAutomations { ${W} } }`, {}, e)).buiAutomations
|
|
1018
1065
|
});
|
|
1019
|
-
},
|
|
1066
|
+
}, bt = (e, t = 20) => {
|
|
1020
1067
|
let n = k();
|
|
1021
1068
|
return a({
|
|
1022
1069
|
queryKey: [...d.automationRuns, {
|
|
@@ -1025,7 +1072,7 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1025
1072
|
}],
|
|
1026
1073
|
queryFn: async () => (await l(`query BuiAutomationRuns($template: BuiAutomationTemplate, $pagination: PaginationInput) {
|
|
1027
1074
|
buiAutomationRuns(template: $template, pagination: $pagination) {
|
|
1028
|
-
items { ${
|
|
1075
|
+
items { ${G} }
|
|
1029
1076
|
pageInfo { hasMore cursor }
|
|
1030
1077
|
}
|
|
1031
1078
|
}`, {
|
|
@@ -1034,82 +1081,82 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1034
1081
|
}, n)).buiAutomationRuns,
|
|
1035
1082
|
refetchInterval: (e) => e.state.data?.items.some((e) => e.status === "PENDING" || e.status === "APPLYING") ? 4e3 : !1
|
|
1036
1083
|
});
|
|
1037
|
-
},
|
|
1084
|
+
}, xt = () => {
|
|
1038
1085
|
let e = k(), n = o();
|
|
1039
1086
|
return i({
|
|
1040
1087
|
mutationFn: async (t) => (await l(`mutation BuiConfigureAutomation($input: BuiConfigureAutomationInput!) {
|
|
1041
|
-
buiConfigureAutomation(input: $input) { ${
|
|
1088
|
+
buiConfigureAutomation(input: $input) { ${W} }
|
|
1042
1089
|
}`, { input: t }, e)).buiConfigureAutomation,
|
|
1043
1090
|
onSuccess: () => t(n, d.automations)
|
|
1044
1091
|
});
|
|
1045
|
-
},
|
|
1092
|
+
}, St = () => {
|
|
1046
1093
|
let e = k(), n = o();
|
|
1047
1094
|
return i({
|
|
1048
1095
|
mutationFn: async (t) => (await l(`mutation BuiRunAutomationNow($template: BuiAutomationTemplate!) {
|
|
1049
|
-
buiRunAutomationNow(template: $template) { ${
|
|
1096
|
+
buiRunAutomationNow(template: $template) { ${G} }
|
|
1050
1097
|
}`, { template: t }, e)).buiRunAutomationNow,
|
|
1051
1098
|
onSuccess: () => {
|
|
1052
1099
|
t(n, d.automationRuns), t(n, d.automations);
|
|
1053
1100
|
}
|
|
1054
1101
|
});
|
|
1055
|
-
},
|
|
1102
|
+
}, K = "\n workspaceId blockedTerms applyToTutor maxBlockedTerms maxBlockedTermLength updatedAt updatedBy\n", Ct = (e = !0) => {
|
|
1056
1103
|
let t = k();
|
|
1057
1104
|
return a({
|
|
1058
1105
|
queryKey: d.aiSettings,
|
|
1059
1106
|
enabled: e,
|
|
1060
|
-
queryFn: async () => (await l(`query BuiAiSettings { buiAiSettings { ${
|
|
1107
|
+
queryFn: async () => (await l(`query BuiAiSettings { buiAiSettings { ${K} } }`, {}, t)).buiAiSettings
|
|
1061
1108
|
});
|
|
1062
|
-
},
|
|
1109
|
+
}, wt = () => {
|
|
1063
1110
|
let e = k(), t = o();
|
|
1064
1111
|
return i({
|
|
1065
1112
|
mutationFn: async (t) => (await l(`mutation BuiUpdateAiSettings($input: BuiUpdateAiSettingsInput!) {
|
|
1066
|
-
buiUpdateAiSettings(input: $input) { ${
|
|
1113
|
+
buiUpdateAiSettings(input: $input) { ${K} }
|
|
1067
1114
|
}`, { input: t }, e)).buiUpdateAiSettings,
|
|
1068
1115
|
onSuccess: (e) => t.setQueryData(d.aiSettings, e)
|
|
1069
1116
|
});
|
|
1070
|
-
},
|
|
1117
|
+
}, Tt = "\n steps { key completed count achievedAt }\n completedCount totalCount isComplete\n demoContentLoaded demoCourseId demoEnrollmentId\n", Et = (e = !0) => {
|
|
1071
1118
|
let t = k();
|
|
1072
1119
|
return a({
|
|
1073
1120
|
queryKey: d.onboarding,
|
|
1074
1121
|
enabled: e,
|
|
1075
|
-
queryFn: async () => (await l(`query BuiOnboardingStatus { buiOnboardingStatus { ${
|
|
1122
|
+
queryFn: async () => (await l(`query BuiOnboardingStatus { buiOnboardingStatus { ${Tt} } }`, {}, t)).buiOnboardingStatus
|
|
1076
1123
|
});
|
|
1077
|
-
},
|
|
1124
|
+
}, q = (e) => Promise.all([
|
|
1078
1125
|
d.onboarding,
|
|
1079
1126
|
d.courses,
|
|
1080
1127
|
d.enrollments,
|
|
1081
1128
|
d.cohorts,
|
|
1082
1129
|
d.skills,
|
|
1083
1130
|
d.certificates
|
|
1084
|
-
].map((n) => t(e, n))),
|
|
1131
|
+
].map((n) => t(e, n))), Dt = () => {
|
|
1085
1132
|
let e = k(), t = o();
|
|
1086
1133
|
return i({
|
|
1087
1134
|
mutationFn: async () => (await l("mutation BuiLoadDemoContent {\n buiLoadDemoContent {\n created courseId skillId cohortId assessmentId enrollmentId\n moduleCount lessonCount questionCount\n }\n }", {}, e)).buiLoadDemoContent,
|
|
1088
|
-
onSuccess: () =>
|
|
1135
|
+
onSuccess: () => q(t)
|
|
1089
1136
|
});
|
|
1090
|
-
},
|
|
1137
|
+
}, Ot = () => {
|
|
1091
1138
|
let e = k(), t = o();
|
|
1092
1139
|
return i({
|
|
1093
1140
|
mutationFn: async () => (await l("mutation BuiRemoveDemoContent { buiRemoveDemoContent }", {}, e)).buiRemoveDemoContent,
|
|
1094
|
-
onSuccess: () =>
|
|
1141
|
+
onSuccess: () => q(t)
|
|
1095
1142
|
});
|
|
1096
|
-
},
|
|
1143
|
+
}, J = "\n id workspaceId name description criteria kind icon status courseId skillId\n awardOnCourseCompletion awardCount createdAt updatedAt\n", Y = `
|
|
1097
1144
|
id workspaceId badgeId learnerId status method enrollmentId evidence
|
|
1098
1145
|
awardedAt revokedAt revokedReason createdAt updatedAt
|
|
1099
|
-
badge { ${
|
|
1100
|
-
`,
|
|
1146
|
+
badge { ${J} }
|
|
1147
|
+
`, kt = (e, t = !0) => {
|
|
1101
1148
|
let n = k();
|
|
1102
1149
|
return a({
|
|
1103
1150
|
queryKey: [...d.badges, { status: e }],
|
|
1104
1151
|
enabled: t,
|
|
1105
1152
|
queryFn: async () => (await l(`query BuiBadges($status: BuiBadgeStatus, $pagination: PaginationInput) {
|
|
1106
|
-
buiBadges(status: $status, pagination: $pagination) { items { ${
|
|
1153
|
+
buiBadges(status: $status, pagination: $pagination) { items { ${J} } pageInfo { hasMore cursor } }
|
|
1107
1154
|
}`, {
|
|
1108
1155
|
status: e,
|
|
1109
1156
|
pagination: p(0, 100)
|
|
1110
1157
|
}, n)).buiBadges.items
|
|
1111
1158
|
});
|
|
1112
|
-
},
|
|
1159
|
+
}, X = (e, t, n = !0) => {
|
|
1113
1160
|
let r = k();
|
|
1114
1161
|
return a({
|
|
1115
1162
|
queryKey: [...d.badgeAwards, {
|
|
@@ -1119,7 +1166,7 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1119
1166
|
enabled: n,
|
|
1120
1167
|
queryFn: async () => (await l(`query BuiListBadgeAwards($badgeId: ID, $status: BuiBadgeAwardStatus, $pagination: PaginationInput) {
|
|
1121
1168
|
buiListBadgeAwards(badgeId: $badgeId, status: $status, pagination: $pagination) {
|
|
1122
|
-
items { ${
|
|
1169
|
+
items { ${Y} } pageInfo { hasMore cursor }
|
|
1123
1170
|
}
|
|
1124
1171
|
}`, {
|
|
1125
1172
|
badgeId: e,
|
|
@@ -1127,7 +1174,7 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1127
1174
|
pagination: p(0, 100)
|
|
1128
1175
|
}, r)).buiListBadgeAwards.items
|
|
1129
1176
|
});
|
|
1130
|
-
},
|
|
1177
|
+
}, At = (e, t = !0) => {
|
|
1131
1178
|
let n = k();
|
|
1132
1179
|
return a({
|
|
1133
1180
|
queryKey: [
|
|
@@ -1138,7 +1185,7 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1138
1185
|
enabled: t,
|
|
1139
1186
|
queryFn: async () => (await l(`query BuiMyBadgeAwards($status: BuiBadgeAwardStatus, $pagination: PaginationInput) {
|
|
1140
1187
|
buiMyBadgeAwards(status: $status, pagination: $pagination) {
|
|
1141
|
-
items { ${
|
|
1188
|
+
items { ${Y} } pageInfo { hasMore cursor }
|
|
1142
1189
|
}
|
|
1143
1190
|
}`, {
|
|
1144
1191
|
status: e,
|
|
@@ -1150,41 +1197,41 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1150
1197
|
return async () => {
|
|
1151
1198
|
await t(e, d.badges), await t(e, d.badgeAwards);
|
|
1152
1199
|
};
|
|
1153
|
-
},
|
|
1200
|
+
}, jt = () => {
|
|
1154
1201
|
let e = k();
|
|
1155
1202
|
return i({
|
|
1156
1203
|
mutationFn: async (t) => (await l(`mutation BuiCreateBadge($input: BuiCreateBadgeInput!) {
|
|
1157
|
-
buiCreateBadge(input: $input) { ${
|
|
1204
|
+
buiCreateBadge(input: $input) { ${J} }
|
|
1158
1205
|
}`, { input: t }, e)).buiCreateBadge,
|
|
1159
1206
|
onSuccess: Z()
|
|
1160
1207
|
});
|
|
1161
|
-
},
|
|
1208
|
+
}, Mt = () => {
|
|
1162
1209
|
let e = k();
|
|
1163
1210
|
return i({
|
|
1164
1211
|
mutationFn: async (t) => (await l(`mutation BuiUpdateBadge($id: ID!, $input: BuiUpdateBadgeInput!) {
|
|
1165
|
-
buiUpdateBadge(id: $id, input: $input) { ${
|
|
1212
|
+
buiUpdateBadge(id: $id, input: $input) { ${J} }
|
|
1166
1213
|
}`, t, e)).buiUpdateBadge,
|
|
1167
1214
|
onSuccess: Z()
|
|
1168
1215
|
});
|
|
1169
|
-
},
|
|
1216
|
+
}, Nt = () => {
|
|
1170
1217
|
let e = k();
|
|
1171
1218
|
return i({
|
|
1172
|
-
mutationFn: async (t) => t.archived ? (await l(`mutation BuiArchiveBadge($id: ID!) { buiArchiveBadge(id: $id) { ${
|
|
1219
|
+
mutationFn: async (t) => t.archived ? (await l(`mutation BuiArchiveBadge($id: ID!) { buiArchiveBadge(id: $id) { ${J} } }`, { id: t.id }, e)).buiArchiveBadge : (await l(`mutation BuiRestoreBadge($id: ID!) { buiRestoreBadge(id: $id) { ${J} } }`, { id: t.id }, e)).buiRestoreBadge,
|
|
1173
1220
|
onSuccess: Z()
|
|
1174
1221
|
});
|
|
1175
|
-
},
|
|
1222
|
+
}, Pt = () => {
|
|
1176
1223
|
let e = k();
|
|
1177
1224
|
return i({
|
|
1178
1225
|
mutationFn: async (t) => (await l(`mutation BuiAwardBadge($input: BuiAwardBadgeInput!) {
|
|
1179
|
-
buiAwardBadge(input: $input) { ${
|
|
1226
|
+
buiAwardBadge(input: $input) { ${Y} }
|
|
1180
1227
|
}`, { input: t }, e)).buiAwardBadge,
|
|
1181
1228
|
onSuccess: Z()
|
|
1182
1229
|
});
|
|
1183
|
-
},
|
|
1230
|
+
}, Ft = () => {
|
|
1184
1231
|
let e = k();
|
|
1185
1232
|
return i({
|
|
1186
1233
|
mutationFn: async (t) => (await l(`mutation BuiRevokeBadgeAward($id: ID!, $reason: String) {
|
|
1187
|
-
buiRevokeBadgeAward(id: $id, reason: $reason) { ${
|
|
1234
|
+
buiRevokeBadgeAward(id: $id, reason: $reason) { ${Y} }
|
|
1188
1235
|
}`, t, e)).buiRevokeBadgeAward,
|
|
1189
1236
|
onSuccess: Z()
|
|
1190
1237
|
});
|
|
@@ -1194,14 +1241,14 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1194
1241
|
learnerId: t?.id ?? null,
|
|
1195
1242
|
workspaceId: n ?? null
|
|
1196
1243
|
};
|
|
1197
|
-
},
|
|
1244
|
+
}, It = (e = !0) => {
|
|
1198
1245
|
let t = k(), n = $();
|
|
1199
1246
|
return a({
|
|
1200
1247
|
queryKey: [...d.learnerProfile, n],
|
|
1201
1248
|
enabled: e && !!n.learnerId,
|
|
1202
1249
|
queryFn: async () => (await l(`query BuiMyLearnerProfile { buiMyLearnerProfile { ${Q} } }`, {}, t)).buiMyLearnerProfile
|
|
1203
1250
|
});
|
|
1204
|
-
},
|
|
1251
|
+
}, Lt = (e = 3, t = !0) => {
|
|
1205
1252
|
let n = k(), r = $();
|
|
1206
1253
|
return a({
|
|
1207
1254
|
queryKey: [
|
|
@@ -1212,7 +1259,7 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1212
1259
|
enabled: t && !!r.learnerId,
|
|
1213
1260
|
queryFn: async () => (await l("query BuiRecommendPaths($limit: Int) {\n buiRecommendPaths(limit: $limit) {\n hasProfile suggestAssessment\n items {\n skillId score strong reasons courseCount totalHours learnerCount\n skill { id name category description }\n startCourse { id title level estimatedHours }\n }\n }\n }", { limit: e }, n)).buiRecommendPaths
|
|
1214
1261
|
});
|
|
1215
|
-
},
|
|
1262
|
+
}, Rt = () => {
|
|
1216
1263
|
let e = k(), { workspaceId: t } = $();
|
|
1217
1264
|
return a({
|
|
1218
1265
|
queryKey: [
|
|
@@ -1227,7 +1274,7 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1227
1274
|
}
|
|
1228
1275
|
}`, { pagination: p(t, n) }, e)).buiListSkills)
|
|
1229
1276
|
});
|
|
1230
|
-
},
|
|
1277
|
+
}, zt = () => {
|
|
1231
1278
|
let e = k(), { workspaceId: t } = $();
|
|
1232
1279
|
return a({
|
|
1233
1280
|
queryKey: [
|
|
@@ -1242,7 +1289,7 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1242
1289
|
}
|
|
1243
1290
|
}`, { pagination: p(t, n) }, e)).buiListCourses)
|
|
1244
1291
|
});
|
|
1245
|
-
},
|
|
1292
|
+
}, Bt = (e = !0) => {
|
|
1246
1293
|
let t = k(), r = $();
|
|
1247
1294
|
return a({
|
|
1248
1295
|
queryKey: [
|
|
@@ -1259,7 +1306,7 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1259
1306
|
}
|
|
1260
1307
|
}`, { pagination: p(e, n) }, t)).buiMyEnrollments)
|
|
1261
1308
|
});
|
|
1262
|
-
},
|
|
1309
|
+
}, Vt = () => {
|
|
1263
1310
|
let e = k(), n = o();
|
|
1264
1311
|
return i({
|
|
1265
1312
|
mutationFn: async (t) => (await l(`mutation BuiSubmitPathFinder($input: BuiPathFinderInput!) {
|
|
@@ -1271,6 +1318,6 @@ var G = "\n id template name description triggerKind triggerDescription actionD
|
|
|
1271
1318
|
});
|
|
1272
1319
|
};
|
|
1273
1320
|
//#endregion
|
|
1274
|
-
export { u as BUI_QUERY_KEYS, l as buiQuery, c as clearGraphqlReadCaches,
|
|
1321
|
+
export { u as BUI_QUERY_KEYS, l as buiQuery, c as clearGraphqlReadCaches, tt as useBuiAdminCopilotActions, et as useBuiAdminCopilotAsk, it as useBuiAdminCopilotDismissAction, rt as useBuiAdminCopilotExecuteAction, Ct as useBuiAiSettings, Bt as useBuiAllMyEnrollments, $e as useBuiApplyAssessmentDraft, Ze as useBuiApplyCourseOutline, I as useBuiArchiveAssessment, pe as useBuiArchiveCourse, N as useBuiAssessment, M as useBuiAssessments, we as useBuiAutoScoreSubmission, bt as useBuiAutomationRuns, yt as useBuiAutomations, Pt as useBuiAwardBadge, X as useBuiBadgeAwards, kt as useBuiBadges, Le as useBuiCertificates, Fe as useBuiCertifications, je as useBuiCohorts, dt as useBuiCompleteLtiDeepLink, ut as useBuiCompleteLtiLink, ke as useBuiCompleteMyEnrollment, xt as useBuiConfigureAutomation, le as useBuiCourse, gt as useBuiCourseAssistantSettings, ce as useBuiCourses, P as useBuiCreateAssessment, jt as useBuiCreateBadge, Me as useBuiCreateCohort, ue as useBuiCreateCourse, vt as useBuiCreateCourseTeacher, j as useBuiCreateLesson, A as useBuiCreateModule, ve as useBuiCreateQuestion, Pe as useBuiCreateSkill, st as useBuiDeactivateLtiPlatform, Oe as useBuiEnroll, Te as useBuiEnrollments, Ce as useBuiGradeSubmission, ze as useBuiIssueCertificate, _e as useBuiLessons, Dt as useBuiLoadDemoContent, ft as useBuiLtiGradeSyncs, lt as useBuiLtiLaunchContext, at as useBuiLtiPlatforms, ct as useBuiLtiResourceLinks, mt as useBuiLtiRoster, ge as useBuiModules, At as useBuiMyBadgeAwards, Re as useBuiMyCertificates, De as useBuiMyEnrollment, Ee as useBuiMyEnrollments, It as useBuiMyLearnerProfile, me as useBuiMySavedCourses, be as useBuiMySubmissions, He as useBuiMyTutorSessions, Et as useBuiOnboardingStatus, zt as useBuiPathCatalogCourses, Rt as useBuiPathCatalogSkills, F as useBuiPublishAssessment, fe as useBuiPublishCourse, Lt as useBuiRecommendPaths, Ae as useBuiRecordMyLessonProgress, ot as useBuiRegisterLtiPlatform, Ot as useBuiRemoveDemoContent, qe as useBuiReviewGradeSuggestion, Ye as useBuiReviewNextLessonSuggestion, Ge as useBuiReviewTutorAnswer, Ft as useBuiRevokeBadgeAward, Be as useBuiRevokeCertificate, St as useBuiRunAutomationNow, Nt as useBuiSetBadgeArchived, _t as useBuiSetCourseAssistant, Ne as useBuiSkills, xe as useBuiSubmission, ye as useBuiSubmissions, Se as useBuiSubmitAssessment, Vt as useBuiSubmitPathFinder, Qe as useBuiSuggestAssessmentDraft, Xe as useBuiSuggestCourseOutline, Ke as useBuiSuggestGrade, Je as useBuiSuggestNextLesson, Ie as useBuiSuggestSkillMappings, pt as useBuiSyncLtiGrade, ht as useBuiSyncLtiRoster, he as useBuiToggleSavedCourse, Ue as useBuiTutorAsk, Ve as useBuiTutorMode, We as useBuiTutorReviewSessions, wt as useBuiUpdateAiSettings, Mt as useBuiUpdateBadge, de as useBuiUpdateCourse, k as useGateway };
|
|
1275
1322
|
|
|
1276
1323
|
//# sourceMappingURL=useBuildmyiqApi.js.map
|