revdev 0.239.0 → 0.241.0

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.
@@ -1,21 +1,4 @@
1
- export interface BoLang {
2
- langCode: string;
3
- nativeName: string;
4
- googleCode: string;
5
- rate: number;
6
- active: boolean;
7
- wordTotal: number;
8
- listTotal: number;
9
- tableTotal: number;
10
- }
11
1
  export interface BoSpeechPart {
12
2
  code: string;
13
3
  tranTotal: number;
14
4
  }
15
- export interface BoLangUpdateRequest {
16
- code: string;
17
- nativeName?: string;
18
- googleCode?: string;
19
- rate?: number;
20
- active?: boolean;
21
- }
@@ -10,4 +10,5 @@ export * from "./general";
10
10
  export * from "./table";
11
11
  export * from "./auth";
12
12
  export * from "./image";
13
+ export * from "./lang";
13
14
  export * from "./wordImage";
package/lib/back/index.js CHANGED
@@ -22,4 +22,5 @@ __exportStar(require("./general"), exports);
22
22
  __exportStar(require("./table"), exports);
23
23
  __exportStar(require("./auth"), exports);
24
24
  __exportStar(require("./image"), exports);
25
+ __exportStar(require("./lang"), exports);
25
26
  __exportStar(require("./wordImage"), exports);
@@ -0,0 +1,13 @@
1
+ export interface BoLangRecord {
2
+ code: string;
3
+ name: string;
4
+ nativeName: string;
5
+ googleCode: string;
6
+ rate: number;
7
+ active: boolean;
8
+ wordTotal: number;
9
+ listTotal: number;
10
+ tableTotal: number;
11
+ created: string;
12
+ updated: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./entity";
2
+ export * from "./request";
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./entity"), exports);
14
+ __exportStar(require("./request"), exports);
@@ -0,0 +1,10 @@
1
+ export interface BoUpdateLangRequest {
2
+ code: string;
3
+ name: string;
4
+ nativeName?: string;
5
+ googleCode?: string;
6
+ rate?: number;
7
+ active?: boolean;
8
+ }
9
+ export interface BoLangModifier extends BoUpdateLangRequest {
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,6 +6,7 @@ export interface ExceptionClass {
6
6
  }
7
7
  export declare enum ExceptionCodes {
8
8
  ParameterInvalid = "ParameterInvalid",
9
+ InvalidConfigEnv = "InvalidConfigEnv",
9
10
  UsernameExists = "UsernameExists",
10
11
  UsernameInvalid = "UsernameInvalid",
11
12
  EmailExists = "EmailExists",
@@ -5,6 +5,7 @@ var ExceptionCodes;
5
5
  (function (ExceptionCodes) {
6
6
  // common
7
7
  ExceptionCodes["ParameterInvalid"] = "ParameterInvalid";
8
+ ExceptionCodes["InvalidConfigEnv"] = "InvalidConfigEnv";
8
9
  // auth
9
10
  ExceptionCodes["UsernameExists"] = "UsernameExists";
10
11
  ExceptionCodes["UsernameInvalid"] = "UsernameInvalid";
@@ -1,4 +1,8 @@
1
+ import { ImageGen } from "../../common";
1
2
  import { ShortFeedRequest } from "../../feed";
2
3
  export interface FeWordImageFeedRequest extends ShortFeedRequest {
3
4
  wordId: string;
4
5
  }
6
+ export interface FeInitWordImageRequest extends Pick<ImageGen, "fileName" | "thumbnailFileName"> {
7
+ wordId: string;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.239.0",
3
+ "version": "0.241.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",