@altnovatrail/contracts 0.8.2 → 0.8.3
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/novatrail/api/v1/account_pb.d.ts +24 -8
- package/novatrail/api/v1/account_pb.js +2 -1
- package/novatrail/api/v1/attempt_pb.d.ts +72 -2
- package/novatrail/api/v1/attempt_pb.js +13 -4
- package/novatrail/api/v1/cause_pb.d.ts +280 -12
- package/novatrail/api/v1/cause_pb.js +55 -3
- package/novatrail/api/v1/learning_pb.d.ts +754 -0
- package/novatrail/api/v1/learning_pb.js +171 -0
- package/novatrail/api/v1/module_pb.d.ts +320 -0
- package/novatrail/api/v1/module_pb.js +102 -0
- package/novatrail/api/v1/package_pb.d.ts +401 -0
- package/novatrail/api/v1/package_pb.js +133 -0
- package/novatrail/api/v1/progress_pb.d.ts +623 -0
- package/novatrail/api/v1/progress_pb.js +143 -0
- package/package.json +17 -1
|
@@ -0,0 +1,623 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file novatrail/api/v1/progress.proto (package novatrail.api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
// The skill map and the adult's progress in the contract between `app` and `api`: the state of a
|
|
6
|
+
// learner's skills in a module, as the learner model reads it, and the attempts of a profile with
|
|
7
|
+
// the traps that repeat in them. What each message means is the rule of contracts/README.md,
|
|
8
|
+
// section 15.
|
|
9
|
+
|
|
10
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
11
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
12
|
+
import type { Action, SubmissionEnd } from "./attempt_pb.js";
|
|
13
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
14
|
+
import type { CloseReason } from "./cause_pb.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file novatrail/api/v1/progress.proto.
|
|
18
|
+
*/
|
|
19
|
+
export declare const file_novatrail_api_v1_progress: GenFile;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* A request for the skill map of a module.
|
|
23
|
+
*
|
|
24
|
+
* @generated from message novatrail.api.v1.GetSkillMapRequest
|
|
25
|
+
*/
|
|
26
|
+
export declare type GetSkillMapRequest = Message<"novatrail.api.v1.GetSkillMapRequest"> & {
|
|
27
|
+
/**
|
|
28
|
+
* The profile.
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string profile_id = 1;
|
|
31
|
+
*/
|
|
32
|
+
profileId: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The module's ID.
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: string module_id = 2;
|
|
38
|
+
*/
|
|
39
|
+
moduleId: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Whose action it is: the learner's, on the learner's screen, or an adult's, in the section for
|
|
43
|
+
* adults.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: novatrail.api.v1.Action action = 3;
|
|
46
|
+
*/
|
|
47
|
+
action: Action;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message novatrail.api.v1.GetSkillMapRequest.
|
|
52
|
+
* Use `create(GetSkillMapRequestSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export declare const GetSkillMapRequestSchema: GenMessage<GetSkillMapRequest>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The skill map of a module.
|
|
58
|
+
*
|
|
59
|
+
* @generated from message novatrail.api.v1.GetSkillMapResponse
|
|
60
|
+
*/
|
|
61
|
+
export declare type GetSkillMapResponse = Message<"novatrail.api.v1.GetSkillMapResponse"> & {
|
|
62
|
+
/**
|
|
63
|
+
* The digest of the package of the module's current version, by which `app` takes the open view
|
|
64
|
+
* of its skill graph and its tiers.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: string package_digest = 1;
|
|
67
|
+
*/
|
|
68
|
+
packageDigest: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* The state of each skill of the graph whose assessability is `verdict`, by its local ID. A skill
|
|
72
|
+
* of `rubric` or `none` has none.
|
|
73
|
+
*
|
|
74
|
+
* @generated from field: repeated novatrail.api.v1.SkillState skills = 2;
|
|
75
|
+
*/
|
|
76
|
+
skills: SkillState[];
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The state of each anchor skill that the graph names as a prerequisite or in `teaches`.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: repeated novatrail.api.v1.AnchorSkillState anchor_skills = 3;
|
|
82
|
+
*/
|
|
83
|
+
anchorSkills: AnchorSkillState[];
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message novatrail.api.v1.GetSkillMapResponse.
|
|
88
|
+
* Use `create(GetSkillMapResponseSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export declare const GetSkillMapResponseSchema: GenMessage<GetSkillMapResponse>;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The state of a skill of a module, as `learner-model` reads it (concepts 11). No trap is in it:
|
|
94
|
+
* the trap catalog is closed, and the traps that repeat go to the adult's progress alone.
|
|
95
|
+
*
|
|
96
|
+
* @generated from message novatrail.api.v1.SkillState
|
|
97
|
+
*/
|
|
98
|
+
export declare type SkillState = Message<"novatrail.api.v1.SkillState"> & {
|
|
99
|
+
/**
|
|
100
|
+
* The skill's local ID.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: string skill = 1;
|
|
103
|
+
*/
|
|
104
|
+
skill: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The number of pieces of evidence: attempts where the skill, a primary skill of an item, has an
|
|
108
|
+
* answer.
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: int32 evidence_count = 2;
|
|
111
|
+
*/
|
|
112
|
+
evidenceCount: number;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* When the skill was last practised: absent without practice.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: google.protobuf.Timestamp last_practiced_at = 3;
|
|
118
|
+
*/
|
|
119
|
+
lastPracticedAt?: Timestamp | undefined;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* The estimate of mastery, the module's level plus the skill's adjustment, on the scale of the
|
|
123
|
+
* module's bands: absent without practice.
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: optional double estimate = 4;
|
|
126
|
+
*/
|
|
127
|
+
estimate?: number | undefined;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The uncertainty of the estimate, as `learner-model` gives it: absent without practice.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: optional double uncertainty = 5;
|
|
133
|
+
*/
|
|
134
|
+
uncertainty?: number | undefined;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The retention of the skill at the time of the request, from 0 to 1: absent without practice.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: optional double retention = 6;
|
|
140
|
+
*/
|
|
141
|
+
retention?: number | undefined;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* The ID of the mastery band, the band the skill is mastered at: empty when it is not mastered.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: string mastery_band = 7;
|
|
147
|
+
*/
|
|
148
|
+
masteryBand: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Beside a mastered skill: the cautious probability of a correct answer with retention, at the
|
|
152
|
+
* middle task of the mastery band.
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: optional double cautious_probability = 8;
|
|
155
|
+
*/
|
|
156
|
+
cautiousProbability?: number | undefined;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Beside a mastered skill: the review date, when the cautious probability with retention falls
|
|
160
|
+
* below the threshold of mastery. Absent when the review is due already.
|
|
161
|
+
*
|
|
162
|
+
* @generated from field: google.protobuf.Timestamp review_date = 9;
|
|
163
|
+
*/
|
|
164
|
+
reviewDate?: Timestamp | undefined;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Beside a mastered skill: the review is due already, since the threshold does not hold even
|
|
168
|
+
* without forgetting.
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: bool review_due = 10;
|
|
171
|
+
*/
|
|
172
|
+
reviewDue: boolean;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message novatrail.api.v1.SkillState.
|
|
177
|
+
* Use `create(SkillStateSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export declare const SkillStateSchema: GenMessage<SkillState>;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* The state of an anchor skill of the shared taxonomy, as `learner-model` reads it from the skills
|
|
183
|
+
* that teach it in the learner's modules (concepts 4).
|
|
184
|
+
*
|
|
185
|
+
* @generated from message novatrail.api.v1.AnchorSkillState
|
|
186
|
+
*/
|
|
187
|
+
export declare type AnchorSkillState = Message<"novatrail.api.v1.AnchorSkillState"> & {
|
|
188
|
+
/**
|
|
189
|
+
* The anchor skill's ID, "core.multiplication-table".
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: string anchor_skill = 1;
|
|
192
|
+
*/
|
|
193
|
+
anchorSkill: string;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Whether the learner holds it.
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: novatrail.api.v1.AnchorSkillHolding holding = 2;
|
|
199
|
+
*/
|
|
200
|
+
holding: AnchorSkillHolding;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Why, beside `ANCHOR_SKILL_HOLDING_NOT_HELD` and `ANCHOR_SKILL_HOLDING_UNKNOWN`.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: novatrail.api.v1.AnchorSkillReason reason = 3;
|
|
206
|
+
*/
|
|
207
|
+
reason: AnchorSkillReason;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The full IDs of the skills that teach it, in the modules whose graphs the learner model has.
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: repeated string teaching_skills = 4;
|
|
213
|
+
*/
|
|
214
|
+
teachingSkills: string[];
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Describes the message novatrail.api.v1.AnchorSkillState.
|
|
219
|
+
* Use `create(AnchorSkillStateSchema)` to create a new message.
|
|
220
|
+
*/
|
|
221
|
+
export declare const AnchorSkillStateSchema: GenMessage<AnchorSkillState>;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* A request for the progress of a profile.
|
|
225
|
+
*
|
|
226
|
+
* @generated from message novatrail.api.v1.GetProgressRequest
|
|
227
|
+
*/
|
|
228
|
+
export declare type GetProgressRequest = Message<"novatrail.api.v1.GetProgressRequest"> & {
|
|
229
|
+
/**
|
|
230
|
+
* The profile.
|
|
231
|
+
*
|
|
232
|
+
* @generated from field: string profile_id = 1;
|
|
233
|
+
*/
|
|
234
|
+
profileId: string;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* The page: empty for the first, and otherwise the `next_page_token` of the page before.
|
|
238
|
+
*
|
|
239
|
+
* @generated from field: string page_token = 2;
|
|
240
|
+
*/
|
|
241
|
+
pageToken: string;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Describes the message novatrail.api.v1.GetProgressRequest.
|
|
246
|
+
* Use `create(GetProgressRequestSchema)` to create a new message.
|
|
247
|
+
*/
|
|
248
|
+
export declare const GetProgressRequestSchema: GenMessage<GetProgressRequest>;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* A page of the progress of a profile.
|
|
252
|
+
*
|
|
253
|
+
* @generated from message novatrail.api.v1.GetProgressResponse
|
|
254
|
+
*/
|
|
255
|
+
export declare type GetProgressResponse = Message<"novatrail.api.v1.GetProgressResponse"> & {
|
|
256
|
+
/**
|
|
257
|
+
* The attempts of the page, newest first.
|
|
258
|
+
*
|
|
259
|
+
* @generated from field: repeated novatrail.api.v1.AttemptRecord attempts = 1;
|
|
260
|
+
*/
|
|
261
|
+
attempts: AttemptRecord[];
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* The traps that repeat in the profile's closed attempts: on the first page alone, the one asked
|
|
265
|
+
* for with an empty `page_token`, and empty on the others.
|
|
266
|
+
*
|
|
267
|
+
* @generated from field: repeated novatrail.api.v1.RepeatingTrap repeating_traps = 2;
|
|
268
|
+
*/
|
|
269
|
+
repeatingTraps: RepeatingTrap[];
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* The token of the next page: empty on the last.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: string next_page_token = 3;
|
|
275
|
+
*/
|
|
276
|
+
nextPageToken: string;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message novatrail.api.v1.GetProgressResponse.
|
|
281
|
+
* Use `create(GetProgressResponseSchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
export declare const GetProgressResponseSchema: GenMessage<GetProgressResponse>;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* An attempt in the progress of a profile. How it came out follows from its close reason and its
|
|
287
|
+
* wrong answers: correct with none is correct at the first submission.
|
|
288
|
+
*
|
|
289
|
+
* @generated from message novatrail.api.v1.AttemptRecord
|
|
290
|
+
*/
|
|
291
|
+
export declare type AttemptRecord = Message<"novatrail.api.v1.AttemptRecord"> & {
|
|
292
|
+
/**
|
|
293
|
+
* The full ID of the task, "novatrail/olympiad-math/task/counting-gaps-3".
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: string task = 1;
|
|
296
|
+
*/
|
|
297
|
+
task: string;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* The version of the module the attempt went on, X.Y.Z.
|
|
301
|
+
*
|
|
302
|
+
* @generated from field: string module_version = 2;
|
|
303
|
+
*/
|
|
304
|
+
moduleVersion: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* The full ID of the lesson, when the attempt is one of a lesson run's segments: empty outside a
|
|
308
|
+
* lesson.
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: string lesson = 3;
|
|
311
|
+
*/
|
|
312
|
+
lesson: string;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Why the attempt was closed: `CLOSE_REASON_UNSPECIFIED` while it is open.
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: novatrail.api.v1.CloseReason close_reason = 4;
|
|
318
|
+
*/
|
|
319
|
+
closeReason: CloseReason;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* How many wrong answers it has.
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: int32 wrong_answers = 5;
|
|
325
|
+
*/
|
|
326
|
+
wrongAnswers: number;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* When it began.
|
|
330
|
+
*
|
|
331
|
+
* @generated from field: google.protobuf.Timestamp begun_at = 6;
|
|
332
|
+
*/
|
|
333
|
+
begunAt?: Timestamp | undefined;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* When it was closed: absent while it is open.
|
|
337
|
+
*
|
|
338
|
+
* @generated from field: google.protobuf.Timestamp closed_at = 7;
|
|
339
|
+
*/
|
|
340
|
+
closedAt?: Timestamp | undefined;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* When the engine chose the task, or the lesson of the run: absent for an attempt begun again by
|
|
344
|
+
* the learner.
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: google.protobuf.Timestamp chosen_at = 8;
|
|
347
|
+
*/
|
|
348
|
+
chosenAt?: Timestamp | undefined;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* On a task with a rubric: each submission, in order, with how it ended and its feedback's marks.
|
|
352
|
+
*
|
|
353
|
+
* @generated from field: repeated novatrail.api.v1.EssayRecord essay_submissions = 9;
|
|
354
|
+
*/
|
|
355
|
+
essaySubmissions: EssayRecord[];
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Describes the message novatrail.api.v1.AttemptRecord.
|
|
360
|
+
* Use `create(AttemptRecordSchema)` to create a new message.
|
|
361
|
+
*/
|
|
362
|
+
export declare const AttemptRecordSchema: GenMessage<AttemptRecord>;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* A submission of an essay in the progress of a profile.
|
|
366
|
+
*
|
|
367
|
+
* @generated from message novatrail.api.v1.EssayRecord
|
|
368
|
+
*/
|
|
369
|
+
export declare type EssayRecord = Message<"novatrail.api.v1.EssayRecord"> & {
|
|
370
|
+
/**
|
|
371
|
+
* When it came.
|
|
372
|
+
*
|
|
373
|
+
* @generated from field: google.protobuf.Timestamp submitted_at = 1;
|
|
374
|
+
*/
|
|
375
|
+
submittedAt?: Timestamp | undefined;
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* How it ended.
|
|
379
|
+
*
|
|
380
|
+
* @generated from field: novatrail.api.v1.SubmissionEnd end = 2;
|
|
381
|
+
*/
|
|
382
|
+
end: SubmissionEnd;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Beside `SUBMISSION_END_FEEDBACK`: the mark of each criterion of the rubric, in the order of
|
|
386
|
+
* the criteria (R87).
|
|
387
|
+
*
|
|
388
|
+
* @generated from field: repeated novatrail.api.v1.CriterionMark criterion_marks = 3;
|
|
389
|
+
*/
|
|
390
|
+
criterionMarks: CriterionMark[];
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Describes the message novatrail.api.v1.EssayRecord.
|
|
395
|
+
* Use `create(EssayRecordSchema)` to create a new message.
|
|
396
|
+
*/
|
|
397
|
+
export declare const EssayRecordSchema: GenMessage<EssayRecord>;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* A trap that repeats: one that the program found in two closed attempts of the profile or more,
|
|
401
|
+
* counted by its full ID. An attempt on a version withdrawn `wrong_key` counts no trap: its
|
|
402
|
+
* verdicts are wrong (R63).
|
|
403
|
+
*
|
|
404
|
+
* @generated from message novatrail.api.v1.RepeatingTrap
|
|
405
|
+
*/
|
|
406
|
+
export declare type RepeatingTrap = Message<"novatrail.api.v1.RepeatingTrap"> & {
|
|
407
|
+
/**
|
|
408
|
+
* The full ID of the trap, "novatrail/olympiad-math/trap/off-by-one".
|
|
409
|
+
*
|
|
410
|
+
* @generated from field: string trap = 1;
|
|
411
|
+
*/
|
|
412
|
+
trap: string;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* The trap's `description`, from the trap catalog of the version of the last attempt that found
|
|
416
|
+
* it.
|
|
417
|
+
*
|
|
418
|
+
* @generated from field: string description = 2;
|
|
419
|
+
*/
|
|
420
|
+
description: string;
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* The trap's `trap_advice`, from the same catalog.
|
|
424
|
+
*
|
|
425
|
+
* @generated from field: string trap_advice = 3;
|
|
426
|
+
*/
|
|
427
|
+
trapAdvice: string;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* How many closed attempts found it.
|
|
431
|
+
*
|
|
432
|
+
* @generated from field: int32 attempt_count = 4;
|
|
433
|
+
*/
|
|
434
|
+
attemptCount: number;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* When the last of them was closed.
|
|
438
|
+
*
|
|
439
|
+
* @generated from field: google.protobuf.Timestamp last_closed_at = 5;
|
|
440
|
+
*/
|
|
441
|
+
lastClosedAt?: Timestamp | undefined;
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Describes the message novatrail.api.v1.RepeatingTrap.
|
|
446
|
+
* Use `create(RepeatingTrapSchema)` to create a new message.
|
|
447
|
+
*/
|
|
448
|
+
export declare const RepeatingTrapSchema: GenMessage<RepeatingTrap>;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Whether a learner holds an anchor skill. A value its build does not know `app` reads as
|
|
452
|
+
* `ANCHOR_SKILL_HOLDING_UNKNOWN`.
|
|
453
|
+
*
|
|
454
|
+
* @generated from enum novatrail.api.v1.AnchorSkillHolding
|
|
455
|
+
*/
|
|
456
|
+
export enum AnchorSkillHolding {
|
|
457
|
+
/**
|
|
458
|
+
* Not named: never sent.
|
|
459
|
+
*
|
|
460
|
+
* @generated from enum value: ANCHOR_SKILL_HOLDING_UNSPECIFIED = 0;
|
|
461
|
+
*/
|
|
462
|
+
UNSPECIFIED = 0,
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Holds it: a skill that teaches it is mastered, in any module and at any band.
|
|
466
|
+
*
|
|
467
|
+
* @generated from enum value: ANCHOR_SKILL_HOLDING_HELD = 1;
|
|
468
|
+
*/
|
|
469
|
+
HELD = 1,
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Does not hold it: the skills that teach it in the engine's modules, and may be mastered, are
|
|
473
|
+
* not.
|
|
474
|
+
*
|
|
475
|
+
* @generated from enum value: ANCHOR_SKILL_HOLDING_NOT_HELD = 2;
|
|
476
|
+
*/
|
|
477
|
+
NOT_HELD = 2,
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Unknown: no skill of the engine's modules that may be mastered teaches it.
|
|
481
|
+
*
|
|
482
|
+
* @generated from enum value: ANCHOR_SKILL_HOLDING_UNKNOWN = 3;
|
|
483
|
+
*/
|
|
484
|
+
UNKNOWN = 3,
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Describes the enum novatrail.api.v1.AnchorSkillHolding.
|
|
489
|
+
*/
|
|
490
|
+
export declare const AnchorSkillHoldingSchema: GenEnum<AnchorSkillHolding>;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Why a learner does not hold an anchor skill, or why it is unknown. A reason its build does not
|
|
494
|
+
* know `app` shows no reason for.
|
|
495
|
+
*
|
|
496
|
+
* @generated from enum novatrail.api.v1.AnchorSkillReason
|
|
497
|
+
*/
|
|
498
|
+
export enum AnchorSkillReason {
|
|
499
|
+
/**
|
|
500
|
+
* No reason: beside a skill held.
|
|
501
|
+
*
|
|
502
|
+
* @generated from enum value: ANCHOR_SKILL_REASON_UNSPECIFIED = 0;
|
|
503
|
+
*/
|
|
504
|
+
UNSPECIFIED = 0,
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Not held: a skill that teaches it has answers, and is not mastered.
|
|
508
|
+
*
|
|
509
|
+
* @generated from enum value: ANCHOR_SKILL_REASON_NOT_MASTERED = 1;
|
|
510
|
+
*/
|
|
511
|
+
NOT_MASTERED = 1,
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Not held: no skill that teaches it has answers yet.
|
|
515
|
+
*
|
|
516
|
+
* @generated from enum value: ANCHOR_SKILL_REASON_NO_EVIDENCE = 2;
|
|
517
|
+
*/
|
|
518
|
+
NO_EVIDENCE = 2,
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Unknown: no module of the engine teaches it.
|
|
522
|
+
*
|
|
523
|
+
* @generated from enum value: ANCHOR_SKILL_REASON_NOBODY_TEACHES = 3;
|
|
524
|
+
*/
|
|
525
|
+
NOBODY_TEACHES = 3,
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Unknown: only skills that cannot be mastered, of `rubric` or `none`, or with no band they are
|
|
529
|
+
* taught at, teach it.
|
|
530
|
+
*
|
|
531
|
+
* @generated from enum value: ANCHOR_SKILL_REASON_ONLY_UNASSESSABLE = 4;
|
|
532
|
+
*/
|
|
533
|
+
ONLY_UNASSESSABLE = 4,
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Describes the enum novatrail.api.v1.AnchorSkillReason.
|
|
538
|
+
*/
|
|
539
|
+
export declare const AnchorSkillReasonSchema: GenEnum<AnchorSkillReason>;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* The mark of a criterion in a feedback (R87). A mark its build does not know `app` reads as
|
|
543
|
+
* `CRITERION_MARK_NOT_ASSESSED`.
|
|
544
|
+
*
|
|
545
|
+
* @generated from enum novatrail.api.v1.CriterionMark
|
|
546
|
+
*/
|
|
547
|
+
export enum CriterionMark {
|
|
548
|
+
/**
|
|
549
|
+
* Not named: never sent.
|
|
550
|
+
*
|
|
551
|
+
* @generated from enum value: CRITERION_MARK_UNSPECIFIED = 0;
|
|
552
|
+
*/
|
|
553
|
+
UNSPECIFIED = 0,
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Met.
|
|
557
|
+
*
|
|
558
|
+
* @generated from enum value: CRITERION_MARK_MET = 1;
|
|
559
|
+
*/
|
|
560
|
+
MET = 1,
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Not met.
|
|
564
|
+
*
|
|
565
|
+
* @generated from enum value: CRITERION_MARK_NOT_MET = 2;
|
|
566
|
+
*/
|
|
567
|
+
NOT_MET = 2,
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Not assessed.
|
|
571
|
+
*
|
|
572
|
+
* @generated from enum value: CRITERION_MARK_NOT_ASSESSED = 3;
|
|
573
|
+
*/
|
|
574
|
+
NOT_ASSESSED = 3,
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Describes the enum novatrail.api.v1.CriterionMark.
|
|
579
|
+
*/
|
|
580
|
+
export declare const CriterionMarkSchema: GenEnum<CriterionMark>;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* What the learner model and the history of a profile show: the skill map, on the learner's screen
|
|
584
|
+
* and in the section for adults, and the progress, which the adult views. Every method carries the
|
|
585
|
+
* token of the sign-in service and may get the refusals of every request with a token, which the
|
|
586
|
+
* comment of `AccountService` names with what `app` does on each; a profile that is not the
|
|
587
|
+
* account's gets `CAUSE_NO_PROFILE`, a learning request of a profile whose consent is not
|
|
588
|
+
* confirmed `CAUSE_NO_CONSENT`, a request without the right it needs the code `permission_denied`
|
|
589
|
+
* with no `Refusal`, and a request whose form the contract refuses the code `invalid_argument`
|
|
590
|
+
* with no `Refusal`. Both repeat by the state of the profile, with no idempotency key.
|
|
591
|
+
*
|
|
592
|
+
* @generated from service novatrail.api.v1.ProgressService
|
|
593
|
+
*/
|
|
594
|
+
export declare const ProgressService: GenService<{
|
|
595
|
+
/**
|
|
596
|
+
* The state of the skills of a connected module's current version, for the skill map (concepts
|
|
597
|
+
* 11), as `learner-model` reads it at the time of the request. The graph and its tiers `app`
|
|
598
|
+
* takes by the digest of the answer, `GetSkillGraph`, so a skill that the current version no
|
|
599
|
+
* longer names is not on the map. A learning action needs the right `can_learn`, and an action of
|
|
600
|
+
* an adult `can_view`. Refusals: `CAUSE_NOT_FOUND`, a module not connected, and
|
|
601
|
+
* `CAUSE_NO_CURRENT_VERSION`.
|
|
602
|
+
*
|
|
603
|
+
* @generated from rpc novatrail.api.v1.ProgressService.GetSkillMap
|
|
604
|
+
*/
|
|
605
|
+
getSkillMap: {
|
|
606
|
+
methodKind: "unary";
|
|
607
|
+
input: typeof GetSkillMapRequestSchema;
|
|
608
|
+
output: typeof GetSkillMapResponseSchema;
|
|
609
|
+
},
|
|
610
|
+
/**
|
|
611
|
+
* The progress of a profile, which an adult views with the right `can_view`: its attempts, newest
|
|
612
|
+
* first, a page at a time, and the traps that repeat in its closed attempts, with their
|
|
613
|
+
* descriptions and advice (section 16 of the module format).
|
|
614
|
+
*
|
|
615
|
+
* @generated from rpc novatrail.api.v1.ProgressService.GetProgress
|
|
616
|
+
*/
|
|
617
|
+
getProgress: {
|
|
618
|
+
methodKind: "unary";
|
|
619
|
+
input: typeof GetProgressRequestSchema;
|
|
620
|
+
output: typeof GetProgressResponseSchema;
|
|
621
|
+
},
|
|
622
|
+
}>;
|
|
623
|
+
|