@burdenoff/microfe-technospam 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/generated/wspace-types.d.ts +7468 -141
- package/dist/generated/wspace-types.d.ts.map +1 -1
- package/dist/node_modules/@codemirror/autocomplete/dist/index.js +527 -0
- package/dist/node_modules/@codemirror/autocomplete/dist/index.js.map +1 -0
- package/dist/node_modules/@codemirror/commands/dist/index.js +1108 -0
- package/dist/node_modules/@codemirror/commands/dist/index.js.map +1 -0
- package/dist/node_modules/@codemirror/lang-go/dist/index.js +206 -0
- package/dist/node_modules/@codemirror/lang-go/dist/index.js.map +1 -0
- package/dist/node_modules/@codemirror/lang-javascript/dist/index.js +321 -0
- package/dist/node_modules/@codemirror/lang-javascript/dist/index.js.map +1 -0
- package/dist/node_modules/@codemirror/lang-python/dist/index.js +265 -0
- package/dist/node_modules/@codemirror/lang-python/dist/index.js.map +1 -0
- package/dist/node_modules/@codemirror/language/dist/index.js +957 -0
- package/dist/node_modules/@codemirror/language/dist/index.js.map +1 -0
- package/dist/node_modules/@codemirror/legacy-modes/mode/ruby.js +164 -0
- package/dist/node_modules/@codemirror/legacy-modes/mode/ruby.js.map +1 -0
- package/dist/node_modules/@codemirror/legacy-modes/mode/shell.js +109 -0
- package/dist/node_modules/@codemirror/legacy-modes/mode/shell.js.map +1 -0
- package/dist/node_modules/@codemirror/state/dist/index.js +1739 -0
- package/dist/node_modules/@codemirror/state/dist/index.js.map +1 -0
- package/dist/node_modules/@codemirror/streamparser/dist/index.js +70 -0
- package/dist/node_modules/@codemirror/streamparser/dist/index.js.map +1 -0
- package/dist/node_modules/@codemirror/view/dist/index.js +5427 -0
- package/dist/node_modules/@codemirror/view/dist/index.js.map +1 -0
- package/dist/node_modules/@lezer/common/dist/index.js +896 -0
- package/dist/node_modules/@lezer/common/dist/index.js.map +1 -0
- package/dist/node_modules/@lezer/go/dist/index.js +215 -0
- package/dist/node_modules/@lezer/go/dist/index.js.map +1 -0
- package/dist/node_modules/@lezer/highlight/dist/index.js +395 -0
- package/dist/node_modules/@lezer/highlight/dist/index.js.map +1 -0
- package/dist/node_modules/@lezer/javascript/dist/index.js +437 -0
- package/dist/node_modules/@lezer/javascript/dist/index.js.map +1 -0
- package/dist/node_modules/@lezer/lr/dist/index.js +842 -0
- package/dist/node_modules/@lezer/lr/dist/index.js.map +1 -0
- package/dist/node_modules/@lezer/python/dist/index.js +352 -0
- package/dist/node_modules/@lezer/python/dist/index.js.map +1 -0
- package/dist/node_modules/@marijn/find-cluster-break/src/index.js +66 -0
- package/dist/node_modules/@marijn/find-cluster-break/src/index.js.map +1 -0
- package/dist/node_modules/style-mod/src/style-mod.js +74 -0
- package/dist/node_modules/style-mod/src/style-mod.js.map +1 -0
- package/dist/node_modules/w3c-keyname/index.js +90 -0
- package/dist/node_modules/w3c-keyname/index.js.map +1 -0
- package/dist/stories/fixtures/technospamFixtures.d.ts.map +1 -1
- package/dist/stories/journeys/Problems.stories.d.ts.map +1 -1
- package/dist/technospam/api/technospamApi.d.ts +39 -0
- package/dist/technospam/api/technospamApi.d.ts.map +1 -1
- package/dist/technospam/api/technospamApi.js +120 -86
- package/dist/technospam/api/technospamApi.js.map +1 -1
- package/dist/technospam/components/SubmissionViews.d.ts +6 -2
- package/dist/technospam/components/SubmissionViews.d.ts.map +1 -1
- package/dist/technospam/components/SubmissionViews.js +6 -5
- package/dist/technospam/components/SubmissionViews.js.map +1 -1
- package/dist/technospam/components/TechnoSpamErrorBoundary.d.ts +6 -0
- package/dist/technospam/components/TechnoSpamErrorBoundary.d.ts.map +1 -1
- package/dist/technospam/components/TechnoSpamErrorBoundary.js +2 -2
- package/dist/technospam/components/TechnoSpamErrorBoundary.js.map +1 -1
- package/dist/technospam/components/editor/CodeEditor.d.ts +26 -0
- package/dist/technospam/components/editor/CodeEditor.d.ts.map +1 -0
- package/dist/technospam/components/editor/CodeEditor.js +102 -0
- package/dist/technospam/components/editor/CodeEditor.js.map +1 -0
- package/dist/technospam/components/editor/RunOutputPanel.d.ts +14 -0
- package/dist/technospam/components/editor/RunOutputPanel.d.ts.map +1 -0
- package/dist/technospam/components/editor/RunOutputPanel.js +127 -0
- package/dist/technospam/components/editor/RunOutputPanel.js.map +1 -0
- package/dist/technospam/components/editor/editorLanguages.d.ts +11 -0
- package/dist/technospam/components/editor/editorLanguages.d.ts.map +1 -0
- package/dist/technospam/components/editor/editorLanguages.js +30 -0
- package/dist/technospam/components/editor/editorLanguages.js.map +1 -0
- package/dist/technospam/components/editor/editorTheme.d.ts +11 -0
- package/dist/technospam/components/editor/editorTheme.d.ts.map +1 -0
- package/dist/technospam/components/editor/editorTheme.js +120 -0
- package/dist/technospam/components/editor/editorTheme.js.map +1 -0
- package/dist/technospam/hooks/useSolutionRunner.d.ts +35 -0
- package/dist/technospam/hooks/useSolutionRunner.d.ts.map +1 -0
- package/dist/technospam/hooks/useSolutionRunner.js +66 -0
- package/dist/technospam/hooks/useSolutionRunner.js.map +1 -0
- package/dist/technospam/hooks/useTechnoSpamAnalytics.d.ts +1 -1
- package/dist/technospam/hooks/useTechnoSpamAnalytics.d.ts.map +1 -1
- package/dist/technospam/hooks/useTechnoSpamAnalytics.js.map +1 -1
- package/dist/technospam/pages/ApplicationsProblemDetailsPagePage.d.ts.map +1 -1
- package/dist/technospam/pages/ApplicationsProblemDetailsPagePage.js +416 -263
- package/dist/technospam/pages/ApplicationsProblemDetailsPagePage.js.map +1 -1
- package/package.json +14 -4
|
@@ -755,136 +755,170 @@ var he = (e) => f(w, {
|
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
`, Te = u`
|
|
758
|
+
mutation TecRunSolution($input: TecRunSolutionInput!) {
|
|
759
|
+
tecRunSolution(input: $input) {
|
|
760
|
+
problemId
|
|
761
|
+
language
|
|
762
|
+
status
|
|
763
|
+
verdict
|
|
764
|
+
runtimeMs
|
|
765
|
+
passedCount
|
|
766
|
+
totalCount
|
|
767
|
+
stderr
|
|
768
|
+
testResults {
|
|
769
|
+
testCaseId
|
|
770
|
+
name
|
|
771
|
+
visibility
|
|
772
|
+
status
|
|
773
|
+
passed
|
|
774
|
+
durationMs
|
|
775
|
+
input
|
|
776
|
+
expectedOutput
|
|
777
|
+
actualOutput
|
|
778
|
+
}
|
|
779
|
+
customOutput {
|
|
780
|
+
stdin
|
|
781
|
+
stdout
|
|
782
|
+
stderr
|
|
783
|
+
exitCode
|
|
784
|
+
durationMs
|
|
785
|
+
timedOut
|
|
786
|
+
memoryLimitExceeded
|
|
787
|
+
compileFailed
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
`, Ee = u`
|
|
758
792
|
${b}
|
|
759
793
|
mutation TecBookSession($input: TecBookSessionInput!) {
|
|
760
794
|
tecBookSession(input: $input) {
|
|
761
795
|
...SessionFields
|
|
762
796
|
}
|
|
763
797
|
}
|
|
764
|
-
`,
|
|
798
|
+
`, De = u`
|
|
765
799
|
${b}
|
|
766
800
|
mutation TecCancelSession($id: ID!) {
|
|
767
801
|
tecCancelSession(id: $id) {
|
|
768
802
|
...SessionFields
|
|
769
803
|
}
|
|
770
804
|
}
|
|
771
|
-
`,
|
|
805
|
+
`, Oe = u`
|
|
772
806
|
${y}
|
|
773
807
|
mutation TecBecomeMentor($input: TecCreateMentorInput!) {
|
|
774
808
|
tecBecomeMentor(input: $input) {
|
|
775
809
|
...MentorFields
|
|
776
810
|
}
|
|
777
811
|
}
|
|
778
|
-
`,
|
|
812
|
+
`, ke = u`
|
|
779
813
|
${S}
|
|
780
814
|
mutation TecRegisterTeam($input: TecRegisterTeamInput!) {
|
|
781
815
|
tecRegisterTeam(input: $input) {
|
|
782
816
|
...TeamFields
|
|
783
817
|
}
|
|
784
818
|
}
|
|
785
|
-
`,
|
|
819
|
+
`, Ae = u`
|
|
786
820
|
${S}
|
|
787
821
|
mutation TecSubmitProject($input: TecSubmitProjectInput!) {
|
|
788
822
|
tecSubmitProject(input: $input) {
|
|
789
823
|
...TeamFields
|
|
790
824
|
}
|
|
791
825
|
}
|
|
792
|
-
`,
|
|
826
|
+
`, je = u`
|
|
793
827
|
${m}
|
|
794
828
|
mutation TecCreateCourse($input: TecCreateCourseInput!) {
|
|
795
829
|
tecCreateCourse(input: $input) {
|
|
796
830
|
...CourseFields
|
|
797
831
|
}
|
|
798
832
|
}
|
|
799
|
-
`,
|
|
833
|
+
`, Me = u`
|
|
800
834
|
${m}
|
|
801
835
|
mutation TecPublishCourse($id: ID!) {
|
|
802
836
|
tecPublishCourse(id: $id) {
|
|
803
837
|
...CourseFields
|
|
804
838
|
}
|
|
805
839
|
}
|
|
806
|
-
`,
|
|
840
|
+
`, Ne = u`
|
|
807
841
|
mutation TecArchiveCourse($id: ID!) {
|
|
808
842
|
tecArchiveCourse(id: $id)
|
|
809
843
|
}
|
|
810
|
-
`,
|
|
844
|
+
`, Pe = u`
|
|
811
845
|
${h}
|
|
812
846
|
mutation TecCreateLesson($input: TecCreateLessonInput!) {
|
|
813
847
|
tecCreateLesson(input: $input) {
|
|
814
848
|
...LessonFields
|
|
815
849
|
}
|
|
816
850
|
}
|
|
817
|
-
`,
|
|
851
|
+
`, Fe = u`
|
|
818
852
|
${h}
|
|
819
853
|
mutation TecUpdateLesson($id: ID!, $input: TecUpdateLessonInput!) {
|
|
820
854
|
tecUpdateLesson(id: $id, input: $input) {
|
|
821
855
|
...LessonFields
|
|
822
856
|
}
|
|
823
857
|
}
|
|
824
|
-
`,
|
|
858
|
+
`, Ie = u`
|
|
825
859
|
${_}
|
|
826
860
|
mutation TecCreateProblem($input: TecCreateProblemInput!) {
|
|
827
861
|
tecCreateProblem(input: $input) {
|
|
828
862
|
...ProblemFields
|
|
829
863
|
}
|
|
830
864
|
}
|
|
831
|
-
`,
|
|
865
|
+
`, Le = u`
|
|
832
866
|
${_}
|
|
833
867
|
mutation TecPublishProblem($id: ID!) {
|
|
834
868
|
tecPublishProblem(id: $id) {
|
|
835
869
|
...ProblemFields
|
|
836
870
|
}
|
|
837
871
|
}
|
|
838
|
-
`,
|
|
872
|
+
`, Re = u`
|
|
839
873
|
${x}
|
|
840
874
|
mutation TecCreateHackathon($input: TecCreateHackathonInput!) {
|
|
841
875
|
tecCreateHackathon(input: $input) {
|
|
842
876
|
...HackathonFields
|
|
843
877
|
}
|
|
844
878
|
}
|
|
845
|
-
`,
|
|
879
|
+
`, ze = u`
|
|
846
880
|
${x}
|
|
847
881
|
mutation TecOpenRegistration($id: ID!) {
|
|
848
882
|
tecOpenRegistration(id: $id) {
|
|
849
883
|
...HackathonFields
|
|
850
884
|
}
|
|
851
885
|
}
|
|
852
|
-
`,
|
|
886
|
+
`, Be = u`
|
|
853
887
|
${y}
|
|
854
888
|
mutation TecApproveMentor($id: ID!) {
|
|
855
889
|
tecApproveMentor(id: $id) {
|
|
856
890
|
...MentorFields
|
|
857
891
|
}
|
|
858
892
|
}
|
|
859
|
-
`,
|
|
893
|
+
`, Ve = u`
|
|
860
894
|
${S}
|
|
861
895
|
mutation TecScoreTeam($id: ID!, $score: Int!, $winner: Boolean) {
|
|
862
896
|
tecScoreTeam(id: $id, score: $score, winner: $winner) {
|
|
863
897
|
...TeamFields
|
|
864
898
|
}
|
|
865
899
|
}
|
|
866
|
-
`,
|
|
900
|
+
`, He = u`
|
|
867
901
|
${b}
|
|
868
902
|
mutation TecConfirmSession($id: ID!, $meetingUrl: String) {
|
|
869
903
|
tecConfirmSession(id: $id, meetingUrl: $meetingUrl) {
|
|
870
904
|
...SessionFields
|
|
871
905
|
}
|
|
872
906
|
}
|
|
873
|
-
`,
|
|
907
|
+
`, Ue = u`
|
|
874
908
|
${b}
|
|
875
909
|
mutation TecCompleteSession($id: ID!, $rating: Int, $feedback: String) {
|
|
876
910
|
tecCompleteSession(id: $id, rating: $rating, feedback: $feedback) {
|
|
877
911
|
...SessionFields
|
|
878
912
|
}
|
|
879
913
|
}
|
|
880
|
-
`,
|
|
914
|
+
`, We = u`
|
|
881
915
|
${v}
|
|
882
916
|
mutation TecGradeSubmission($id: ID!, $verdict: TecSubmissionVerdict!, $runtimeMs: Int) {
|
|
883
917
|
tecGradeSubmission(id: $id, verdict: $verdict, runtimeMs: $runtimeMs) {
|
|
884
918
|
...SubmissionFields
|
|
885
919
|
}
|
|
886
920
|
}
|
|
887
|
-
`,
|
|
921
|
+
`, Ge = u`
|
|
888
922
|
${C}
|
|
889
923
|
mutation TecIssueCertificate($courseId: ID!, $learnerId: ID!, $score: Int!) {
|
|
890
924
|
tecIssueCertificate(courseId: $courseId, learnerId: $learnerId, score: $score) {
|
|
@@ -900,92 +934,92 @@ u`
|
|
|
900
934
|
}
|
|
901
935
|
}
|
|
902
936
|
`;
|
|
903
|
-
var
|
|
937
|
+
var Ke = u`
|
|
904
938
|
${x}
|
|
905
939
|
mutation TecStartHackathon($id: ID!) {
|
|
906
940
|
tecStartHackathon(id: $id) {
|
|
907
941
|
...HackathonFields
|
|
908
942
|
}
|
|
909
943
|
}
|
|
910
|
-
`,
|
|
944
|
+
`, qe = u`
|
|
911
945
|
${x}
|
|
912
946
|
mutation TecStartJudging($id: ID!) {
|
|
913
947
|
tecStartJudging(id: $id) {
|
|
914
948
|
...HackathonFields
|
|
915
949
|
}
|
|
916
950
|
}
|
|
917
|
-
`,
|
|
951
|
+
`, Je = u`
|
|
918
952
|
${x}
|
|
919
953
|
mutation TecCompleteHackathon($id: ID!) {
|
|
920
954
|
tecCompleteHackathon(id: $id) {
|
|
921
955
|
...HackathonFields
|
|
922
956
|
}
|
|
923
957
|
}
|
|
924
|
-
`,
|
|
958
|
+
`, Ye = () => d(Ce, {
|
|
925
959
|
onError: H,
|
|
926
960
|
refetchQueries: [
|
|
927
961
|
U.enrollments,
|
|
928
962
|
U.myEnrollments,
|
|
929
963
|
U.courses
|
|
930
964
|
]
|
|
931
|
-
}),
|
|
965
|
+
}), Xe = () => d(we, {
|
|
932
966
|
onError: H,
|
|
933
967
|
refetchQueries: [U.submissions]
|
|
934
|
-
}),
|
|
968
|
+
}), Ze = () => d(Te, { onError: H }), Qe = () => d(de, {
|
|
935
969
|
onError: H,
|
|
936
970
|
refetchQueries: [U.submissions]
|
|
937
|
-
}),
|
|
971
|
+
}), $e = () => d(Ee, {
|
|
938
972
|
onError: H,
|
|
939
973
|
refetchQueries: [U.sessions, U.mentors]
|
|
940
|
-
}),
|
|
974
|
+
}), et = () => d(De, {
|
|
941
975
|
onError: H,
|
|
942
976
|
refetchQueries: [U.sessions]
|
|
943
|
-
}),
|
|
977
|
+
}), tt = () => d(Oe, {
|
|
944
978
|
onError: H,
|
|
945
979
|
refetchQueries: [U.mentors]
|
|
946
|
-
}),
|
|
980
|
+
}), nt = () => d(ke, {
|
|
947
981
|
onError: H,
|
|
948
982
|
refetchQueries: [U.hackathons]
|
|
949
|
-
}),
|
|
983
|
+
}), rt = () => d(Ae, { onError: H }), it = () => d(je, {
|
|
950
984
|
onError: H,
|
|
951
985
|
refetchQueries: [U.courses]
|
|
952
|
-
}),
|
|
986
|
+
}), at = () => d(Me, {
|
|
953
987
|
onError: H,
|
|
954
988
|
refetchQueries: [U.courses]
|
|
955
|
-
}),
|
|
989
|
+
}), ot = () => d(Ne, {
|
|
956
990
|
onError: H,
|
|
957
991
|
refetchQueries: [U.courses]
|
|
958
|
-
}),
|
|
992
|
+
}), st = () => d(Pe, { onError: H }), ct = () => d(Fe, { onError: H }), lt = () => d(Ie, {
|
|
959
993
|
onError: H,
|
|
960
994
|
refetchQueries: [U.problems]
|
|
961
|
-
}),
|
|
995
|
+
}), ut = () => d(Le, {
|
|
962
996
|
onError: H,
|
|
963
997
|
refetchQueries: [U.problems]
|
|
964
|
-
}),
|
|
998
|
+
}), dt = () => d(Re, {
|
|
965
999
|
onError: H,
|
|
966
1000
|
refetchQueries: [U.hackathons]
|
|
967
|
-
}),
|
|
1001
|
+
}), ft = () => d(ze, {
|
|
968
1002
|
onError: H,
|
|
969
1003
|
refetchQueries: [U.hackathons]
|
|
970
|
-
}),
|
|
1004
|
+
}), pt = () => d(Be, {
|
|
971
1005
|
onError: H,
|
|
972
1006
|
refetchQueries: [U.mentors]
|
|
973
|
-
}),
|
|
1007
|
+
}), mt = () => d(Ve, { onError: H }), ht = () => d(He, {
|
|
974
1008
|
onError: H,
|
|
975
1009
|
refetchQueries: [U.sessions]
|
|
976
|
-
}),
|
|
1010
|
+
}), gt = () => d(Ue, {
|
|
977
1011
|
onError: H,
|
|
978
1012
|
refetchQueries: [U.sessions]
|
|
979
|
-
}),
|
|
1013
|
+
}), _t = () => d(We, {
|
|
980
1014
|
onError: H,
|
|
981
1015
|
refetchQueries: [U.submissions]
|
|
982
|
-
}),
|
|
1016
|
+
}), vt = () => d(Ge, { onError: H }), yt = () => d(Ke, {
|
|
983
1017
|
onError: H,
|
|
984
1018
|
refetchQueries: [U.hackathons]
|
|
985
|
-
}),
|
|
1019
|
+
}), bt = () => d(qe, {
|
|
986
1020
|
onError: H,
|
|
987
1021
|
refetchQueries: [U.hackathons]
|
|
988
|
-
}),
|
|
1022
|
+
}), xt = () => d(Je, {
|
|
989
1023
|
onError: H,
|
|
990
1024
|
refetchQueries: [U.hackathons]
|
|
991
1025
|
}), W = u`
|
|
@@ -1018,7 +1052,7 @@ var Ge = u`
|
|
|
1018
1052
|
...StudyPlanStepFields
|
|
1019
1053
|
}
|
|
1020
1054
|
}
|
|
1021
|
-
`,
|
|
1055
|
+
`, St = u`
|
|
1022
1056
|
${G}
|
|
1023
1057
|
query TecMyStudyPlans {
|
|
1024
1058
|
tecMyStudyPlans {
|
|
@@ -1031,31 +1065,31 @@ var Ge = u`
|
|
|
1031
1065
|
}
|
|
1032
1066
|
}
|
|
1033
1067
|
}
|
|
1034
|
-
`,
|
|
1068
|
+
`, Ct = u`
|
|
1035
1069
|
${G}
|
|
1036
1070
|
mutation TecGenerateStudyPlan($input: TecGenerateStudyPlanInput!) {
|
|
1037
1071
|
tecGenerateStudyPlan(input: $input) {
|
|
1038
1072
|
...StudyPlanFields
|
|
1039
1073
|
}
|
|
1040
1074
|
}
|
|
1041
|
-
`,
|
|
1075
|
+
`, wt = u`
|
|
1042
1076
|
${W}
|
|
1043
1077
|
mutation TecUpdateStudyPlanStepStatus($input: TecUpdateStudyPlanStepStatusInput!) {
|
|
1044
1078
|
tecUpdateStudyPlanStepStatus(input: $input) {
|
|
1045
1079
|
...StudyPlanStepFields
|
|
1046
1080
|
}
|
|
1047
1081
|
}
|
|
1048
|
-
`,
|
|
1082
|
+
`, Tt = u`
|
|
1049
1083
|
mutation TecArchiveStudyPlan($id: ID!) {
|
|
1050
1084
|
tecArchiveStudyPlan(id: $id)
|
|
1051
1085
|
}
|
|
1052
|
-
`,
|
|
1086
|
+
`, Et = () => f(St, { fetchPolicy: "cache-and-network" }), Dt = () => d(Ct, {
|
|
1053
1087
|
onError: H,
|
|
1054
1088
|
refetchQueries: ["TecMyStudyPlans"]
|
|
1055
|
-
}),
|
|
1089
|
+
}), Ot = () => d(wt, {
|
|
1056
1090
|
onError: H,
|
|
1057
1091
|
refetchQueries: ["TecMyStudyPlans"]
|
|
1058
|
-
}),
|
|
1092
|
+
}), kt = () => d(Tt, {
|
|
1059
1093
|
onError: H,
|
|
1060
1094
|
refetchQueries: ["TecMyStudyPlans"]
|
|
1061
1095
|
}), K = u`
|
|
@@ -1080,14 +1114,14 @@ var Ge = u`
|
|
|
1080
1114
|
...PortfolioItemFields
|
|
1081
1115
|
}
|
|
1082
1116
|
}
|
|
1083
|
-
`,
|
|
1117
|
+
`, At = u`
|
|
1084
1118
|
${q}
|
|
1085
1119
|
query TecMyPortfolio {
|
|
1086
1120
|
tecMyPortfolio {
|
|
1087
1121
|
...PortfolioFields
|
|
1088
1122
|
}
|
|
1089
1123
|
}
|
|
1090
|
-
`,
|
|
1124
|
+
`, jt = u`
|
|
1091
1125
|
${K}
|
|
1092
1126
|
mutation TecAddPortfolioItem($input: TecAddPortfolioItemInput!) {
|
|
1093
1127
|
tecAddPortfolioItem(input: $input) {
|
|
@@ -1103,34 +1137,34 @@ u`
|
|
|
1103
1137
|
}
|
|
1104
1138
|
}
|
|
1105
1139
|
`;
|
|
1106
|
-
var
|
|
1140
|
+
var Mt = u`
|
|
1107
1141
|
mutation TecRemovePortfolioItem($id: ID!) {
|
|
1108
1142
|
tecRemovePortfolioItem(id: $id)
|
|
1109
1143
|
}
|
|
1110
|
-
`,
|
|
1144
|
+
`, Nt = u`
|
|
1111
1145
|
${q}
|
|
1112
1146
|
mutation TecPublishPortfolio {
|
|
1113
1147
|
tecPublishPortfolio {
|
|
1114
1148
|
...PortfolioFields
|
|
1115
1149
|
}
|
|
1116
1150
|
}
|
|
1117
|
-
`,
|
|
1151
|
+
`, Pt = u`
|
|
1118
1152
|
${q}
|
|
1119
1153
|
mutation TecUnpublishPortfolio {
|
|
1120
1154
|
tecUnpublishPortfolio {
|
|
1121
1155
|
...PortfolioFields
|
|
1122
1156
|
}
|
|
1123
1157
|
}
|
|
1124
|
-
`,
|
|
1158
|
+
`, Ft = () => f(At, { fetchPolicy: "cache-and-network" }), J = ["TecMyPortfolio"], It = () => d(jt, {
|
|
1125
1159
|
onError: H,
|
|
1126
1160
|
refetchQueries: J
|
|
1127
|
-
}),
|
|
1161
|
+
}), Lt = () => d(Mt, {
|
|
1128
1162
|
onError: H,
|
|
1129
1163
|
refetchQueries: J
|
|
1130
|
-
}),
|
|
1164
|
+
}), Rt = () => d(Nt, {
|
|
1131
1165
|
onError: H,
|
|
1132
1166
|
refetchQueries: J
|
|
1133
|
-
}),
|
|
1167
|
+
}), zt = () => d(Pt, {
|
|
1134
1168
|
onError: H,
|
|
1135
1169
|
refetchQueries: J
|
|
1136
1170
|
}), Y = u`
|
|
@@ -1152,29 +1186,29 @@ var At = u`
|
|
|
1152
1186
|
model
|
|
1153
1187
|
createdAt
|
|
1154
1188
|
}
|
|
1155
|
-
`,
|
|
1189
|
+
`, Bt = u`
|
|
1156
1190
|
${Y}
|
|
1157
1191
|
query TecMySubmissionReview($submissionId: ID!) {
|
|
1158
1192
|
tecMySubmissionReview(submissionId: $submissionId) {
|
|
1159
1193
|
...SubmissionReviewFields
|
|
1160
1194
|
}
|
|
1161
1195
|
}
|
|
1162
|
-
`,
|
|
1196
|
+
`, Vt = u`
|
|
1163
1197
|
${Y}
|
|
1164
1198
|
mutation TecReviewSubmission($submissionId: ID!) {
|
|
1165
1199
|
tecReviewSubmission(submissionId: $submissionId) {
|
|
1166
1200
|
...SubmissionReviewFields
|
|
1167
1201
|
}
|
|
1168
1202
|
}
|
|
1169
|
-
`,
|
|
1203
|
+
`, Ht = (e) => f(Bt, {
|
|
1170
1204
|
variables: { submissionId: e ?? "" },
|
|
1171
1205
|
skip: !e,
|
|
1172
1206
|
fetchPolicy: "cache-and-network"
|
|
1173
|
-
}),
|
|
1207
|
+
}), Ut = () => d(Vt, {
|
|
1174
1208
|
onError: H,
|
|
1175
1209
|
refetchQueries: ["TecMySubmissionReview"]
|
|
1176
1210
|
});
|
|
1177
|
-
function
|
|
1211
|
+
function Wt(e = 24, t = 24) {
|
|
1178
1212
|
let [n, r] = c(t);
|
|
1179
1213
|
return {
|
|
1180
1214
|
limit: n,
|
|
@@ -1209,7 +1243,7 @@ var X = u`
|
|
|
1209
1243
|
}
|
|
1210
1244
|
}
|
|
1211
1245
|
}
|
|
1212
|
-
`,
|
|
1246
|
+
`, Gt = u`
|
|
1213
1247
|
query TecLessonQuizKey($lessonId: ID!) {
|
|
1214
1248
|
tecLessonQuizKey(lessonId: $lessonId) {
|
|
1215
1249
|
prompt
|
|
@@ -1218,7 +1252,7 @@ var X = u`
|
|
|
1218
1252
|
explanation
|
|
1219
1253
|
}
|
|
1220
1254
|
}
|
|
1221
|
-
`,
|
|
1255
|
+
`, Z = u`
|
|
1222
1256
|
${g}
|
|
1223
1257
|
mutation TecCompleteLesson($lessonId: ID!) {
|
|
1224
1258
|
tecCompleteLesson(lessonId: $lessonId) {
|
|
@@ -1226,7 +1260,7 @@ var X = u`
|
|
|
1226
1260
|
nextLessonId
|
|
1227
1261
|
}
|
|
1228
1262
|
}
|
|
1229
|
-
`,
|
|
1263
|
+
`, Kt = u`
|
|
1230
1264
|
${g}
|
|
1231
1265
|
mutation TecSubmitLessonQuiz($lessonId: ID!, $answers: [Int!]!) {
|
|
1232
1266
|
tecSubmitLessonQuiz(lessonId: $lessonId, answers: $answers) {
|
|
@@ -1249,7 +1283,7 @@ var X = u`
|
|
|
1249
1283
|
}
|
|
1250
1284
|
}
|
|
1251
1285
|
}
|
|
1252
|
-
`,
|
|
1286
|
+
`, qt = u`
|
|
1253
1287
|
${g}
|
|
1254
1288
|
mutation TecRunLessonCode($input: TecRunLessonCodeInput!) {
|
|
1255
1289
|
tecRunLessonCode(input: $input) {
|
|
@@ -1271,14 +1305,14 @@ var X = u`
|
|
|
1271
1305
|
}
|
|
1272
1306
|
}
|
|
1273
1307
|
}
|
|
1274
|
-
`,
|
|
1308
|
+
`, Jt = (e, t) => f(X, {
|
|
1275
1309
|
variables: {
|
|
1276
1310
|
courseId: e,
|
|
1277
1311
|
lessonId: t
|
|
1278
1312
|
},
|
|
1279
1313
|
skip: !e || !t,
|
|
1280
1314
|
fetchPolicy: "cache-and-network"
|
|
1281
|
-
}),
|
|
1315
|
+
}), Q = (e, t = !1) => f(Gt, {
|
|
1282
1316
|
variables: { lessonId: e },
|
|
1283
1317
|
skip: t || !e,
|
|
1284
1318
|
fetchPolicy: "network-only"
|
|
@@ -1287,14 +1321,14 @@ var X = u`
|
|
|
1287
1321
|
"TecCourse",
|
|
1288
1322
|
U.myEnrollments,
|
|
1289
1323
|
U.enrollments
|
|
1290
|
-
],
|
|
1324
|
+
], Yt = () => d(Z, {
|
|
1291
1325
|
onError: H,
|
|
1292
1326
|
refetchQueries: $
|
|
1293
|
-
}),
|
|
1327
|
+
}), Xt = () => d(Kt, {
|
|
1294
1328
|
onError: H,
|
|
1295
1329
|
refetchQueries: $
|
|
1296
|
-
}),
|
|
1297
|
-
async function
|
|
1330
|
+
}), Zt = () => d(qt, { onError: H });
|
|
1331
|
+
async function Qt(e, t, n) {
|
|
1298
1332
|
try {
|
|
1299
1333
|
return (await e.query({
|
|
1300
1334
|
query: X,
|
|
@@ -1308,25 +1342,25 @@ async function Xt(e, t, n) {
|
|
|
1308
1342
|
return null;
|
|
1309
1343
|
}
|
|
1310
1344
|
}
|
|
1311
|
-
var
|
|
1312
|
-
function
|
|
1345
|
+
var $t = new Set(["NOT_FOUND", "BAD_USER_INPUT"]);
|
|
1346
|
+
function en(e) {
|
|
1313
1347
|
return !l.is(e) || e.errors.length === 0 ? !1 : e.errors.every((e) => {
|
|
1314
1348
|
let t = e.extensions?.code;
|
|
1315
|
-
return typeof t == "string" &&
|
|
1349
|
+
return typeof t == "string" && $t.has(t);
|
|
1316
1350
|
});
|
|
1317
1351
|
}
|
|
1318
|
-
async function
|
|
1352
|
+
async function tn(e, t) {
|
|
1319
1353
|
try {
|
|
1320
1354
|
return (await e.mutate({
|
|
1321
|
-
mutation:
|
|
1355
|
+
mutation: Z,
|
|
1322
1356
|
variables: { lessonId: t },
|
|
1323
1357
|
refetchQueries: $
|
|
1324
1358
|
})).data?.tecCompleteLesson ? "sent" : "rejected";
|
|
1325
1359
|
} catch (e) {
|
|
1326
|
-
return
|
|
1360
|
+
return en(e) ? "rejected" : "retry";
|
|
1327
1361
|
}
|
|
1328
1362
|
}
|
|
1329
|
-
var
|
|
1363
|
+
var nn = u`
|
|
1330
1364
|
query TecVerifyCertificates($serials: [String!]!) {
|
|
1331
1365
|
tecVerifyCertificates(serials: $serials) {
|
|
1332
1366
|
serial
|
|
@@ -1341,7 +1375,7 @@ var en = u`
|
|
|
1341
1375
|
verifiedAt
|
|
1342
1376
|
}
|
|
1343
1377
|
}
|
|
1344
|
-
`,
|
|
1378
|
+
`, rn = u`
|
|
1345
1379
|
query TecExportXapiStatements($courseId: ID, $since: DateTime, $until: DateTime, $limit: Int) {
|
|
1346
1380
|
tecExportXapiStatements(courseId: $courseId, since: $since, until: $until, limit: $limit) {
|
|
1347
1381
|
statements
|
|
@@ -1351,13 +1385,13 @@ var en = u`
|
|
|
1351
1385
|
version
|
|
1352
1386
|
}
|
|
1353
1387
|
}
|
|
1354
|
-
`,
|
|
1388
|
+
`, an = (e) => f(nn, {
|
|
1355
1389
|
variables: { serials: e },
|
|
1356
1390
|
skip: e.length === 0,
|
|
1357
1391
|
fetchPolicy: "network-only"
|
|
1358
1392
|
});
|
|
1359
|
-
function
|
|
1360
|
-
let [n, r] = c(!1), [i, a] = c(null), [o] = te(
|
|
1393
|
+
function on() {
|
|
1394
|
+
let [n, r] = c(!1), [i, a] = c(null), [o] = te(rn, { fetchPolicy: "network-only" });
|
|
1361
1395
|
return {
|
|
1362
1396
|
run: async (n, i = 5e3) => {
|
|
1363
1397
|
r(!0), a(null);
|
|
@@ -1395,6 +1429,6 @@ function rn() {
|
|
|
1395
1429
|
};
|
|
1396
1430
|
}
|
|
1397
1431
|
//#endregion
|
|
1398
|
-
export {
|
|
1432
|
+
export { Qt as fetchLessonForOffline, p as pageArg, tn as sendQueuedLessonCompletion, It as useAddPortfolioItem, pt as useApproveMentor, ot as useArchiveCourse, kt as useArchiveStudyPlan, tt as useBecomeMentor, $e as useBookSession, et as useCancelSession, F as useCertificatesQuery, xt as useCompleteHackathon, Yt as useCompleteLesson, gt as useCompleteSession, ht as useConfirmSession, N as useCourseQuery, M as useCoursesQuery, it as useCreateCourse, dt as useCreateHackathon, st as useCreateLesson, lt as useCreateProblem, Ye as useEnroll, P as useEnrollmentsQuery, Dt as useGenerateStudyPlan, _t as useGradeSubmission, be as useHackathonQuery, ye as useHackathonsQuery, vt as useIssueCertificate, Jt as useLessonPlayerQuery, Q as useLessonQuizKeyQuery, Se as useLessonsQuery, ge as useMentorQuery, he as useMentorsQuery, L as useMyCertificatesQuery, I as useMyEnrollmentsQuery, Ft as useMyPortfolioQuery, Et as useMyStudyPlansQuery, Ht as useMySubmissionReviewQuery, ft as useOpenRegistration, Wt as usePageLimit, z as useProblemQuery, R as useProblemsQuery, at as usePublishCourse, Rt as usePublishPortfolio, ut as usePublishProblem, nt as useRegisterTeam, Qe as useRegradeSubmission, Lt as useRemovePortfolioItem, Ut as useReviewSubmission, Zt as useRunLessonCode, Ze as useRunSolution, mt as useScoreTeam, ve as useSessionCostEstimate, _e as useSessionsQuery, me as useSolvedProblemIds, yt as useStartHackathon, bt as useStartJudging, B as useSubmissionsQuery, Xt as useSubmitLessonQuiz, rt as useSubmitProject, Xe as useSubmitSolution, xe as useTeamsQuery, zt as useUnpublishPortfolio, ct as useUpdateLesson, Ot as useUpdateStudyPlanStepStatus, an as useVerifyCertificatesQuery, on as useXapiExport };
|
|
1399
1433
|
|
|
1400
1434
|
//# sourceMappingURL=technospamApi.js.map
|