revdev 0.319.0 → 0.321.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.
@@ -6,3 +6,7 @@ export interface BoEntryStatusUpdateRequest {
6
6
  export interface BoEntryStatusUpdateModifier extends BoEntryStatusUpdateRequest {
7
7
  active: boolean;
8
8
  }
9
+ export interface BoEntryInitRateRequest {
10
+ id: string;
11
+ initRate: number;
12
+ }
@@ -21,7 +21,7 @@ export interface BoTagRecord {
21
21
  interface BoTagRefRecord {
22
22
  id: string;
23
23
  active: boolean;
24
- status: EntryStatus;
24
+ status?: EntryStatus;
25
25
  rate: number;
26
26
  tag: TagGen;
27
27
  contrib: DualContribGen;
@@ -10,6 +10,7 @@ export interface BoWordRecord extends WordDataGen {
10
10
  listTotal: number;
11
11
  tableTotal: number;
12
12
  imageTotal: number;
13
+ audioTotal: number;
13
14
  tagTotal: number;
14
15
  }
15
16
  export interface BoWordEntity extends WordGen {
@@ -27,12 +27,13 @@ export declare enum SocialProvider {
27
27
  Telegram = "telegram"
28
28
  }
29
29
  export declare enum SmmCampaignStatus {
30
- IN_PROGRESS = 1,
31
- COMPLETED = 2
30
+ InProgress = 1,
31
+ Completed = 2
32
32
  }
33
33
  export declare enum SmmCampaignType {
34
- POST = "POST",
35
- QUIZ = "QUIZ"
34
+ Post = "post",
35
+ Quiz = "quiz",
36
+ Audio = "audio"
36
37
  }
37
38
  export declare enum ExerciseType {
38
39
  Regular = "regular",
@@ -95,3 +96,7 @@ export declare enum ImageKind {
95
96
  Item = "imageItem"
96
97
  }
97
98
  export type StoreFileKind = AudioKind | ImageKind;
99
+ export declare enum AudioSex {
100
+ Male = "male",
101
+ Female = "female"
102
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImageKind = exports.AudioKind = exports.PointerMode = exports.ContentType = exports.PositionDirection = exports.PassExerciseStatus = exports.PassEpisodeStatus = exports.PassStatus = exports.PostStatus = exports.SetType = exports.ItemType = exports.ExerciseMode = exports.ExerciseType = exports.SmmCampaignType = exports.SmmCampaignStatus = exports.SocialProvider = exports.EntryStatus = exports.QuizMode = exports.UserReaction = exports.WordMode = exports.Knowing = void 0;
3
+ exports.AudioSex = exports.ImageKind = exports.AudioKind = exports.PointerMode = exports.ContentType = exports.PositionDirection = exports.PassExerciseStatus = exports.PassEpisodeStatus = exports.PassStatus = exports.PostStatus = exports.SetType = exports.ItemType = exports.ExerciseMode = exports.ExerciseType = exports.SmmCampaignType = exports.SmmCampaignStatus = exports.SocialProvider = exports.EntryStatus = exports.QuizMode = exports.UserReaction = exports.WordMode = exports.Knowing = void 0;
4
4
  var Knowing;
5
5
  (function (Knowing) {
6
6
  Knowing[Knowing["Known"] = 1] = "Known";
@@ -38,13 +38,14 @@ var SocialProvider;
38
38
  })(SocialProvider || (exports.SocialProvider = SocialProvider = {}));
39
39
  var SmmCampaignStatus;
40
40
  (function (SmmCampaignStatus) {
41
- SmmCampaignStatus[SmmCampaignStatus["IN_PROGRESS"] = 1] = "IN_PROGRESS";
42
- SmmCampaignStatus[SmmCampaignStatus["COMPLETED"] = 2] = "COMPLETED";
41
+ SmmCampaignStatus[SmmCampaignStatus["InProgress"] = 1] = "InProgress";
42
+ SmmCampaignStatus[SmmCampaignStatus["Completed"] = 2] = "Completed";
43
43
  })(SmmCampaignStatus || (exports.SmmCampaignStatus = SmmCampaignStatus = {}));
44
44
  var SmmCampaignType;
45
45
  (function (SmmCampaignType) {
46
- SmmCampaignType["POST"] = "POST";
47
- SmmCampaignType["QUIZ"] = "QUIZ";
46
+ SmmCampaignType["Post"] = "post";
47
+ SmmCampaignType["Quiz"] = "quiz";
48
+ SmmCampaignType["Audio"] = "audio";
48
49
  })(SmmCampaignType || (exports.SmmCampaignType = SmmCampaignType = {}));
49
50
  var ExerciseType;
50
51
  (function (ExerciseType) {
@@ -123,3 +124,8 @@ var ImageKind;
123
124
  ImageKind["Course"] = "imageCourse";
124
125
  ImageKind["Item"] = "imageItem";
125
126
  })(ImageKind || (exports.ImageKind = ImageKind = {}));
127
+ var AudioSex;
128
+ (function (AudioSex) {
129
+ AudioSex["Male"] = "male";
130
+ AudioSex["Female"] = "female";
131
+ })(AudioSex || (exports.AudioSex = AudioSex = {}));
@@ -28,6 +28,8 @@ export interface WordFeedExtension {
28
28
  mode?: string;
29
29
  hasImage?: boolean;
30
30
  hasTran?: boolean;
31
+ hasAudio?: boolean;
32
+ hasTag?: boolean;
31
33
  tranLangCode?: string;
32
34
  }
33
35
  export interface WordRelationFeedRequest extends Pick<Feed, "skip"> {
@@ -1,4 +1,4 @@
1
- import { ContribGen, Knowing, QuizCode, QuizMode } from "../../common";
1
+ import { AudioSex, ContribGen, Knowing, QuizCode, QuizMode } from "../../common";
2
2
  export interface WordGen {
3
3
  id: string;
4
4
  text: string;
@@ -29,4 +29,5 @@ export interface WordAttemptRecord {
29
29
  export interface WordAudioRecord {
30
30
  id: string;
31
31
  url: string;
32
+ sex?: AudioSex;
32
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.319.0",
3
+ "version": "0.321.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",