@burdenoff/sdk-libs 2026.627.3 → 2026.627.5
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/modules/cosmicintersection/index.cjs +340 -0
- package/dist/modules/cosmicintersection/index.d.cts +450 -0
- package/dist/modules/cosmicintersection/index.d.ts +450 -0
- package/dist/modules/cosmicintersection/index.js +340 -0
- package/dist/modules/ecoimpacthub/index.cjs +350 -0
- package/dist/modules/ecoimpacthub/index.d.cts +478 -0
- package/dist/modules/ecoimpacthub/index.d.ts +478 -0
- package/dist/modules/ecoimpacthub/index.js +350 -0
- package/dist/modules/govcitizenhub/index.cjs +296 -0
- package/dist/modules/govcitizenhub/index.d.cts +349 -0
- package/dist/modules/govcitizenhub/index.d.ts +349 -0
- package/dist/modules/govcitizenhub/index.js +296 -0
- package/dist/modules/intelwatchtower/index.cjs +406 -0
- package/dist/modules/intelwatchtower/index.d.cts +486 -0
- package/dist/modules/intelwatchtower/index.d.ts +486 -0
- package/dist/modules/intelwatchtower/index.js +406 -0
- package/dist/modules/manufacturedops/index.cjs +335 -0
- package/dist/modules/manufacturedops/index.d.cts +466 -0
- package/dist/modules/manufacturedops/index.d.ts +466 -0
- package/dist/modules/manufacturedops/index.js +335 -0
- package/dist/modules/mybodyshield/index.cjs +259 -0
- package/dist/modules/mybodyshield/index.d.cts +455 -0
- package/dist/modules/mybodyshield/index.d.ts +455 -0
- package/dist/modules/mybodyshield/index.js +259 -0
- package/dist/modules/semanticfed/index.cjs +283 -0
- package/dist/modules/semanticfed/index.d.cts +404 -0
- package/dist/modules/semanticfed/index.d.ts +404 -0
- package/dist/modules/semanticfed/index.js +283 -0
- package/dist/modules/technospam/index.cjs +344 -0
- package/dist/modules/technospam/index.d.cts +436 -0
- package/dist/modules/technospam/index.d.ts +436 -0
- package/dist/modules/technospam/index.js +344 -0
- package/dist/modules/theculturepost/index.cjs +267 -0
- package/dist/modules/theculturepost/index.d.cts +344 -0
- package/dist/modules/theculturepost/index.d.ts +344 -0
- package/dist/modules/theculturepost/index.js +267 -0
- package/dist/modules/theglobalfuel/index.cjs +265 -0
- package/dist/modules/theglobalfuel/index.d.cts +395 -0
- package/dist/modules/theglobalfuel/index.d.ts +395 -0
- package/dist/modules/theglobalfuel/index.js +265 -0
- package/package.json +1 -1
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
var a=`
|
|
2
|
+
fragment CourseScalars on TecCourse {
|
|
3
|
+
id title slug summary topic level status estimatedMinutes tags
|
|
4
|
+
instructorId cover { id } publishedAt workspaceId createdAt updatedAt
|
|
5
|
+
}
|
|
6
|
+
`,m=`
|
|
7
|
+
fragment LessonScalars on TecLesson {
|
|
8
|
+
id courseId title kind content position estimatedMinutes isPreview
|
|
9
|
+
file { id } workspaceId createdAt updatedAt
|
|
10
|
+
}
|
|
11
|
+
`,l=`
|
|
12
|
+
fragment EnrollmentScalars on TecEnrollment {
|
|
13
|
+
id courseId learnerId status progressPct lessonsCompleted
|
|
14
|
+
startedAt lastActiveAt completedAt workspaceId createdAt updatedAt
|
|
15
|
+
}
|
|
16
|
+
`,d=`
|
|
17
|
+
fragment MentorScalars on TecMentor {
|
|
18
|
+
id userId headline bio expertise hourlyRate currency status
|
|
19
|
+
ratingAvg sessionsCount isAcceptingMentees workspaceId createdAt updatedAt
|
|
20
|
+
}
|
|
21
|
+
`,S=`
|
|
22
|
+
fragment SessionScalars on TecMentorSession {
|
|
23
|
+
id mentorId menteeId topic agenda scheduledAt durationMinutes status
|
|
24
|
+
meetingUrl rating feedback cancelledAt completedAt
|
|
25
|
+
workspaceId createdAt updatedAt
|
|
26
|
+
}
|
|
27
|
+
`,I=`
|
|
28
|
+
fragment ProblemScalars on TecProblem {
|
|
29
|
+
id slug title statement topic difficulty status points languages tags
|
|
30
|
+
publishedAt workspaceId createdAt updatedAt
|
|
31
|
+
}
|
|
32
|
+
`,C=`
|
|
33
|
+
fragment SubmissionScalars on TecSubmission {
|
|
34
|
+
id problemId learnerId language code verdict pointsAwarded runtimeMs
|
|
35
|
+
judgedAt workspaceId createdAt updatedAt
|
|
36
|
+
}
|
|
37
|
+
`,h=`
|
|
38
|
+
fragment HackathonScalars on TecHackathon {
|
|
39
|
+
id slug title theme description startAt endAt submissionDeadline status
|
|
40
|
+
maxTeamSize prizePool currency tags workspaceId createdAt updatedAt
|
|
41
|
+
}
|
|
42
|
+
`,$=`
|
|
43
|
+
fragment TeamScalars on TecHackathonTeam {
|
|
44
|
+
id hackathonId name captainId memberIds projectName projectUrl repoUrl
|
|
45
|
+
pitch status score submittedAt workspaceId createdAt updatedAt
|
|
46
|
+
}
|
|
47
|
+
`,E=`
|
|
48
|
+
${a}
|
|
49
|
+
fragment CertificateFields on TecCertificate {
|
|
50
|
+
id courseId learnerId serial score status issuedAt revokedAt revokeReason
|
|
51
|
+
workspaceId createdAt updatedAt
|
|
52
|
+
course { ...CourseScalars }
|
|
53
|
+
}
|
|
54
|
+
`,c=`
|
|
55
|
+
${a}
|
|
56
|
+
${m}
|
|
57
|
+
${l}
|
|
58
|
+
fragment CourseFull on TecCourse {
|
|
59
|
+
...CourseScalars
|
|
60
|
+
lessons { ...LessonScalars }
|
|
61
|
+
enrollments { ...EnrollmentScalars }
|
|
62
|
+
}
|
|
63
|
+
`,b=`
|
|
64
|
+
${m}
|
|
65
|
+
${a}
|
|
66
|
+
fragment LessonFull on TecLesson {
|
|
67
|
+
...LessonScalars
|
|
68
|
+
course { ...CourseScalars }
|
|
69
|
+
}
|
|
70
|
+
`,g=`
|
|
71
|
+
${l}
|
|
72
|
+
${a}
|
|
73
|
+
fragment EnrollmentFull on TecEnrollment {
|
|
74
|
+
...EnrollmentScalars
|
|
75
|
+
course { ...CourseScalars }
|
|
76
|
+
}
|
|
77
|
+
`,r=`
|
|
78
|
+
${d}
|
|
79
|
+
${S}
|
|
80
|
+
fragment MentorFull on TecMentor {
|
|
81
|
+
...MentorScalars
|
|
82
|
+
sessions { ...SessionScalars }
|
|
83
|
+
}
|
|
84
|
+
`,i=`
|
|
85
|
+
${S}
|
|
86
|
+
${d}
|
|
87
|
+
fragment SessionFull on TecMentorSession {
|
|
88
|
+
...SessionScalars
|
|
89
|
+
mentor { ...MentorScalars }
|
|
90
|
+
}
|
|
91
|
+
`,u=`
|
|
92
|
+
${I}
|
|
93
|
+
${C}
|
|
94
|
+
fragment ProblemFull on TecProblem {
|
|
95
|
+
...ProblemScalars
|
|
96
|
+
submissions { ...SubmissionScalars }
|
|
97
|
+
}
|
|
98
|
+
`,M=`
|
|
99
|
+
${C}
|
|
100
|
+
${I}
|
|
101
|
+
fragment SubmissionFull on TecSubmission {
|
|
102
|
+
...SubmissionScalars
|
|
103
|
+
problem { ...ProblemScalars }
|
|
104
|
+
}
|
|
105
|
+
`,p=`
|
|
106
|
+
${h}
|
|
107
|
+
${$}
|
|
108
|
+
fragment HackathonFull on TecHackathon {
|
|
109
|
+
...HackathonScalars
|
|
110
|
+
teams { ...TeamScalars }
|
|
111
|
+
}
|
|
112
|
+
`,P=`
|
|
113
|
+
${$}
|
|
114
|
+
${h}
|
|
115
|
+
fragment TeamFull on TecHackathonTeam {
|
|
116
|
+
...TeamScalars
|
|
117
|
+
hackathon { ...HackathonScalars }
|
|
118
|
+
}
|
|
119
|
+
`,k=`
|
|
120
|
+
${c}
|
|
121
|
+
query TecCourse($id: ID!) { tecCourse(id: $id) { ...CourseFull } }
|
|
122
|
+
`,R=`
|
|
123
|
+
${a}
|
|
124
|
+
query TecListCourses(
|
|
125
|
+
$level: TecCourseLevel
|
|
126
|
+
$status: TecCourseStatus
|
|
127
|
+
$pagination: PaginationInput
|
|
128
|
+
) {
|
|
129
|
+
tecListCourses(level: $level, status: $status, pagination: $pagination) {
|
|
130
|
+
items { ...CourseScalars }
|
|
131
|
+
pageInfo { cursor hasMore }
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
`,O=`
|
|
135
|
+
${c}
|
|
136
|
+
mutation TecCreateCourse($input: TecCreateCourseInput!) {
|
|
137
|
+
tecCreateCourse(input: $input) { ...CourseFull }
|
|
138
|
+
}
|
|
139
|
+
`,f=`
|
|
140
|
+
${c}
|
|
141
|
+
mutation TecUpdateCourse($id: ID!, $input: TecUpdateCourseInput!) {
|
|
142
|
+
tecUpdateCourse(id: $id, input: $input) { ...CourseFull }
|
|
143
|
+
}
|
|
144
|
+
`,H=`
|
|
145
|
+
${c}
|
|
146
|
+
mutation TecPublishCourse($id: ID!) { tecPublishCourse(id: $id) { ...CourseFull } }
|
|
147
|
+
`,U=`
|
|
148
|
+
mutation TecArchiveCourse($id: ID!) { tecArchiveCourse(id: $id) }
|
|
149
|
+
`,_=`
|
|
150
|
+
${m}
|
|
151
|
+
query TecListLessons($courseId: ID!) {
|
|
152
|
+
tecListLessons(courseId: $courseId) { ...LessonScalars }
|
|
153
|
+
}
|
|
154
|
+
`,y=`
|
|
155
|
+
${b}
|
|
156
|
+
mutation TecCreateLesson($input: TecCreateLessonInput!) {
|
|
157
|
+
tecCreateLesson(input: $input) { ...LessonFull }
|
|
158
|
+
}
|
|
159
|
+
`,N=`
|
|
160
|
+
${b}
|
|
161
|
+
mutation TecUpdateLesson($id: ID!, $input: TecUpdateLessonInput!) {
|
|
162
|
+
tecUpdateLesson(id: $id, input: $input) { ...LessonFull }
|
|
163
|
+
}
|
|
164
|
+
`,x=`
|
|
165
|
+
${l}
|
|
166
|
+
query TecListEnrollments($courseId: ID, $learnerId: ID, $pagination: PaginationInput) {
|
|
167
|
+
tecListEnrollments(courseId: $courseId, learnerId: $learnerId, pagination: $pagination) {
|
|
168
|
+
items { ...EnrollmentScalars }
|
|
169
|
+
pageInfo { cursor hasMore }
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
`,F=`
|
|
173
|
+
${g}
|
|
174
|
+
mutation TecEnroll($input: TecEnrollInput!) {
|
|
175
|
+
tecEnroll(input: $input) { ...EnrollmentFull }
|
|
176
|
+
}
|
|
177
|
+
`,w=`
|
|
178
|
+
${g}
|
|
179
|
+
mutation TecUpdateProgress($input: TecUpdateProgressInput!) {
|
|
180
|
+
tecUpdateProgress(input: $input) { ...EnrollmentFull }
|
|
181
|
+
}
|
|
182
|
+
`,q=`
|
|
183
|
+
${r}
|
|
184
|
+
query TecMentor($id: ID!) { tecMentor(id: $id) { ...MentorFull } }
|
|
185
|
+
`,D=`
|
|
186
|
+
${d}
|
|
187
|
+
query TecListMentors($status: TecMentorStatus, $pagination: PaginationInput) {
|
|
188
|
+
tecListMentors(status: $status, pagination: $pagination) {
|
|
189
|
+
items { ...MentorScalars }
|
|
190
|
+
pageInfo { cursor hasMore }
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
`,B=`
|
|
194
|
+
${r}
|
|
195
|
+
mutation TecBecomeMentor($input: TecCreateMentorInput!) {
|
|
196
|
+
tecBecomeMentor(input: $input) { ...MentorFull }
|
|
197
|
+
}
|
|
198
|
+
`,v=`
|
|
199
|
+
${r}
|
|
200
|
+
mutation TecUpdateMentor($id: ID!, $input: TecUpdateMentorInput!) {
|
|
201
|
+
tecUpdateMentor(id: $id, input: $input) { ...MentorFull }
|
|
202
|
+
}
|
|
203
|
+
`,G=`
|
|
204
|
+
${r}
|
|
205
|
+
mutation TecApproveMentor($id: ID!) { tecApproveMentor(id: $id) { ...MentorFull } }
|
|
206
|
+
`,j=`
|
|
207
|
+
${S}
|
|
208
|
+
query TecListSessions($mentorId: ID, $menteeId: ID, $status: TecSessionStatus) {
|
|
209
|
+
tecListSessions(mentorId: $mentorId, menteeId: $menteeId, status: $status) {
|
|
210
|
+
...SessionScalars
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
`,K=`
|
|
214
|
+
${i}
|
|
215
|
+
mutation TecBookSession($input: TecBookSessionInput!) {
|
|
216
|
+
tecBookSession(input: $input) { ...SessionFull }
|
|
217
|
+
}
|
|
218
|
+
`,V=`
|
|
219
|
+
${i}
|
|
220
|
+
mutation TecConfirmSession($id: ID!, $meetingUrl: String) {
|
|
221
|
+
tecConfirmSession(id: $id, meetingUrl: $meetingUrl) { ...SessionFull }
|
|
222
|
+
}
|
|
223
|
+
`,z=`
|
|
224
|
+
${i}
|
|
225
|
+
mutation TecCancelSession($id: ID!) { tecCancelSession(id: $id) { ...SessionFull } }
|
|
226
|
+
`,J=`
|
|
227
|
+
${i}
|
|
228
|
+
mutation TecCompleteSession($id: ID!, $rating: Int, $feedback: String) {
|
|
229
|
+
tecCompleteSession(id: $id, rating: $rating, feedback: $feedback) { ...SessionFull }
|
|
230
|
+
}
|
|
231
|
+
`,Q=`
|
|
232
|
+
${u}
|
|
233
|
+
query TecProblem($id: ID!) { tecProblem(id: $id) { ...ProblemFull } }
|
|
234
|
+
`,W=`
|
|
235
|
+
${I}
|
|
236
|
+
query TecListProblems(
|
|
237
|
+
$difficulty: TecProblemDifficulty
|
|
238
|
+
$status: TecProblemStatus
|
|
239
|
+
$topic: String
|
|
240
|
+
$pagination: PaginationInput
|
|
241
|
+
) {
|
|
242
|
+
tecListProblems(
|
|
243
|
+
difficulty: $difficulty
|
|
244
|
+
status: $status
|
|
245
|
+
topic: $topic
|
|
246
|
+
pagination: $pagination
|
|
247
|
+
) {
|
|
248
|
+
items { ...ProblemScalars }
|
|
249
|
+
pageInfo { cursor hasMore }
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
`,X=`
|
|
253
|
+
${u}
|
|
254
|
+
mutation TecCreateProblem($input: TecCreateProblemInput!) {
|
|
255
|
+
tecCreateProblem(input: $input) { ...ProblemFull }
|
|
256
|
+
}
|
|
257
|
+
`,Y=`
|
|
258
|
+
${u}
|
|
259
|
+
mutation TecUpdateProblem($id: ID!, $input: TecUpdateProblemInput!) {
|
|
260
|
+
tecUpdateProblem(id: $id, input: $input) { ...ProblemFull }
|
|
261
|
+
}
|
|
262
|
+
`,Z=`
|
|
263
|
+
${u}
|
|
264
|
+
mutation TecPublishProblem($id: ID!) { tecPublishProblem(id: $id) { ...ProblemFull } }
|
|
265
|
+
`,ee=`
|
|
266
|
+
${C}
|
|
267
|
+
query TecListSubmissions($problemId: ID, $learnerId: ID, $pagination: PaginationInput) {
|
|
268
|
+
tecListSubmissions(problemId: $problemId, learnerId: $learnerId, pagination: $pagination) {
|
|
269
|
+
items { ...SubmissionScalars }
|
|
270
|
+
pageInfo { cursor hasMore }
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
`,te=`
|
|
274
|
+
${M}
|
|
275
|
+
mutation TecSubmitSolution($input: TecSubmitSolutionInput!) {
|
|
276
|
+
tecSubmitSolution(input: $input) { ...SubmissionFull }
|
|
277
|
+
}
|
|
278
|
+
`,se=`
|
|
279
|
+
${M}
|
|
280
|
+
mutation TecGradeSubmission($id: ID!, $verdict: TecSubmissionVerdict!, $runtimeMs: Int) {
|
|
281
|
+
tecGradeSubmission(id: $id, verdict: $verdict, runtimeMs: $runtimeMs) { ...SubmissionFull }
|
|
282
|
+
}
|
|
283
|
+
`,ne=`
|
|
284
|
+
${p}
|
|
285
|
+
query TecHackathon($id: ID!) { tecHackathon(id: $id) { ...HackathonFull } }
|
|
286
|
+
`,oe=`
|
|
287
|
+
${h}
|
|
288
|
+
query TecListHackathons($status: TecHackathonStatus, $pagination: PaginationInput) {
|
|
289
|
+
tecListHackathons(status: $status, pagination: $pagination) {
|
|
290
|
+
items { ...HackathonScalars }
|
|
291
|
+
pageInfo { cursor hasMore }
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
`,ae=`
|
|
295
|
+
${p}
|
|
296
|
+
mutation TecCreateHackathon($input: TecCreateHackathonInput!) {
|
|
297
|
+
tecCreateHackathon(input: $input) { ...HackathonFull }
|
|
298
|
+
}
|
|
299
|
+
`,ce=`
|
|
300
|
+
${p}
|
|
301
|
+
mutation TecUpdateHackathon($id: ID!, $input: TecUpdateHackathonInput!) {
|
|
302
|
+
tecUpdateHackathon(id: $id, input: $input) { ...HackathonFull }
|
|
303
|
+
}
|
|
304
|
+
`,re=`
|
|
305
|
+
${p}
|
|
306
|
+
mutation TecOpenRegistration($id: ID!) { tecOpenRegistration(id: $id) { ...HackathonFull } }
|
|
307
|
+
`,ie=`
|
|
308
|
+
${$}
|
|
309
|
+
query TecListTeams($hackathonId: ID!) {
|
|
310
|
+
tecListTeams(hackathonId: $hackathonId) { ...TeamScalars }
|
|
311
|
+
}
|
|
312
|
+
`,ue=`
|
|
313
|
+
${P}
|
|
314
|
+
mutation TecRegisterTeam($input: TecRegisterTeamInput!) {
|
|
315
|
+
tecRegisterTeam(input: $input) { ...TeamFull }
|
|
316
|
+
}
|
|
317
|
+
`,pe=`
|
|
318
|
+
${P}
|
|
319
|
+
mutation TecSubmitProject($input: TecSubmitProjectInput!) {
|
|
320
|
+
tecSubmitProject(input: $input) { ...TeamFull }
|
|
321
|
+
}
|
|
322
|
+
`,Te=`
|
|
323
|
+
${P}
|
|
324
|
+
mutation TecScoreTeam($id: ID!, $score: Int!, $winner: Boolean) {
|
|
325
|
+
tecScoreTeam(id: $id, score: $score, winner: $winner) { ...TeamFull }
|
|
326
|
+
}
|
|
327
|
+
`,me=`
|
|
328
|
+
${E}
|
|
329
|
+
query TecListCertificates($courseId: ID, $learnerId: ID) {
|
|
330
|
+
tecListCertificates(courseId: $courseId, learnerId: $learnerId) { ...CertificateFields }
|
|
331
|
+
}
|
|
332
|
+
`,le=`
|
|
333
|
+
${E}
|
|
334
|
+
mutation TecIssueCertificate($courseId: ID!, $learnerId: ID!, $score: Int!) {
|
|
335
|
+
tecIssueCertificate(courseId: $courseId, learnerId: $learnerId, score: $score) {
|
|
336
|
+
...CertificateFields
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
`,de=`
|
|
340
|
+
${E}
|
|
341
|
+
mutation TecRevokeCertificate($id: ID!, $reason: String) {
|
|
342
|
+
tecRevokeCertificate(id: $id, reason: $reason) { ...CertificateFields }
|
|
343
|
+
}
|
|
344
|
+
`,Se="query TecHealth { tecHealth }";function Ie(T){let{workspace:s}=T.gql;return {courses:{async get(e){return (await s.request(k,{id:e})).tecCourse},async list(e,t,n){return (await s.request(R,{level:e,status:t,pagination:n})).tecListCourses},async create(e){return (await s.request(O,{input:e})).tecCreateCourse},async update(e,t){return (await s.request(f,{id:e,input:t})).tecUpdateCourse},async publish(e){return (await s.request(H,{id:e})).tecPublishCourse},async archive(e){return (await s.request(U,{id:e})).tecArchiveCourse}},lessons:{async list(e){return (await s.request(_,{courseId:e})).tecListLessons},async create(e){return (await s.request(y,{input:e})).tecCreateLesson},async update(e,t){return (await s.request(N,{id:e,input:t})).tecUpdateLesson}},enrollments:{async list(e,t,n){return (await s.request(x,{courseId:e,learnerId:t,pagination:n})).tecListEnrollments},async enroll(e){return (await s.request(F,{input:e})).tecEnroll},async updateProgress(e){return (await s.request(w,{input:e})).tecUpdateProgress}},mentors:{async get(e){return (await s.request(q,{id:e})).tecMentor},async list(e,t){return (await s.request(D,{status:e,pagination:t})).tecListMentors},async become(e){return (await s.request(B,{input:e})).tecBecomeMentor},async update(e,t){return (await s.request(v,{id:e,input:t})).tecUpdateMentor},async approve(e){return (await s.request(G,{id:e})).tecApproveMentor}},sessions:{async list(e,t,n){return (await s.request(j,{mentorId:e,menteeId:t,status:n})).tecListSessions},async book(e){return (await s.request(K,{input:e})).tecBookSession},async confirm(e,t){return (await s.request(V,{id:e,meetingUrl:t})).tecConfirmSession},async cancel(e){return (await s.request(z,{id:e})).tecCancelSession},async complete(e,t,n){return (await s.request(J,{id:e,rating:t,feedback:n})).tecCompleteSession}},problems:{async get(e){return (await s.request(Q,{id:e})).tecProblem},async list(e,t,n,o){return (await s.request(W,{difficulty:e,status:t,topic:n,pagination:o})).tecListProblems},async create(e){return (await s.request(X,{input:e})).tecCreateProblem},async update(e,t){return (await s.request(Y,{id:e,input:t})).tecUpdateProblem},async publish(e){return (await s.request(Z,{id:e})).tecPublishProblem}},submissions:{async list(e,t,n){return (await s.request(ee,{problemId:e,learnerId:t,pagination:n})).tecListSubmissions},async submit(e){return (await s.request(te,{input:e})).tecSubmitSolution},async grade(e,t,n){return (await s.request(se,{id:e,verdict:t,runtimeMs:n})).tecGradeSubmission}},hackathons:{async get(e){return (await s.request(ne,{id:e})).tecHackathon},async list(e,t){return (await s.request(oe,{status:e,pagination:t})).tecListHackathons},async create(e){return (await s.request(ae,{input:e})).tecCreateHackathon},async update(e,t){return (await s.request(ce,{id:e,input:t})).tecUpdateHackathon},async openRegistration(e){return (await s.request(re,{id:e})).tecOpenRegistration}},teams:{async list(e){return (await s.request(ie,{hackathonId:e})).tecListTeams},async register(e){return (await s.request(ue,{input:e})).tecRegisterTeam},async submitProject(e){return (await s.request(pe,{input:e})).tecSubmitProject},async score(e,t,n){return (await s.request(Te,{id:e,score:t,winner:n})).tecScoreTeam}},certificates:{async list(e,t){return (await s.request(me,{courseId:e,learnerId:t})).tecListCertificates},async issue(e,t,n){return (await s.request(le,{courseId:e,learnerId:t,score:n})).tecIssueCertificate},async revoke(e,t){return (await s.request(de,{id:e,reason:t})).tecRevokeCertificate}},health:{async check(){return (await s.request(Se)).tecHealth}}}}var Ce={id:"technospam",version:"1.0.0",displayName:"Technospam",dependsOn:["auth"],attach(T){return Ie(T)}},xe=Ce;export{xe as default};
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
'use strict';var l=`
|
|
2
|
+
fragment StoryScalars on TcpStory {
|
|
3
|
+
id authorId body editorId format languages
|
|
4
|
+
publishedAt readingMins slug status summary tags title topicId
|
|
5
|
+
cover { id }
|
|
6
|
+
workspaceId createdAt updatedAt
|
|
7
|
+
}
|
|
8
|
+
`,S=`
|
|
9
|
+
fragment TopicScalars on TcpTopic {
|
|
10
|
+
id category description isFeatured name slug tradition
|
|
11
|
+
workspaceId createdAt updatedAt
|
|
12
|
+
}
|
|
13
|
+
`,y=`
|
|
14
|
+
fragment CitationScalars on TcpCitation {
|
|
15
|
+
id author excerpt provenance publishedOn publisher
|
|
16
|
+
sourceFile { id }
|
|
17
|
+
sourceType storyId title url verification
|
|
18
|
+
workspaceId createdAt updatedAt
|
|
19
|
+
}
|
|
20
|
+
`,m=`
|
|
21
|
+
fragment ArchiveItemScalars on TcpArchiveItem {
|
|
22
|
+
id accessLevel collectionId datedAt description
|
|
23
|
+
file { id }
|
|
24
|
+
kind languages origin provenance tags title
|
|
25
|
+
workspaceId createdAt updatedAt
|
|
26
|
+
}
|
|
27
|
+
`,d=`
|
|
28
|
+
fragment CollectionScalars on TcpCollection {
|
|
29
|
+
id cover { id } description itemCount name slug tradition
|
|
30
|
+
workspaceId createdAt updatedAt
|
|
31
|
+
}
|
|
32
|
+
`,h=`
|
|
33
|
+
fragment OralHistoryScalars on TcpOralHistory {
|
|
34
|
+
id accessLevel collectionId durationSecs language narratorName
|
|
35
|
+
recordedAt recording { id } summary title transcript
|
|
36
|
+
workspaceId createdAt updatedAt
|
|
37
|
+
}
|
|
38
|
+
`,tt=`
|
|
39
|
+
fragment DiscussionScalars on TcpDiscussion {
|
|
40
|
+
id isInterfaith isLocked openedById prompt replyCount status storyId tags title
|
|
41
|
+
workspaceId createdAt updatedAt
|
|
42
|
+
}
|
|
43
|
+
`,s=`
|
|
44
|
+
fragment ReplyFields on TcpReply {
|
|
45
|
+
id authorId body discussionId perspective status
|
|
46
|
+
workspaceId createdAt updatedAt
|
|
47
|
+
}
|
|
48
|
+
`,p=`
|
|
49
|
+
fragment PageInfoFields on TcpPageInfo { cursor hasMore }
|
|
50
|
+
`,o=`
|
|
51
|
+
${l}
|
|
52
|
+
${S}
|
|
53
|
+
${y}
|
|
54
|
+
fragment StoryFull on TcpStory {
|
|
55
|
+
...StoryScalars
|
|
56
|
+
topic { ...TopicScalars }
|
|
57
|
+
citations { ...CitationScalars }
|
|
58
|
+
}
|
|
59
|
+
`,r=`
|
|
60
|
+
${S}
|
|
61
|
+
${l}
|
|
62
|
+
fragment TopicFull on TcpTopic {
|
|
63
|
+
...TopicScalars
|
|
64
|
+
stories { ...StoryScalars }
|
|
65
|
+
}
|
|
66
|
+
`,I=`
|
|
67
|
+
${y}
|
|
68
|
+
${l}
|
|
69
|
+
fragment CitationFull on TcpCitation {
|
|
70
|
+
...CitationScalars
|
|
71
|
+
story { ...StoryScalars }
|
|
72
|
+
}
|
|
73
|
+
`,a=`
|
|
74
|
+
${m}
|
|
75
|
+
${d}
|
|
76
|
+
fragment ArchiveItemFull on TcpArchiveItem {
|
|
77
|
+
...ArchiveItemScalars
|
|
78
|
+
collection { ...CollectionScalars }
|
|
79
|
+
}
|
|
80
|
+
`,C=`
|
|
81
|
+
${d}
|
|
82
|
+
${m}
|
|
83
|
+
${h}
|
|
84
|
+
fragment CollectionFull on TcpCollection {
|
|
85
|
+
...CollectionScalars
|
|
86
|
+
items { ...ArchiveItemScalars }
|
|
87
|
+
oralHistories { ...OralHistoryScalars }
|
|
88
|
+
}
|
|
89
|
+
`,$=`
|
|
90
|
+
${h}
|
|
91
|
+
${d}
|
|
92
|
+
fragment OralHistoryFull on TcpOralHistory {
|
|
93
|
+
...OralHistoryScalars
|
|
94
|
+
collection { ...CollectionScalars }
|
|
95
|
+
}
|
|
96
|
+
`,n=`
|
|
97
|
+
${tt}
|
|
98
|
+
${s}
|
|
99
|
+
fragment DiscussionFull on TcpDiscussion {
|
|
100
|
+
...DiscussionScalars
|
|
101
|
+
replies { ...ReplyFields }
|
|
102
|
+
}
|
|
103
|
+
`,O=`
|
|
104
|
+
${o}
|
|
105
|
+
query TcpStory($id: ID!) { tcpStory(id: $id) { ...StoryFull } }
|
|
106
|
+
`,L=`
|
|
107
|
+
${o}
|
|
108
|
+
${p}
|
|
109
|
+
query TcpListStories($pagination: PaginationInput, $status: TcpStoryStatus, $topicId: ID) {
|
|
110
|
+
tcpListStories(pagination: $pagination, status: $status, topicId: $topicId) {
|
|
111
|
+
items { ...StoryFull }
|
|
112
|
+
pageInfo { ...PageInfoFields }
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
`,g=`
|
|
116
|
+
${o}
|
|
117
|
+
mutation TcpCreateStory($input: TcpCreateStoryInput!) {
|
|
118
|
+
tcpCreateStory(input: $input) { ...StoryFull }
|
|
119
|
+
}
|
|
120
|
+
`,R=`
|
|
121
|
+
${o}
|
|
122
|
+
mutation TcpUpdateStory($id: ID!, $input: TcpUpdateStoryInput!) {
|
|
123
|
+
tcpUpdateStory(id: $id, input: $input) { ...StoryFull }
|
|
124
|
+
}
|
|
125
|
+
`,v=`
|
|
126
|
+
${o}
|
|
127
|
+
mutation TcpTransitionStory($id: ID!, $status: TcpStoryStatus!) {
|
|
128
|
+
tcpTransitionStory(id: $id, status: $status) { ...StoryFull }
|
|
129
|
+
}
|
|
130
|
+
`,_=`
|
|
131
|
+
${r}
|
|
132
|
+
query TcpTopic($id: ID!) { tcpTopic(id: $id) { ...TopicFull } }
|
|
133
|
+
`,E=`
|
|
134
|
+
${r}
|
|
135
|
+
${p}
|
|
136
|
+
query TcpListTopics($category: TcpTopicCategory, $pagination: PaginationInput) {
|
|
137
|
+
tcpListTopics(category: $category, pagination: $pagination) {
|
|
138
|
+
items { ...TopicFull }
|
|
139
|
+
pageInfo { ...PageInfoFields }
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
`,D=`
|
|
143
|
+
${r}
|
|
144
|
+
mutation TcpCreateTopic($input: TcpCreateTopicInput!) {
|
|
145
|
+
tcpCreateTopic(input: $input) { ...TopicFull }
|
|
146
|
+
}
|
|
147
|
+
`,P=`
|
|
148
|
+
${r}
|
|
149
|
+
mutation TcpUpdateTopic($id: ID!, $input: TcpUpdateTopicInput!) {
|
|
150
|
+
tcpUpdateTopic(id: $id, input: $input) { ...TopicFull }
|
|
151
|
+
}
|
|
152
|
+
`,H=`
|
|
153
|
+
mutation TcpArchiveTopic($id: ID!) { tcpArchiveTopic(id: $id) }
|
|
154
|
+
`,f=`
|
|
155
|
+
${I}
|
|
156
|
+
query TcpListCitations($storyId: ID!) {
|
|
157
|
+
tcpListCitations(storyId: $storyId) { ...CitationFull }
|
|
158
|
+
}
|
|
159
|
+
`,F=`
|
|
160
|
+
${I}
|
|
161
|
+
mutation TcpAddCitation($input: TcpCreateCitationInput!) {
|
|
162
|
+
tcpAddCitation(input: $input) { ...CitationFull }
|
|
163
|
+
}
|
|
164
|
+
`,x=`
|
|
165
|
+
${I}
|
|
166
|
+
mutation TcpVerifyCitation($id: ID!, $verification: TcpVerificationStatus!) {
|
|
167
|
+
tcpVerifyCitation(id: $id, verification: $verification) { ...CitationFull }
|
|
168
|
+
}
|
|
169
|
+
`,U=`
|
|
170
|
+
${a}
|
|
171
|
+
query TcpArchiveItem($id: ID!) { tcpArchiveItem(id: $id) { ...ArchiveItemFull } }
|
|
172
|
+
`,q=`
|
|
173
|
+
${a}
|
|
174
|
+
${p}
|
|
175
|
+
query TcpListArchiveItems(
|
|
176
|
+
$accessLevel: TcpAccessLevel
|
|
177
|
+
$collectionId: ID
|
|
178
|
+
$kind: TcpArchiveItemKind
|
|
179
|
+
$pagination: PaginationInput
|
|
180
|
+
) {
|
|
181
|
+
tcpListArchiveItems(
|
|
182
|
+
accessLevel: $accessLevel
|
|
183
|
+
collectionId: $collectionId
|
|
184
|
+
kind: $kind
|
|
185
|
+
pagination: $pagination
|
|
186
|
+
) {
|
|
187
|
+
items { ...ArchiveItemFull }
|
|
188
|
+
pageInfo { ...PageInfoFields }
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
`,w=`
|
|
192
|
+
${a}
|
|
193
|
+
mutation TcpCreateArchiveItem($input: TcpCreateArchiveItemInput!) {
|
|
194
|
+
tcpCreateArchiveItem(input: $input) { ...ArchiveItemFull }
|
|
195
|
+
}
|
|
196
|
+
`,N=`
|
|
197
|
+
${a}
|
|
198
|
+
mutation TcpUpdateArchiveItem($id: ID!, $input: TcpUpdateArchiveItemInput!) {
|
|
199
|
+
tcpUpdateArchiveItem(id: $id, input: $input) { ...ArchiveItemFull }
|
|
200
|
+
}
|
|
201
|
+
`,M=`
|
|
202
|
+
mutation TcpArchiveArchiveItem($id: ID!) { tcpArchiveArchiveItem(id: $id) }
|
|
203
|
+
`,k=`
|
|
204
|
+
${C}
|
|
205
|
+
query TcpCollection($id: ID!) { tcpCollection(id: $id) { ...CollectionFull } }
|
|
206
|
+
`,V=`
|
|
207
|
+
${C}
|
|
208
|
+
query TcpListCollections($pagination: PaginationInput) {
|
|
209
|
+
tcpListCollections(pagination: $pagination) { ...CollectionFull }
|
|
210
|
+
}
|
|
211
|
+
`,Y=`
|
|
212
|
+
${C}
|
|
213
|
+
mutation TcpCreateCollection($input: TcpCreateCollectionInput!) {
|
|
214
|
+
tcpCreateCollection(input: $input) { ...CollectionFull }
|
|
215
|
+
}
|
|
216
|
+
`,G=`
|
|
217
|
+
${$}
|
|
218
|
+
query TcpListOralHistories($collectionId: ID) {
|
|
219
|
+
tcpListOralHistories(collectionId: $collectionId) { ...OralHistoryFull }
|
|
220
|
+
}
|
|
221
|
+
`,b=`
|
|
222
|
+
${$}
|
|
223
|
+
mutation TcpRecordOralHistory($input: TcpCreateOralHistoryInput!) {
|
|
224
|
+
tcpRecordOralHistory(input: $input) { ...OralHistoryFull }
|
|
225
|
+
}
|
|
226
|
+
`,K=`
|
|
227
|
+
${n}
|
|
228
|
+
query TcpDiscussion($id: ID!) { tcpDiscussion(id: $id) { ...DiscussionFull } }
|
|
229
|
+
`,j=`
|
|
230
|
+
${n}
|
|
231
|
+
${p}
|
|
232
|
+
query TcpListDiscussions(
|
|
233
|
+
$pagination: PaginationInput
|
|
234
|
+
$status: TcpModerationStatus
|
|
235
|
+
$storyId: ID
|
|
236
|
+
) {
|
|
237
|
+
tcpListDiscussions(pagination: $pagination, status: $status, storyId: $storyId) {
|
|
238
|
+
items { ...DiscussionFull }
|
|
239
|
+
pageInfo { ...PageInfoFields }
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
`,B=`
|
|
243
|
+
${n}
|
|
244
|
+
mutation TcpOpenDiscussion($input: TcpCreateDiscussionInput!) {
|
|
245
|
+
tcpOpenDiscussion(input: $input) { ...DiscussionFull }
|
|
246
|
+
}
|
|
247
|
+
`,z=`
|
|
248
|
+
${n}
|
|
249
|
+
mutation TcpLockDiscussion($id: ID!) {
|
|
250
|
+
tcpLockDiscussion(id: $id) { ...DiscussionFull }
|
|
251
|
+
}
|
|
252
|
+
`,J=`
|
|
253
|
+
${s}
|
|
254
|
+
query TcpListReplies($discussionId: ID!, $status: TcpModerationStatus) {
|
|
255
|
+
tcpListReplies(discussionId: $discussionId, status: $status) { ...ReplyFields }
|
|
256
|
+
}
|
|
257
|
+
`,Q=`
|
|
258
|
+
${s}
|
|
259
|
+
mutation TcpPostReply($input: TcpCreateReplyInput!) {
|
|
260
|
+
tcpPostReply(input: $input) { ...ReplyFields }
|
|
261
|
+
}
|
|
262
|
+
`,W=`
|
|
263
|
+
${s}
|
|
264
|
+
mutation TcpModerateReply($id: ID!, $status: TcpModerationStatus!) {
|
|
265
|
+
tcpModerateReply(id: $id, status: $status) { ...ReplyFields }
|
|
266
|
+
}
|
|
267
|
+
`,X="query TcpHealth { tcpHealth }";function Z(u){let{workspace:i}=u.gql;return {stories:{async get(t){return (await i.request(O,{id:t})).tcpStory},async list(t,e,c){return (await i.request(L,{pagination:t,status:e,topicId:c})).tcpListStories},async create(t){return (await i.request(g,{input:t})).tcpCreateStory},async update(t,e){return (await i.request(R,{id:t,input:e})).tcpUpdateStory},async transition(t,e){return (await i.request(v,{id:t,status:e})).tcpTransitionStory}},topics:{async get(t){return (await i.request(_,{id:t})).tcpTopic},async list(t,e){return (await i.request(E,{category:t,pagination:e})).tcpListTopics},async create(t){return (await i.request(D,{input:t})).tcpCreateTopic},async update(t,e){return (await i.request(P,{id:t,input:e})).tcpUpdateTopic},async archive(t){return (await i.request(H,{id:t})).tcpArchiveTopic}},citations:{async list(t){return (await i.request(f,{storyId:t})).tcpListCitations},async add(t){return (await i.request(F,{input:t})).tcpAddCitation},async verify(t,e){return (await i.request(x,{id:t,verification:e})).tcpVerifyCitation}},archiveItems:{async get(t){return (await i.request(U,{id:t})).tcpArchiveItem},async list(t,e,c,T){return (await i.request(q,{accessLevel:t,collectionId:e,kind:c,pagination:T})).tcpListArchiveItems},async create(t){return (await i.request(w,{input:t})).tcpCreateArchiveItem},async update(t,e){return (await i.request(N,{id:t,input:e})).tcpUpdateArchiveItem},async archive(t){return (await i.request(M,{id:t})).tcpArchiveArchiveItem}},collections:{async get(t){return (await i.request(k,{id:t})).tcpCollection},async list(t){return (await i.request(V,{pagination:t})).tcpListCollections},async create(t){return (await i.request(Y,{input:t})).tcpCreateCollection}},oralHistories:{async list(t){return (await i.request(G,{collectionId:t})).tcpListOralHistories},async record(t){return (await i.request(b,{input:t})).tcpRecordOralHistory}},discussions:{async get(t){return (await i.request(K,{id:t})).tcpDiscussion},async list(t,e,c){return (await i.request(j,{pagination:t,status:e,storyId:c})).tcpListDiscussions},async open(t){return (await i.request(B,{input:t})).tcpOpenDiscussion},async lock(t){return (await i.request(z,{id:t})).tcpLockDiscussion}},replies:{async list(t,e){return (await i.request(J,{discussionId:t,status:e})).tcpListReplies},async post(t){return (await i.request(Q,{input:t})).tcpPostReply},async moderate(t,e){return (await i.request(W,{id:t,status:e})).tcpModerateReply}},health:{async check(){return (await i.request(X)).tcpHealth}}}}var et={id:"theculturepost",version:"1.0.0",displayName:"TheCulturePost",dependsOn:["auth"],attach(u){return Z(u)}},yt=et;module.exports=yt;
|