revdev 0.266.0 → 0.269.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.
@@ -30,3 +30,13 @@ export interface NameGen {
30
30
  id: string;
31
31
  name: string;
32
32
  }
33
+ export interface UserInfoGen {
34
+ id: string;
35
+ username: string;
36
+ email: string;
37
+ name: string;
38
+ native?: string;
39
+ learn?: string;
40
+ tran?: string;
41
+ locale?: string;
42
+ }
@@ -1,4 +1,4 @@
1
- import { IdCodeOption } from "../../common";
1
+ import { IdCodeOption, UserInfoGen } from "../../common";
2
2
  import { AppSettings } from "../../shared";
3
3
  import { FeLangRecord } from "../lang";
4
4
  import { FeListRecord } from "../list";
@@ -10,6 +10,7 @@ export interface FeInitData {
10
10
  quizCodes: string[];
11
11
  localeCodes: string[];
12
12
  settings: AppSettings;
13
+ userInfo?: UserInfoGen;
13
14
  }
14
15
  export interface FeIntroductionData {
15
16
  langs: FeLangRecord[];
@@ -9,7 +9,7 @@ export * from "./tran";
9
9
  export * from "./tagWord";
10
10
  export * from "./auth";
11
11
  export * from "./discover";
12
- export * from "./settings";
12
+ export * from "./profile";
13
13
  export * from "./user";
14
14
  export * from "./quiz";
15
15
  export * from "./progress";
@@ -21,7 +21,7 @@ __exportStar(require("./tran"), exports);
21
21
  __exportStar(require("./tagWord"), exports);
22
22
  __exportStar(require("./auth"), exports);
23
23
  __exportStar(require("./discover"), exports);
24
- __exportStar(require("./settings"), exports);
24
+ __exportStar(require("./profile"), exports);
25
25
  __exportStar(require("./user"), exports);
26
26
  __exportStar(require("./quiz"), exports);
27
27
  __exportStar(require("./progress"), exports);
@@ -1,10 +1,10 @@
1
+ import { Feed, WordDataGen } from "../..";
1
2
  import { AccessGen, ContribGen } from "../../common";
2
3
  export interface FeListRecord {
3
4
  id: string;
4
5
  slug: string;
5
6
  langCode: string;
6
7
  name: string;
7
- isSuper: boolean;
8
8
  wordTotal: number;
9
9
  knownWordTotal: number;
10
10
  userTotal: number;
@@ -17,11 +17,12 @@ export interface FeListEntity {
17
17
  name: string;
18
18
  langCode: string;
19
19
  description?: string;
20
- isSuper: boolean;
21
20
  metaKeywords?: string;
22
21
  contrib: ContribGen;
23
22
  access: AccessGen;
24
23
  userTotal: number;
25
24
  wordTotal: number;
26
25
  knownWordTotal: number;
26
+ wordFeed: Feed<WordDataGen>;
27
+ tranLangCode?: string;
27
28
  }
@@ -1,3 +1,8 @@
1
+ import { SlugRequest } from "../../common";
2
+ export interface FeListEntityRequest extends SlugRequest {
3
+ page?: number;
4
+ tranLangCode?: string;
5
+ }
1
6
  export interface FeCreateListRequest {
2
7
  name: string;
3
8
  description?: string;
@@ -1,10 +1,11 @@
1
1
  import { AccessGen, ContribGen } from "../../common";
2
+ import { Feed } from "../../feed";
3
+ import { TableRowRecord } from "../../shared";
2
4
  export interface FeTableRecord {
3
5
  id: string;
4
6
  slug: string;
5
7
  langCode: string;
6
8
  name: string;
7
- isSuper: boolean;
8
9
  userTotal: number;
9
10
  wordTotal: number;
10
11
  contrib: ContribGen;
@@ -15,7 +16,6 @@ export interface FeTableEntity {
15
16
  slug: string;
16
17
  name: string;
17
18
  langCode: string;
18
- isSuper: boolean;
19
19
  description?: string;
20
20
  metaKeywords: string;
21
21
  access: AccessGen;
@@ -24,4 +24,5 @@ export interface FeTableEntity {
24
24
  userTotal: number;
25
25
  wordTotal: number;
26
26
  columns: string[];
27
+ rowFeed: Feed<TableRowRecord>;
27
28
  }
@@ -1,4 +1,8 @@
1
+ import { SlugRequest } from "../..";
1
2
  import { WordFeedExtension, FeedRequest, LangFeedRequest } from "../../feed";
3
+ export interface FeTableEntityRequest extends SlugRequest {
4
+ page?: number;
5
+ }
2
6
  export interface FeTableWordFeedRequest extends WordFeedExtension, FeedRequest {
3
7
  slug: string;
4
8
  }
@@ -1,3 +1,4 @@
1
+ import { Feed, TagWordRecord } from "../..";
1
2
  import { ContribGen } from "../../common";
2
3
  export interface FeTagRecord {
3
4
  id: string;
@@ -13,4 +14,5 @@ export interface FeTagEntity {
13
14
  langCode?: string;
14
15
  wordTotal: number;
15
16
  knownWordTotal: number;
17
+ wordFeed: Feed<TagWordRecord>;
16
18
  }
@@ -5,4 +5,5 @@ export interface FeWordTagFeedRequest extends LangFeedRequest {
5
5
  export interface FeTagEntityRequest {
6
6
  code: string;
7
7
  langCode?: string;
8
+ page?: number;
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.266.0",
3
+ "version": "0.269.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes