@altnovatrail/contracts 0.8.2 → 0.8.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/api/v1/account_pb.d.ts +24 -8
- package/novatrail/api/v1/account_pb.js +2 -1
- package/novatrail/api/v1/attempt_pb.d.ts +72 -2
- package/novatrail/api/v1/attempt_pb.js +13 -4
- package/novatrail/api/v1/cause_pb.d.ts +367 -12
- package/novatrail/api/v1/cause_pb.js +76 -3
- package/novatrail/api/v1/learning_pb.d.ts +754 -0
- package/novatrail/api/v1/learning_pb.js +171 -0
- package/novatrail/api/v1/module_pb.d.ts +320 -0
- package/novatrail/api/v1/module_pb.js +102 -0
- package/novatrail/api/v1/package_pb.d.ts +401 -0
- package/novatrail/api/v1/package_pb.js +133 -0
- package/novatrail/api/v1/progress_pb.d.ts +631 -0
- package/novatrail/api/v1/progress_pb.js +143 -0
- package/package.json +17 -1
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file novatrail/api/v1/package.proto (package novatrail.api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
// What a package of a module gives by its digest, in the contract between `app` and `api`: the
|
|
6
|
+
// open views of its manifest, skill graph, technique catalog and solving steps, which go without a
|
|
7
|
+
// token, and whether the image of `api` still gives a package. The files of a package's device
|
|
8
|
+
// part are no method of the contract: they go by HTTP GET, as contracts/README.md, section 15, has
|
|
9
|
+
// it, with the rules of the whole contract.
|
|
10
|
+
|
|
11
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
12
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the file novatrail/api/v1/package.proto.
|
|
16
|
+
*/
|
|
17
|
+
export declare const file_novatrail_api_v1_package: GenFile;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* An open view of a part of a module: what the learner's app receives of the part, without its
|
|
21
|
+
* closed fields (section 6 of the module format). `app` and `api` read it by the types of the
|
|
22
|
+
* module format, `open` of `@altnovatrail/spec` and of the Go module `spec`.
|
|
23
|
+
*
|
|
24
|
+
* @generated from message novatrail.api.v1.OpenView
|
|
25
|
+
*/
|
|
26
|
+
export declare type OpenView = Message<"novatrail.api.v1.OpenView"> & {
|
|
27
|
+
/**
|
|
28
|
+
* The open view, as JSON of the module format.
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: bytes json = 1;
|
|
31
|
+
*/
|
|
32
|
+
json: Uint8Array;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The version of the module format the view is written in, MAJOR.MINOR: `app` reads a view of a
|
|
36
|
+
* version its build reads, and offers to reload for another (R44).
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string module_format_version = 2;
|
|
39
|
+
*/
|
|
40
|
+
moduleFormatVersion: string;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message novatrail.api.v1.OpenView.
|
|
45
|
+
* Use `create(OpenViewSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export declare const OpenViewSchema: GenMessage<OpenView>;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* A request for the open view of a manifest.
|
|
51
|
+
*
|
|
52
|
+
* @generated from message novatrail.api.v1.GetManifestRequest
|
|
53
|
+
*/
|
|
54
|
+
export declare type GetManifestRequest = Message<"novatrail.api.v1.GetManifestRequest"> & {
|
|
55
|
+
/**
|
|
56
|
+
* The package digest, `sha256:` and 64 lowercase hexadecimal digits.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string package_digest = 1;
|
|
59
|
+
*/
|
|
60
|
+
packageDigest: string;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message novatrail.api.v1.GetManifestRequest.
|
|
65
|
+
* Use `create(GetManifestRequestSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export declare const GetManifestRequestSchema: GenMessage<GetManifestRequest>;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The open view of a manifest.
|
|
71
|
+
*
|
|
72
|
+
* @generated from message novatrail.api.v1.GetManifestResponse
|
|
73
|
+
*/
|
|
74
|
+
export declare type GetManifestResponse = Message<"novatrail.api.v1.GetManifestResponse"> & {
|
|
75
|
+
/**
|
|
76
|
+
* The open view of the package's manifest.
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: novatrail.api.v1.OpenView manifest = 1;
|
|
79
|
+
*/
|
|
80
|
+
manifest?: OpenView | undefined;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message novatrail.api.v1.GetManifestResponse.
|
|
85
|
+
* Use `create(GetManifestResponseSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export declare const GetManifestResponseSchema: GenMessage<GetManifestResponse>;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* A request for the open view of a skill graph.
|
|
91
|
+
*
|
|
92
|
+
* @generated from message novatrail.api.v1.GetSkillGraphRequest
|
|
93
|
+
*/
|
|
94
|
+
export declare type GetSkillGraphRequest = Message<"novatrail.api.v1.GetSkillGraphRequest"> & {
|
|
95
|
+
/**
|
|
96
|
+
* The package digest.
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: string package_digest = 1;
|
|
99
|
+
*/
|
|
100
|
+
packageDigest: string;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message novatrail.api.v1.GetSkillGraphRequest.
|
|
105
|
+
* Use `create(GetSkillGraphRequestSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const GetSkillGraphRequestSchema: GenMessage<GetSkillGraphRequest>;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The open view of a skill graph, with its tiers.
|
|
111
|
+
*
|
|
112
|
+
* @generated from message novatrail.api.v1.GetSkillGraphResponse
|
|
113
|
+
*/
|
|
114
|
+
export declare type GetSkillGraphResponse = Message<"novatrail.api.v1.GetSkillGraphResponse"> & {
|
|
115
|
+
/**
|
|
116
|
+
* The open view of the package's skill graph: absent when the module has none.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: novatrail.api.v1.OpenView skill_graph = 1;
|
|
119
|
+
*/
|
|
120
|
+
skillGraph?: OpenView | undefined;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The tier of each skill of the graph, by its local ID, as section 12 of the module format
|
|
124
|
+
* computes it and the canonical view of the package holds it, `skill_tiers`: no field of the
|
|
125
|
+
* graph, nor of its open view.
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: map<string, int32> skill_tiers = 2;
|
|
128
|
+
*/
|
|
129
|
+
skillTiers: { [key: string]: number };
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Describes the message novatrail.api.v1.GetSkillGraphResponse.
|
|
134
|
+
* Use `create(GetSkillGraphResponseSchema)` to create a new message.
|
|
135
|
+
*/
|
|
136
|
+
export declare const GetSkillGraphResponseSchema: GenMessage<GetSkillGraphResponse>;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* A request for the open view of a technique catalog.
|
|
140
|
+
*
|
|
141
|
+
* @generated from message novatrail.api.v1.GetTechniquesRequest
|
|
142
|
+
*/
|
|
143
|
+
export declare type GetTechniquesRequest = Message<"novatrail.api.v1.GetTechniquesRequest"> & {
|
|
144
|
+
/**
|
|
145
|
+
* The package digest.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: string package_digest = 1;
|
|
148
|
+
*/
|
|
149
|
+
packageDigest: string;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message novatrail.api.v1.GetTechniquesRequest.
|
|
154
|
+
* Use `create(GetTechniquesRequestSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export declare const GetTechniquesRequestSchema: GenMessage<GetTechniquesRequest>;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* The open view of a technique catalog.
|
|
160
|
+
*
|
|
161
|
+
* @generated from message novatrail.api.v1.GetTechniquesResponse
|
|
162
|
+
*/
|
|
163
|
+
export declare type GetTechniquesResponse = Message<"novatrail.api.v1.GetTechniquesResponse"> & {
|
|
164
|
+
/**
|
|
165
|
+
* The open view of the package's technique catalog: absent when the module has none.
|
|
166
|
+
*
|
|
167
|
+
* @generated from field: novatrail.api.v1.OpenView techniques = 1;
|
|
168
|
+
*/
|
|
169
|
+
techniques?: OpenView | undefined;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Describes the message novatrail.api.v1.GetTechniquesResponse.
|
|
174
|
+
* Use `create(GetTechniquesResponseSchema)` to create a new message.
|
|
175
|
+
*/
|
|
176
|
+
export declare const GetTechniquesResponseSchema: GenMessage<GetTechniquesResponse>;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* A request for the open view of solving steps.
|
|
180
|
+
*
|
|
181
|
+
* @generated from message novatrail.api.v1.GetSolvingStepsRequest
|
|
182
|
+
*/
|
|
183
|
+
export declare type GetSolvingStepsRequest = Message<"novatrail.api.v1.GetSolvingStepsRequest"> & {
|
|
184
|
+
/**
|
|
185
|
+
* The package digest.
|
|
186
|
+
*
|
|
187
|
+
* @generated from field: string package_digest = 1;
|
|
188
|
+
*/
|
|
189
|
+
packageDigest: string;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Describes the message novatrail.api.v1.GetSolvingStepsRequest.
|
|
194
|
+
* Use `create(GetSolvingStepsRequestSchema)` to create a new message.
|
|
195
|
+
*/
|
|
196
|
+
export declare const GetSolvingStepsRequestSchema: GenMessage<GetSolvingStepsRequest>;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* The open view of solving steps.
|
|
200
|
+
*
|
|
201
|
+
* @generated from message novatrail.api.v1.GetSolvingStepsResponse
|
|
202
|
+
*/
|
|
203
|
+
export declare type GetSolvingStepsResponse = Message<"novatrail.api.v1.GetSolvingStepsResponse"> & {
|
|
204
|
+
/**
|
|
205
|
+
* The open view of the package's solving steps: absent when the module has none.
|
|
206
|
+
*
|
|
207
|
+
* @generated from field: novatrail.api.v1.OpenView solving_steps = 1;
|
|
208
|
+
*/
|
|
209
|
+
solvingSteps?: OpenView | undefined;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Describes the message novatrail.api.v1.GetSolvingStepsResponse.
|
|
214
|
+
* Use `create(GetSolvingStepsResponseSchema)` to create a new message.
|
|
215
|
+
*/
|
|
216
|
+
export declare const GetSolvingStepsResponseSchema: GenMessage<GetSolvingStepsResponse>;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* A request on which packages the image of `api` still gives.
|
|
220
|
+
*
|
|
221
|
+
* @generated from message novatrail.api.v1.CheckPackagesRequest
|
|
222
|
+
*/
|
|
223
|
+
export declare type CheckPackagesRequest = Message<"novatrail.api.v1.CheckPackagesRequest"> & {
|
|
224
|
+
/**
|
|
225
|
+
* The package digests, each `sha256:` and 64 lowercase hexadecimal digits.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: repeated string package_digests = 1;
|
|
228
|
+
*/
|
|
229
|
+
packageDigests: string[];
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Describes the message novatrail.api.v1.CheckPackagesRequest.
|
|
234
|
+
* Use `create(CheckPackagesRequestSchema)` to create a new message.
|
|
235
|
+
*/
|
|
236
|
+
export declare const CheckPackagesRequestSchema: GenMessage<CheckPackagesRequest>;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Which packages the image of `api` still gives.
|
|
240
|
+
*
|
|
241
|
+
* @generated from message novatrail.api.v1.CheckPackagesResponse
|
|
242
|
+
*/
|
|
243
|
+
export declare type CheckPackagesResponse = Message<"novatrail.api.v1.CheckPackagesResponse"> & {
|
|
244
|
+
/**
|
|
245
|
+
* Each digest of the request, in its order, with whether the image gives it.
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: repeated novatrail.api.v1.PackageCheck packages = 1;
|
|
248
|
+
*/
|
|
249
|
+
packages: PackageCheck[];
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Describes the message novatrail.api.v1.CheckPackagesResponse.
|
|
254
|
+
* Use `create(CheckPackagesResponseSchema)` to create a new message.
|
|
255
|
+
*/
|
|
256
|
+
export declare const CheckPackagesResponseSchema: GenMessage<CheckPackagesResponse>;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Whether the image of `api` gives a package.
|
|
260
|
+
*
|
|
261
|
+
* @generated from message novatrail.api.v1.PackageCheck
|
|
262
|
+
*/
|
|
263
|
+
export declare type PackageCheck = Message<"novatrail.api.v1.PackageCheck"> & {
|
|
264
|
+
/**
|
|
265
|
+
* The package digest.
|
|
266
|
+
*
|
|
267
|
+
* @generated from field: string package_digest = 1;
|
|
268
|
+
*/
|
|
269
|
+
packageDigest: string;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Whether the image gives it.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: novatrail.api.v1.PackageStatus status = 2;
|
|
275
|
+
*/
|
|
276
|
+
status: PackageStatus;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message novatrail.api.v1.PackageCheck.
|
|
281
|
+
* Use `create(PackageCheckSchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
export declare const PackageCheckSchema: GenMessage<PackageCheck>;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Whether the image of `api` gives a package. A status its build does not know `app` reads as
|
|
287
|
+
* `PACKAGE_STATUS_UNKNOWN`.
|
|
288
|
+
*
|
|
289
|
+
* @generated from enum novatrail.api.v1.PackageStatus
|
|
290
|
+
*/
|
|
291
|
+
export enum PackageStatus {
|
|
292
|
+
/**
|
|
293
|
+
* Not named: never sent.
|
|
294
|
+
*
|
|
295
|
+
* @generated from enum value: PACKAGE_STATUS_UNSPECIFIED = 0;
|
|
296
|
+
*/
|
|
297
|
+
UNSPECIFIED = 0,
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* The image gives the package: its open views and the files of its device part.
|
|
301
|
+
*
|
|
302
|
+
* @generated from enum value: PACKAGE_STATUS_GIVEN = 1;
|
|
303
|
+
*/
|
|
304
|
+
GIVEN = 1,
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* The image no longer gives the package: its version is withdrawn, or its module format is out of
|
|
308
|
+
* the window of formats that `api` reads. `app` erases its open views.
|
|
309
|
+
*
|
|
310
|
+
* @generated from enum value: PACKAGE_STATUS_NOT_GIVEN = 2;
|
|
311
|
+
*/
|
|
312
|
+
NOT_GIVEN = 2,
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* The index of the image does not know the digest: a deployment is going on, or the digest is
|
|
316
|
+
* no package's. `app` asks again later.
|
|
317
|
+
*
|
|
318
|
+
* @generated from enum value: PACKAGE_STATUS_UNKNOWN = 3;
|
|
319
|
+
*/
|
|
320
|
+
UNKNOWN = 3,
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Describes the enum novatrail.api.v1.PackageStatus.
|
|
325
|
+
*/
|
|
326
|
+
export declare const PackageStatusSchema: GenEnum<PackageStatus>;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* What a package of a module gives by its digest (R62). The four open views go without a token and
|
|
330
|
+
* without the ID of a profile, by Connect GET: each method has the idempotency level
|
|
331
|
+
* `NO_SIDE_EFFECTS`, and `app` calls it with no header — no `Connect-Timeout-Ms` either, which would
|
|
332
|
+
* make the request not simple and send a preflight before it. They go for any package that the
|
|
333
|
+
* image of `api` gives: the package of an attempt or of a lesson run, and the current version of a
|
|
334
|
+
* module in the catalog or connected. Their refusals: `CAUSE_VERSION_NOT_GIVEN`, and
|
|
335
|
+
* `CAUSE_PACKAGE_UNKNOWN`; a digest that is not one, `invalid_argument` with no `Refusal`.
|
|
336
|
+
* `CheckPackages` carries the token of the sign-in service and may get the refusals of every
|
|
337
|
+
* request with a token, which the comment of `AccountService` names.
|
|
338
|
+
*
|
|
339
|
+
* @generated from service novatrail.api.v1.PackageService
|
|
340
|
+
*/
|
|
341
|
+
export declare const PackageService: GenService<{
|
|
342
|
+
/**
|
|
343
|
+
* The open view of the manifest of a package: `app` caches it by the digest, gives it to the
|
|
344
|
+
* canvas with each task of the package, and reads in it the title and the explanation language of
|
|
345
|
+
* a module before its first attempt (R92).
|
|
346
|
+
*
|
|
347
|
+
* @generated from rpc novatrail.api.v1.PackageService.GetManifest
|
|
348
|
+
*/
|
|
349
|
+
getManifest: {
|
|
350
|
+
methodKind: "unary";
|
|
351
|
+
input: typeof GetManifestRequestSchema;
|
|
352
|
+
output: typeof GetManifestResponseSchema;
|
|
353
|
+
},
|
|
354
|
+
/**
|
|
355
|
+
* The open view of the skill graph of a package, with the tier of each skill: what the skill map
|
|
356
|
+
* draws, and what `app` reads a sequential module by (R58).
|
|
357
|
+
*
|
|
358
|
+
* @generated from rpc novatrail.api.v1.PackageService.GetSkillGraph
|
|
359
|
+
*/
|
|
360
|
+
getSkillGraph: {
|
|
361
|
+
methodKind: "unary";
|
|
362
|
+
input: typeof GetSkillGraphRequestSchema;
|
|
363
|
+
output: typeof GetSkillGraphResponseSchema;
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
* The open view of the technique catalog of a package: the techniques whose IDs a step or a hint
|
|
367
|
+
* gives.
|
|
368
|
+
*
|
|
369
|
+
* @generated from rpc novatrail.api.v1.PackageService.GetTechniques
|
|
370
|
+
*/
|
|
371
|
+
getTechniques: {
|
|
372
|
+
methodKind: "unary";
|
|
373
|
+
input: typeof GetTechniquesRequestSchema;
|
|
374
|
+
output: typeof GetTechniquesResponseSchema;
|
|
375
|
+
},
|
|
376
|
+
/**
|
|
377
|
+
* The open view of the solving steps of a package, which `app` leads in the mode "by steps".
|
|
378
|
+
*
|
|
379
|
+
* @generated from rpc novatrail.api.v1.PackageService.GetSolvingSteps
|
|
380
|
+
*/
|
|
381
|
+
getSolvingSteps: {
|
|
382
|
+
methodKind: "unary";
|
|
383
|
+
input: typeof GetSolvingStepsRequestSchema;
|
|
384
|
+
output: typeof GetSolvingStepsResponseSchema;
|
|
385
|
+
},
|
|
386
|
+
/**
|
|
387
|
+
* Which of the digests named the image of `api` still gives: of the account of the token, with
|
|
388
|
+
* no ID of a profile, and `api` keeps none of them. `app` asks it when it starts, about the
|
|
389
|
+
* digests whose open views it keeps, and after `CAUSE_VERSION_NOT_GIVEN` or an answer `410` to a
|
|
390
|
+
* file of a device part. It erases the open views of a digest no longer given, and asks about a
|
|
391
|
+
* digest not known later.
|
|
392
|
+
*
|
|
393
|
+
* @generated from rpc novatrail.api.v1.PackageService.CheckPackages
|
|
394
|
+
*/
|
|
395
|
+
checkPackages: {
|
|
396
|
+
methodKind: "unary";
|
|
397
|
+
input: typeof CheckPackagesRequestSchema;
|
|
398
|
+
output: typeof CheckPackagesResponseSchema;
|
|
399
|
+
},
|
|
400
|
+
}>;
|
|
401
|
+
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file novatrail/api/v1/package.proto (package novatrail.api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
// What a package of a module gives by its digest, in the contract between `app` and `api`: the
|
|
6
|
+
// open views of its manifest, skill graph, technique catalog and solving steps, which go without a
|
|
7
|
+
// token, and whether the image of `api` still gives a package. The files of a package's device
|
|
8
|
+
// part are no method of the contract: they go by HTTP GET, as contracts/README.md, section 15, has
|
|
9
|
+
// it, with the rules of the whole contract.
|
|
10
|
+
|
|
11
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file novatrail/api/v1/package.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_novatrail_api_v1_package = /*@__PURE__*/
|
|
17
|
+
fileDesc("Ch5ub3ZhdHJhaWwvYXBpL3YxL3BhY2thZ2UucHJvdG8SEG5vdmF0cmFpbC5hcGkudjEiNwoIT3BlblZpZXcSDAoEanNvbhgBIAEoDBIdChVtb2R1bGVfZm9ybWF0X3ZlcnNpb24YAiABKAkiLAoSR2V0TWFuaWZlc3RSZXF1ZXN0EhYKDnBhY2thZ2VfZGlnZXN0GAEgASgJIkMKE0dldE1hbmlmZXN0UmVzcG9uc2USLAoIbWFuaWZlc3QYASABKAsyGi5ub3ZhdHJhaWwuYXBpLnYxLk9wZW5WaWV3Ii4KFEdldFNraWxsR3JhcGhSZXF1ZXN0EhYKDnBhY2thZ2VfZGlnZXN0GAEgASgJIskBChVHZXRTa2lsbEdyYXBoUmVzcG9uc2USLwoLc2tpbGxfZ3JhcGgYASABKAsyGi5ub3ZhdHJhaWwuYXBpLnYxLk9wZW5WaWV3EkwKC3NraWxsX3RpZXJzGAIgAygLMjcubm92YXRyYWlsLmFwaS52MS5HZXRTa2lsbEdyYXBoUmVzcG9uc2UuU2tpbGxUaWVyc0VudHJ5GjEKD1NraWxsVGllcnNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAU6AjgBIi4KFEdldFRlY2huaXF1ZXNSZXF1ZXN0EhYKDnBhY2thZ2VfZGlnZXN0GAEgASgJIkcKFUdldFRlY2huaXF1ZXNSZXNwb25zZRIuCgp0ZWNobmlxdWVzGAEgASgLMhoubm92YXRyYWlsLmFwaS52MS5PcGVuVmlldyIwChZHZXRTb2x2aW5nU3RlcHNSZXF1ZXN0EhYKDnBhY2thZ2VfZGlnZXN0GAEgASgJIkwKF0dldFNvbHZpbmdTdGVwc1Jlc3BvbnNlEjEKDXNvbHZpbmdfc3RlcHMYASABKAsyGi5ub3ZhdHJhaWwuYXBpLnYxLk9wZW5WaWV3Ii8KFENoZWNrUGFja2FnZXNSZXF1ZXN0EhcKD3BhY2thZ2VfZGlnZXN0cxgBIAMoCSJJChVDaGVja1BhY2thZ2VzUmVzcG9uc2USMAoIcGFja2FnZXMYASADKAsyHi5ub3ZhdHJhaWwuYXBpLnYxLlBhY2thZ2VDaGVjayJXCgxQYWNrYWdlQ2hlY2sSFgoOcGFja2FnZV9kaWdlc3QYASABKAkSLwoGc3RhdHVzGAIgASgOMh8ubm92YXRyYWlsLmFwaS52MS5QYWNrYWdlU3RhdHVzKoMBCg1QYWNrYWdlU3RhdHVzEh4KGlBBQ0tBR0VfU1RBVFVTX1VOU1BFQ0lGSUVEEAASGAoUUEFDS0FHRV9TVEFUVVNfR0lWRU4QARIcChhQQUNLQUdFX1NUQVRVU19OT1RfR0lWRU4QAhIaChZQQUNLQUdFX1NUQVRVU19VTktOT1dOEAMyjgQKDlBhY2thZ2VTZXJ2aWNlEl8KC0dldE1hbmlmZXN0EiQubm92YXRyYWlsLmFwaS52MS5HZXRNYW5pZmVzdFJlcXVlc3QaJS5ub3ZhdHJhaWwuYXBpLnYxLkdldE1hbmlmZXN0UmVzcG9uc2UiA5ACARJlCg1HZXRTa2lsbEdyYXBoEiYubm92YXRyYWlsLmFwaS52MS5HZXRTa2lsbEdyYXBoUmVxdWVzdBonLm5vdmF0cmFpbC5hcGkudjEuR2V0U2tpbGxHcmFwaFJlc3BvbnNlIgOQAgESZQoNR2V0VGVjaG5pcXVlcxImLm5vdmF0cmFpbC5hcGkudjEuR2V0VGVjaG5pcXVlc1JlcXVlc3QaJy5ub3ZhdHJhaWwuYXBpLnYxLkdldFRlY2huaXF1ZXNSZXNwb25zZSIDkAIBEmsKD0dldFNvbHZpbmdTdGVwcxIoLm5vdmF0cmFpbC5hcGkudjEuR2V0U29sdmluZ1N0ZXBzUmVxdWVzdBopLm5vdmF0cmFpbC5hcGkudjEuR2V0U29sdmluZ1N0ZXBzUmVzcG9uc2UiA5ACARJgCg1DaGVja1BhY2thZ2VzEiYubm92YXRyYWlsLmFwaS52MS5DaGVja1BhY2thZ2VzUmVxdWVzdBonLm5vdmF0cmFpbC5hcGkudjEuQ2hlY2tQYWNrYWdlc1Jlc3BvbnNlQsUBChRjb20ubm92YXRyYWlsLmFwaS52MUIMUGFja2FnZVByb3RvUAFaPWdpdGh1Yi5jb20vYWx0bm92YXRyYWlsL3NwZWMvY29udHJhY3RzL25vdmF0cmFpbC9hcGkvdjE7YXBpdjGiAgNOQViqAhBOb3ZhdHJhaWwuQXBpLlYxygIQTm92YXRyYWlsXEFwaVxWMeICHE5vdmF0cmFpbFxBcGlcVjFcR1BCTWV0YWRhdGHqAhJOb3ZhdHJhaWw6OkFwaTo6VjFiBnByb3RvMw");
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message novatrail.api.v1.OpenView.
|
|
21
|
+
* Use `create(OpenViewSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const OpenViewSchema = /*@__PURE__*/
|
|
24
|
+
messageDesc(file_novatrail_api_v1_package, 0);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message novatrail.api.v1.GetManifestRequest.
|
|
28
|
+
* Use `create(GetManifestRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const GetManifestRequestSchema = /*@__PURE__*/
|
|
31
|
+
messageDesc(file_novatrail_api_v1_package, 1);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message novatrail.api.v1.GetManifestResponse.
|
|
35
|
+
* Use `create(GetManifestResponseSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const GetManifestResponseSchema = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_novatrail_api_v1_package, 2);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message novatrail.api.v1.GetSkillGraphRequest.
|
|
42
|
+
* Use `create(GetSkillGraphRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const GetSkillGraphRequestSchema = /*@__PURE__*/
|
|
45
|
+
messageDesc(file_novatrail_api_v1_package, 3);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message novatrail.api.v1.GetSkillGraphResponse.
|
|
49
|
+
* Use `create(GetSkillGraphResponseSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const GetSkillGraphResponseSchema = /*@__PURE__*/
|
|
52
|
+
messageDesc(file_novatrail_api_v1_package, 4);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message novatrail.api.v1.GetTechniquesRequest.
|
|
56
|
+
* Use `create(GetTechniquesRequestSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const GetTechniquesRequestSchema = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_novatrail_api_v1_package, 5);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message novatrail.api.v1.GetTechniquesResponse.
|
|
63
|
+
* Use `create(GetTechniquesResponseSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const GetTechniquesResponseSchema = /*@__PURE__*/
|
|
66
|
+
messageDesc(file_novatrail_api_v1_package, 6);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message novatrail.api.v1.GetSolvingStepsRequest.
|
|
70
|
+
* Use `create(GetSolvingStepsRequestSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export const GetSolvingStepsRequestSchema = /*@__PURE__*/
|
|
73
|
+
messageDesc(file_novatrail_api_v1_package, 7);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message novatrail.api.v1.GetSolvingStepsResponse.
|
|
77
|
+
* Use `create(GetSolvingStepsResponseSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const GetSolvingStepsResponseSchema = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_novatrail_api_v1_package, 8);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message novatrail.api.v1.CheckPackagesRequest.
|
|
84
|
+
* Use `create(CheckPackagesRequestSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const CheckPackagesRequestSchema = /*@__PURE__*/
|
|
87
|
+
messageDesc(file_novatrail_api_v1_package, 9);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message novatrail.api.v1.CheckPackagesResponse.
|
|
91
|
+
* Use `create(CheckPackagesResponseSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export const CheckPackagesResponseSchema = /*@__PURE__*/
|
|
94
|
+
messageDesc(file_novatrail_api_v1_package, 10);
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message novatrail.api.v1.PackageCheck.
|
|
98
|
+
* Use `create(PackageCheckSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const PackageCheckSchema = /*@__PURE__*/
|
|
101
|
+
messageDesc(file_novatrail_api_v1_package, 11);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the enum novatrail.api.v1.PackageStatus.
|
|
105
|
+
*/
|
|
106
|
+
export const PackageStatusSchema = /*@__PURE__*/
|
|
107
|
+
enumDesc(file_novatrail_api_v1_package, 0);
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Whether the image of `api` gives a package. A status its build does not know `app` reads as
|
|
111
|
+
* `PACKAGE_STATUS_UNKNOWN`.
|
|
112
|
+
*
|
|
113
|
+
* @generated from enum novatrail.api.v1.PackageStatus
|
|
114
|
+
*/
|
|
115
|
+
export const PackageStatus = /*@__PURE__*/
|
|
116
|
+
tsEnum(PackageStatusSchema);
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* What a package of a module gives by its digest (R62). The four open views go without a token and
|
|
120
|
+
* without the ID of a profile, by Connect GET: each method has the idempotency level
|
|
121
|
+
* `NO_SIDE_EFFECTS`, and `app` calls it with no header — no `Connect-Timeout-Ms` either, which would
|
|
122
|
+
* make the request not simple and send a preflight before it. They go for any package that the
|
|
123
|
+
* image of `api` gives: the package of an attempt or of a lesson run, and the current version of a
|
|
124
|
+
* module in the catalog or connected. Their refusals: `CAUSE_VERSION_NOT_GIVEN`, and
|
|
125
|
+
* `CAUSE_PACKAGE_UNKNOWN`; a digest that is not one, `invalid_argument` with no `Refusal`.
|
|
126
|
+
* `CheckPackages` carries the token of the sign-in service and may get the refusals of every
|
|
127
|
+
* request with a token, which the comment of `AccountService` names.
|
|
128
|
+
*
|
|
129
|
+
* @generated from service novatrail.api.v1.PackageService
|
|
130
|
+
*/
|
|
131
|
+
export const PackageService = /*@__PURE__*/
|
|
132
|
+
serviceDesc(file_novatrail_api_v1_package, 0);
|
|
133
|
+
|