bb-relay 0.0.42 → 0.0.44
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.
- package/dist/Plugin-CP-5My91.d.ts +25 -0
- package/dist/Plugin-CXXPXHGc.d.mts +25 -0
- package/dist/database.d.mts +21 -2
- package/dist/database.d.ts +21 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/types/database/Plugin.ts +8 -11
- package/src/types/database/Release.ts +3 -3
- package/dist/Plugin-Db_XUKx0.d.mts +0 -46
- package/dist/Plugin-t8StCIag.d.ts +0 -46
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { W as Wrapper } from './Wrapper-DWhYVa7F.js';
|
|
2
|
+
|
|
3
|
+
type BasePlugin = {
|
|
4
|
+
userId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string | null;
|
|
7
|
+
archived?: boolean;
|
|
8
|
+
deprecated?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Points to release id of the beta
|
|
11
|
+
*/
|
|
12
|
+
beta: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Points to release id of the production
|
|
15
|
+
*/
|
|
16
|
+
production: string | null;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt: string;
|
|
19
|
+
tags: string[];
|
|
20
|
+
username: string;
|
|
21
|
+
id: string;
|
|
22
|
+
};
|
|
23
|
+
type Plugin = Wrapper<BasePlugin>;
|
|
24
|
+
|
|
25
|
+
export type { Plugin as P };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { W as Wrapper } from './Wrapper-DWhYVa7F.mjs';
|
|
2
|
+
|
|
3
|
+
type BasePlugin = {
|
|
4
|
+
userId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string | null;
|
|
7
|
+
archived?: boolean;
|
|
8
|
+
deprecated?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Points to release id of the beta
|
|
11
|
+
*/
|
|
12
|
+
beta: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Points to release id of the production
|
|
15
|
+
*/
|
|
16
|
+
production: string | null;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt: string;
|
|
19
|
+
tags: string[];
|
|
20
|
+
username: string;
|
|
21
|
+
id: string;
|
|
22
|
+
};
|
|
23
|
+
type Plugin = Wrapper<BasePlugin>;
|
|
24
|
+
|
|
25
|
+
export type { Plugin as P };
|
package/dist/database.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { W as Wrapper } from './Wrapper-DWhYVa7F.mjs';
|
|
2
|
-
export { P as Plugin
|
|
2
|
+
export { P as Plugin } from './Plugin-CXXPXHGc.mjs';
|
|
3
3
|
export { P as Project } from './Project-9NfYlQ36.mjs';
|
|
4
4
|
import './PROJECT_CATEGORY-BivLHtB6.mjs';
|
|
5
5
|
import './Commit-PdsjrKSG.mjs';
|
|
@@ -22,6 +22,25 @@ type BaseUser = {
|
|
|
22
22
|
};
|
|
23
23
|
type User = Wrapper<BaseUser>;
|
|
24
24
|
|
|
25
|
+
type BaseRelease = {
|
|
26
|
+
changes: string;
|
|
27
|
+
type: "production" | "beta" | "draft";
|
|
28
|
+
metadata: {
|
|
29
|
+
uploadedAt: number;
|
|
30
|
+
totalFiles: number;
|
|
31
|
+
totalSize: number;
|
|
32
|
+
};
|
|
33
|
+
createdAt: string;
|
|
34
|
+
/**
|
|
35
|
+
* Based on plugin-id and version e.g. bb-plugin@1.2.3
|
|
36
|
+
*/
|
|
37
|
+
id: string;
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
userId: string;
|
|
40
|
+
installs: number;
|
|
41
|
+
};
|
|
42
|
+
type Release = Wrapper<BaseRelease>;
|
|
43
|
+
|
|
25
44
|
type BaseRating = {
|
|
26
45
|
userId: string;
|
|
27
46
|
RatingId: string;
|
|
@@ -35,4 +54,4 @@ type BaseRating = {
|
|
|
35
54
|
};
|
|
36
55
|
type Rating = Wrapper<BaseRating>;
|
|
37
56
|
|
|
38
|
-
export type { Rating, User };
|
|
57
|
+
export type { Rating, Release, User };
|
package/dist/database.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { W as Wrapper } from './Wrapper-DWhYVa7F.js';
|
|
2
|
-
export { P as Plugin
|
|
2
|
+
export { P as Plugin } from './Plugin-CP-5My91.js';
|
|
3
3
|
export { P as Project } from './Project-DOzeI4xi.js';
|
|
4
4
|
import './PROJECT_CATEGORY-BivLHtB6.js';
|
|
5
5
|
import './Commit-PdsjrKSG.js';
|
|
@@ -22,6 +22,25 @@ type BaseUser = {
|
|
|
22
22
|
};
|
|
23
23
|
type User = Wrapper<BaseUser>;
|
|
24
24
|
|
|
25
|
+
type BaseRelease = {
|
|
26
|
+
changes: string;
|
|
27
|
+
type: "production" | "beta" | "draft";
|
|
28
|
+
metadata: {
|
|
29
|
+
uploadedAt: number;
|
|
30
|
+
totalFiles: number;
|
|
31
|
+
totalSize: number;
|
|
32
|
+
};
|
|
33
|
+
createdAt: string;
|
|
34
|
+
/**
|
|
35
|
+
* Based on plugin-id and version e.g. bb-plugin@1.2.3
|
|
36
|
+
*/
|
|
37
|
+
id: string;
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
userId: string;
|
|
40
|
+
installs: number;
|
|
41
|
+
};
|
|
42
|
+
type Release = Wrapper<BaseRelease>;
|
|
43
|
+
|
|
25
44
|
type BaseRating = {
|
|
26
45
|
userId: string;
|
|
27
46
|
RatingId: string;
|
|
@@ -35,4 +54,4 @@ type BaseRating = {
|
|
|
35
54
|
};
|
|
36
55
|
type Rating = Wrapper<BaseRating>;
|
|
37
56
|
|
|
38
|
-
export type { Rating, User };
|
|
57
|
+
export type { Rating, Release, User };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as FileContent } from './FileContent-CXlulSZq.mjs';
|
|
2
2
|
export { R as Result } from './Result-BLbZLEgX.mjs';
|
|
3
|
-
import { P as Plugin } from './Plugin-
|
|
3
|
+
import { P as Plugin } from './Plugin-CXXPXHGc.mjs';
|
|
4
4
|
import { R as RelayEvent, E as EventReturn, a as RelayRequest, b as RequestReturn } from './RequestReturn-Dahl-hde.mjs';
|
|
5
5
|
import './Wrapper-DWhYVa7F.mjs';
|
|
6
6
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as FileContent } from './FileContent-CXlulSZq.js';
|
|
2
2
|
export { R as Result } from './Result-BLbZLEgX.js';
|
|
3
|
-
import { P as Plugin } from './Plugin-
|
|
3
|
+
import { P as Plugin } from './Plugin-CP-5My91.js';
|
|
4
4
|
import { R as RelayEvent, E as EventReturn, a as RelayRequest, b as RequestReturn } from './RequestReturn-Clb_WcNj.js';
|
|
5
5
|
import './Wrapper-DWhYVa7F.js';
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
|
-
import { Release } from "./Release";
|
|
2
1
|
import { Wrapper } from "./Wrapper";
|
|
3
2
|
|
|
4
|
-
type Status = Omit<Release["doc"], "type">;
|
|
5
|
-
/**
|
|
6
|
-
* This will be pulled from two firestore
|
|
7
|
-
* The part of name, description etc will be in the main
|
|
8
|
-
* Things like installs will be in the registry
|
|
9
|
-
*/
|
|
10
3
|
type BasePlugin = {
|
|
11
4
|
userId: string;
|
|
12
|
-
slug: string;
|
|
13
5
|
name: string;
|
|
14
6
|
description: string | null;
|
|
15
7
|
archived?: boolean;
|
|
16
8
|
deprecated?: boolean;
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Points to release id of the beta
|
|
11
|
+
*/
|
|
12
|
+
beta: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Points to release id of the production
|
|
15
|
+
*/
|
|
16
|
+
production: string | null;
|
|
19
17
|
createdAt: string;
|
|
20
18
|
updatedAt: string;
|
|
21
19
|
tags: string[];
|
|
22
20
|
username: string;
|
|
23
21
|
id: string;
|
|
24
|
-
avatar?: string;
|
|
25
22
|
};
|
|
26
23
|
|
|
27
24
|
export type Plugin = Wrapper<BasePlugin>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Wrapper } from "./Wrapper";
|
|
2
2
|
|
|
3
3
|
type BaseRelease = {
|
|
4
|
-
storageRef: string;
|
|
5
4
|
changes: string;
|
|
6
|
-
version: string;
|
|
7
5
|
type: "production" | "beta" | "draft";
|
|
8
|
-
slug: string;
|
|
9
6
|
metadata: {
|
|
10
7
|
uploadedAt: number;
|
|
11
8
|
totalFiles: number;
|
|
12
9
|
totalSize: number;
|
|
13
10
|
};
|
|
14
11
|
createdAt: string;
|
|
12
|
+
/**
|
|
13
|
+
* Based on plugin-id and version e.g. bb-plugin@1.2.3
|
|
14
|
+
*/
|
|
15
15
|
id: string;
|
|
16
16
|
updatedAt: string;
|
|
17
17
|
userId: string;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { W as Wrapper } from './Wrapper-DWhYVa7F.mjs';
|
|
2
|
-
|
|
3
|
-
type BaseRelease = {
|
|
4
|
-
storageRef: string;
|
|
5
|
-
changes: string;
|
|
6
|
-
version: string;
|
|
7
|
-
type: "production" | "beta" | "draft";
|
|
8
|
-
slug: string;
|
|
9
|
-
metadata: {
|
|
10
|
-
uploadedAt: number;
|
|
11
|
-
totalFiles: number;
|
|
12
|
-
totalSize: number;
|
|
13
|
-
};
|
|
14
|
-
createdAt: string;
|
|
15
|
-
id: string;
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
userId: string;
|
|
18
|
-
installs: number;
|
|
19
|
-
};
|
|
20
|
-
type Release = Wrapper<BaseRelease>;
|
|
21
|
-
|
|
22
|
-
type Status = Omit<Release["doc"], "type">;
|
|
23
|
-
/**
|
|
24
|
-
* This will be pulled from two firestore
|
|
25
|
-
* The part of name, description etc will be in the main
|
|
26
|
-
* Things like installs will be in the registry
|
|
27
|
-
*/
|
|
28
|
-
type BasePlugin = {
|
|
29
|
-
userId: string;
|
|
30
|
-
slug: string;
|
|
31
|
-
name: string;
|
|
32
|
-
description: string | null;
|
|
33
|
-
archived?: boolean;
|
|
34
|
-
deprecated?: boolean;
|
|
35
|
-
beta: Status | null;
|
|
36
|
-
production: Status | null;
|
|
37
|
-
createdAt: string;
|
|
38
|
-
updatedAt: string;
|
|
39
|
-
tags: string[];
|
|
40
|
-
username: string;
|
|
41
|
-
id: string;
|
|
42
|
-
avatar?: string;
|
|
43
|
-
};
|
|
44
|
-
type Plugin = Wrapper<BasePlugin>;
|
|
45
|
-
|
|
46
|
-
export type { Plugin as P, Release as R };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { W as Wrapper } from './Wrapper-DWhYVa7F.js';
|
|
2
|
-
|
|
3
|
-
type BaseRelease = {
|
|
4
|
-
storageRef: string;
|
|
5
|
-
changes: string;
|
|
6
|
-
version: string;
|
|
7
|
-
type: "production" | "beta" | "draft";
|
|
8
|
-
slug: string;
|
|
9
|
-
metadata: {
|
|
10
|
-
uploadedAt: number;
|
|
11
|
-
totalFiles: number;
|
|
12
|
-
totalSize: number;
|
|
13
|
-
};
|
|
14
|
-
createdAt: string;
|
|
15
|
-
id: string;
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
userId: string;
|
|
18
|
-
installs: number;
|
|
19
|
-
};
|
|
20
|
-
type Release = Wrapper<BaseRelease>;
|
|
21
|
-
|
|
22
|
-
type Status = Omit<Release["doc"], "type">;
|
|
23
|
-
/**
|
|
24
|
-
* This will be pulled from two firestore
|
|
25
|
-
* The part of name, description etc will be in the main
|
|
26
|
-
* Things like installs will be in the registry
|
|
27
|
-
*/
|
|
28
|
-
type BasePlugin = {
|
|
29
|
-
userId: string;
|
|
30
|
-
slug: string;
|
|
31
|
-
name: string;
|
|
32
|
-
description: string | null;
|
|
33
|
-
archived?: boolean;
|
|
34
|
-
deprecated?: boolean;
|
|
35
|
-
beta: Status | null;
|
|
36
|
-
production: Status | null;
|
|
37
|
-
createdAt: string;
|
|
38
|
-
updatedAt: string;
|
|
39
|
-
tags: string[];
|
|
40
|
-
username: string;
|
|
41
|
-
id: string;
|
|
42
|
-
avatar?: string;
|
|
43
|
-
};
|
|
44
|
-
type Plugin = Wrapper<BasePlugin>;
|
|
45
|
-
|
|
46
|
-
export type { Plugin as P, Release as R };
|