czapp-shared 1.0.12 → 1.0.14
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
- package/src/design/api.ts +6 -0
package/dist/index.d.mts
CHANGED
|
@@ -232,6 +232,7 @@ declare enum ApiPath {
|
|
|
232
232
|
LEXEME_PAIR = "/lexemePair/:czId/:enId",
|
|
233
233
|
LEXEME_PAIRS_BY_TEXT = "/lexemePairsByText/:inputText/:inputLang",
|
|
234
234
|
LEXEME_PAIR_FAMILIARITY = "/lexemePair/:czId/:enId/:familiarity",
|
|
235
|
+
LEXEME_PAIR_COUNT = "/lexemePairCount",
|
|
235
236
|
SIGN_IN = "/signIn",
|
|
236
237
|
SIGN_OUT = "/signOut",
|
|
237
238
|
TEST_COMPLETE = "/test/complete",
|
package/dist/index.d.ts
CHANGED
|
@@ -232,6 +232,7 @@ declare enum ApiPath {
|
|
|
232
232
|
LEXEME_PAIR = "/lexemePair/:czId/:enId",
|
|
233
233
|
LEXEME_PAIRS_BY_TEXT = "/lexemePairsByText/:inputText/:inputLang",
|
|
234
234
|
LEXEME_PAIR_FAMILIARITY = "/lexemePair/:czId/:enId/:familiarity",
|
|
235
|
+
LEXEME_PAIR_COUNT = "/lexemePairCount",
|
|
235
236
|
SIGN_IN = "/signIn",
|
|
236
237
|
SIGN_OUT = "/signOut",
|
|
237
238
|
TEST_COMPLETE = "/test/complete",
|
package/dist/index.js
CHANGED
|
@@ -242,6 +242,7 @@ var ApiPath = /* @__PURE__ */ ((ApiPath2) => {
|
|
|
242
242
|
ApiPath2["LEXEME_PAIR"] = "/lexemePair/:czId/:enId";
|
|
243
243
|
ApiPath2["LEXEME_PAIRS_BY_TEXT"] = "/lexemePairsByText/:inputText/:inputLang";
|
|
244
244
|
ApiPath2["LEXEME_PAIR_FAMILIARITY"] = "/lexemePair/:czId/:enId/:familiarity";
|
|
245
|
+
ApiPath2["LEXEME_PAIR_COUNT"] = "/lexemePairCount";
|
|
245
246
|
ApiPath2["SIGN_IN"] = "/signIn";
|
|
246
247
|
ApiPath2["SIGN_OUT"] = "/signOut";
|
|
247
248
|
ApiPath2["TEST_COMPLETE"] = "/test/complete";
|
package/dist/index.mjs
CHANGED
|
@@ -193,6 +193,7 @@ var ApiPath = /* @__PURE__ */ ((ApiPath2) => {
|
|
|
193
193
|
ApiPath2["LEXEME_PAIR"] = "/lexemePair/:czId/:enId";
|
|
194
194
|
ApiPath2["LEXEME_PAIRS_BY_TEXT"] = "/lexemePairsByText/:inputText/:inputLang";
|
|
195
195
|
ApiPath2["LEXEME_PAIR_FAMILIARITY"] = "/lexemePair/:czId/:enId/:familiarity";
|
|
196
|
+
ApiPath2["LEXEME_PAIR_COUNT"] = "/lexemePairCount";
|
|
196
197
|
ApiPath2["SIGN_IN"] = "/signIn";
|
|
197
198
|
ApiPath2["SIGN_OUT"] = "/signOut";
|
|
198
199
|
ApiPath2["TEST_COMPLETE"] = "/test/complete";
|
package/package.json
CHANGED
package/src/design/api.ts
CHANGED
|
@@ -30,6 +30,8 @@ export enum ApiPath {
|
|
|
30
30
|
LEXEME_PAIR = '/lexemePair/:czId/:enId',
|
|
31
31
|
LEXEME_PAIRS_BY_TEXT = '/lexemePairsByText/:inputText/:inputLang',
|
|
32
32
|
LEXEME_PAIR_FAMILIARITY = '/lexemePair/:czId/:enId/:familiarity',
|
|
33
|
+
LEXEME_PAIR_COUNT = '/lexemePairCount',
|
|
34
|
+
LEXEME_PAIR_RECYCLE = '/lexemePair/recycle/:czId/:enId',
|
|
33
35
|
SIGN_IN = '/signIn',
|
|
34
36
|
SIGN_OUT = '/signOut',
|
|
35
37
|
TEST_COMPLETE = '/test/complete',
|
|
@@ -116,6 +118,10 @@ export interface UpdateLexemePairFamiliarityParams {
|
|
|
116
118
|
enId: number;
|
|
117
119
|
familiarity: Familiarity;
|
|
118
120
|
}
|
|
121
|
+
export interface RecycleLexemePairParams {
|
|
122
|
+
czId: number;
|
|
123
|
+
enId: number;
|
|
124
|
+
}
|
|
119
125
|
export interface DeleteLexemePairRequestParams {
|
|
120
126
|
czId: number;
|
|
121
127
|
enId: number;
|