@altnovatrail/contracts 0.14.0 → 0.15.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.
|
@@ -2065,9 +2065,12 @@ export declare const AccountService: GenService<{
|
|
|
2065
2065
|
* right `can_learn`, which deletes the profile and everything of it, as `DeleteProfile` does, and
|
|
2066
2066
|
* leaves the minimal record of the consent and the reports of a problem, as `DeleteProfile` does
|
|
2067
2067
|
* (R117; R132). `app` offers the export first. Neither `CAUSE_NO_CONSENT` nor `CAUSE_AGE_NEEDED`
|
|
2068
|
-
* refuses it, nor `GiveOwnConsent`, nor the learner's `ExportProfile`.
|
|
2069
|
-
*
|
|
2070
|
-
*
|
|
2068
|
+
* refuses it, nor `GiveOwnConsent`, nor the learner's `ExportProfile`. A learner who reached the
|
|
2069
|
+
* age of digital consent of their country while a parent's consent stands, whose profile waits for
|
|
2070
|
+
* their own consent, withdraws that consent by it too, instead of confirming it (R116; R141).
|
|
2071
|
+
* Refusals: `CAUSE_ADULT_NEEDED` at a profile whose consent an adult gave and that waits for no
|
|
2072
|
+
* consent of the learner — the adult withdraws it by `DeleteProfile` —, and `CAUSE_NO_PROFILE`,
|
|
2073
|
+
* which is the answer of a repeat too. It carries no
|
|
2071
2074
|
* idempotency key: it repeats by the profile's state.
|
|
2072
2075
|
*
|
|
2073
2076
|
* @generated from rpc novatrail.api.v1.AccountService.WithdrawOwnConsent
|
|
@@ -2124,9 +2127,11 @@ export declare const AccountService: GenService<{
|
|
|
2124
2127
|
* action of an adult with the right `can_manage`, and at a profile whose learner gave their own
|
|
2125
2128
|
* consent, the learner's learning request with the right `can_learn`. Switching it off records
|
|
2126
2129
|
* when, and erases the copies on the server, and so goes while the profile waits for a consent
|
|
2127
|
-
* too; switching it on then gets `CAUSE_NO_CONSENT`.
|
|
2128
|
-
*
|
|
2129
|
-
*
|
|
2130
|
+
* too; switching it on then gets `CAUSE_NO_CONSENT`. At a profile whose learner gave their own
|
|
2131
|
+
* consent, the learner switching on a storage that an adult switched on is no repeat: it records
|
|
2132
|
+
* the learner's own consent by `storage-consent`, the learner its giver, in place of the
|
|
2133
|
+
* adult's (R141). Refusals: `CAUSE_NO_PROFILE`, `CAUSE_TEXT_NOT_CURRENT`, `CAUSE_ADULT_NEEDED`
|
|
2134
|
+
* and `CAUSE_LEARNER_DECIDES`. It carries no idempotency key: it repeats by the profile's state.
|
|
2130
2135
|
*
|
|
2131
2136
|
* @generated from rpc novatrail.api.v1.AccountService.SetWorkStorage
|
|
2132
2137
|
*/
|
|
@@ -24,8 +24,8 @@ export declare const file_novatrail_api_v1_legal: GenFile;
|
|
|
24
24
|
export declare type GetLegalTextsRequest = Message<"novatrail.api.v1.GetLegalTextsRequest"> & {
|
|
25
25
|
/**
|
|
26
26
|
* The language of the screen that shows the texts, a well-formed tag of BCP 47, a field of the
|
|
27
|
-
* message and not the header `Accept-Language` (R92): the language the gists
|
|
28
|
-
* asks for English.
|
|
27
|
+
* message and not the header `Accept-Language` (R92): the language the gists and the
|
|
28
|
+
* translations come in. Empty asks for English.
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: string interface_language = 1;
|
|
31
31
|
*/
|
|
@@ -112,6 +112,24 @@ export declare type LegalText = Message<"novatrail.api.v1.LegalText"> & {
|
|
|
112
112
|
* @generated from field: string summary_language = 6;
|
|
113
113
|
*/
|
|
114
114
|
summaryLanguage: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* The translation of the version into the language asked, found as the gist is, when the version
|
|
118
|
+
* has one (R141): Markdown as the body is, with no force of its own — the body in English is the
|
|
119
|
+
* one in force, and a consent names the version, never its translation. Empty when the version
|
|
120
|
+
* has no translation into that language, and when English is asked.
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: string translation = 7;
|
|
123
|
+
*/
|
|
124
|
+
translation: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The language the translation is in, its tag as the passport writes it, such as "ru"; empty when
|
|
128
|
+
* there is no translation.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: string translation_language = 8;
|
|
131
|
+
*/
|
|
132
|
+
translationLanguage: string;
|
|
115
133
|
};
|
|
116
134
|
|
|
117
135
|
/**
|
|
@@ -161,8 +179,9 @@ export declare const LegalTextRefSchema: GenMessage<LegalTextRef>;
|
|
|
161
179
|
*/
|
|
162
180
|
export declare const LegalService: GenService<{
|
|
163
181
|
/**
|
|
164
|
-
* The current version of every text whose place is `app`, with its body in English
|
|
165
|
-
*
|
|
182
|
+
* The current version of every text whose place is `app`, with its body in English, its gist in
|
|
183
|
+
* the language asked when the passport has it, else in English, and its translation into the
|
|
184
|
+
* language asked when the version has one.
|
|
166
185
|
*
|
|
167
186
|
* @generated from rpc novatrail.api.v1.LegalService.GetLegalTexts
|
|
168
187
|
*/
|
|
@@ -14,7 +14,7 @@ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2
|
|
|
14
14
|
* Describes the file novatrail/api/v1/legal.proto.
|
|
15
15
|
*/
|
|
16
16
|
export const file_novatrail_api_v1_legal = /*@__PURE__*/
|
|
17
|
-
fileDesc("
|
|
17
|
+
fileDesc("Chxub3ZhdHJhaWwvYXBpL3YxL2xlZ2FsLnByb3RvEhBub3ZhdHJhaWwuYXBpLnYxIjIKFEdldExlZ2FsVGV4dHNSZXF1ZXN0EhoKEmludGVyZmFjZV9sYW5ndWFnZRgBIAEoCSJDChVHZXRMZWdhbFRleHRzUmVzcG9uc2USKgoFdGV4dHMYASADKAsyGy5ub3ZhdHJhaWwuYXBpLnYxLkxlZ2FsVGV4dCKsAQoJTGVnYWxUZXh0EgoKAmlkGAEgASgJEg8KB3ZlcnNpb24YAiABKAUSFgoOaW5fZm9yY2Vfc2luY2UYAyABKAkSDAoEYm9keRgEIAEoCRIPCgdzdW1tYXJ5GAUgASgJEhgKEHN1bW1hcnlfbGFuZ3VhZ2UYBiABKAkSEwoLdHJhbnNsYXRpb24YByABKAkSHAoUdHJhbnNsYXRpb25fbGFuZ3VhZ2UYCCABKAkiKwoMTGVnYWxUZXh0UmVmEgoKAmlkGAEgASgJEg8KB3ZlcnNpb24YAiABKAUydQoMTGVnYWxTZXJ2aWNlEmUKDUdldExlZ2FsVGV4dHMSJi5ub3ZhdHJhaWwuYXBpLnYxLkdldExlZ2FsVGV4dHNSZXF1ZXN0Gicubm92YXRyYWlsLmFwaS52MS5HZXRMZWdhbFRleHRzUmVzcG9uc2UiA5ACAULDAQoUY29tLm5vdmF0cmFpbC5hcGkudjFCCkxlZ2FsUHJvdG9QAVo9Z2l0aHViLmNvbS9hbHRub3ZhdHJhaWwvc3BlYy9jb250cmFjdHMvbm92YXRyYWlsL2FwaS92MTthcGl2MaICA05BWKoCEE5vdmF0cmFpbC5BcGkuVjHKAhBOb3ZhdHJhaWxcQXBpXFYx4gIcTm92YXRyYWlsXEFwaVxWMVxHUEJNZXRhZGF0YeoCEk5vdmF0cmFpbDo6QXBpOjpWMWIGcHJvdG8z");
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Describes the message novatrail.api.v1.GetLegalTextsRequest.
|
|
@@ -212,6 +212,17 @@ export declare type AnchorSkillState = Message<"novatrail.api.v1.AnchorSkillStat
|
|
|
212
212
|
* @generated from field: repeated string teaching_skills = 4;
|
|
213
213
|
*/
|
|
214
214
|
teachingSkills: string[];
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* The IDs of the modules of the catalog that teach it and are not connected to the profile:
|
|
218
|
+
* those of the pinned index of `api` whose current version suits the profile by its audience and
|
|
219
|
+
* names it in `teaches` (R63), in the order of their IDs' UTF-16 code units. It is given whatever
|
|
220
|
+
* the holding, and `app` offers them beside `ANCHOR_SKILL_HOLDING_UNKNOWN`: such a module the
|
|
221
|
+
* learner may connect by `ConnectModule`.
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: repeated string teaching_modules = 5;
|
|
224
|
+
*/
|
|
225
|
+
teachingModules: string[];
|
|
215
226
|
};
|
|
216
227
|
|
|
217
228
|
/**
|
|
@@ -16,7 +16,7 @@ import { file_novatrail_api_v1_cause } from "./cause_pb.js";
|
|
|
16
16
|
* Describes the file novatrail/api/v1/progress.proto.
|
|
17
17
|
*/
|
|
18
18
|
export const file_novatrail_api_v1_progress = /*@__PURE__*/
|
|
19
|
-
fileDesc("
|
|
19
|
+
fileDesc("Ch9ub3ZhdHJhaWwvYXBpL3YxL3Byb2dyZXNzLnByb3RvEhBub3ZhdHJhaWwuYXBpLnYxImUKEkdldFNraWxsTWFwUmVxdWVzdBISCgpwcm9maWxlX2lkGAEgASgJEhEKCW1vZHVsZV9pZBgCIAEoCRIoCgZhY3Rpb24YAyABKA4yGC5ub3ZhdHJhaWwuYXBpLnYxLkFjdGlvbiKWAQoTR2V0U2tpbGxNYXBSZXNwb25zZRIWCg5wYWNrYWdlX2RpZ2VzdBgBIAEoCRIsCgZza2lsbHMYAiADKAsyHC5ub3ZhdHJhaWwuYXBpLnYxLlNraWxsU3RhdGUSOQoNYW5jaG9yX3NraWxscxgDIAMoCzIiLm5vdmF0cmFpbC5hcGkudjEuQW5jaG9yU2tpbGxTdGF0ZSL1AgoKU2tpbGxTdGF0ZRINCgVza2lsbBgBIAEoCRIWCg5ldmlkZW5jZV9jb3VudBgCIAEoBRI1ChFsYXN0X3ByYWN0aWNlZF9hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASFQoIZXN0aW1hdGUYBCABKAFIAIgBARIYCgt1bmNlcnRhaW50eRgFIAEoAUgBiAEBEhYKCXJldGVudGlvbhgGIAEoAUgCiAEBEhQKDG1hc3RlcnlfYmFuZBgHIAEoCRIhChRjYXV0aW91c19wcm9iYWJpbGl0eRgIIAEoAUgDiAEBEi8KC3Jldmlld19kYXRlGAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBISCgpyZXZpZXdfZHVlGAogASgIQgsKCV9lc3RpbWF0ZUIOCgxfdW5jZXJ0YWludHlCDAoKX3JldGVudGlvbkIXChV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AESGgoWQ1JJVEVSSU9OX01BUktfTk9UX01FVBACEh8KG0NSSVRFUklPTl9NQVJLX05PVF9BU1NFU1NFRBADMskBCg9Qcm9ncmVzc1NlcnZpY2USWgoLR2V0U2tpbGxNYXASJC5ub3ZhdHJhaWwuYXBpLnYxLkdldFNraWxsTWFwUmVxdWVzdBolLm5vdmF0cmFpbC5hcGkudjEuR2V0U2tpbGxNYXBSZXNwb25zZRJaCgtHZXRQcm9ncmVzcxIkLm5vdmF0cmFpbC5hcGkudjEuR2V0UHJvZ3Jlc3NSZXF1ZXN0GiUubm92YXRyYWlsLmFwaS52MS5HZXRQcm9ncmVzc1Jlc3BvbnNlQsYBChRjb20ubm92YXRyYWlsLmFwaS52MUINUHJvZ3Jlc3NQcm90b1ABWj1naXRodWIuY29tL2FsdG5vdmF0cmFpbC9zcGVjL2NvbnRyYWN0cy9ub3ZhdHJhaWwvYXBpL3YxO2FwaXYxogIDTkFYqgIQTm92YXRyYWlsLkFwaS5WMcoCEE5vdmF0cmFpbFxBcGlcVjHiAhxOb3ZhdHJhaWxcQXBpXFYxXEdQQk1ldGFkYXRh6gISTm92YXRyYWlsOjpBcGk6OlYxYgZwcm90bzM", [file_google_protobuf_timestamp, file_novatrail_api_v1_attempt, file_novatrail_api_v1_cause]);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Describes the message novatrail.api.v1.GetSkillMapRequest.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@altnovatrail/contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.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": {
|