@altnovatrail/contracts 0.7.2 → 0.7.4
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/eval/v1/sample_pb.d.ts +1183 -0
- package/novatrail/eval/v1/sample_pb.js +229 -0
- package/package.json +5 -1
|
@@ -0,0 +1,1183 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file novatrail/eval/v1/sample.proto (package novatrail.eval.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
// The sample file of the eval protocol: one sample of writing on a sheet or on a page of a
|
|
6
|
+
// workbook, as the samples page of `canvas` saves it and the eval runner of `tutor` reads it, one
|
|
7
|
+
// JSON file to a sample. Which fields a sample holds, by its purpose and by who wrote it, how the
|
|
8
|
+
// file is written and read, and where a sample may go are the rules of contracts/README.md,
|
|
9
|
+
// section 11.
|
|
10
|
+
|
|
11
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
12
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
+
import type { AnswerSlotPlace, CropBox } from "../../observation/v1/observation_pb.js";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file novatrail/eval/v1/sample.proto.
|
|
17
|
+
*/
|
|
18
|
+
export declare const file_novatrail_eval_v1_sample: GenFile;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* One sample: what it is for and who wrote it, the task it answers, its strokes, and the crops
|
|
22
|
+
* drawn of them.
|
|
23
|
+
*
|
|
24
|
+
* @generated from message novatrail.eval.v1.Sample
|
|
25
|
+
*/
|
|
26
|
+
export declare type Sample = Message<"novatrail.eval.v1.Sample"> & {
|
|
27
|
+
/**
|
|
28
|
+
* The protocol the file is written in: "novatrail.eval.v1", the package of this message. A
|
|
29
|
+
* reader reads it before the rest, and takes only the protocol it knows.
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: string protocol = 1;
|
|
32
|
+
*/
|
|
33
|
+
protocol: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The sample's ID: 1 to 64 lowercase Latin letters, digits and hyphens. A person's sample gets
|
|
37
|
+
* one at random; a synthetic sample's comes from its seed, so that one seed gives the same file.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string id = 2;
|
|
40
|
+
*/
|
|
41
|
+
id: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* What the sample is made for. With `writer`, it sets which fields the sample holds.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: novatrail.eval.v1.Purpose purpose = 3;
|
|
47
|
+
*/
|
|
48
|
+
purpose: Purpose;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Who wrote the sample, or whose writing a synthetic sample stands for.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: novatrail.eval.v1.Writer writer = 4;
|
|
54
|
+
*/
|
|
55
|
+
writer: Writer;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Who made the strokes: a person, or code from a seed. It does not change which fields the
|
|
59
|
+
* sample holds.
|
|
60
|
+
*
|
|
61
|
+
* @generated from oneof novatrail.eval.v1.Sample.origin
|
|
62
|
+
*/
|
|
63
|
+
origin: {
|
|
64
|
+
/**
|
|
65
|
+
* A person, of whom the file says no more than its purpose, its writer and its writer's code.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: novatrail.eval.v1.Person person = 5;
|
|
68
|
+
*/
|
|
69
|
+
value: Person;
|
|
70
|
+
case: "person";
|
|
71
|
+
} | {
|
|
72
|
+
/**
|
|
73
|
+
* Code that drew the strokes from a seed.
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: novatrail.eval.v1.Synthetic synthetic = 6;
|
|
76
|
+
*/
|
|
77
|
+
value: Synthetic;
|
|
78
|
+
case: "synthetic";
|
|
79
|
+
} | { case: undefined; value?: undefined };
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The writer's code, which the samples page makes at random and which links a person's samples
|
|
83
|
+
* with each other: 6 to 16 digits and capital Latin letters. Only in a sample of measurement.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: optional string writer_code = 7;
|
|
86
|
+
*/
|
|
87
|
+
writerCode?: string | undefined;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The version of the set of texts that the samples page showed: the notice of the purpose and
|
|
91
|
+
* the form of consent. 1 to 32 Latin letters, digits, dots and hyphens.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: string text_set_version = 8;
|
|
94
|
+
*/
|
|
95
|
+
textSetVersion: string;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* The version of `canvas` whose samples page wrote the file, MAJOR.MINOR.PATCH.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: string canvas_version = 9;
|
|
101
|
+
*/
|
|
102
|
+
canvasVersion: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The license the sample is published under: "Apache-2.0" in a sample of an eval set, and none
|
|
106
|
+
* in a sample of measurement, which is not published.
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: optional string license = 10;
|
|
109
|
+
*/
|
|
110
|
+
license?: string | undefined;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* The task the sample answers, without its key.
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: novatrail.eval.v1.TaskReference task = 11;
|
|
116
|
+
*/
|
|
117
|
+
task?: TaskReference | undefined;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* The strokes: the history of writing, or the final geometry of the strokes the sheet shows.
|
|
121
|
+
*
|
|
122
|
+
* @generated from oneof novatrail.eval.v1.Sample.ink
|
|
123
|
+
*/
|
|
124
|
+
ink: {
|
|
125
|
+
/**
|
|
126
|
+
* The history of writing, in a sample of measurement written by an adult.
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: novatrail.eval.v1.History history = 12;
|
|
129
|
+
*/
|
|
130
|
+
value: History;
|
|
131
|
+
case: "history";
|
|
132
|
+
} | {
|
|
133
|
+
/**
|
|
134
|
+
* The final geometry of the visible strokes, in a sample of an eval set and in a sample of a
|
|
135
|
+
* child.
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: novatrail.eval.v1.Geometry geometry = 13;
|
|
138
|
+
*/
|
|
139
|
+
value: Geometry;
|
|
140
|
+
case: "geometry";
|
|
141
|
+
} | { case: undefined; value?: undefined };
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Where the sample was written.
|
|
145
|
+
*
|
|
146
|
+
* @generated from oneof novatrail.eval.v1.Sample.surface
|
|
147
|
+
*/
|
|
148
|
+
surface: {
|
|
149
|
+
/**
|
|
150
|
+
* A handwriting sheet.
|
|
151
|
+
*
|
|
152
|
+
* @generated from field: novatrail.eval.v1.Sheet sheet = 14;
|
|
153
|
+
*/
|
|
154
|
+
value: Sheet;
|
|
155
|
+
case: "sheet";
|
|
156
|
+
} | {
|
|
157
|
+
/**
|
|
158
|
+
* A page of a workbook.
|
|
159
|
+
*
|
|
160
|
+
* @generated from field: novatrail.eval.v1.Workbook workbook = 15;
|
|
161
|
+
*/
|
|
162
|
+
value: Workbook;
|
|
163
|
+
case: "workbook";
|
|
164
|
+
} | { case: undefined; value?: undefined };
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Describes the message novatrail.eval.v1.Sample.
|
|
169
|
+
* Use `create(SampleSchema)` to create a new message.
|
|
170
|
+
*/
|
|
171
|
+
export declare const SampleSchema: GenMessage<Sample>;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* A person who wrote a sample: the file says nothing more of them.
|
|
175
|
+
*
|
|
176
|
+
* @generated from message novatrail.eval.v1.Person
|
|
177
|
+
*/
|
|
178
|
+
export declare type Person = Message<"novatrail.eval.v1.Person"> & {
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message novatrail.eval.v1.Person.
|
|
183
|
+
* Use `create(PersonSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export declare const PersonSchema: GenMessage<Person>;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Code that drew a sample from a seed.
|
|
189
|
+
*
|
|
190
|
+
* @generated from message novatrail.eval.v1.Synthetic
|
|
191
|
+
*/
|
|
192
|
+
export declare type Synthetic = Message<"novatrail.eval.v1.Synthetic"> & {
|
|
193
|
+
/**
|
|
194
|
+
* The seed, an unsigned integer of 64 bits in decimal digits, as the module format writes one.
|
|
195
|
+
*
|
|
196
|
+
* @generated from field: string seed = 1;
|
|
197
|
+
*/
|
|
198
|
+
seed: string;
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Describes the message novatrail.eval.v1.Synthetic.
|
|
203
|
+
* Use `create(SyntheticSchema)` to create a new message.
|
|
204
|
+
*/
|
|
205
|
+
export declare const SyntheticSchema: GenMessage<Synthetic>;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* The task a sample answers, without its key: where it comes from, its ID, the seed of an
|
|
209
|
+
* instance of a template, and the digest of its open view. The runner finds the key by them.
|
|
210
|
+
*
|
|
211
|
+
* @generated from message novatrail.eval.v1.TaskReference
|
|
212
|
+
*/
|
|
213
|
+
export declare type TaskReference = Message<"novatrail.eval.v1.TaskReference"> & {
|
|
214
|
+
/**
|
|
215
|
+
* Where the task comes from.
|
|
216
|
+
*
|
|
217
|
+
* @generated from oneof novatrail.eval.v1.TaskReference.source
|
|
218
|
+
*/
|
|
219
|
+
source: {
|
|
220
|
+
/**
|
|
221
|
+
* A module's package, from a release of `modules`.
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: novatrail.eval.v1.ModuleSource modules = 1;
|
|
224
|
+
*/
|
|
225
|
+
value: ModuleSource;
|
|
226
|
+
case: "modules";
|
|
227
|
+
} | {
|
|
228
|
+
/**
|
|
229
|
+
* The file of open tasks of a release of `tutor`.
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: novatrail.eval.v1.TutorSource tutor = 2;
|
|
232
|
+
*/
|
|
233
|
+
value: TutorSource;
|
|
234
|
+
case: "tutor";
|
|
235
|
+
} | {
|
|
236
|
+
/**
|
|
237
|
+
* A file of tasks outside any release.
|
|
238
|
+
*
|
|
239
|
+
* @generated from field: novatrail.eval.v1.TaskFileSource file = 3;
|
|
240
|
+
*/
|
|
241
|
+
value: TaskFileSource;
|
|
242
|
+
case: "file";
|
|
243
|
+
} | { case: undefined; value?: undefined };
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* The task's ID, as its module or bank spells it.
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: string task = 4;
|
|
249
|
+
*/
|
|
250
|
+
task: string;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The seed whose instance of a template the sample answers, in decimal digits: only when the
|
|
254
|
+
* task is a template.
|
|
255
|
+
*
|
|
256
|
+
* @generated from field: optional string seed = 5;
|
|
257
|
+
*/
|
|
258
|
+
seed?: string | undefined;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* The digest of the task's open view: `sha256:` and the SHA-256 of its canonical text, 64
|
|
262
|
+
* lowercase hexadecimal digits, as the module format takes a digest (section 25 of its text).
|
|
263
|
+
* Of an instance of a template, the open view with its numbers in place.
|
|
264
|
+
*
|
|
265
|
+
* @generated from field: string open_view_digest = 6;
|
|
266
|
+
*/
|
|
267
|
+
openViewDigest: string;
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Describes the message novatrail.eval.v1.TaskReference.
|
|
272
|
+
* Use `create(TaskReferenceSchema)` to create a new message.
|
|
273
|
+
*/
|
|
274
|
+
export declare const TaskReferenceSchema: GenMessage<TaskReference>;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* A task of a module's package, from a release of `modules`.
|
|
278
|
+
*
|
|
279
|
+
* @generated from message novatrail.eval.v1.ModuleSource
|
|
280
|
+
*/
|
|
281
|
+
export declare type ModuleSource = Message<"novatrail.eval.v1.ModuleSource"> & {
|
|
282
|
+
/**
|
|
283
|
+
* The tag of the release of `modules` whose index holds the package.
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: string tag = 1;
|
|
286
|
+
*/
|
|
287
|
+
tag: string;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* The module's ID.
|
|
291
|
+
*
|
|
292
|
+
* @generated from field: string module = 2;
|
|
293
|
+
*/
|
|
294
|
+
module: string;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* The module's version.
|
|
298
|
+
*
|
|
299
|
+
* @generated from field: string version = 3;
|
|
300
|
+
*/
|
|
301
|
+
version: string;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* The digest of the package, `sha256:` and 64 lowercase hexadecimal digits.
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: string package_digest = 4;
|
|
307
|
+
*/
|
|
308
|
+
packageDigest: string;
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Describes the message novatrail.eval.v1.ModuleSource.
|
|
313
|
+
* Use `create(ModuleSourceSchema)` to create a new message.
|
|
314
|
+
*/
|
|
315
|
+
export declare const ModuleSourceSchema: GenMessage<ModuleSource>;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* A task of the file of open tasks of a release of `tutor`.
|
|
319
|
+
*
|
|
320
|
+
* @generated from message novatrail.eval.v1.TutorSource
|
|
321
|
+
*/
|
|
322
|
+
export declare type TutorSource = Message<"novatrail.eval.v1.TutorSource"> & {
|
|
323
|
+
/**
|
|
324
|
+
* The tag of the release of `tutor`.
|
|
325
|
+
*
|
|
326
|
+
* @generated from field: string tag = 1;
|
|
327
|
+
*/
|
|
328
|
+
tag: string;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* The digest of the file of open tasks: `sha256:` and the SHA-256 of its bytes.
|
|
332
|
+
*
|
|
333
|
+
* @generated from field: string file_digest = 2;
|
|
334
|
+
*/
|
|
335
|
+
fileDigest: string;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* The bank of tasks in the file.
|
|
339
|
+
*
|
|
340
|
+
* @generated from field: string bank = 3;
|
|
341
|
+
*/
|
|
342
|
+
bank: string;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* The digest of the bank, as the file gives it.
|
|
346
|
+
*
|
|
347
|
+
* @generated from field: string bank_digest = 4;
|
|
348
|
+
*/
|
|
349
|
+
bankDigest: string;
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Describes the message novatrail.eval.v1.TutorSource.
|
|
354
|
+
* Use `create(TutorSourceSchema)` to create a new message.
|
|
355
|
+
*/
|
|
356
|
+
export declare const TutorSourceSchema: GenMessage<TutorSource>;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* A task of a file of tasks outside any release.
|
|
360
|
+
*
|
|
361
|
+
* @generated from message novatrail.eval.v1.TaskFileSource
|
|
362
|
+
*/
|
|
363
|
+
export declare type TaskFileSource = Message<"novatrail.eval.v1.TaskFileSource"> & {
|
|
364
|
+
/**
|
|
365
|
+
* The digest of the file: `sha256:` and the SHA-256 of its bytes.
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: string file_digest = 1;
|
|
368
|
+
*/
|
|
369
|
+
fileDigest: string;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* The bank of tasks in the file.
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: string bank = 2;
|
|
375
|
+
*/
|
|
376
|
+
bank: string;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* The digest of the bank, as the file gives it.
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: string bank_digest = 3;
|
|
382
|
+
*/
|
|
383
|
+
bankDigest: string;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Describes the message novatrail.eval.v1.TaskFileSource.
|
|
388
|
+
* Use `create(TaskFileSourceSchema)` to create a new message.
|
|
389
|
+
*/
|
|
390
|
+
export declare const TaskFileSourceSchema: GenMessage<TaskFileSource>;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* The history of writing: the events in the order they happened, on the sheet's clock.
|
|
394
|
+
*
|
|
395
|
+
* @generated from message novatrail.eval.v1.History
|
|
396
|
+
*/
|
|
397
|
+
export declare type History = Message<"novatrail.eval.v1.History"> & {
|
|
398
|
+
/**
|
|
399
|
+
* The events, their times never decreasing.
|
|
400
|
+
*
|
|
401
|
+
* @generated from field: repeated novatrail.eval.v1.HistoryEvent events = 1;
|
|
402
|
+
*/
|
|
403
|
+
events: HistoryEvent[];
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Describes the message novatrail.eval.v1.History.
|
|
408
|
+
* Use `create(HistorySchema)` to create a new message.
|
|
409
|
+
*/
|
|
410
|
+
export declare const HistorySchema: GenMessage<History>;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* One event of the history of writing.
|
|
414
|
+
*
|
|
415
|
+
* @generated from message novatrail.eval.v1.HistoryEvent
|
|
416
|
+
*/
|
|
417
|
+
export declare type HistoryEvent = Message<"novatrail.eval.v1.HistoryEvent"> & {
|
|
418
|
+
/**
|
|
419
|
+
* When it happened: whole milliseconds on the sheet's clock, which counts from when it was first
|
|
420
|
+
* read. A stroke is written when its last point is.
|
|
421
|
+
*
|
|
422
|
+
* @generated from field: int32 t_ms = 1;
|
|
423
|
+
*/
|
|
424
|
+
tMs: number;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* What happened.
|
|
428
|
+
*
|
|
429
|
+
* @generated from oneof novatrail.eval.v1.HistoryEvent.event
|
|
430
|
+
*/
|
|
431
|
+
event: {
|
|
432
|
+
/**
|
|
433
|
+
* A stroke was written.
|
|
434
|
+
*
|
|
435
|
+
* @generated from field: novatrail.eval.v1.Stroke write = 2;
|
|
436
|
+
*/
|
|
437
|
+
value: Stroke;
|
|
438
|
+
case: "write";
|
|
439
|
+
} | {
|
|
440
|
+
/**
|
|
441
|
+
* The eraser took strokes off, in one stroke of the eraser.
|
|
442
|
+
*
|
|
443
|
+
* @generated from field: novatrail.eval.v1.StrokeIds erase = 3;
|
|
444
|
+
*/
|
|
445
|
+
value: StrokeIds;
|
|
446
|
+
case: "erase";
|
|
447
|
+
} | {
|
|
448
|
+
/**
|
|
449
|
+
* The sheet was cleared: every stroke on it.
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: novatrail.eval.v1.StrokeIds clear = 4;
|
|
452
|
+
*/
|
|
453
|
+
value: StrokeIds;
|
|
454
|
+
case: "clear";
|
|
455
|
+
} | {
|
|
456
|
+
/**
|
|
457
|
+
* An undo took strokes off and put others back.
|
|
458
|
+
*
|
|
459
|
+
* @generated from field: novatrail.eval.v1.Undo undo = 5;
|
|
460
|
+
*/
|
|
461
|
+
value: Undo;
|
|
462
|
+
case: "undo";
|
|
463
|
+
} | { case: undefined; value?: undefined };
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Describes the message novatrail.eval.v1.HistoryEvent.
|
|
468
|
+
* Use `create(HistoryEventSchema)` to create a new message.
|
|
469
|
+
*/
|
|
470
|
+
export declare const HistoryEventSchema: GenMessage<HistoryEvent>;
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* A stroke as it was written.
|
|
474
|
+
*
|
|
475
|
+
* @generated from message novatrail.eval.v1.Stroke
|
|
476
|
+
*/
|
|
477
|
+
export declare type Stroke = Message<"novatrail.eval.v1.Stroke"> & {
|
|
478
|
+
/**
|
|
479
|
+
* The stroke's ID: unique in the sample, from 1.
|
|
480
|
+
*
|
|
481
|
+
* @generated from field: int32 id = 1;
|
|
482
|
+
*/
|
|
483
|
+
id: number;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* The type of the pointer that wrote it, as the browser names it: "pen", "touch", "mouse" or
|
|
487
|
+
* another.
|
|
488
|
+
*
|
|
489
|
+
* @generated from field: string pointer = 2;
|
|
490
|
+
*/
|
|
491
|
+
pointer: string;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* The points, in the order they were written: one at least.
|
|
495
|
+
*
|
|
496
|
+
* @generated from field: repeated novatrail.eval.v1.InkPoint points = 3;
|
|
497
|
+
*/
|
|
498
|
+
points: InkPoint[];
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Describes the message novatrail.eval.v1.Stroke.
|
|
503
|
+
* Use `create(StrokeSchema)` to create a new message.
|
|
504
|
+
*/
|
|
505
|
+
export declare const StrokeSchema: GenMessage<Stroke>;
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* A point of a stroke as it was written.
|
|
509
|
+
*
|
|
510
|
+
* @generated from message novatrail.eval.v1.InkPoint
|
|
511
|
+
*/
|
|
512
|
+
export declare type InkPoint = Message<"novatrail.eval.v1.InkPoint"> & {
|
|
513
|
+
/**
|
|
514
|
+
* Across, in units of the sheet from its left edge, to a tenth.
|
|
515
|
+
*
|
|
516
|
+
* @generated from field: double x = 1;
|
|
517
|
+
*/
|
|
518
|
+
x: number;
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Down, in units of the sheet from its top edge, to a tenth.
|
|
522
|
+
*
|
|
523
|
+
* @generated from field: double y = 2;
|
|
524
|
+
*/
|
|
525
|
+
y: number;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* When: whole milliseconds on the sheet's clock, never decreasing along the stroke.
|
|
529
|
+
*
|
|
530
|
+
* @generated from field: int32 t_ms = 3;
|
|
531
|
+
*/
|
|
532
|
+
tMs: number;
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Describes the message novatrail.eval.v1.InkPoint.
|
|
537
|
+
* Use `create(InkPointSchema)` to create a new message.
|
|
538
|
+
*/
|
|
539
|
+
export declare const InkPointSchema: GenMessage<InkPoint>;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* The IDs of strokes.
|
|
543
|
+
*
|
|
544
|
+
* @generated from message novatrail.eval.v1.StrokeIds
|
|
545
|
+
*/
|
|
546
|
+
export declare type StrokeIds = Message<"novatrail.eval.v1.StrokeIds"> & {
|
|
547
|
+
/**
|
|
548
|
+
* The strokes' IDs, in the order of the sheet.
|
|
549
|
+
*
|
|
550
|
+
* @generated from field: repeated int32 ids = 1;
|
|
551
|
+
*/
|
|
552
|
+
ids: number[];
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Describes the message novatrail.eval.v1.StrokeIds.
|
|
557
|
+
* Use `create(StrokeIdsSchema)` to create a new message.
|
|
558
|
+
*/
|
|
559
|
+
export declare const StrokeIdsSchema: GenMessage<StrokeIds>;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* What an undo changed.
|
|
563
|
+
*
|
|
564
|
+
* @generated from message novatrail.eval.v1.Undo
|
|
565
|
+
*/
|
|
566
|
+
export declare type Undo = Message<"novatrail.eval.v1.Undo"> & {
|
|
567
|
+
/**
|
|
568
|
+
* The IDs of the strokes it took off.
|
|
569
|
+
*
|
|
570
|
+
* @generated from field: repeated int32 removed = 1;
|
|
571
|
+
*/
|
|
572
|
+
removed: number[];
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* The IDs of the strokes it put back.
|
|
576
|
+
*
|
|
577
|
+
* @generated from field: repeated int32 restored = 2;
|
|
578
|
+
*/
|
|
579
|
+
restored: number[];
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Describes the message novatrail.eval.v1.Undo.
|
|
584
|
+
* Use `create(UndoSchema)` to create a new message.
|
|
585
|
+
*/
|
|
586
|
+
export declare const UndoSchema: GenMessage<Undo>;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* The final geometry: the strokes the sheet shows at the end, without time, pressure, the order of
|
|
590
|
+
* writing or what was erased.
|
|
591
|
+
*
|
|
592
|
+
* @generated from message novatrail.eval.v1.Geometry
|
|
593
|
+
*/
|
|
594
|
+
export declare type Geometry = Message<"novatrail.eval.v1.Geometry"> & {
|
|
595
|
+
/**
|
|
596
|
+
* The visible strokes, numbered by their place from 1.
|
|
597
|
+
*
|
|
598
|
+
* @generated from field: repeated novatrail.eval.v1.FinalStroke strokes = 1;
|
|
599
|
+
*/
|
|
600
|
+
strokes: FinalStroke[];
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Describes the message novatrail.eval.v1.Geometry.
|
|
605
|
+
* Use `create(GeometrySchema)` to create a new message.
|
|
606
|
+
*/
|
|
607
|
+
export declare const GeometrySchema: GenMessage<Geometry>;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* A visible stroke of the final geometry.
|
|
611
|
+
*
|
|
612
|
+
* @generated from message novatrail.eval.v1.FinalStroke
|
|
613
|
+
*/
|
|
614
|
+
export declare type FinalStroke = Message<"novatrail.eval.v1.FinalStroke"> & {
|
|
615
|
+
/**
|
|
616
|
+
* The stroke's ID: its number by place, from 1.
|
|
617
|
+
*
|
|
618
|
+
* @generated from field: int32 id = 1;
|
|
619
|
+
*/
|
|
620
|
+
id: number;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* The points along the stroke, in its canonical direction: one at least.
|
|
624
|
+
*
|
|
625
|
+
* @generated from field: repeated novatrail.eval.v1.FinalPoint points = 2;
|
|
626
|
+
*/
|
|
627
|
+
points: FinalPoint[];
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Describes the message novatrail.eval.v1.FinalStroke.
|
|
632
|
+
* Use `create(FinalStrokeSchema)` to create a new message.
|
|
633
|
+
*/
|
|
634
|
+
export declare const FinalStrokeSchema: GenMessage<FinalStroke>;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* A point of the final geometry.
|
|
638
|
+
*
|
|
639
|
+
* @generated from message novatrail.eval.v1.FinalPoint
|
|
640
|
+
*/
|
|
641
|
+
export declare type FinalPoint = Message<"novatrail.eval.v1.FinalPoint"> & {
|
|
642
|
+
/**
|
|
643
|
+
* Across, in units of the sheet from its left edge, to a tenth.
|
|
644
|
+
*
|
|
645
|
+
* @generated from field: double x = 1;
|
|
646
|
+
*/
|
|
647
|
+
x: number;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Down, in units of the sheet from its top edge, to a tenth.
|
|
651
|
+
*
|
|
652
|
+
* @generated from field: double y = 2;
|
|
653
|
+
*/
|
|
654
|
+
y: number;
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Describes the message novatrail.eval.v1.FinalPoint.
|
|
659
|
+
* Use `create(FinalPointSchema)` to create a new message.
|
|
660
|
+
*/
|
|
661
|
+
export declare const FinalPointSchema: GenMessage<FinalPoint>;
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* A handwriting sheet: its size, the groups of its strokes, and their crops.
|
|
665
|
+
*
|
|
666
|
+
* @generated from message novatrail.eval.v1.Sheet
|
|
667
|
+
*/
|
|
668
|
+
export declare type Sheet = Message<"novatrail.eval.v1.Sheet"> & {
|
|
669
|
+
/**
|
|
670
|
+
* The sheet's width, in units.
|
|
671
|
+
*
|
|
672
|
+
* @generated from field: int32 width = 1;
|
|
673
|
+
*/
|
|
674
|
+
width: number;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* The sheet's height, in units.
|
|
678
|
+
*
|
|
679
|
+
* @generated from field: int32 height = 2;
|
|
680
|
+
*/
|
|
681
|
+
height: number;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* The height of a digit that the module asks a crop to be drawn at, px: the height at which
|
|
685
|
+
* `app` sends the crop.
|
|
686
|
+
*
|
|
687
|
+
* @generated from field: int32 digit_height = 3;
|
|
688
|
+
*/
|
|
689
|
+
digitHeight: number;
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* The groups of the visible strokes, by the rule of groups, their labels in order: every
|
|
693
|
+
* visible stroke in one of them.
|
|
694
|
+
*
|
|
695
|
+
* @generated from field: repeated novatrail.eval.v1.Group groups = 4;
|
|
696
|
+
*/
|
|
697
|
+
groups: Group[];
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* The crops of the visible strokes, with the frames of their groups. A sheet without strokes
|
|
701
|
+
* has none.
|
|
702
|
+
*
|
|
703
|
+
* @generated from field: novatrail.eval.v1.CropSet crops = 5;
|
|
704
|
+
*/
|
|
705
|
+
crops?: CropSet | undefined;
|
|
706
|
+
};
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* Describes the message novatrail.eval.v1.Sheet.
|
|
710
|
+
* Use `create(SheetSchema)` to create a new message.
|
|
711
|
+
*/
|
|
712
|
+
export declare const SheetSchema: GenMessage<Sheet>;
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* A group of strokes on a sheet.
|
|
716
|
+
*
|
|
717
|
+
* @generated from message novatrail.eval.v1.Group
|
|
718
|
+
*/
|
|
719
|
+
export declare type Group = Message<"novatrail.eval.v1.Group"> & {
|
|
720
|
+
/**
|
|
721
|
+
* The group's label: A to Z, then AA, AB and on, by the group's place on the sheet.
|
|
722
|
+
*
|
|
723
|
+
* @generated from field: string label = 1;
|
|
724
|
+
*/
|
|
725
|
+
label: string;
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* The IDs of its strokes, ascending: one at least.
|
|
729
|
+
*
|
|
730
|
+
* @generated from field: repeated int32 stroke_ids = 2;
|
|
731
|
+
*/
|
|
732
|
+
strokeIds: number[];
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Describes the message novatrail.eval.v1.Group.
|
|
737
|
+
* Use `create(GroupSchema)` to create a new message.
|
|
738
|
+
*/
|
|
739
|
+
export declare const GroupSchema: GenMessage<Group>;
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* A page of a workbook: its size, its boxes, and the filled boxes with their strokes and crops.
|
|
743
|
+
* It has no groups.
|
|
744
|
+
*
|
|
745
|
+
* @generated from message novatrail.eval.v1.Workbook
|
|
746
|
+
*/
|
|
747
|
+
export declare type Workbook = Message<"novatrail.eval.v1.Workbook"> & {
|
|
748
|
+
/**
|
|
749
|
+
* The page's width, in units.
|
|
750
|
+
*
|
|
751
|
+
* @generated from field: int32 width = 1;
|
|
752
|
+
*/
|
|
753
|
+
width: number;
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* The page's height, in units.
|
|
757
|
+
*
|
|
758
|
+
* @generated from field: int32 height = 2;
|
|
759
|
+
*/
|
|
760
|
+
height: number;
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* The height of a digit that the module asks a crop to be drawn at, px: the height at which
|
|
764
|
+
* `app` sends the crops.
|
|
765
|
+
*
|
|
766
|
+
* @generated from field: int32 digit_height = 3;
|
|
767
|
+
*/
|
|
768
|
+
digitHeight: number;
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Every box of the page, in the task's order.
|
|
772
|
+
*
|
|
773
|
+
* @generated from field: repeated novatrail.eval.v1.PageBox boxes = 4;
|
|
774
|
+
*/
|
|
775
|
+
boxes: PageBox[];
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* The boxes that strokes fill, by the rule of boxes, in the task's order: the table "box →
|
|
779
|
+
* stroke IDs" that the device built, and each box's crops.
|
|
780
|
+
*
|
|
781
|
+
* @generated from field: repeated novatrail.eval.v1.FilledBox filled_boxes = 5;
|
|
782
|
+
*/
|
|
783
|
+
filledBoxes: FilledBox[];
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Describes the message novatrail.eval.v1.Workbook.
|
|
788
|
+
* Use `create(WorkbookSchema)` to create a new message.
|
|
789
|
+
*/
|
|
790
|
+
export declare const WorkbookSchema: GenMessage<Workbook>;
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* A box of a workbook's page, where it stands.
|
|
794
|
+
*
|
|
795
|
+
* @generated from message novatrail.eval.v1.PageBox
|
|
796
|
+
*/
|
|
797
|
+
export declare type PageBox = Message<"novatrail.eval.v1.PageBox"> & {
|
|
798
|
+
/**
|
|
799
|
+
* The box, by its item and its place in the item.
|
|
800
|
+
*
|
|
801
|
+
* @generated from field: novatrail.observation.v1.AnswerSlotPlace answer_slot = 1;
|
|
802
|
+
*/
|
|
803
|
+
answerSlot?: AnswerSlotPlace | undefined;
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* Its left edge, in whole units of the page.
|
|
807
|
+
*
|
|
808
|
+
* @generated from field: int32 left = 2;
|
|
809
|
+
*/
|
|
810
|
+
left: number;
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* Its top edge, in whole units of the page.
|
|
814
|
+
*
|
|
815
|
+
* @generated from field: int32 top = 3;
|
|
816
|
+
*/
|
|
817
|
+
top: number;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Its width, in whole units.
|
|
821
|
+
*
|
|
822
|
+
* @generated from field: int32 width = 4;
|
|
823
|
+
*/
|
|
824
|
+
width: number;
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* Its height, in whole units.
|
|
828
|
+
*
|
|
829
|
+
* @generated from field: int32 height = 5;
|
|
830
|
+
*/
|
|
831
|
+
height: number;
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Describes the message novatrail.eval.v1.PageBox.
|
|
836
|
+
* Use `create(PageBoxSchema)` to create a new message.
|
|
837
|
+
*/
|
|
838
|
+
export declare const PageBoxSchema: GenMessage<PageBox>;
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* A box that strokes fill, its strokes and its crops.
|
|
842
|
+
*
|
|
843
|
+
* @generated from message novatrail.eval.v1.FilledBox
|
|
844
|
+
*/
|
|
845
|
+
export declare type FilledBox = Message<"novatrail.eval.v1.FilledBox"> & {
|
|
846
|
+
/**
|
|
847
|
+
* The box, by its item and its place in the item.
|
|
848
|
+
*
|
|
849
|
+
* @generated from field: novatrail.observation.v1.AnswerSlotPlace answer_slot = 1;
|
|
850
|
+
*/
|
|
851
|
+
answerSlot?: AnswerSlotPlace | undefined;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* The IDs of its strokes, ascending: one at least.
|
|
855
|
+
*
|
|
856
|
+
* @generated from field: repeated int32 stroke_ids = 2;
|
|
857
|
+
*/
|
|
858
|
+
strokeIds: number[];
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* The crops of its strokes, without frames.
|
|
862
|
+
*
|
|
863
|
+
* @generated from field: novatrail.eval.v1.CropSet crops = 3;
|
|
864
|
+
*/
|
|
865
|
+
crops?: CropSet | undefined;
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Describes the message novatrail.eval.v1.FilledBox.
|
|
870
|
+
* Use `create(FilledBoxSchema)` to create a new message.
|
|
871
|
+
*/
|
|
872
|
+
export declare const FilledBoxSchema: GenMessage<FilledBox>;
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* The crops of one set of strokes, one at each height of eval, and the whole numbers they share:
|
|
876
|
+
* the box of the points and the median of the heights of the bundles of strokes.
|
|
877
|
+
*
|
|
878
|
+
* @generated from message novatrail.eval.v1.CropSet
|
|
879
|
+
*/
|
|
880
|
+
export declare type CropSet = Message<"novatrail.eval.v1.CropSet"> & {
|
|
881
|
+
/**
|
|
882
|
+
* The box of the strokes' points, in whole tenths of a unit.
|
|
883
|
+
*
|
|
884
|
+
* @generated from field: novatrail.eval.v1.TenthsBox ink_box = 1;
|
|
885
|
+
*/
|
|
886
|
+
inkBox?: TenthsBox | undefined;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* h_med: the lower median of the heights of the bundles of strokes, in whole tenths of a unit.
|
|
890
|
+
*
|
|
891
|
+
* @generated from field: int32 bundle_median = 2;
|
|
892
|
+
*/
|
|
893
|
+
bundleMedian: number;
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* The crops, by the height of a digit ascending: one at each height of eval and at the
|
|
897
|
+
* module's.
|
|
898
|
+
*
|
|
899
|
+
* @generated from field: repeated novatrail.eval.v1.Crop crops = 3;
|
|
900
|
+
*/
|
|
901
|
+
crops: Crop[];
|
|
902
|
+
};
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* Describes the message novatrail.eval.v1.CropSet.
|
|
906
|
+
* Use `create(CropSetSchema)` to create a new message.
|
|
907
|
+
*/
|
|
908
|
+
export declare const CropSetSchema: GenMessage<CropSet>;
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* A box on the sheet in whole tenths of a unit, [ymin, xmin, ymax, xmax].
|
|
912
|
+
*
|
|
913
|
+
* @generated from message novatrail.eval.v1.TenthsBox
|
|
914
|
+
*/
|
|
915
|
+
export declare type TenthsBox = Message<"novatrail.eval.v1.TenthsBox"> & {
|
|
916
|
+
/**
|
|
917
|
+
* The top edge.
|
|
918
|
+
*
|
|
919
|
+
* @generated from field: int32 ymin = 1;
|
|
920
|
+
*/
|
|
921
|
+
ymin: number;
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* The left edge.
|
|
925
|
+
*
|
|
926
|
+
* @generated from field: int32 xmin = 2;
|
|
927
|
+
*/
|
|
928
|
+
xmin: number;
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* The bottom edge.
|
|
932
|
+
*
|
|
933
|
+
* @generated from field: int32 ymax = 3;
|
|
934
|
+
*/
|
|
935
|
+
ymax: number;
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* The right edge.
|
|
939
|
+
*
|
|
940
|
+
* @generated from field: int32 xmax = 4;
|
|
941
|
+
*/
|
|
942
|
+
xmax: number;
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Describes the message novatrail.eval.v1.TenthsBox.
|
|
947
|
+
* Use `create(TenthsBoxSchema)` to create a new message.
|
|
948
|
+
*/
|
|
949
|
+
export declare const TenthsBoxSchema: GenMessage<TenthsBox>;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* One crop: the height of a digit it was asked at, the numbers it was drawn by, and its PNG.
|
|
953
|
+
*
|
|
954
|
+
* @generated from message novatrail.eval.v1.Crop
|
|
955
|
+
*/
|
|
956
|
+
export declare type Crop = Message<"novatrail.eval.v1.Crop"> & {
|
|
957
|
+
/**
|
|
958
|
+
* D: the height of a digit asked for, px.
|
|
959
|
+
*
|
|
960
|
+
* @generated from field: int32 digit_height = 1;
|
|
961
|
+
*/
|
|
962
|
+
digitHeight: number;
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* D′: the height digits are drawn at, px, D or less if the crop at D would be too large.
|
|
966
|
+
*
|
|
967
|
+
* @generated from field: int32 drawn_height = 2;
|
|
968
|
+
*/
|
|
969
|
+
drawnHeight: number;
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* The crop's width, px.
|
|
973
|
+
*
|
|
974
|
+
* @generated from field: int32 width = 3;
|
|
975
|
+
*/
|
|
976
|
+
width: number;
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* The crop's height, px.
|
|
980
|
+
*
|
|
981
|
+
* @generated from field: int32 height = 4;
|
|
982
|
+
*/
|
|
983
|
+
height: number;
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* The margin above the strokes, px.
|
|
987
|
+
*
|
|
988
|
+
* @generated from field: int32 margin_top = 5;
|
|
989
|
+
*/
|
|
990
|
+
marginTop: number;
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* The margin left of the strokes, px.
|
|
994
|
+
*
|
|
995
|
+
* @generated from field: int32 margin_left = 6;
|
|
996
|
+
*/
|
|
997
|
+
marginLeft: number;
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* s: px of the crop to a unit of the sheet.
|
|
1001
|
+
*
|
|
1002
|
+
* @generated from field: double scale = 7;
|
|
1003
|
+
*/
|
|
1004
|
+
scale: number;
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* The width of the line, px.
|
|
1008
|
+
*
|
|
1009
|
+
* @generated from field: double line_width = 8;
|
|
1010
|
+
*/
|
|
1011
|
+
lineWidth: number;
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* Where the crop with its margins lies on the sheet, `sheet_box`.
|
|
1015
|
+
*
|
|
1016
|
+
* @generated from field: novatrail.eval.v1.SheetBox sheet_box = 9;
|
|
1017
|
+
*/
|
|
1018
|
+
sheetBox?: SheetBox | undefined;
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* The frames of the groups, in the order of their labels: on a sheet one for each group, and
|
|
1022
|
+
* none on a workbook.
|
|
1023
|
+
*
|
|
1024
|
+
* @generated from field: repeated novatrail.eval.v1.Frame frames = 10;
|
|
1025
|
+
*/
|
|
1026
|
+
frames: Frame[];
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* The crop, a PNG: grey, 8 bits, with no ancillary chunk.
|
|
1030
|
+
*
|
|
1031
|
+
* @generated from field: bytes png = 11;
|
|
1032
|
+
*/
|
|
1033
|
+
png: Uint8Array;
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* Describes the message novatrail.eval.v1.Crop.
|
|
1038
|
+
* Use `create(CropSchema)` to create a new message.
|
|
1039
|
+
*/
|
|
1040
|
+
export declare const CropSchema: GenMessage<Crop>;
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Where a crop lies on the sheet, in units, [ymin, xmin, ymax, xmax].
|
|
1044
|
+
*
|
|
1045
|
+
* @generated from message novatrail.eval.v1.SheetBox
|
|
1046
|
+
*/
|
|
1047
|
+
export declare type SheetBox = Message<"novatrail.eval.v1.SheetBox"> & {
|
|
1048
|
+
/**
|
|
1049
|
+
* The top edge.
|
|
1050
|
+
*
|
|
1051
|
+
* @generated from field: double ymin = 1;
|
|
1052
|
+
*/
|
|
1053
|
+
ymin: number;
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* The left edge.
|
|
1057
|
+
*
|
|
1058
|
+
* @generated from field: double xmin = 2;
|
|
1059
|
+
*/
|
|
1060
|
+
xmin: number;
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* The bottom edge.
|
|
1064
|
+
*
|
|
1065
|
+
* @generated from field: double ymax = 3;
|
|
1066
|
+
*/
|
|
1067
|
+
ymax: number;
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* The right edge.
|
|
1071
|
+
*
|
|
1072
|
+
* @generated from field: double xmax = 4;
|
|
1073
|
+
*/
|
|
1074
|
+
xmax: number;
|
|
1075
|
+
};
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Describes the message novatrail.eval.v1.SheetBox.
|
|
1079
|
+
* Use `create(SheetBoxSchema)` to create a new message.
|
|
1080
|
+
*/
|
|
1081
|
+
export declare const SheetBoxSchema: GenMessage<SheetBox>;
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* A group's frame on a crop.
|
|
1085
|
+
*
|
|
1086
|
+
* @generated from message novatrail.eval.v1.Frame
|
|
1087
|
+
*/
|
|
1088
|
+
export declare type Frame = Message<"novatrail.eval.v1.Frame"> & {
|
|
1089
|
+
/**
|
|
1090
|
+
* The group's label.
|
|
1091
|
+
*
|
|
1092
|
+
* @generated from field: string label = 1;
|
|
1093
|
+
*/
|
|
1094
|
+
label: string;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Where the ink of its strokes lies on the crop, in whole thousandths of the crop.
|
|
1098
|
+
*
|
|
1099
|
+
* @generated from field: novatrail.observation.v1.CropBox box = 2;
|
|
1100
|
+
*/
|
|
1101
|
+
box?: CropBox | undefined;
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* Describes the message novatrail.eval.v1.Frame.
|
|
1106
|
+
* Use `create(FrameSchema)` to create a new message.
|
|
1107
|
+
*/
|
|
1108
|
+
export declare const FrameSchema: GenMessage<Frame>;
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* What a sample is made for.
|
|
1112
|
+
*
|
|
1113
|
+
* @generated from enum novatrail.eval.v1.Purpose
|
|
1114
|
+
*/
|
|
1115
|
+
export enum Purpose {
|
|
1116
|
+
/**
|
|
1117
|
+
* No purpose: never written. A sample that holds it is not valid.
|
|
1118
|
+
*
|
|
1119
|
+
* @generated from enum value: PURPOSE_UNSPECIFIED = 0;
|
|
1120
|
+
*/
|
|
1121
|
+
UNSPECIFIED = 0,
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* Measurement: a sample for `tutor`'s measurement, kept out of git.
|
|
1125
|
+
*
|
|
1126
|
+
* @generated from enum value: PURPOSE_MEASUREMENT = 1;
|
|
1127
|
+
*/
|
|
1128
|
+
MEASUREMENT = 1,
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* An eval set: a sample that the organizer of an eval set adds to a module's eval set in
|
|
1132
|
+
* `modules`, published and never withdrawn.
|
|
1133
|
+
*
|
|
1134
|
+
* @generated from enum value: PURPOSE_EVAL_SET = 2;
|
|
1135
|
+
*/
|
|
1136
|
+
EVAL_SET = 2,
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* Describes the enum novatrail.eval.v1.Purpose.
|
|
1141
|
+
*/
|
|
1142
|
+
export declare const PurposeSchema: GenEnum<Purpose>;
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* Who wrote a sample.
|
|
1146
|
+
*
|
|
1147
|
+
* @generated from enum novatrail.eval.v1.Writer
|
|
1148
|
+
*/
|
|
1149
|
+
export enum Writer {
|
|
1150
|
+
/**
|
|
1151
|
+
* Nobody: never written. A sample that holds it is not valid.
|
|
1152
|
+
*
|
|
1153
|
+
* @generated from enum value: WRITER_UNSPECIFIED = 0;
|
|
1154
|
+
*/
|
|
1155
|
+
UNSPECIFIED = 0,
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* An adult, in their own hand.
|
|
1159
|
+
*
|
|
1160
|
+
* @generated from enum value: WRITER_ADULT = 1;
|
|
1161
|
+
*/
|
|
1162
|
+
ADULT = 1,
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* An adult imitating a child's hand.
|
|
1166
|
+
*
|
|
1167
|
+
* @generated from enum value: WRITER_ADULT_AS_CHILD = 2;
|
|
1168
|
+
*/
|
|
1169
|
+
ADULT_AS_CHILD = 2,
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* A child: only in a sample of measurement.
|
|
1173
|
+
*
|
|
1174
|
+
* @generated from enum value: WRITER_CHILD = 3;
|
|
1175
|
+
*/
|
|
1176
|
+
CHILD = 3,
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Describes the enum novatrail.eval.v1.Writer.
|
|
1181
|
+
*/
|
|
1182
|
+
export declare const WriterSchema: GenEnum<Writer>;
|
|
1183
|
+
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file novatrail/eval/v1/sample.proto (package novatrail.eval.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
// The sample file of the eval protocol: one sample of writing on a sheet or on a page of a
|
|
6
|
+
// workbook, as the samples page of `canvas` saves it and the eval runner of `tutor` reads it, one
|
|
7
|
+
// JSON file to a sample. Which fields a sample holds, by its purpose and by who wrote it, how the
|
|
8
|
+
// file is written and read, and where a sample may go are the rules of contracts/README.md,
|
|
9
|
+
// section 11.
|
|
10
|
+
|
|
11
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
12
|
+
import { file_novatrail_observation_v1_observation } from "../../observation/v1/observation_pb.js";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the file novatrail/eval/v1/sample.proto.
|
|
16
|
+
*/
|
|
17
|
+
export const file_novatrail_eval_v1_sample = /*@__PURE__*/
|
|
18
|
+
fileDesc("Ch5ub3ZhdHJhaWwvZXZhbC92MS9zYW1wbGUucHJvdG8SEW5vdmF0cmFpbC5ldmFsLnYxIuQECgZTYW1wbGUSEAoIcHJvdG9jb2wYASABKAkSCgoCaWQYAiABKAkSKwoHcHVycG9zZRgDIAEoDjIaLm5vdmF0cmFpbC5ldmFsLnYxLlB1cnBvc2USKQoGd3JpdGVyGAQgASgOMhkubm92YXRyYWlsLmV2YWwudjEuV3JpdGVyEisKBnBlcnNvbhgFIAEoCzIZLm5vdmF0cmFpbC5ldmFsLnYxLlBlcnNvbkgAEjEKCXN5bnRoZXRpYxgGIAEoCzIcLm5vdmF0cmFpbC5ldmFsLnYxLlN5bnRoZXRpY0gAEhgKC3dyaXRlcl9jb2RlGAcgASgJSAOIAQESGAoQdGV4dF9zZXRfdmVyc2lvbhgIIAEoCRIWCg5jYW52YXNfdmVyc2lvbhgJIAEoCRIUCgdsaWNlbnNlGAogASgJSASIAQESLgoEdGFzaxgLIAEoCzIgLm5vdmF0cmFpbC5ldmFsLnYxLlRhc2tSZWZlcmVuY2USLQoHaGlzdG9yeRgMIAEoCzIaLm5vdmF0cmFpbC5ldmFsLnYxLkhpc3RvcnlIARIvCghnZW9tZXRyeRgNIAEoCzIbLm5vdmF0cmFpbC5ldmFsLnYxLkdlb21ldHJ5SAESKQoFc2hlZXQYDiABKAsyGC5ub3ZhdHJhaWwuZXZhbC52MS5TaGVldEgCEi8KCHdvcmtib29rGA8gASgLMhsubm92YXRyYWlsLmV2YWwudjEuV29ya2Jvb2tIAkIICgZvcmlnaW5CBQoDaW5rQgkKB3N1cmZhY2VCDgoMX3dyaXRlcl9jb2RlQgoKCF9saWNlbnNlIggKBlBlcnNvbiIZCglTeW50aGV0aWMSDAoEc2VlZBgBIAEoCSL1AQoNVGFza1JlZmVyZW5jZRIyCgdtb2R1bGVzGAEgASgLMh8ubm92YXRyYWlsLmV2YWwudjEuTW9kdWxlU291cmNlSAASLwoFdHV0b3IYAiABKAsyHi5ub3ZhdHJhaWwuZXZhbC52MS5UdXRvclNvdXJjZUgAEjEKBGZpbGUYAyABKAsyIS5ub3ZhdHJhaWwuZXZhbC52MS5UYXNrRmlsZVNvdXJjZUgAEgwKBHRhc2sYBCABKAkSEQoEc2VlZBgFIAEoCUgBiAEBEhgKEG9wZW5fdmlld19kaWdlc3QYBiABKAlCCAoGc291cmNlQgcKBV9zZWVkIlQKDE1vZHVsZVNvdXJjZRILCgN0YWcYASABKAkSDgoGbW9kdWxlGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSFgoOcGFja2FnZV9kaWdlc3QYBCABKAkiUgoLVHV0b3JTb3VyY2USCwoDdGFnGAEgASgJEhMKC2ZpbGVfZGlnZXN0GAIgASgJEgwKBGJhbmsYAyABKAkSEwoLYmFua19kaWdlc3QYBCABKAkiSAoOVGFza0ZpbGVTb3VyY2USEwoLZmlsZV9kaWdlc3QYASABKAkSDAoEYmFuaxgCIAEoCRITCgtiYW5rX2RpZ2VzdBgDIAEoCSI6CgdIaXN0b3J5Ei8KBmV2ZW50cxgBIAMoCzIfLm5vdmF0cmFpbC5ldmFsLnYxLkhpc3RvcnlFdmVudCLYAQoMSGlzdG9yeUV2ZW50EgwKBHRfbXMYASABKAUSKgoFd3JpdGUYAiABKAsyGS5ub3ZhdHJhaWwuZXZhbC52MS5TdHJva2VIABItCgVlcmFzZRgDIAEoCzIcLm5vdmF0cmFpbC5ldmFsLnYxLlN0cm9rZUlkc0gAEi0KBWNsZWFyGAQgASgLMhwubm92YXRyYWlsLmV2YWwudjEuU3Ryb2tlSWRzSAASJwoEdW5kbxgFIAEoCzIXLm5vdmF0cmFpbC5ldmFsLnYxLlVuZG9IAEIHCgVldmVudCJSCgZTdHJva2USCgoCaWQYASABKAUSDwoHcG9pbnRlchgCIAEoCRIrCgZwb2ludHMYAyADKAsyGy5ub3ZhdHJhaWwuZXZhbC52MS5JbmtQb2ludCIuCghJbmtQb2ludBIJCgF4GAEgASgBEgkKAXkYAiABKAESDAoEdF9tcxgDIAEoBSIYCglTdHJva2VJZHMSCwoDaWRzGAEgAygFIikKBFVuZG8SDwoHcmVtb3ZlZBgBIAMoBRIQCghyZXN0b3JlZBgCIAMoBSI7CghHZW9tZXRyeRIvCgdzdHJva2VzGAEgAygLMh4ubm92YXRyYWlsLmV2YWwudjEuRmluYWxTdHJva2UiSAoLRmluYWxTdHJva2USCgoCaWQYASABKAUSLQoGcG9pbnRzGAIgAygLMh0ubm92YXRyYWlsLmV2YWwudjEuRmluYWxQb2ludCIiCgpGaW5hbFBvaW50EgkKAXgYASABKAESCQoBeRgCIAEoASKRAQoFU2hlZXQSDQoFd2lkdGgYASABKAUSDgoGaGVpZ2h0GAIgASgFEhQKDGRpZ2l0X2hlaWdodBgDIAEoBRIoCgZncm91cHMYBCADKAsyGC5ub3ZhdHJhaWwuZXZhbC52MS5Hcm91cBIpCgVjcm9wcxgFIAEoCzIaLm5vdmF0cmFpbC5ldmFsLnYxLkNyb3BTZXQiKgoFR3JvdXASDQoFbGFiZWwYASABKAkSEgoKc3Ryb2tlX2lkcxgCIAMoBSKeAQoIV29ya2Jvb2sSDQoFd2lkdGgYASABKAUSDgoGaGVpZ2h0GAIgASgFEhQKDGRpZ2l0X2hlaWdodBgDIAEoBRIpCgVib3hlcxgEIAMoCzIaLm5vdmF0cmFpbC5ldmFsLnYxLlBhZ2VCb3gSMgoMZmlsbGVkX2JveGVzGAUgAygLMhwubm92YXRyYWlsLmV2YWwudjEuRmlsbGVkQm94IoMBCgdQYWdlQm94Ej4KC2Fuc3dlcl9zbG90GAEgASgLMikubm92YXRyYWlsLm9ic2VydmF0aW9uLnYxLkFuc3dlclNsb3RQbGFjZRIMCgRsZWZ0GAIgASgFEgsKA3RvcBgDIAEoBRINCgV3aWR0aBgEIAEoBRIOCgZoZWlnaHQYBSABKAUiigEKCUZpbGxlZEJveBI+CgthbnN3ZXJfc2xvdBgBIAEoCzIpLm5vdmF0cmFpbC5vYnNlcnZhdGlvbi52MS5BbnN3ZXJTbG90UGxhY2USEgoKc3Ryb2tlX2lkcxgCIAMoBRIpCgVjcm9wcxgDIAEoCzIaLm5vdmF0cmFpbC5ldmFsLnYxLkNyb3BTZXQidwoHQ3JvcFNldBItCgdpbmtfYm94GAEgASgLMhwubm92YXRyYWlsLmV2YWwudjEuVGVudGhzQm94EhUKDWJ1bmRsZV9tZWRpYW4YAiABKAUSJgoFY3JvcHMYAyADKAsyFy5ub3ZhdHJhaWwuZXZhbC52MS5Dcm9wIkMKCVRlbnRoc0JveBIMCgR5bWluGAEgASgFEgwKBHhtaW4YAiABKAUSDAoEeW1heBgDIAEoBRIMCgR4bWF4GAQgASgFIoQCCgRDcm9wEhQKDGRpZ2l0X2hlaWdodBgBIAEoBRIUCgxkcmF3bl9oZWlnaHQYAiABKAUSDQoFd2lkdGgYAyABKAUSDgoGaGVpZ2h0GAQgASgFEhIKCm1hcmdpbl90b3AYBSABKAUSEwoLbWFyZ2luX2xlZnQYBiABKAUSDQoFc2NhbGUYByABKAESEgoKbGluZV93aWR0aBgIIAEoARIuCglzaGVldF9ib3gYCSABKAsyGy5ub3ZhdHJhaWwuZXZhbC52MS5TaGVldEJveBIoCgZmcmFtZXMYCiADKAsyGC5ub3ZhdHJhaWwuZXZhbC52MS5GcmFtZRILCgNwbmcYCyABKAwiQgoIU2hlZXRCb3gSDAoEeW1pbhgBIAEoARIMCgR4bWluGAIgASgBEgwKBHltYXgYAyABKAESDAoEeG1heBgEIAEoASJGCgVGcmFtZRINCgVsYWJlbBgBIAEoCRIuCgNib3gYAiABKAsyIS5ub3ZhdHJhaWwub2JzZXJ2YXRpb24udjEuQ3JvcEJveCpRCgdQdXJwb3NlEhcKE1BVUlBPU0VfVU5TUEVDSUZJRUQQABIXChNQVVJQT1NFX01FQVNVUkVNRU5UEAESFAoQUFVSUE9TRV9FVkFMX1NFVBACKl8KBldyaXRlchIWChJXUklURVJfVU5TUEVDSUZJRUQQABIQCgxXUklURVJfQURVTFQQARIZChVXUklURVJfQURVTFRfQVNfQ0hJTEQQAhIQCgxXUklURVJfQ0hJTEQQA0LNAQoVY29tLm5vdmF0cmFpbC5ldmFsLnYxQgtTYW1wbGVQcm90b1ABWj9naXRodWIuY29tL2FsdG5vdmF0cmFpbC9zcGVjL2NvbnRyYWN0cy9ub3ZhdHJhaWwvZXZhbC92MTtldmFsdjGiAgNORViqAhFOb3ZhdHJhaWwuRXZhbC5WMcoCEk5vdmF0cmFpbFxFdmFsX1xWMeICHk5vdmF0cmFpbFxFdmFsX1xWMVxHUEJNZXRhZGF0YeoCE05vdmF0cmFpbDo6RXZhbDo6VjFiBnByb3RvMw", [file_novatrail_observation_v1_observation]);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message novatrail.eval.v1.Sample.
|
|
22
|
+
* Use `create(SampleSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const SampleSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_novatrail_eval_v1_sample, 0);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message novatrail.eval.v1.Person.
|
|
29
|
+
* Use `create(PersonSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const PersonSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_novatrail_eval_v1_sample, 1);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message novatrail.eval.v1.Synthetic.
|
|
36
|
+
* Use `create(SyntheticSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const SyntheticSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_novatrail_eval_v1_sample, 2);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message novatrail.eval.v1.TaskReference.
|
|
43
|
+
* Use `create(TaskReferenceSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const TaskReferenceSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_novatrail_eval_v1_sample, 3);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message novatrail.eval.v1.ModuleSource.
|
|
50
|
+
* Use `create(ModuleSourceSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const ModuleSourceSchema = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_novatrail_eval_v1_sample, 4);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message novatrail.eval.v1.TutorSource.
|
|
57
|
+
* Use `create(TutorSourceSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const TutorSourceSchema = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_novatrail_eval_v1_sample, 5);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message novatrail.eval.v1.TaskFileSource.
|
|
64
|
+
* Use `create(TaskFileSourceSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const TaskFileSourceSchema = /*@__PURE__*/
|
|
67
|
+
messageDesc(file_novatrail_eval_v1_sample, 6);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message novatrail.eval.v1.History.
|
|
71
|
+
* Use `create(HistorySchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const HistorySchema = /*@__PURE__*/
|
|
74
|
+
messageDesc(file_novatrail_eval_v1_sample, 7);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message novatrail.eval.v1.HistoryEvent.
|
|
78
|
+
* Use `create(HistoryEventSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const HistoryEventSchema = /*@__PURE__*/
|
|
81
|
+
messageDesc(file_novatrail_eval_v1_sample, 8);
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message novatrail.eval.v1.Stroke.
|
|
85
|
+
* Use `create(StrokeSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export const StrokeSchema = /*@__PURE__*/
|
|
88
|
+
messageDesc(file_novatrail_eval_v1_sample, 9);
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message novatrail.eval.v1.InkPoint.
|
|
92
|
+
* Use `create(InkPointSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export const InkPointSchema = /*@__PURE__*/
|
|
95
|
+
messageDesc(file_novatrail_eval_v1_sample, 10);
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message novatrail.eval.v1.StrokeIds.
|
|
99
|
+
* Use `create(StrokeIdsSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export const StrokeIdsSchema = /*@__PURE__*/
|
|
102
|
+
messageDesc(file_novatrail_eval_v1_sample, 11);
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message novatrail.eval.v1.Undo.
|
|
106
|
+
* Use `create(UndoSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export const UndoSchema = /*@__PURE__*/
|
|
109
|
+
messageDesc(file_novatrail_eval_v1_sample, 12);
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Describes the message novatrail.eval.v1.Geometry.
|
|
113
|
+
* Use `create(GeometrySchema)` to create a new message.
|
|
114
|
+
*/
|
|
115
|
+
export const GeometrySchema = /*@__PURE__*/
|
|
116
|
+
messageDesc(file_novatrail_eval_v1_sample, 13);
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message novatrail.eval.v1.FinalStroke.
|
|
120
|
+
* Use `create(FinalStrokeSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export const FinalStrokeSchema = /*@__PURE__*/
|
|
123
|
+
messageDesc(file_novatrail_eval_v1_sample, 14);
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Describes the message novatrail.eval.v1.FinalPoint.
|
|
127
|
+
* Use `create(FinalPointSchema)` to create a new message.
|
|
128
|
+
*/
|
|
129
|
+
export const FinalPointSchema = /*@__PURE__*/
|
|
130
|
+
messageDesc(file_novatrail_eval_v1_sample, 15);
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Describes the message novatrail.eval.v1.Sheet.
|
|
134
|
+
* Use `create(SheetSchema)` to create a new message.
|
|
135
|
+
*/
|
|
136
|
+
export const SheetSchema = /*@__PURE__*/
|
|
137
|
+
messageDesc(file_novatrail_eval_v1_sample, 16);
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message novatrail.eval.v1.Group.
|
|
141
|
+
* Use `create(GroupSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
export const GroupSchema = /*@__PURE__*/
|
|
144
|
+
messageDesc(file_novatrail_eval_v1_sample, 17);
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Describes the message novatrail.eval.v1.Workbook.
|
|
148
|
+
* Use `create(WorkbookSchema)` to create a new message.
|
|
149
|
+
*/
|
|
150
|
+
export const WorkbookSchema = /*@__PURE__*/
|
|
151
|
+
messageDesc(file_novatrail_eval_v1_sample, 18);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message novatrail.eval.v1.PageBox.
|
|
155
|
+
* Use `create(PageBoxSchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export const PageBoxSchema = /*@__PURE__*/
|
|
158
|
+
messageDesc(file_novatrail_eval_v1_sample, 19);
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Describes the message novatrail.eval.v1.FilledBox.
|
|
162
|
+
* Use `create(FilledBoxSchema)` to create a new message.
|
|
163
|
+
*/
|
|
164
|
+
export const FilledBoxSchema = /*@__PURE__*/
|
|
165
|
+
messageDesc(file_novatrail_eval_v1_sample, 20);
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Describes the message novatrail.eval.v1.CropSet.
|
|
169
|
+
* Use `create(CropSetSchema)` to create a new message.
|
|
170
|
+
*/
|
|
171
|
+
export const CropSetSchema = /*@__PURE__*/
|
|
172
|
+
messageDesc(file_novatrail_eval_v1_sample, 21);
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Describes the message novatrail.eval.v1.TenthsBox.
|
|
176
|
+
* Use `create(TenthsBoxSchema)` to create a new message.
|
|
177
|
+
*/
|
|
178
|
+
export const TenthsBoxSchema = /*@__PURE__*/
|
|
179
|
+
messageDesc(file_novatrail_eval_v1_sample, 22);
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message novatrail.eval.v1.Crop.
|
|
183
|
+
* Use `create(CropSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export const CropSchema = /*@__PURE__*/
|
|
186
|
+
messageDesc(file_novatrail_eval_v1_sample, 23);
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Describes the message novatrail.eval.v1.SheetBox.
|
|
190
|
+
* Use `create(SheetBoxSchema)` to create a new message.
|
|
191
|
+
*/
|
|
192
|
+
export const SheetBoxSchema = /*@__PURE__*/
|
|
193
|
+
messageDesc(file_novatrail_eval_v1_sample, 24);
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Describes the message novatrail.eval.v1.Frame.
|
|
197
|
+
* Use `create(FrameSchema)` to create a new message.
|
|
198
|
+
*/
|
|
199
|
+
export const FrameSchema = /*@__PURE__*/
|
|
200
|
+
messageDesc(file_novatrail_eval_v1_sample, 25);
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Describes the enum novatrail.eval.v1.Purpose.
|
|
204
|
+
*/
|
|
205
|
+
export const PurposeSchema = /*@__PURE__*/
|
|
206
|
+
enumDesc(file_novatrail_eval_v1_sample, 0);
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* What a sample is made for.
|
|
210
|
+
*
|
|
211
|
+
* @generated from enum novatrail.eval.v1.Purpose
|
|
212
|
+
*/
|
|
213
|
+
export const Purpose = /*@__PURE__*/
|
|
214
|
+
tsEnum(PurposeSchema);
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Describes the enum novatrail.eval.v1.Writer.
|
|
218
|
+
*/
|
|
219
|
+
export const WriterSchema = /*@__PURE__*/
|
|
220
|
+
enumDesc(file_novatrail_eval_v1_sample, 1);
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Who wrote a sample.
|
|
224
|
+
*
|
|
225
|
+
* @generated from enum novatrail.eval.v1.Writer
|
|
226
|
+
*/
|
|
227
|
+
export const Writer = /*@__PURE__*/
|
|
228
|
+
tsEnum(WriterSchema);
|
|
229
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@altnovatrail/contracts",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
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": {
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
11
|
"exports": {
|
|
12
|
+
"./novatrail/eval/v1/sample_pb.js": {
|
|
13
|
+
"types": "./novatrail/eval/v1/sample_pb.d.ts",
|
|
14
|
+
"default": "./novatrail/eval/v1/sample_pb.js"
|
|
15
|
+
},
|
|
12
16
|
"./novatrail/observation/v1/observation_pb.js": {
|
|
13
17
|
"types": "./novatrail/observation/v1/observation_pb.d.ts",
|
|
14
18
|
"default": "./novatrail/observation/v1/observation_pb.js"
|