@altnovatrail/contracts 0.13.0 → 0.14.0
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 +695 -36
- package/novatrail/api/v1/account_pb.js +184 -47
- package/novatrail/api/v1/attempt_pb.d.ts +226 -1
- package/novatrail/api/v1/attempt_pb.js +60 -16
- package/novatrail/api/v1/cause_pb.d.ts +45 -4
- package/novatrail/api/v1/cause_pb.js +1 -1
- package/novatrail/api/v1/learning_pb.d.ts +8 -7
- package/novatrail/api/v1/learning_pb.js +8 -7
- package/novatrail/api/v1/legal_pb.d.ts +30 -0
- package/novatrail/api/v1/legal_pb.js +8 -1
- package/novatrail/api/v1/module_pb.d.ts +4 -4
- package/novatrail/api/v1/module_pb.js +4 -4
- package/novatrail/api/v1/progress_pb.d.ts +2 -1
- package/novatrail/api/v1/progress_pb.js +2 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
11
11
|
import type { Message } from "@bufbuild/protobuf";
|
|
12
12
|
import type { CloseReason, EngineChoice, Outcome } from "./cause_pb.js";
|
|
13
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
13
14
|
import type { AnswerSlotPlace, CropBox } from "../../observation/v1/observation_pb.js";
|
|
14
15
|
|
|
15
16
|
/**
|
|
@@ -848,6 +849,104 @@ export declare type ShowSolutionResponse = Message<"novatrail.api.v1.ShowSolutio
|
|
|
848
849
|
*/
|
|
849
850
|
export declare const ShowSolutionResponseSchema: GenMessage<ShowSolutionResponse>;
|
|
850
851
|
|
|
852
|
+
/**
|
|
853
|
+
* A report of a problem with the tutor's words.
|
|
854
|
+
*
|
|
855
|
+
* @generated from message novatrail.api.v1.ReportProblemRequest
|
|
856
|
+
*/
|
|
857
|
+
export declare type ReportProblemRequest = Message<"novatrail.api.v1.ReportProblemRequest"> & {
|
|
858
|
+
/**
|
|
859
|
+
* The profile whose attempt it is.
|
|
860
|
+
*
|
|
861
|
+
* @generated from field: string profile_id = 1;
|
|
862
|
+
*/
|
|
863
|
+
profileId: string;
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* The attempt.
|
|
867
|
+
*
|
|
868
|
+
* @generated from field: string attempt_id = 2;
|
|
869
|
+
*/
|
|
870
|
+
attemptId: string;
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* The idempotency key of this action.
|
|
874
|
+
*
|
|
875
|
+
* @generated from field: string idempotency_key = 3;
|
|
876
|
+
*/
|
|
877
|
+
idempotencyKey: string;
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* Which of the tutor's words the report is about.
|
|
881
|
+
*
|
|
882
|
+
* @generated from field: novatrail.api.v1.TutorReply reply = 4;
|
|
883
|
+
*/
|
|
884
|
+
reply: TutorReply;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Beside the words of a rung and "explain differently": the rung, from 1 to 3.
|
|
888
|
+
*
|
|
889
|
+
* @generated from field: int32 rung = 5;
|
|
890
|
+
*/
|
|
891
|
+
rung: number;
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* The tutor's words as `app` showed them, from 1 to 4000 Unicode code points: `api` keeps none of
|
|
895
|
+
* the words of a correct answer and of the feedback of an essay, and the operator reads what
|
|
896
|
+
* was said.
|
|
897
|
+
*
|
|
898
|
+
* @generated from field: string words = 6;
|
|
899
|
+
*/
|
|
900
|
+
words: string;
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* What is wrong with them, by a word of the closed set.
|
|
904
|
+
*
|
|
905
|
+
* @generated from field: novatrail.api.v1.ProblemKind kind = 7;
|
|
906
|
+
*/
|
|
907
|
+
kind: ProblemKind;
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* What the person writes beside it, up to 1000 Unicode code points; empty when nothing.
|
|
911
|
+
*
|
|
912
|
+
* @generated from field: string text = 8;
|
|
913
|
+
*/
|
|
914
|
+
text: string;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Describes the message novatrail.api.v1.ReportProblemRequest.
|
|
919
|
+
* Use `create(ReportProblemRequestSchema)` to create a new message.
|
|
920
|
+
*/
|
|
921
|
+
export declare const ReportProblemRequestSchema: GenMessage<ReportProblemRequest>;
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* The report received.
|
|
925
|
+
*
|
|
926
|
+
* @generated from message novatrail.api.v1.ReportProblemResponse
|
|
927
|
+
*/
|
|
928
|
+
export declare type ReportProblemResponse = Message<"novatrail.api.v1.ReportProblemResponse"> & {
|
|
929
|
+
/**
|
|
930
|
+
* The ID of the report.
|
|
931
|
+
*
|
|
932
|
+
* @generated from field: string report_id = 1;
|
|
933
|
+
*/
|
|
934
|
+
reportId: string;
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* When the operator reviews it by: 3 days after it came (R123).
|
|
938
|
+
*
|
|
939
|
+
* @generated from field: google.protobuf.Timestamp review_by = 2;
|
|
940
|
+
*/
|
|
941
|
+
reviewBy?: Timestamp | undefined;
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Describes the message novatrail.api.v1.ReportProblemResponse.
|
|
946
|
+
* Use `create(ReportProblemResponseSchema)` to create a new message.
|
|
947
|
+
*/
|
|
948
|
+
export declare const ReportProblemResponseSchema: GenMessage<ReportProblemResponse>;
|
|
949
|
+
|
|
851
950
|
/**
|
|
852
951
|
* The work for checking: a sheet's crop, or the crops of a workbook's filled boxes. Nothing of the
|
|
853
952
|
* writing history, of the context of the submission, of the groups of strokes or of the text of an
|
|
@@ -1284,6 +1383,114 @@ export enum SubmissionEnd {
|
|
|
1284
1383
|
*/
|
|
1285
1384
|
export declare const SubmissionEndSchema: GenEnum<SubmissionEnd>;
|
|
1286
1385
|
|
|
1386
|
+
/**
|
|
1387
|
+
* Which of the tutor's words a report is about: the answer that brought them.
|
|
1388
|
+
*
|
|
1389
|
+
* @generated from enum novatrail.api.v1.TutorReply
|
|
1390
|
+
*/
|
|
1391
|
+
export enum TutorReply {
|
|
1392
|
+
/**
|
|
1393
|
+
* Not named: the request is refused `invalid_argument`.
|
|
1394
|
+
*
|
|
1395
|
+
* @generated from enum value: TUTOR_REPLY_UNSPECIFIED = 0;
|
|
1396
|
+
*/
|
|
1397
|
+
UNSPECIFIED = 0,
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* The words of a rung, `GetRungWords`, or the rung given by `GetHint` after a wrong answer.
|
|
1401
|
+
*
|
|
1402
|
+
* @generated from enum value: TUTOR_REPLY_RUNG = 1;
|
|
1403
|
+
*/
|
|
1404
|
+
RUNG = 1,
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* The words of "explain differently", `ExplainDifferently`.
|
|
1408
|
+
*
|
|
1409
|
+
* @generated from enum value: TUTOR_REPLY_EXPLAINED_DIFFERENTLY = 2;
|
|
1410
|
+
*/
|
|
1411
|
+
EXPLAINED_DIFFERENTLY = 2,
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* The words after a correct answer, `GetCorrectAnswerWords`.
|
|
1415
|
+
*
|
|
1416
|
+
* @generated from enum value: TUTOR_REPLY_CORRECT_ANSWER = 3;
|
|
1417
|
+
*/
|
|
1418
|
+
CORRECT_ANSWER = 3,
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* The feedback of an essay, `SubmitEssay`.
|
|
1422
|
+
*
|
|
1423
|
+
* @generated from enum value: TUTOR_REPLY_ESSAY_FEEDBACK = 4;
|
|
1424
|
+
*/
|
|
1425
|
+
ESSAY_FEEDBACK = 4,
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Describes the enum novatrail.api.v1.TutorReply.
|
|
1430
|
+
*/
|
|
1431
|
+
export declare const TutorReplySchema: GenEnum<TutorReply>;
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* What is wrong with the tutor's words: the closed set the person picks one word of (R123).
|
|
1435
|
+
*
|
|
1436
|
+
* @generated from enum novatrail.api.v1.ProblemKind
|
|
1437
|
+
*/
|
|
1438
|
+
export enum ProblemKind {
|
|
1439
|
+
/**
|
|
1440
|
+
* Not named: the request is refused `invalid_argument`.
|
|
1441
|
+
*
|
|
1442
|
+
* @generated from enum value: PROBLEM_KIND_UNSPECIFIED = 0;
|
|
1443
|
+
*/
|
|
1444
|
+
UNSPECIFIED = 0,
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* Wrong: the words say what is not so.
|
|
1448
|
+
*
|
|
1449
|
+
* @generated from enum value: PROBLEM_KIND_WRONG = 1;
|
|
1450
|
+
*/
|
|
1451
|
+
WRONG = 1,
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* Unclear: the learner could not follow them.
|
|
1455
|
+
*
|
|
1456
|
+
* @generated from enum value: PROBLEM_KIND_UNCLEAR = 2;
|
|
1457
|
+
*/
|
|
1458
|
+
UNCLEAR = 2,
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* Not for the learner's age.
|
|
1462
|
+
*
|
|
1463
|
+
* @generated from enum value: PROBLEM_KIND_NOT_FOR_AGE = 3;
|
|
1464
|
+
*/
|
|
1465
|
+
NOT_FOR_AGE = 3,
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* Harmful or dangerous, or upsetting.
|
|
1469
|
+
*
|
|
1470
|
+
* @generated from enum value: PROBLEM_KIND_HARMFUL = 4;
|
|
1471
|
+
*/
|
|
1472
|
+
HARMFUL = 4,
|
|
1473
|
+
|
|
1474
|
+
/**
|
|
1475
|
+
* The words ask for, or speak of, something personal.
|
|
1476
|
+
*
|
|
1477
|
+
* @generated from enum value: PROBLEM_KIND_PERSONAL = 5;
|
|
1478
|
+
*/
|
|
1479
|
+
PERSONAL = 5,
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* Something else, which the text says.
|
|
1483
|
+
*
|
|
1484
|
+
* @generated from enum value: PROBLEM_KIND_OTHER = 6;
|
|
1485
|
+
*/
|
|
1486
|
+
OTHER = 6,
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Describes the enum novatrail.api.v1.ProblemKind.
|
|
1491
|
+
*/
|
|
1492
|
+
export declare const ProblemKindSchema: GenEnum<ProblemKind>;
|
|
1493
|
+
|
|
1287
1494
|
/**
|
|
1288
1495
|
* Whose action a request is: the server tells kinds of action apart, not people (R04 api).
|
|
1289
1496
|
*
|
|
@@ -1351,7 +1558,8 @@ export declare const MarkKindSchema: GenEnum<MarkKind>;
|
|
|
1351
1558
|
* take — gets the code `invalid_argument` with no `Refusal`. Every method carries the token of the
|
|
1352
1559
|
* sign-in service and may get the refusals of every request with a token, which the comment of
|
|
1353
1560
|
* `AccountService` names with what `app` does on each; a request of a profile whose consent is not
|
|
1354
|
-
* confirmed gets `CAUSE_NO_CONSENT
|
|
1561
|
+
* confirmed gets `CAUSE_NO_CONSENT`, and one of a profile whose age is to be given again
|
|
1562
|
+
* `CAUSE_AGE_NEEDED`. An answer that closes the attempt by a correct answer, by the
|
|
1355
1563
|
* solution shown or by "Done" says what comes next, `next`: an attempt begins by
|
|
1356
1564
|
* `LearningService`.
|
|
1357
1565
|
*
|
|
@@ -1486,5 +1694,22 @@ export declare const AttemptService: GenService<{
|
|
|
1486
1694
|
input: typeof ShowSolutionRequestSchema;
|
|
1487
1695
|
output: typeof ShowSolutionResponseSchema;
|
|
1488
1696
|
},
|
|
1697
|
+
/**
|
|
1698
|
+
* Reports a problem with the tutor's words of the attempt, from the screen of the task: a
|
|
1699
|
+
* learning request with the right `can_learn`, on an open attempt or a closed one. Who sees it,
|
|
1700
|
+
* `app` decides (privacy 9, П-26). `api` keeps the report until the operator reviews it, within 3
|
|
1701
|
+
* days, and for a year after, by its own clock, and the operator follows the path of escalation
|
|
1702
|
+
* (R123; R136). Neither `CAUSE_NO_CONSENT` nor `CAUSE_AGE_NEEDED` refuses it. The report keeps
|
|
1703
|
+
* the words and the text as they were written, so `app` asks the person to write no name in it.
|
|
1704
|
+
* Refusals: `CAUSE_KEY_ALREADY_USED` and `CAUSE_STILL_GOING`. A repeat with the same idempotency
|
|
1705
|
+
* key gets the same report.
|
|
1706
|
+
*
|
|
1707
|
+
* @generated from rpc novatrail.api.v1.AttemptService.ReportProblem
|
|
1708
|
+
*/
|
|
1709
|
+
reportProblem: {
|
|
1710
|
+
methodKind: "unary";
|
|
1711
|
+
input: typeof ReportProblemRequestSchema;
|
|
1712
|
+
output: typeof ReportProblemResponseSchema;
|
|
1713
|
+
},
|
|
1489
1714
|
}>;
|
|
1490
1715
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
// idempotency key answers are the rules of contracts/README.md, section 15.
|
|
9
9
|
|
|
10
10
|
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
11
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
11
12
|
import { file_novatrail_api_v1_cause } from "./cause_pb.js";
|
|
12
13
|
import { file_novatrail_observation_v1_observation } from "../../observation/v1/observation_pb.js";
|
|
13
14
|
|
|
@@ -15,7 +16,7 @@ import { file_novatrail_observation_v1_observation } from "../../observation/v1/
|
|
|
15
16
|
* Describes the file novatrail/api/v1/attempt.proto.
|
|
16
17
|
*/
|
|
17
18
|
export const file_novatrail_api_v1_attempt = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
19
|
+
fileDesc("Ch5ub3ZhdHJhaWwvYXBpL3YxL2F0dGVtcHQucHJvdG8SEG5vdmF0cmFpbC5hcGkudjEimQIKEVN1Ym1pdFdvcmtSZXF1ZXN0EhIKCnByb2ZpbGVfaWQYASABKAkSEgoKYXR0ZW1wdF9pZBgCIAEoCRIXCg9pZGVtcG90ZW5jeV9rZXkYAyABKAkSJAo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W50UmVzcG9uc2USVAoJQmVnaW5TdGVwEiIubm92YXRyYWlsLmFwaS52MS5CZWdpblN0ZXBSZXF1ZXN0GiMubm92YXRyYWlsLmFwaS52MS5CZWdpblN0ZXBSZXNwb25zZRJdCgxTaG93U29sdXRpb24SJS5ub3ZhdHJhaWwuYXBpLnYxLlNob3dTb2x1dGlvblJlcXVlc3QaJi5ub3ZhdHJhaWwuYXBpLnYxLlNob3dTb2x1dGlvblJlc3BvbnNlEmAKDVJlcG9ydFByb2JsZW0SJi5ub3ZhdHJhaWwuYXBpLnYxLlJlcG9ydFByb2JsZW1SZXF1ZXN0Gicubm92YXRyYWlsLmFwaS52MS5SZXBvcnRQcm9ibGVtUmVzcG9uc2VCxQEKFGNvbS5ub3ZhdHJhaWwuYXBpLnYxQgxBdHRlbXB0UHJvdG9QAVo9Z2l0aHViLmNvbS9hbHRub3ZhdHJhaWwvc3BlYy9jb250cmFjdHMvbm92YXRyYWlsL2FwaS92MTthcGl2MaICA05BWKoCEE5vdmF0cmFpbC5BcGkuVjHKAhBOb3ZhdHJhaWxcQXBpXFYx4gIcTm92YXRyYWlsXEFwaVxWMVxHUEJNZXRhZGF0YeoCEk5vdmF0cmFpbDo6QXBpOjpWMWIGcHJvdG8z", [file_google_protobuf_timestamp, file_novatrail_api_v1_cause, file_novatrail_observation_v1_observation]);
|
|
19
20
|
|
|
20
21
|
/**
|
|
21
22
|
* Describes the message novatrail.api.v1.SubmitWorkRequest.
|
|
@@ -157,89 +158,103 @@ export const ShowSolutionRequestSchema = /*@__PURE__*/
|
|
|
157
158
|
export const ShowSolutionResponseSchema = /*@__PURE__*/
|
|
158
159
|
messageDesc(file_novatrail_api_v1_attempt, 19);
|
|
159
160
|
|
|
161
|
+
/**
|
|
162
|
+
* Describes the message novatrail.api.v1.ReportProblemRequest.
|
|
163
|
+
* Use `create(ReportProblemRequestSchema)` to create a new message.
|
|
164
|
+
*/
|
|
165
|
+
export const ReportProblemRequestSchema = /*@__PURE__*/
|
|
166
|
+
messageDesc(file_novatrail_api_v1_attempt, 20);
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Describes the message novatrail.api.v1.ReportProblemResponse.
|
|
170
|
+
* Use `create(ReportProblemResponseSchema)` to create a new message.
|
|
171
|
+
*/
|
|
172
|
+
export const ReportProblemResponseSchema = /*@__PURE__*/
|
|
173
|
+
messageDesc(file_novatrail_api_v1_attempt, 21);
|
|
174
|
+
|
|
160
175
|
/**
|
|
161
176
|
* Describes the message novatrail.api.v1.Work.
|
|
162
177
|
* Use `create(WorkSchema)` to create a new message.
|
|
163
178
|
*/
|
|
164
179
|
export const WorkSchema = /*@__PURE__*/
|
|
165
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
180
|
+
messageDesc(file_novatrail_api_v1_attempt, 22);
|
|
166
181
|
|
|
167
182
|
/**
|
|
168
183
|
* Describes the message novatrail.api.v1.SheetWork.
|
|
169
184
|
* Use `create(SheetWorkSchema)` to create a new message.
|
|
170
185
|
*/
|
|
171
186
|
export const SheetWorkSchema = /*@__PURE__*/
|
|
172
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
187
|
+
messageDesc(file_novatrail_api_v1_attempt, 23);
|
|
173
188
|
|
|
174
189
|
/**
|
|
175
190
|
* Describes the message novatrail.api.v1.WorkbookWork.
|
|
176
191
|
* Use `create(WorkbookWorkSchema)` to create a new message.
|
|
177
192
|
*/
|
|
178
193
|
export const WorkbookWorkSchema = /*@__PURE__*/
|
|
179
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
194
|
+
messageDesc(file_novatrail_api_v1_attempt, 24);
|
|
180
195
|
|
|
181
196
|
/**
|
|
182
197
|
* Describes the message novatrail.api.v1.BoxCrop.
|
|
183
198
|
* Use `create(BoxCropSchema)` to create a new message.
|
|
184
199
|
*/
|
|
185
200
|
export const BoxCropSchema = /*@__PURE__*/
|
|
186
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
201
|
+
messageDesc(file_novatrail_api_v1_attempt, 25);
|
|
187
202
|
|
|
188
203
|
/**
|
|
189
204
|
* Describes the message novatrail.api.v1.TappedChoice.
|
|
190
205
|
* Use `create(TappedChoiceSchema)` to create a new message.
|
|
191
206
|
*/
|
|
192
207
|
export const TappedChoiceSchema = /*@__PURE__*/
|
|
193
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
208
|
+
messageDesc(file_novatrail_api_v1_attempt, 26);
|
|
194
209
|
|
|
195
210
|
/**
|
|
196
211
|
* Describes the message novatrail.api.v1.OwnKey.
|
|
197
212
|
* Use `create(OwnKeySchema)` to create a new message.
|
|
198
213
|
*/
|
|
199
214
|
export const OwnKeySchema = /*@__PURE__*/
|
|
200
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
215
|
+
messageDesc(file_novatrail_api_v1_attempt, 27);
|
|
201
216
|
|
|
202
217
|
/**
|
|
203
218
|
* Describes the message novatrail.api.v1.ItemVerdict.
|
|
204
219
|
* Use `create(ItemVerdictSchema)` to create a new message.
|
|
205
220
|
*/
|
|
206
221
|
export const ItemVerdictSchema = /*@__PURE__*/
|
|
207
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
222
|
+
messageDesc(file_novatrail_api_v1_attempt, 28);
|
|
208
223
|
|
|
209
224
|
/**
|
|
210
225
|
* Describes the message novatrail.api.v1.AnswerSlotVerdict.
|
|
211
226
|
* Use `create(AnswerSlotVerdictSchema)` to create a new message.
|
|
212
227
|
*/
|
|
213
228
|
export const AnswerSlotVerdictSchema = /*@__PURE__*/
|
|
214
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
229
|
+
messageDesc(file_novatrail_api_v1_attempt, 29);
|
|
215
230
|
|
|
216
231
|
/**
|
|
217
232
|
* Describes the message novatrail.api.v1.SolvedTask.
|
|
218
233
|
* Use `create(SolvedTaskSchema)` to create a new message.
|
|
219
234
|
*/
|
|
220
235
|
export const SolvedTaskSchema = /*@__PURE__*/
|
|
221
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
236
|
+
messageDesc(file_novatrail_api_v1_attempt, 30);
|
|
222
237
|
|
|
223
238
|
/**
|
|
224
239
|
* Describes the message novatrail.api.v1.Next.
|
|
225
240
|
* Use `create(NextSchema)` to create a new message.
|
|
226
241
|
*/
|
|
227
242
|
export const NextSchema = /*@__PURE__*/
|
|
228
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
243
|
+
messageDesc(file_novatrail_api_v1_attempt, 31);
|
|
229
244
|
|
|
230
245
|
/**
|
|
231
246
|
* Describes the message novatrail.api.v1.AnswerSlotKey.
|
|
232
247
|
* Use `create(AnswerSlotKeySchema)` to create a new message.
|
|
233
248
|
*/
|
|
234
249
|
export const AnswerSlotKeySchema = /*@__PURE__*/
|
|
235
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
250
|
+
messageDesc(file_novatrail_api_v1_attempt, 32);
|
|
236
251
|
|
|
237
252
|
/**
|
|
238
253
|
* Describes the message novatrail.api.v1.Mark.
|
|
239
254
|
* Use `create(MarkSchema)` to create a new message.
|
|
240
255
|
*/
|
|
241
256
|
export const MarkSchema = /*@__PURE__*/
|
|
242
|
-
messageDesc(file_novatrail_api_v1_attempt,
|
|
257
|
+
messageDesc(file_novatrail_api_v1_attempt, 33);
|
|
243
258
|
|
|
244
259
|
/**
|
|
245
260
|
* Describes the enum novatrail.api.v1.SubmissionEnd.
|
|
@@ -255,11 +270,39 @@ export const SubmissionEndSchema = /*@__PURE__*/
|
|
|
255
270
|
export const SubmissionEnd = /*@__PURE__*/
|
|
256
271
|
tsEnum(SubmissionEndSchema);
|
|
257
272
|
|
|
273
|
+
/**
|
|
274
|
+
* Describes the enum novatrail.api.v1.TutorReply.
|
|
275
|
+
*/
|
|
276
|
+
export const TutorReplySchema = /*@__PURE__*/
|
|
277
|
+
enumDesc(file_novatrail_api_v1_attempt, 1);
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Which of the tutor's words a report is about: the answer that brought them.
|
|
281
|
+
*
|
|
282
|
+
* @generated from enum novatrail.api.v1.TutorReply
|
|
283
|
+
*/
|
|
284
|
+
export const TutorReply = /*@__PURE__*/
|
|
285
|
+
tsEnum(TutorReplySchema);
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Describes the enum novatrail.api.v1.ProblemKind.
|
|
289
|
+
*/
|
|
290
|
+
export const ProblemKindSchema = /*@__PURE__*/
|
|
291
|
+
enumDesc(file_novatrail_api_v1_attempt, 2);
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* What is wrong with the tutor's words: the closed set the person picks one word of (R123).
|
|
295
|
+
*
|
|
296
|
+
* @generated from enum novatrail.api.v1.ProblemKind
|
|
297
|
+
*/
|
|
298
|
+
export const ProblemKind = /*@__PURE__*/
|
|
299
|
+
tsEnum(ProblemKindSchema);
|
|
300
|
+
|
|
258
301
|
/**
|
|
259
302
|
* Describes the enum novatrail.api.v1.Action.
|
|
260
303
|
*/
|
|
261
304
|
export const ActionSchema = /*@__PURE__*/
|
|
262
|
-
enumDesc(file_novatrail_api_v1_attempt,
|
|
305
|
+
enumDesc(file_novatrail_api_v1_attempt, 3);
|
|
263
306
|
|
|
264
307
|
/**
|
|
265
308
|
* Whose action a request is: the server tells kinds of action apart, not people (R04 api).
|
|
@@ -273,7 +316,7 @@ export const Action = /*@__PURE__*/
|
|
|
273
316
|
* Describes the enum novatrail.api.v1.MarkKind.
|
|
274
317
|
*/
|
|
275
318
|
export const MarkKindSchema = /*@__PURE__*/
|
|
276
|
-
enumDesc(file_novatrail_api_v1_attempt,
|
|
319
|
+
enumDesc(file_novatrail_api_v1_attempt, 4);
|
|
277
320
|
|
|
278
321
|
/**
|
|
279
322
|
* What a mark is.
|
|
@@ -291,7 +334,8 @@ export const MarkKind = /*@__PURE__*/
|
|
|
291
334
|
* take — gets the code `invalid_argument` with no `Refusal`. Every method carries the token of the
|
|
292
335
|
* sign-in service and may get the refusals of every request with a token, which the comment of
|
|
293
336
|
* `AccountService` names with what `app` does on each; a request of a profile whose consent is not
|
|
294
|
-
* confirmed gets `CAUSE_NO_CONSENT
|
|
337
|
+
* confirmed gets `CAUSE_NO_CONSENT`, and one of a profile whose age is to be given again
|
|
338
|
+
* `CAUSE_AGE_NEEDED`. An answer that closes the attempt by a correct answer, by the
|
|
295
339
|
* solution shown or by "Done" says what comes next, `next`: an attempt begins by
|
|
296
340
|
* `LearningService`.
|
|
297
341
|
*
|
|
@@ -379,7 +379,9 @@ export enum Cause {
|
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
381
|
* A learning request to show the solution, while the child's setting "ask before showing" is on:
|
|
382
|
-
* the solution is shown by an action of an adult.
|
|
382
|
+
* the solution is shown by an action of an adult. Or a learning request on what an adult decides
|
|
383
|
+
* at a profile whose consent an adult gave: the learner's own consent, its withdrawal, the
|
|
384
|
+
* storage of works and the export (R136). Code `permission_denied`.
|
|
383
385
|
*
|
|
384
386
|
* @generated from enum value: CAUSE_ADULT_NEEDED = 13;
|
|
385
387
|
*/
|
|
@@ -482,7 +484,8 @@ export enum Cause {
|
|
|
482
484
|
|
|
483
485
|
/**
|
|
484
486
|
* What the request creates is there already: the account of the user, the owner's profile, the
|
|
485
|
-
* profile of a consent,
|
|
487
|
+
* profile of a consent, the attempt of an engine's choice of a task, or the confirmation of a
|
|
488
|
+
* consent that a form is sent for. Code `already_exists`.
|
|
486
489
|
*
|
|
487
490
|
* @generated from enum value: CAUSE_ALREADY_EXISTS = 26;
|
|
488
491
|
*/
|
|
@@ -497,8 +500,10 @@ export enum Cause {
|
|
|
497
500
|
COUNTRY_NOT_ACCEPTED = 27,
|
|
498
501
|
|
|
499
502
|
/**
|
|
500
|
-
* The consent is not confirmed: a child's profile asked for by a consent
|
|
501
|
-
* learning request of a profile without consent
|
|
503
|
+
* The consent is not confirmed: a child's profile asked for by a consent of a parent that still
|
|
504
|
+
* waits, or a learning request of a profile without consent — one that waits for the learner's
|
|
505
|
+
* own consent or for a parent's form —, but for the requests on the consent itself, which section
|
|
506
|
+
* 15 of contracts/README.md names. Code `failed_precondition`.
|
|
502
507
|
*
|
|
503
508
|
* @generated from enum value: CAUSE_NO_CONSENT = 28;
|
|
504
509
|
*/
|
|
@@ -587,6 +592,42 @@ export enum Cause {
|
|
|
587
592
|
* @generated from enum value: CAUSE_SEGMENT_UNAVAILABLE = 38;
|
|
588
593
|
*/
|
|
589
594
|
SEGMENT_UNAVAILABLE = 38,
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* The account has as many consents that wait, without a profile, as `api` lets it have: one is
|
|
598
|
+
* taken back by `CancelChildConsent`, or confirmed, before another is asked for. `api` holds the
|
|
599
|
+
* number (R11 api). Code `resource_exhausted`, with no data.
|
|
600
|
+
*
|
|
601
|
+
* @generated from enum value: CAUSE_TOO_MANY_CONSENTS = 39;
|
|
602
|
+
*/
|
|
603
|
+
TOO_MANY_CONSENTS = 39,
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* The age of the profile is to be given again before its next work: the country of a learner who
|
|
607
|
+
* gave their own consent now asks for an older age of digital consent than the one the category
|
|
608
|
+
* was given by (R134), but for the requests on the consent itself, which section 15 of
|
|
609
|
+
* contracts/README.md names. An adult gives it by `RestateAge`. Code `failed_precondition`.
|
|
610
|
+
*
|
|
611
|
+
* @generated from enum value: CAUSE_AGE_NEEDED = 40;
|
|
612
|
+
*/
|
|
613
|
+
AGE_NEEDED = 40,
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* The version of a legal text that the request names is not the current one, or a text that has
|
|
617
|
+
* a version in force is not named: `app` reads `GetLegalTexts` again and shows the current
|
|
618
|
+
* version before it asks once more. Code `failed_precondition`.
|
|
619
|
+
*
|
|
620
|
+
* @generated from enum value: CAUSE_TEXT_NOT_CURRENT = 41;
|
|
621
|
+
*/
|
|
622
|
+
TEXT_NOT_CURRENT = 41,
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* An action of an adult on the storage of works at a profile whose learner gave their own
|
|
626
|
+
* consent: the learner decides it alone (R113; R116). Code `permission_denied`.
|
|
627
|
+
*
|
|
628
|
+
* @generated from enum value: CAUSE_LEARNER_DECIDES = 42;
|
|
629
|
+
*/
|
|
630
|
+
LEARNER_DECIDES = 42,
|
|
590
631
|
}
|
|
591
632
|
|
|
592
633
|
/**
|
|
@@ -16,7 +16,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
16
16
|
* Describes the file novatrail/api/v1/cause.proto.
|
|
17
17
|
*/
|
|
18
18
|
export const file_novatrail_api_v1_cause = /*@__PURE__*/
|
|
19
|
-
fileDesc("
|
|
19
|
+
fileDesc("Chxub3ZhdHJhaWwvYXBpL3YxL2NhdXNlLnByb3RvEhBub3ZhdHJhaWwuYXBpLnYxIvwCCgdSZWZ1c2FsEiYKBWNhdXNlGAEgASgOMhcubm92YXRyYWlsLmFwaS52MS5DYXVzZRI1CgxjbG9zZV9yZWFzb24YAiABKA4yHS5ub3ZhdHJhaWwuYXBpLnYxLkNsb3NlUmVhc29uSAASNQoPbmV4dF9mYW1pbHlfZGF5GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAEhcKDXdyb25nX2Fuc3dlcnMYBCABKAVIABIyCgxsb2NrZWRfdW50aWwYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAASHgoUbWF4X2F1dGhfYWdlX3NlY29uZHMYBiABKAVIABIrCgdydW5fZW5kGAcgASgLMhgubm92YXRyYWlsLmFwaS52MS5SdW5FbmRIABI5Cg5lbmRlZF9zZWdtZW50cxgIIAEoCzIfLm5vdmF0cmFpbC5hcGkudjEuRW5kZWRTZWdtZW50c0gAQgYKBGRhdGEinAEKB091dGNvbWUSJgoFY2F1c2UYASABKA4yFy5ub3ZhdHJhaWwuYXBpLnYxLkNhdXNlEjMKD25leHRfZmFtaWx5X2RheRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASNAoNb3duX2tleV9saW1pdBgDIAEoCzIdLm5vdmF0cmFpbC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oYUlVOX0VORF9SRUFTT05fQUJBTkRPTkVEEARCwwEKFGNvbS5ub3ZhdHJhaWwuYXBpLnYxQgpDYXVzZVByb3RvUAFaPWdpdGh1Yi5jb20vYWx0bm92YXRyYWlsL3NwZWMvY29udHJhY3RzL25vdmF0cmFpbC9hcGkvdjE7YXBpdjGiAgNOQViqAhBOb3ZhdHJhaWwuQXBpLlYxygIQTm92YXRyYWlsXEFwaVxWMeICHE5vdmF0cmFpbFxBcGlcVjFcR1BCTWV0YWRhdGHqAhJOb3ZhdHJhaWw6OkFwaTo6VjFiBnByb3RvMw", [file_google_protobuf_timestamp]);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Describes the message novatrail.api.v1.Refusal.
|
|
@@ -650,13 +650,14 @@ export declare const LessonRunRefSchema: GenMessage<LessonRunRef>;
|
|
|
650
650
|
* with the right `can_learn`. Every method carries the token of the sign-in service and may get the
|
|
651
651
|
* refusals of every request with a token, which the comment of `AccountService` names with what
|
|
652
652
|
* `app` does on each; a profile that is not the account's gets `CAUSE_NO_PROFILE`, a request of a
|
|
653
|
-
* profile whose consent is not confirmed `CAUSE_NO_CONSENT`,
|
|
654
|
-
*
|
|
655
|
-
*
|
|
656
|
-
*
|
|
657
|
-
*
|
|
658
|
-
*
|
|
659
|
-
* the run, in an answer
|
|
653
|
+
* profile whose consent is not confirmed `CAUSE_NO_CONSENT`, one of a profile whose age is to be
|
|
654
|
+
* given again `CAUSE_AGE_NEEDED`, and a request whose form the contract refuses the code
|
|
655
|
+
* `invalid_argument` with no `Refusal`. A profile has one open attempt: a new one closes the one
|
|
656
|
+
* before `CLOSE_REASON_LEFT`. A lesson run goes on the package it began on, and every attempt of
|
|
657
|
+
* its task segments too. `app` keeps the place in a lesson and the state of its demos by the key
|
|
658
|
+
* "lesson's full ID, package digest", beside the ID of the run: the state of another run under the
|
|
659
|
+
* same key it drops, and it erases the state of the lesson at every end of the run, in an answer
|
|
660
|
+
* or in a refusal.
|
|
660
661
|
*
|
|
661
662
|
* @generated from service novatrail.api.v1.LearningService
|
|
662
663
|
*/
|
|
@@ -156,13 +156,14 @@ export const LessonRunRefSchema = /*@__PURE__*/
|
|
|
156
156
|
* with the right `can_learn`. Every method carries the token of the sign-in service and may get the
|
|
157
157
|
* refusals of every request with a token, which the comment of `AccountService` names with what
|
|
158
158
|
* `app` does on each; a profile that is not the account's gets `CAUSE_NO_PROFILE`, a request of a
|
|
159
|
-
* profile whose consent is not confirmed `CAUSE_NO_CONSENT`,
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
* the run, in an answer
|
|
159
|
+
* profile whose consent is not confirmed `CAUSE_NO_CONSENT`, one of a profile whose age is to be
|
|
160
|
+
* given again `CAUSE_AGE_NEEDED`, and a request whose form the contract refuses the code
|
|
161
|
+
* `invalid_argument` with no `Refusal`. A profile has one open attempt: a new one closes the one
|
|
162
|
+
* before `CLOSE_REASON_LEFT`. A lesson run goes on the package it began on, and every attempt of
|
|
163
|
+
* its task segments too. `app` keeps the place in a lesson and the state of its demos by the key
|
|
164
|
+
* "lesson's full ID, package digest", beside the ID of the run: the state of another run under the
|
|
165
|
+
* same key it drops, and it erases the state of the lesson at every end of the run, in an answer
|
|
166
|
+
* or in a refusal.
|
|
166
167
|
*
|
|
167
168
|
* @generated from service novatrail.api.v1.LearningService
|
|
168
169
|
*/
|