czapp-shared 1.0.13 → 1.0.15
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 +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
- package/src/design/api.ts +5 -0
package/dist/index.d.mts
CHANGED
|
@@ -233,6 +233,7 @@ declare enum ApiPath {
|
|
|
233
233
|
LEXEME_PAIRS_BY_TEXT = "/lexemePairsByText/:inputText/:inputLang",
|
|
234
234
|
LEXEME_PAIR_FAMILIARITY = "/lexemePair/:czId/:enId/:familiarity",
|
|
235
235
|
LEXEME_PAIR_COUNT = "/lexemePairCount",
|
|
236
|
+
LEXEME_PAIR_RECYCLE = "/lexemePair/recycle/:czId/:enId",
|
|
236
237
|
SIGN_IN = "/signIn",
|
|
237
238
|
SIGN_OUT = "/signOut",
|
|
238
239
|
TEST_COMPLETE = "/test/complete",
|
|
@@ -316,6 +317,10 @@ interface UpdateLexemePairFamiliarityParams {
|
|
|
316
317
|
enId: number;
|
|
317
318
|
familiarity: Familiarity;
|
|
318
319
|
}
|
|
320
|
+
interface RecycleLexemePairParams {
|
|
321
|
+
czId: number;
|
|
322
|
+
enId: number;
|
|
323
|
+
}
|
|
319
324
|
interface DeleteLexemePairRequestParams {
|
|
320
325
|
czId: number;
|
|
321
326
|
enId: number;
|
|
@@ -364,4 +369,4 @@ type DeeplTranslation = {
|
|
|
364
369
|
}>;
|
|
365
370
|
};
|
|
366
371
|
|
|
367
|
-
export { ApiMethod, ApiPath, AppError, type AutologinRequestBody, ClientPlatform, type ControllerResponse, type DeeplTranslation, type DeleteLexemePairRequestParams, Familiarity, HttpStatusCode, 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, 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 UpdateUserRequestBody, VocabCheckType, convertJSDateStringToMySQLDate, dateDifferenceInDays, getFormattedDate, getMysqlDateIgnoreTZ, isClientDateTooFarFromServerDate, isStringContainingInteger, isThePreviousDay, isTheSameDay, isValidJsDateString, isValidMysqlDateString, parameterReplace };
|
|
372
|
+
export { ApiMethod, ApiPath, AppError, type AutologinRequestBody, ClientPlatform, type ControllerResponse, type DeeplTranslation, type DeleteLexemePairRequestParams, Familiarity, HttpStatusCode, 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 UpdateUserRequestBody, VocabCheckType, convertJSDateStringToMySQLDate, dateDifferenceInDays, getFormattedDate, getMysqlDateIgnoreTZ, isClientDateTooFarFromServerDate, isStringContainingInteger, isThePreviousDay, isTheSameDay, isValidJsDateString, isValidMysqlDateString, parameterReplace };
|
package/dist/index.d.ts
CHANGED
|
@@ -233,6 +233,7 @@ declare enum ApiPath {
|
|
|
233
233
|
LEXEME_PAIRS_BY_TEXT = "/lexemePairsByText/:inputText/:inputLang",
|
|
234
234
|
LEXEME_PAIR_FAMILIARITY = "/lexemePair/:czId/:enId/:familiarity",
|
|
235
235
|
LEXEME_PAIR_COUNT = "/lexemePairCount",
|
|
236
|
+
LEXEME_PAIR_RECYCLE = "/lexemePair/recycle/:czId/:enId",
|
|
236
237
|
SIGN_IN = "/signIn",
|
|
237
238
|
SIGN_OUT = "/signOut",
|
|
238
239
|
TEST_COMPLETE = "/test/complete",
|
|
@@ -316,6 +317,10 @@ interface UpdateLexemePairFamiliarityParams {
|
|
|
316
317
|
enId: number;
|
|
317
318
|
familiarity: Familiarity;
|
|
318
319
|
}
|
|
320
|
+
interface RecycleLexemePairParams {
|
|
321
|
+
czId: number;
|
|
322
|
+
enId: number;
|
|
323
|
+
}
|
|
319
324
|
interface DeleteLexemePairRequestParams {
|
|
320
325
|
czId: number;
|
|
321
326
|
enId: number;
|
|
@@ -364,4 +369,4 @@ type DeeplTranslation = {
|
|
|
364
369
|
}>;
|
|
365
370
|
};
|
|
366
371
|
|
|
367
|
-
export { ApiMethod, ApiPath, AppError, type AutologinRequestBody, ClientPlatform, type ControllerResponse, type DeeplTranslation, type DeleteLexemePairRequestParams, Familiarity, HttpStatusCode, 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, 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 UpdateUserRequestBody, VocabCheckType, convertJSDateStringToMySQLDate, dateDifferenceInDays, getFormattedDate, getMysqlDateIgnoreTZ, isClientDateTooFarFromServerDate, isStringContainingInteger, isThePreviousDay, isTheSameDay, isValidJsDateString, isValidMysqlDateString, parameterReplace };
|
|
372
|
+
export { ApiMethod, ApiPath, AppError, type AutologinRequestBody, ClientPlatform, type ControllerResponse, type DeeplTranslation, type DeleteLexemePairRequestParams, Familiarity, HttpStatusCode, 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 UpdateUserRequestBody, VocabCheckType, convertJSDateStringToMySQLDate, dateDifferenceInDays, getFormattedDate, getMysqlDateIgnoreTZ, isClientDateTooFarFromServerDate, isStringContainingInteger, isThePreviousDay, isTheSameDay, isValidJsDateString, isValidMysqlDateString, parameterReplace };
|
package/dist/index.js
CHANGED
|
@@ -243,6 +243,7 @@ var ApiPath = /* @__PURE__ */ ((ApiPath2) => {
|
|
|
243
243
|
ApiPath2["LEXEME_PAIRS_BY_TEXT"] = "/lexemePairsByText/:inputText/:inputLang";
|
|
244
244
|
ApiPath2["LEXEME_PAIR_FAMILIARITY"] = "/lexemePair/:czId/:enId/:familiarity";
|
|
245
245
|
ApiPath2["LEXEME_PAIR_COUNT"] = "/lexemePairCount";
|
|
246
|
+
ApiPath2["LEXEME_PAIR_RECYCLE"] = "/lexemePair/recycle/:czId/:enId";
|
|
246
247
|
ApiPath2["SIGN_IN"] = "/signIn";
|
|
247
248
|
ApiPath2["SIGN_OUT"] = "/signOut";
|
|
248
249
|
ApiPath2["TEST_COMPLETE"] = "/test/complete";
|
package/dist/index.mjs
CHANGED
|
@@ -194,6 +194,7 @@ var ApiPath = /* @__PURE__ */ ((ApiPath2) => {
|
|
|
194
194
|
ApiPath2["LEXEME_PAIRS_BY_TEXT"] = "/lexemePairsByText/:inputText/:inputLang";
|
|
195
195
|
ApiPath2["LEXEME_PAIR_FAMILIARITY"] = "/lexemePair/:czId/:enId/:familiarity";
|
|
196
196
|
ApiPath2["LEXEME_PAIR_COUNT"] = "/lexemePairCount";
|
|
197
|
+
ApiPath2["LEXEME_PAIR_RECYCLE"] = "/lexemePair/recycle/:czId/:enId";
|
|
197
198
|
ApiPath2["SIGN_IN"] = "/signIn";
|
|
198
199
|
ApiPath2["SIGN_OUT"] = "/signOut";
|
|
199
200
|
ApiPath2["TEST_COMPLETE"] = "/test/complete";
|
package/package.json
CHANGED
package/src/design/api.ts
CHANGED
|
@@ -31,6 +31,7 @@ export enum ApiPath {
|
|
|
31
31
|
LEXEME_PAIRS_BY_TEXT = '/lexemePairsByText/:inputText/:inputLang',
|
|
32
32
|
LEXEME_PAIR_FAMILIARITY = '/lexemePair/:czId/:enId/:familiarity',
|
|
33
33
|
LEXEME_PAIR_COUNT = '/lexemePairCount',
|
|
34
|
+
LEXEME_PAIR_RECYCLE = '/lexemePair/recycle/:czId/:enId',
|
|
34
35
|
SIGN_IN = '/signIn',
|
|
35
36
|
SIGN_OUT = '/signOut',
|
|
36
37
|
TEST_COMPLETE = '/test/complete',
|
|
@@ -117,6 +118,10 @@ export interface UpdateLexemePairFamiliarityParams {
|
|
|
117
118
|
enId: number;
|
|
118
119
|
familiarity: Familiarity;
|
|
119
120
|
}
|
|
121
|
+
export interface RecycleLexemePairParams {
|
|
122
|
+
czId: number;
|
|
123
|
+
enId: number;
|
|
124
|
+
}
|
|
120
125
|
export interface DeleteLexemePairRequestParams {
|
|
121
126
|
czId: number;
|
|
122
127
|
enId: number;
|