revdev 0.133.0 → 0.135.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.
@@ -26,8 +26,15 @@ export interface LinkedItem {
26
26
  childId: string;
27
27
  link: boolean;
28
28
  }
29
- export interface LinkWordRequest {
30
- parentId: string;
29
+ interface BasicLinkWordRequest {
31
30
  word: EntryWord;
32
31
  link: boolean;
33
32
  }
33
+ export interface LinkWordRequest extends BasicLinkWordRequest {
34
+ parentId: string;
35
+ }
36
+ export interface LinkTagWordRequest extends BasicLinkWordRequest {
37
+ code: string;
38
+ languageCode: string;
39
+ }
40
+ export {};
@@ -1,16 +1,9 @@
1
1
  import { ContributionGen } from "../../common";
2
- import { EntryWord } from "../../shared";
3
2
  export interface FeTagRecord {
4
3
  code: string;
5
4
  wordCount: number;
6
5
  knownWordCount: number;
7
6
  }
8
- export interface FeTagLinkWordRequest {
9
- tagCode: string;
10
- languageCode: string;
11
- word: EntryWord;
12
- link: boolean;
13
- }
14
7
  export interface FeTagEntity {
15
8
  code: string;
16
9
  languageCode: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.133.0",
3
+ "version": "0.135.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",