revdev 0.380.0 → 0.382.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.
@@ -0,0 +1,11 @@
1
+ export interface BoComplaintRecord {
2
+ id: string;
3
+ userId?: string;
4
+ userName?: string;
5
+ userEmail?: string;
6
+ pageUrl: string;
7
+ description: string;
8
+ active: boolean;
9
+ status?: number;
10
+ created: string;
11
+ }
@@ -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,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entity"), exports);
18
+ __exportStar(require("./request"), exports);
@@ -0,0 +1,5 @@
1
+ import { EntryStatus } from "../../common";
2
+ import { FeedRequest } from "../../feed";
3
+ export interface BoComplaintFeedRequest extends FeedRequest {
4
+ status?: EntryStatus;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -14,6 +14,7 @@ export interface BoExerciseRecord {
14
14
  export interface BoExerciseRegularRecord extends BoExerciseRecord {
15
15
  kind: ExerciseKind;
16
16
  itemTotal: number;
17
+ levelCode?: string;
17
18
  }
18
19
  export interface BoExerciseListRecord extends BoExerciseRecord {
19
20
  listId: string;
@@ -25,3 +25,4 @@ export * from "./admin";
25
25
  export * from "./ai";
26
26
  export * from "./topic";
27
27
  export * from "./answer";
28
+ export * from "./complaint";
package/lib/back/index.js CHANGED
@@ -41,3 +41,4 @@ __exportStar(require("./admin"), exports);
41
41
  __exportStar(require("./ai"), exports);
42
42
  __exportStar(require("./topic"), exports);
43
43
  __exportStar(require("./answer"), exports);
44
+ __exportStar(require("./complaint"), exports);
@@ -0,0 +1 @@
1
+ export * from "./request";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./request"), exports);
@@ -0,0 +1,5 @@
1
+ export interface FeCreateComplaintRequest {
2
+ pageUrl: string;
3
+ description: string;
4
+ userEmail?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -21,3 +21,4 @@ export * from "./episode";
21
21
  export * from "./exercise";
22
22
  export * from "./pass";
23
23
  export * from "./rule";
24
+ export * from "./complaint";
@@ -37,3 +37,4 @@ __exportStar(require("./episode"), exports);
37
37
  __exportStar(require("./exercise"), exports);
38
38
  __exportStar(require("./pass"), exports);
39
39
  __exportStar(require("./rule"), exports);
40
+ __exportStar(require("./complaint"), exports);
@@ -1,6 +1,7 @@
1
1
  import { EntryStatus, ExerciseKind } from "../../common";
2
2
  export interface CreateExerciseRequest {
3
3
  kind: ExerciseKind;
4
+ levelCode?: string;
4
5
  episodeId?: string;
5
6
  }
6
7
  export interface UpdateExerciseRequest extends Pick<CreateExerciseRequest, "kind"> {
@@ -16,6 +17,7 @@ export interface ExerciseModifier extends CreateExerciseRequest {
16
17
  export interface GenerateExerciseRequest {
17
18
  ruleId: string;
18
19
  kind: ExerciseKind;
20
+ levelCode?: string;
19
21
  itemCount: number;
20
22
  otherRuleIds: string[];
21
23
  answerTotal?: number;
@@ -43,6 +43,7 @@ export interface CreateItemSetRequest {
43
43
  export interface GenerateItemRequest {
44
44
  count: number;
45
45
  exerciseId: string;
46
+ levelCode?: string;
46
47
  otherRuleIds: string[];
47
48
  answerTotal?: number;
48
49
  ruleId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.380.0",
3
+ "version": "0.382.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",