czapp-shared 1.0.18 → 1.0.19
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 +5 -13
- package/dist/index.d.ts +5 -13
- package/package.json +1 -1
- package/src/design/api.ts +4 -4
- package/src/design/data.ts +1 -12
package/dist/index.d.mts
CHANGED
|
@@ -188,18 +188,10 @@ declare class LexemePair implements ILexemePair {
|
|
|
188
188
|
declare const isStringContainingInteger: (str: any) => boolean;
|
|
189
189
|
declare const parameterReplace: (path: string, params?: string[]) => string;
|
|
190
190
|
|
|
191
|
-
interface
|
|
191
|
+
interface IActivityCount {
|
|
192
192
|
date: DateString;
|
|
193
193
|
count: number;
|
|
194
194
|
}
|
|
195
|
-
interface ITestedData {
|
|
196
|
-
date: DateString;
|
|
197
|
-
questionCount: number;
|
|
198
|
-
}
|
|
199
|
-
interface IReviewedData {
|
|
200
|
-
date: DateString;
|
|
201
|
-
flashcardCount: number;
|
|
202
|
-
}
|
|
203
195
|
|
|
204
196
|
interface IUserData {
|
|
205
197
|
currentStreakEnd: MySQLDate | undefined;
|
|
@@ -388,9 +380,9 @@ interface TestCompleteResponseData {
|
|
|
388
380
|
rewardPointsDelta: number;
|
|
389
381
|
}
|
|
390
382
|
interface HeatMapResponseData {
|
|
391
|
-
added:
|
|
392
|
-
tested:
|
|
393
|
-
reviewed:
|
|
383
|
+
added: IActivityCount[];
|
|
384
|
+
tested: IActivityCount[];
|
|
385
|
+
reviewed: IActivityCount[];
|
|
394
386
|
}
|
|
395
387
|
type DeeplTranslation = {
|
|
396
388
|
detectedSourceLanguage: Language;
|
|
@@ -399,4 +391,4 @@ type DeeplTranslation = {
|
|
|
399
391
|
}>;
|
|
400
392
|
};
|
|
401
393
|
|
|
402
|
-
export { ApiMethod, ApiPath, AppError, type AutologinRequestBody, ClientPlatform, type ControllerResponse, type DateString, type DeeplTranslation, type DeleteLexemePairRequestParams, Familiarity, type HeatMapParams, type HeatMapResponseData, HttpStatusCode, type
|
|
394
|
+
export { ApiMethod, ApiPath, AppError, type AutologinRequestBody, ClientPlatform, type ControllerResponse, type DateString, type DeeplTranslation, type DeleteLexemePairRequestParams, Familiarity, type HeatMapParams, type HeatMapResponseData, HttpStatusCode, type IActivityCount, type ICount, type ILexeme, type ILexemeIdPair, type ILexemeLearningInfo, type ILexemePair, type ITestResult, type IUserData, type InsertOrUpdateRequestBody, type InsertOrUpdateResponseData, Language, LearningStage, Lexeme, LexemePair, type LexemePairRequestBody, type LexemePairWithLang, type MySQLDate, Progress, type RecycleLexemePairParams, ReminderFrequency, type ResetTestUserParams, type Result, Scenario, type SelectAllTranslationsParams, type SelectLexemeCountParams, type SelectLexemePairParams, type SelectLexemePairsByTextParams, type SelectLexemesParams, type SelectTestLexemesParams, type SignInRequestBody, type SignInResponseData, type TestCompleteRequestBody, type TestCompleteResponseData, type TestInitRequestBody, type TestInitResponseData, type TranslationRequestBody, type TranslationResponseData, type UpdateLexemePairFamiliarityParams, type UpdateOnboardingStatusRequestBody, type UpdateUserRequestBody, VocabCheckType, convertJSDateStringToMySQLDate, dateDifferenceInDays, getFormattedDate, getMysqlDateIgnoreTZ, isClientDateTooFarFromServerDate, isStringContainingInteger, isThePreviousDay, isTheSameDay, isValidJsDateString, isValidMysqlDateString, parameterReplace };
|
package/dist/index.d.ts
CHANGED
|
@@ -188,18 +188,10 @@ declare class LexemePair implements ILexemePair {
|
|
|
188
188
|
declare const isStringContainingInteger: (str: any) => boolean;
|
|
189
189
|
declare const parameterReplace: (path: string, params?: string[]) => string;
|
|
190
190
|
|
|
191
|
-
interface
|
|
191
|
+
interface IActivityCount {
|
|
192
192
|
date: DateString;
|
|
193
193
|
count: number;
|
|
194
194
|
}
|
|
195
|
-
interface ITestedData {
|
|
196
|
-
date: DateString;
|
|
197
|
-
questionCount: number;
|
|
198
|
-
}
|
|
199
|
-
interface IReviewedData {
|
|
200
|
-
date: DateString;
|
|
201
|
-
flashcardCount: number;
|
|
202
|
-
}
|
|
203
195
|
|
|
204
196
|
interface IUserData {
|
|
205
197
|
currentStreakEnd: MySQLDate | undefined;
|
|
@@ -388,9 +380,9 @@ interface TestCompleteResponseData {
|
|
|
388
380
|
rewardPointsDelta: number;
|
|
389
381
|
}
|
|
390
382
|
interface HeatMapResponseData {
|
|
391
|
-
added:
|
|
392
|
-
tested:
|
|
393
|
-
reviewed:
|
|
383
|
+
added: IActivityCount[];
|
|
384
|
+
tested: IActivityCount[];
|
|
385
|
+
reviewed: IActivityCount[];
|
|
394
386
|
}
|
|
395
387
|
type DeeplTranslation = {
|
|
396
388
|
detectedSourceLanguage: Language;
|
|
@@ -399,4 +391,4 @@ type DeeplTranslation = {
|
|
|
399
391
|
}>;
|
|
400
392
|
};
|
|
401
393
|
|
|
402
|
-
export { ApiMethod, ApiPath, AppError, type AutologinRequestBody, ClientPlatform, type ControllerResponse, type DateString, type DeeplTranslation, type DeleteLexemePairRequestParams, Familiarity, type HeatMapParams, type HeatMapResponseData, HttpStatusCode, type
|
|
394
|
+
export { ApiMethod, ApiPath, AppError, type AutologinRequestBody, ClientPlatform, type ControllerResponse, type DateString, type DeeplTranslation, type DeleteLexemePairRequestParams, Familiarity, type HeatMapParams, type HeatMapResponseData, HttpStatusCode, type IActivityCount, type ICount, type ILexeme, type ILexemeIdPair, type ILexemeLearningInfo, type ILexemePair, type ITestResult, type IUserData, type InsertOrUpdateRequestBody, type InsertOrUpdateResponseData, Language, LearningStage, Lexeme, LexemePair, type LexemePairRequestBody, type LexemePairWithLang, type MySQLDate, Progress, type RecycleLexemePairParams, ReminderFrequency, type ResetTestUserParams, type Result, Scenario, type SelectAllTranslationsParams, type SelectLexemeCountParams, type SelectLexemePairParams, type SelectLexemePairsByTextParams, type SelectLexemesParams, type SelectTestLexemesParams, type SignInRequestBody, type SignInResponseData, type TestCompleteRequestBody, type TestCompleteResponseData, type TestInitRequestBody, type TestInitResponseData, type TranslationRequestBody, type TranslationResponseData, type UpdateLexemePairFamiliarityParams, type UpdateOnboardingStatusRequestBody, type UpdateUserRequestBody, VocabCheckType, convertJSDateStringToMySQLDate, dateDifferenceInDays, getFormattedDate, getMysqlDateIgnoreTZ, isClientDateTooFarFromServerDate, isStringContainingInteger, isThePreviousDay, isTheSameDay, isValidJsDateString, isValidMysqlDateString, parameterReplace };
|
package/package.json
CHANGED
package/src/design/api.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IActivityCount } from './data';
|
|
2
2
|
import { ILexeme, ILexemeIdPair, ILexemeLearningInfo, ILexemePair } from './lexemes';
|
|
3
3
|
import { DateString, Familiarity, ITestResult, Language, MySQLDate, Scenario, VocabCheckType } from './types';
|
|
4
4
|
import { IUserData } from './user';
|
|
@@ -183,9 +183,9 @@ export interface TestCompleteResponseData {
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
export interface HeatMapResponseData {
|
|
186
|
-
added:
|
|
187
|
-
tested:
|
|
188
|
-
reviewed:
|
|
186
|
+
added: IActivityCount[];
|
|
187
|
+
tested: IActivityCount[];
|
|
188
|
+
reviewed: IActivityCount[];
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
// other
|
package/src/design/data.ts
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import { DateString } from './types';
|
|
2
2
|
|
|
3
|
-
export interface
|
|
3
|
+
export interface IActivityCount {
|
|
4
4
|
date: DateString;
|
|
5
5
|
count: number;
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
export interface ITestedData {
|
|
9
|
-
date: DateString;
|
|
10
|
-
questionCount: number;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface IReviewedData {
|
|
14
|
-
date: DateString;
|
|
15
|
-
flashcardCount: number;
|
|
16
|
-
}
|
|
17
|
-
|