czapp-shared 1.0.25 → 1.0.26

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
@@ -222,7 +222,7 @@ interface IUserData {
222
222
  signUpDate: MySQLDate;
223
223
  testsCompletedCount: number;
224
224
  uiLanguage: Language;
225
- onboardingStatus: boolean;
225
+ completedOnboarding: boolean;
226
226
  }
227
227
 
228
228
  declare enum HttpStatusCode {
@@ -309,7 +309,7 @@ interface InsertOrUpdateRequestBody {
309
309
  interface SignInRequestBody {
310
310
  }
311
311
  interface UpdateOnboardingStatusRequestBody {
312
- onboardingStatus: boolean;
312
+ completedOnboarding: boolean;
313
313
  }
314
314
  /**
315
315
  * Request Params
@@ -381,7 +381,7 @@ interface InsertOrUpdateResponseData {
381
381
  newMappingInserted?: boolean;
382
382
  }
383
383
  interface SignInResponseData {
384
- user: Partial<IUserData>;
384
+ user: IUserData;
385
385
  }
386
386
  interface TestInitResponseData {
387
387
  lexemePairs: ILexemePair[];
package/dist/index.d.ts CHANGED
@@ -222,7 +222,7 @@ interface IUserData {
222
222
  signUpDate: MySQLDate;
223
223
  testsCompletedCount: number;
224
224
  uiLanguage: Language;
225
- onboardingStatus: boolean;
225
+ completedOnboarding: boolean;
226
226
  }
227
227
 
228
228
  declare enum HttpStatusCode {
@@ -309,7 +309,7 @@ interface InsertOrUpdateRequestBody {
309
309
  interface SignInRequestBody {
310
310
  }
311
311
  interface UpdateOnboardingStatusRequestBody {
312
- onboardingStatus: boolean;
312
+ completedOnboarding: boolean;
313
313
  }
314
314
  /**
315
315
  * Request Params
@@ -381,7 +381,7 @@ interface InsertOrUpdateResponseData {
381
381
  newMappingInserted?: boolean;
382
382
  }
383
383
  interface SignInResponseData {
384
- user: Partial<IUserData>;
384
+ user: IUserData;
385
385
  }
386
386
  interface TestInitResponseData {
387
387
  lexemePairs: ILexemePair[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "czapp-shared",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
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",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "git+https://gitlab.com/xoundserver/czapp-shared.git"
17
+ "url": "https://gitlab.com/xoundserver/czapp-shared.git"
18
18
  },
19
19
  "author": "",
20
20
  "license": "ISC",
package/src/design/api.ts CHANGED
@@ -92,7 +92,7 @@ export interface SignInRequestBody {
92
92
  }
93
93
 
94
94
  export interface UpdateOnboardingStatusRequestBody {
95
- onboardingStatus: boolean;
95
+ completedOnboarding: boolean;
96
96
  }
97
97
 
98
98
  /**
@@ -172,7 +172,7 @@ export interface InsertOrUpdateResponseData {
172
172
  newMappingInserted?: boolean
173
173
  }
174
174
  export interface SignInResponseData {
175
- user: Partial<IUserData>;
175
+ user: IUserData;
176
176
  }
177
177
  export interface TestInitResponseData {
178
178
  lexemePairs: ILexemePair[];
@@ -16,5 +16,5 @@ export interface IUserData {
16
16
  signUpDate: MySQLDate,
17
17
  testsCompletedCount: number,
18
18
  uiLanguage: Language,
19
- onboardingStatus: boolean
19
+ completedOnboarding: boolean
20
20
  }