czapp-shared 1.0.30 → 1.0.32

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/dist/index.d.mts CHANGED
@@ -77,7 +77,8 @@ declare enum VocabCheckType {
77
77
  declare enum LearningStage {
78
78
  NEW = "NEW",
79
79
  LEARNING = "LEARNING",
80
- RETIRED = "RETIRED"
80
+ RETIRED = "RETIRED",
81
+ QUEUED = "QUEUED"
81
82
  }
82
83
  declare enum Progress {
83
84
  WORSE = "WORSE",
@@ -179,6 +180,7 @@ interface ILexemeLearningInfo {
179
180
  newCount: number;
180
181
  learningCount: number;
181
182
  retiredCount: number;
183
+ queuedCount: number;
182
184
  }
183
185
 
184
186
  declare class Lexeme implements ILexeme {
@@ -234,6 +236,7 @@ interface IUserData {
234
236
  testsCompletedCount: number;
235
237
  uiLanguage: Language;
236
238
  completedOnboarding: boolean;
239
+ learningSet: number;
237
240
  }
238
241
 
239
242
  declare enum HttpStatusCode {
@@ -288,7 +291,6 @@ declare enum ClientPlatform {
288
291
  */
289
292
  interface TestInitRequestBody {
290
293
  vocabCheckType: VocabCheckType;
291
- maxFlashcardDeckCount: number | null;
292
294
  }
293
295
  interface TestCompleteRequestBody {
294
296
  clientDate: MySQLDate;
@@ -308,6 +310,7 @@ type LexemePairRequestBody = {
308
310
  interface UpdateUserRequestBody {
309
311
  learningLanguage: Language;
310
312
  uiLanguage: Language;
313
+ learningSet: number;
311
314
  }
312
315
  interface AutologinRequestBody {
313
316
  clientDate: MySQLDate;
@@ -403,7 +406,6 @@ interface TestInitResponseData {
403
406
  lexemePairs: ILexemePair[];
404
407
  lexemeLearningInfo: ILexemeLearningInfo;
405
408
  vocabCheckType: VocabCheckType;
406
- pushedFlashcardCount?: number;
407
409
  }
408
410
  interface TestCompleteResponseData {
409
411
  user: IUserData;
package/dist/index.d.ts CHANGED
@@ -77,7 +77,8 @@ declare enum VocabCheckType {
77
77
  declare enum LearningStage {
78
78
  NEW = "NEW",
79
79
  LEARNING = "LEARNING",
80
- RETIRED = "RETIRED"
80
+ RETIRED = "RETIRED",
81
+ QUEUED = "QUEUED"
81
82
  }
82
83
  declare enum Progress {
83
84
  WORSE = "WORSE",
@@ -179,6 +180,7 @@ interface ILexemeLearningInfo {
179
180
  newCount: number;
180
181
  learningCount: number;
181
182
  retiredCount: number;
183
+ queuedCount: number;
182
184
  }
183
185
 
184
186
  declare class Lexeme implements ILexeme {
@@ -234,6 +236,7 @@ interface IUserData {
234
236
  testsCompletedCount: number;
235
237
  uiLanguage: Language;
236
238
  completedOnboarding: boolean;
239
+ learningSet: number;
237
240
  }
238
241
 
239
242
  declare enum HttpStatusCode {
@@ -288,7 +291,6 @@ declare enum ClientPlatform {
288
291
  */
289
292
  interface TestInitRequestBody {
290
293
  vocabCheckType: VocabCheckType;
291
- maxFlashcardDeckCount: number | null;
292
294
  }
293
295
  interface TestCompleteRequestBody {
294
296
  clientDate: MySQLDate;
@@ -308,6 +310,7 @@ type LexemePairRequestBody = {
308
310
  interface UpdateUserRequestBody {
309
311
  learningLanguage: Language;
310
312
  uiLanguage: Language;
313
+ learningSet: number;
311
314
  }
312
315
  interface AutologinRequestBody {
313
316
  clientDate: MySQLDate;
@@ -403,7 +406,6 @@ interface TestInitResponseData {
403
406
  lexemePairs: ILexemePair[];
404
407
  lexemeLearningInfo: ILexemeLearningInfo;
405
408
  vocabCheckType: VocabCheckType;
406
- pushedFlashcardCount?: number;
407
409
  }
408
410
  interface TestCompleteResponseData {
409
411
  user: IUserData;
package/dist/index.js CHANGED
@@ -134,6 +134,7 @@ var LearningStage = /* @__PURE__ */ ((LearningStage2) => {
134
134
  LearningStage2["NEW"] = "NEW";
135
135
  LearningStage2["LEARNING"] = "LEARNING";
136
136
  LearningStage2["RETIRED"] = "RETIRED";
137
+ LearningStage2["QUEUED"] = "QUEUED";
137
138
  return LearningStage2;
138
139
  })(LearningStage || {});
139
140
  var Progress = /* @__PURE__ */ ((Progress2) => {
package/dist/index.mjs CHANGED
@@ -83,6 +83,7 @@ var LearningStage = /* @__PURE__ */ ((LearningStage2) => {
83
83
  LearningStage2["NEW"] = "NEW";
84
84
  LearningStage2["LEARNING"] = "LEARNING";
85
85
  LearningStage2["RETIRED"] = "RETIRED";
86
+ LearningStage2["QUEUED"] = "QUEUED";
86
87
  return LearningStage2;
87
88
  })(LearningStage || {});
88
89
  var Progress = /* @__PURE__ */ ((Progress2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "czapp-shared",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "description": "This is a shared library for Czapp projects. It contains common code that is used across multiple projects.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/design/api.ts CHANGED
@@ -68,7 +68,6 @@ export enum ClientPlatform {
68
68
  */
69
69
  export interface TestInitRequestBody {
70
70
  vocabCheckType: VocabCheckType
71
- maxFlashcardDeckCount: number | null
72
71
  }
73
72
  export interface TestCompleteRequestBody {
74
73
  clientDate: MySQLDate
@@ -88,6 +87,7 @@ export type LexemePairRequestBody = {
88
87
  export interface UpdateUserRequestBody {
89
88
  learningLanguage: Language;
90
89
  uiLanguage: Language;
90
+ learningSet: number;
91
91
  }
92
92
  export interface AutologinRequestBody {
93
93
  clientDate: MySQLDate;
@@ -192,7 +192,6 @@ export interface TestInitResponseData {
192
192
  lexemePairs: ILexemePair[];
193
193
  lexemeLearningInfo: ILexemeLearningInfo;
194
194
  vocabCheckType: VocabCheckType;
195
- pushedFlashcardCount?: number;
196
195
  }
197
196
  export interface TestCompleteResponseData {
198
197
  user: IUserData;
@@ -45,4 +45,5 @@ export interface ILexemeLearningInfo {
45
45
  newCount: number;
46
46
  learningCount: number;
47
47
  retiredCount: number;
48
+ queuedCount: number;
48
49
  }
@@ -30,6 +30,7 @@ export enum LearningStage {
30
30
  NEW = 'NEW',
31
31
  LEARNING = 'LEARNING',
32
32
  RETIRED = 'RETIRED',
33
+ QUEUED = 'QUEUED',
33
34
  }
34
35
 
35
36
  export enum Progress {
@@ -16,5 +16,6 @@ export interface IUserData {
16
16
  signUpDate: MySQLDate,
17
17
  testsCompletedCount: number,
18
18
  uiLanguage: Language,
19
- completedOnboarding: boolean
19
+ completedOnboarding: boolean,
20
+ learningSet: number
20
21
  }