bb-relay 0.0.45 → 0.0.47

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.
@@ -24,7 +24,7 @@ type User = Wrapper<BaseUser>;
24
24
 
25
25
  type BaseRelease = {
26
26
  changes: string;
27
- type: "production" | "beta" | "draft";
27
+ type: "production" | "beta" | "draft" | "outdated";
28
28
  metadata: {
29
29
  uploadedAt: number;
30
30
  totalFiles: number;
@@ -42,12 +42,24 @@ type BaseRelease = {
42
42
  * The plugin id (part of release id)
43
43
  */
44
44
  slug: string;
45
+ name: string;
46
+ rating: number;
47
+ reviews: number;
48
+ tags: string[];
45
49
  };
46
50
  type Release = Wrapper<BaseRelease>;
47
51
 
48
52
  type BaseRating = {
49
53
  userId: string;
50
- RatingId: string;
54
+ /**
55
+ * plugin and version
56
+ * plugin@1.0.0
57
+ */
58
+ slug: string;
59
+ plugin: string;
60
+ /**
61
+ * 1 to 5
62
+ */
51
63
  rating: number;
52
64
  comment?: string;
53
65
  createdAt: string;
@@ -24,7 +24,7 @@ type User = Wrapper<BaseUser>;
24
24
 
25
25
  type BaseRelease = {
26
26
  changes: string;
27
- type: "production" | "beta" | "draft";
27
+ type: "production" | "beta" | "draft" | "outdated";
28
28
  metadata: {
29
29
  uploadedAt: number;
30
30
  totalFiles: number;
@@ -42,12 +42,24 @@ type BaseRelease = {
42
42
  * The plugin id (part of release id)
43
43
  */
44
44
  slug: string;
45
+ name: string;
46
+ rating: number;
47
+ reviews: number;
48
+ tags: string[];
45
49
  };
46
50
  type Release = Wrapper<BaseRelease>;
47
51
 
48
52
  type BaseRating = {
49
53
  userId: string;
50
- RatingId: string;
54
+ /**
55
+ * plugin and version
56
+ * plugin@1.0.0
57
+ */
58
+ slug: string;
59
+ plugin: string;
60
+ /**
61
+ * 1 to 5
62
+ */
51
63
  rating: number;
52
64
  comment?: string;
53
65
  createdAt: string;
package/dist/index.d.mts CHANGED
@@ -36,6 +36,7 @@ type Manifest = {
36
36
  icons?: string;
37
37
  theme?: string;
38
38
  entry?: string;
39
+ tags?: string[];
39
40
  [key: string]: unknown;
40
41
  };
41
42
 
package/dist/index.d.ts CHANGED
@@ -36,6 +36,7 @@ type Manifest = {
36
36
  icons?: string;
37
37
  theme?: string;
38
38
  entry?: string;
39
+ tags?: string[];
39
40
  [key: string]: unknown;
40
41
  };
41
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bb-relay",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "description": "For managing bb-editor extension",
5
5
  "license": "ISC",
6
6
  "author": "Ade Adeola",
@@ -2,7 +2,15 @@ import { Wrapper } from "./Wrapper";
2
2
 
3
3
  type BaseRating = {
4
4
  userId: string;
5
- RatingId: string;
5
+ /**
6
+ * plugin and version
7
+ * plugin@1.0.0
8
+ */
9
+ slug: string;
10
+ plugin: string;
11
+ /**
12
+ * 1 to 5
13
+ */
6
14
  rating: number;
7
15
  comment?: string;
8
16
  createdAt: string;
@@ -2,7 +2,7 @@ import { Wrapper } from "./Wrapper";
2
2
 
3
3
  type BaseRelease = {
4
4
  changes: string;
5
- type: "production" | "beta" | "draft";
5
+ type: "production" | "beta" | "draft" | "outdated";
6
6
  metadata: {
7
7
  uploadedAt: number;
8
8
  totalFiles: number;
@@ -20,6 +20,10 @@ type BaseRelease = {
20
20
  * The plugin id (part of release id)
21
21
  */
22
22
  slug: string;
23
+ name: string;
24
+ rating: number;
25
+ reviews: number;
26
+ tags: string[];
23
27
  };
24
28
 
25
29
  export type Release = Wrapper<BaseRelease>;
@@ -26,5 +26,6 @@ export type Manifest = {
26
26
  icons?: string;
27
27
  theme?: string;
28
28
  entry?: string;
29
+ tags?: string[];
29
30
  [key: string]: unknown;
30
31
  };