@altnovatrail/contracts 0.21.0 → 0.21.1
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.
|
@@ -246,6 +246,16 @@ export declare type ConnectedModule = Message<"novatrail.api.v1.ConnectedModule"
|
|
|
246
246
|
* @generated from field: string package_digest = 3;
|
|
247
247
|
*/
|
|
248
248
|
packageDigest: string;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* The module is solved on the sheet of a task from paper: `app` opens its tasks there, by
|
|
252
|
+
* `PaperService.BeginPaperAttempts` with its ID, each checked by a model as a task from paper is
|
|
253
|
+
* and none evidence of the learner model; the engine chooses none of them. `api` names such
|
|
254
|
+
* modules; none is a field of the module format.
|
|
255
|
+
*
|
|
256
|
+
* @generated from field: bool on_sheet = 4;
|
|
257
|
+
*/
|
|
258
|
+
onSheet: boolean;
|
|
249
259
|
};
|
|
250
260
|
|
|
251
261
|
/**
|
|
@@ -14,7 +14,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
14
14
|
* Describes the file novatrail/api/v1/module.proto.
|
|
15
15
|
*/
|
|
16
16
|
export const file_novatrail_api_v1_module = /*@__PURE__*/
|
|
17
|
-
fileDesc("
|
|
17
|
+
fileDesc("Ch1ub3ZhdHJhaWwvYXBpL3YxL21vZHVsZS5wcm90bxIQbm92YXRyYWlsLmFwaS52MSIoChJMaXN0Q2F0YWxvZ1JlcXVlc3QSEgoKcHJvZmlsZV9pZBgBIAEoCSJHChNMaXN0Q2F0YWxvZ1Jlc3BvbnNlEjAKB21vZHVsZXMYASADKAsyHy5ub3ZhdHJhaWwuYXBpLnYxLkNhdGFsb2dNb2R1bGUiOgoNQ2F0YWxvZ01vZHVsZRIRCgltb2R1bGVfaWQYASABKAkSFgoOcGFja2FnZV9kaWdlc3QYAiABKAkiPQoUQ29ubmVjdE1vZHVsZVJlcXVlc3QSEgoKcHJvZmlsZV9pZBgBIAEoCRIRCgltb2R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b25uZWN0TW9kdWxlUmVzcG9uc2USdQoUTGlzdENvbm5lY3RlZE1vZHVsZXMSLS5ub3ZhdHJhaWwuYXBpLnYxLkxpc3RDb25uZWN0ZWRNb2R1bGVzUmVxdWVzdBouLm5vdmF0cmFpbC5hcGkudjEuTGlzdENvbm5lY3RlZE1vZHVsZXNSZXNwb25zZULEAQoUY29tLm5vdmF0cmFpbC5hcGkudjFCC01vZHVsZVByb3RvUAFaPWdpdGh1Yi5jb20vYWx0bm92YXRyYWlsL3NwZWMvY29udHJhY3RzL25vdmF0cmFpbC9hcGkvdjE7YXBpdjGiAgNOQViqAhBOb3ZhdHJhaWwuQXBpLlYxygIQTm92YXRyYWlsXEFwaVxWMeICHE5vdmF0cmFpbFxBcGlcVjFcR1BCTWV0YWRhdGHqAhJOb3ZhdHJhaWw6OkFwaTo6VjFiBnByb3RvMw", [file_google_protobuf_timestamp]);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Describes the message novatrail.api.v1.ListCatalogRequest.
|
|
@@ -13,6 +13,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
13
13
|
import type { OwnKey } from "./attempt_pb.js";
|
|
14
14
|
import type { Outcome } from "./cause_pb.js";
|
|
15
15
|
import type { CropBox } from "../../observation/v1/observation_pb.js";
|
|
16
|
+
import type { OpenView } from "./package_pb.js";
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* Describes the file novatrail/api/v1/paper.proto.
|
|
@@ -195,7 +196,8 @@ export declare type BeginPaperAttemptsRequest = Message<"novatrail.api.v1.BeginP
|
|
|
195
196
|
idempotencyKey: string;
|
|
196
197
|
|
|
197
198
|
/**
|
|
198
|
-
* How many tasks were picked, those the AI found and those framed by hand: from 1 to 20
|
|
199
|
+
* How many tasks were picked, those the AI found and those framed by hand: from 1 to 20; 0 with
|
|
200
|
+
* `module_id`, whose package gives them.
|
|
199
201
|
*
|
|
200
202
|
* @generated from field: int32 tasks = 3;
|
|
201
203
|
*/
|
|
@@ -219,6 +221,15 @@ export declare type BeginPaperAttemptsRequest = Message<"novatrail.api.v1.BeginP
|
|
|
219
221
|
* @generated from field: string page_id = 5;
|
|
220
222
|
*/
|
|
221
223
|
pageId: string;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* The module solved on the sheet whose tasks the attempts are of, connected to the profile:
|
|
227
|
+
* empty for a page from paper. A later attempt of one of its tasks, after the one before closed,
|
|
228
|
+
* names no module and `tasks` 1, as a task from paper does.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: string module_id = 6;
|
|
231
|
+
*/
|
|
232
|
+
moduleId: string;
|
|
222
233
|
};
|
|
223
234
|
|
|
224
235
|
/**
|
|
@@ -239,6 +250,22 @@ export declare type BeginPaperAttemptsResponse = Message<"novatrail.api.v1.Begin
|
|
|
239
250
|
* @generated from field: repeated string attempt_ids = 1;
|
|
240
251
|
*/
|
|
241
252
|
attemptIds: string[];
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* With `module_id`: the open view of each task, in the order of the attempts, as
|
|
256
|
+
* `AttemptStart.task` gives a task's. `app` draws its statement's text as the task's picture,
|
|
257
|
+
* which the Check gets as `PaperWork.statement`.
|
|
258
|
+
*
|
|
259
|
+
* @generated from field: repeated novatrail.api.v1.OpenView tasks = 2;
|
|
260
|
+
*/
|
|
261
|
+
tasks: OpenView[];
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* With `module_id`: the digest of the package the tasks are of, the module's current version.
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: string package_digest = 3;
|
|
267
|
+
*/
|
|
268
|
+
packageDigest: string;
|
|
242
269
|
};
|
|
243
270
|
|
|
244
271
|
/**
|
|
@@ -285,10 +312,15 @@ export declare const PaperService: GenService<{
|
|
|
285
312
|
* Begins the attempts of the tasks picked on a page, one for each, in the order of the tasks. It
|
|
286
313
|
* closes the open attempts of tasks from paper that the profile has on another page,
|
|
287
314
|
* `CLOSE_REASON_LEFT`, and none of the same page, and leaves the open attempt of a task of a
|
|
288
|
-
* module as it is.
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
* the
|
|
315
|
+
* module as it is. With `module_id`, the page is a module solved on the sheet
|
|
316
|
+
* (`ConnectedModule.on_sheet`): its tasks are those of the package of the module's current
|
|
317
|
+
* version, in its order, at most 20, and the answer gives the open view of each, which `app`
|
|
318
|
+
* draws as the statement in place of a crop. Refusals: `CAUSE_QUOTA`, `CAUSE_PLATFORM_LIMIT` and
|
|
319
|
+
* `CAUSE_NOT_ADMITTED`, on platform AI, as `LearningService.BeginAttempt` meets them;
|
|
320
|
+
* `CAUSE_KEY_NOT_FOR_PROFILE`, `CAUSE_KEY_ALREADY_USED` and `CAUSE_STILL_GOING`; with
|
|
321
|
+
* `module_id`, `CAUSE_NOT_FOUND`, a module not connected to the profile, and
|
|
322
|
+
* `CAUSE_NO_CURRENT_VERSION`, one with no current version for the learner. A repeat with the same
|
|
323
|
+
* idempotency key gets the same attempts.
|
|
292
324
|
*
|
|
293
325
|
* @generated from rpc novatrail.api.v1.PaperService.BeginPaperAttempts
|
|
294
326
|
*/
|
|
@@ -11,13 +11,14 @@
|
|
|
11
11
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
12
12
|
import { file_novatrail_api_v1_attempt } from "./attempt_pb.js";
|
|
13
13
|
import { file_novatrail_api_v1_cause } from "./cause_pb.js";
|
|
14
|
+
import { file_novatrail_api_v1_package } from "./package_pb.js";
|
|
14
15
|
import { file_novatrail_observation_v1_observation } from "../../observation/v1/observation_pb.js";
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* Describes the file novatrail/api/v1/paper.proto.
|
|
18
19
|
*/
|
|
19
20
|
export const file_novatrail_api_v1_paper = /*@__PURE__*/
|
|
20
|
-
fileDesc("
|
|
21
|
+
fileDesc("Chxub3ZhdHJhaWwvYXBpL3YxL3BhcGVyLnByb3RvEhBub3ZhdHJhaWwuYXBpLnYxIp4CChBGaW5kVGFza3NS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AyABKAky1QEKDFBhcGVyU2VydmljZRJUCglGaW5kVGFza3MSIi5ub3ZhdHJhaWwuYXBpLnYxLkZpbmRUYXNrc1JlcXVlc3QaIy5ub3ZhdHJhaWwuYXBpLnYxLkZpbmRUYXNrc1Jlc3BvbnNlEm8KEkJlZ2luUGFwZXJBdHRlbXB0cxIrLm5vdmF0cmFpbC5hcGkudjEuQmVnaW5QYXBlckF0dGVtcHRzUmVxdWVzdBosLm5vdmF0cmFpbC5hcGkudjEuQmVnaW5QYXBlckF0dGVtcHRzUmVzcG9uc2VCwwEKFGNvbS5ub3ZhdHJhaWwuYXBpLnYxQgpQYXBlclByb3RvUAFaPWdpdGh1Yi5jb20vYWx0bm92YXRyYWlsL3NwZWMvY29udHJhY3RzL25vdmF0cmFpbC9hcGkvdjE7YXBpdjGiAgNOQViqAhBOb3ZhdHJhaWwuQXBpLlYxygIQTm92YXRyYWlsXEFwaVxWMeICHE5vdmF0cmFpbFxBcGlcVjFcR1BCTWV0YWRhdGHqAhJOb3ZhdHJhaWw6OkFwaTo6VjFiBnByb3RvMw", [file_novatrail_api_v1_attempt, file_novatrail_api_v1_cause, file_novatrail_api_v1_package, file_novatrail_observation_v1_observation]);
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* Describes the message novatrail.api.v1.FindTasksRequest.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@altnovatrail/contracts",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"description": "The code of NovaTrail's API contracts for TypeScript, which protoc-gen-es generates from their protobuf files: the messages and enums of each contract, with their descriptors, for @bufbuild/protobuf and Connect.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|