bb-relay 0.0.44 → 0.0.46

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;
@@ -38,12 +38,27 @@ type BaseRelease = {
38
38
  updatedAt: string;
39
39
  userId: string;
40
40
  installs: number;
41
+ /**
42
+ * The plugin id (part of release id)
43
+ */
44
+ slug: string;
45
+ name: string;
46
+ rating: number;
47
+ reviews: number;
41
48
  };
42
49
  type Release = Wrapper<BaseRelease>;
43
50
 
44
51
  type BaseRating = {
45
52
  userId: string;
46
- RatingId: string;
53
+ /**
54
+ * plugin and version
55
+ * plugin@1.0.0
56
+ */
57
+ slug: string;
58
+ plugin: string;
59
+ /**
60
+ * 1 to 5
61
+ */
47
62
  rating: number;
48
63
  comment?: string;
49
64
  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;
@@ -38,12 +38,27 @@ type BaseRelease = {
38
38
  updatedAt: string;
39
39
  userId: string;
40
40
  installs: number;
41
+ /**
42
+ * The plugin id (part of release id)
43
+ */
44
+ slug: string;
45
+ name: string;
46
+ rating: number;
47
+ reviews: number;
41
48
  };
42
49
  type Release = Wrapper<BaseRelease>;
43
50
 
44
51
  type BaseRating = {
45
52
  userId: string;
46
- RatingId: string;
53
+ /**
54
+ * plugin and version
55
+ * plugin@1.0.0
56
+ */
57
+ slug: string;
58
+ plugin: string;
59
+ /**
60
+ * 1 to 5
61
+ */
47
62
  rating: number;
48
63
  comment?: string;
49
64
  createdAt: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bb-relay",
3
- "version": "0.0.44",
3
+ "version": "0.0.46",
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;
@@ -16,6 +16,13 @@ type BaseRelease = {
16
16
  updatedAt: string;
17
17
  userId: string;
18
18
  installs: number;
19
+ /**
20
+ * The plugin id (part of release id)
21
+ */
22
+ slug: string;
23
+ name: string;
24
+ rating: number;
25
+ reviews: number;
19
26
  };
20
27
 
21
28
  export type Release = Wrapper<BaseRelease>;