bb-relay 0.0.47 → 0.0.49
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/{Locale-DQ4a71QR.d.mts → Locale-CdRgNxJo.d.mts} +1 -0
- package/dist/{Locale-DQ4a71QR.d.ts → Locale-CdRgNxJo.d.ts} +1 -0
- package/dist/{Plugin-CXXPXHGc.d.mts → Plugin-BUbJvxEw.d.mts} +9 -0
- package/dist/{Plugin-CP-5My91.d.ts → Plugin-BYz_yl3E.d.ts} +9 -0
- package/dist/constant.js +5 -4
- package/dist/constant.mjs +5 -4
- package/dist/database.d.mts +20 -3
- package/dist/database.d.ts +20 -3
- package/dist/editor.d.mts +1 -1
- package/dist/editor.d.ts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/locale.d.mts +2 -2
- package/dist/locale.d.ts +2 -2
- package/dist/locale.js +4 -2
- package/dist/locale.mjs +4 -2
- package/package.json +1 -1
- package/src/constants/WEBSITE.ts +7 -4
- package/src/locales/en-GB.ts +1 -0
- package/src/locales/fr-FR.ts +1 -0
- package/src/types/database/Plugin.ts +9 -0
- package/src/types/database/Rating.ts +10 -2
- package/src/types/database/Release.ts +9 -0
|
@@ -19,6 +19,15 @@ type BasePlugin = {
|
|
|
19
19
|
tags: string[];
|
|
20
20
|
username: string;
|
|
21
21
|
id: string;
|
|
22
|
+
rating: number;
|
|
23
|
+
reviews: number;
|
|
24
|
+
ratingBreakdown: {
|
|
25
|
+
1: number;
|
|
26
|
+
2: number;
|
|
27
|
+
3: number;
|
|
28
|
+
4: number;
|
|
29
|
+
5: number;
|
|
30
|
+
};
|
|
22
31
|
};
|
|
23
32
|
type Plugin = Wrapper<BasePlugin>;
|
|
24
33
|
|
|
@@ -19,6 +19,15 @@ type BasePlugin = {
|
|
|
19
19
|
tags: string[];
|
|
20
20
|
username: string;
|
|
21
21
|
id: string;
|
|
22
|
+
rating: number;
|
|
23
|
+
reviews: number;
|
|
24
|
+
ratingBreakdown: {
|
|
25
|
+
1: number;
|
|
26
|
+
2: number;
|
|
27
|
+
3: number;
|
|
28
|
+
4: number;
|
|
29
|
+
5: number;
|
|
30
|
+
};
|
|
22
31
|
};
|
|
23
32
|
type Plugin = Wrapper<BasePlugin>;
|
|
24
33
|
|
package/dist/constant.js
CHANGED
|
@@ -3,11 +3,12 @@ var SENTINEL_FILE = ".release.commit";
|
|
|
3
3
|
var SENTINEL_FILE_default = SENTINEL_FILE;
|
|
4
4
|
|
|
5
5
|
// src/constants/WEBSITE.ts
|
|
6
|
+
var isDev = process.env.NODE_ENV === "development";
|
|
6
7
|
var WEBSITE = {
|
|
7
|
-
main: "http://bb-editor.adeolaade.com/",
|
|
8
|
-
console: "http://bb-console.adeolaade.com",
|
|
9
|
-
marketplace: "http://bb-marketplace.adeolaade.com",
|
|
10
|
-
docs: "http://bb-docs.adeolaade.com"
|
|
8
|
+
main: isDev ? "http://localhost:3000" : "http://bb-editor.adeolaade.com/",
|
|
9
|
+
console: isDev ? "http://localhost:3000" : "http://bb-console.adeolaade.com",
|
|
10
|
+
marketplace: isDev ? "http://localhost:3000" : "http://bb-marketplace.adeolaade.com",
|
|
11
|
+
docs: isDev ? "http://localhost:3000" : "http://bb-docs.adeolaade.com"
|
|
11
12
|
};
|
|
12
13
|
var WEBSITE_default = WEBSITE;
|
|
13
14
|
|
package/dist/constant.mjs
CHANGED
|
@@ -3,11 +3,12 @@ var SENTINEL_FILE = ".release.commit";
|
|
|
3
3
|
var SENTINEL_FILE_default = SENTINEL_FILE;
|
|
4
4
|
|
|
5
5
|
// src/constants/WEBSITE.ts
|
|
6
|
+
var isDev = process.env.NODE_ENV === "development";
|
|
6
7
|
var WEBSITE = {
|
|
7
|
-
main: "http://bb-editor.adeolaade.com/",
|
|
8
|
-
console: "http://bb-console.adeolaade.com",
|
|
9
|
-
marketplace: "http://bb-marketplace.adeolaade.com",
|
|
10
|
-
docs: "http://bb-docs.adeolaade.com"
|
|
8
|
+
main: isDev ? "http://localhost:3000" : "http://bb-editor.adeolaade.com/",
|
|
9
|
+
console: isDev ? "http://localhost:3000" : "http://bb-console.adeolaade.com",
|
|
10
|
+
marketplace: isDev ? "http://localhost:3000" : "http://bb-marketplace.adeolaade.com",
|
|
11
|
+
docs: isDev ? "http://localhost:3000" : "http://bb-docs.adeolaade.com"
|
|
11
12
|
};
|
|
12
13
|
var WEBSITE_default = WEBSITE;
|
|
13
14
|
|
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 } from './Plugin-
|
|
2
|
+
export { P as Plugin } from './Plugin-BUbJvxEw.mjs';
|
|
3
3
|
export { P as Project } from './Project-9NfYlQ36.mjs';
|
|
4
4
|
import './PROJECT_CATEGORY-BivLHtB6.mjs';
|
|
5
5
|
import './Commit-PdsjrKSG.mjs';
|
|
@@ -37,7 +37,9 @@ type BaseRelease = {
|
|
|
37
37
|
id: string;
|
|
38
38
|
updatedAt: string;
|
|
39
39
|
userId: string;
|
|
40
|
+
username: string;
|
|
40
41
|
installs: number;
|
|
42
|
+
description: string | null;
|
|
41
43
|
/**
|
|
42
44
|
* The plugin id (part of release id)
|
|
43
45
|
*/
|
|
@@ -46,16 +48,27 @@ type BaseRelease = {
|
|
|
46
48
|
rating: number;
|
|
47
49
|
reviews: number;
|
|
48
50
|
tags: string[];
|
|
51
|
+
ratingBreakdown: {
|
|
52
|
+
1: number;
|
|
53
|
+
2: number;
|
|
54
|
+
3: number;
|
|
55
|
+
4: number;
|
|
56
|
+
5: number;
|
|
57
|
+
};
|
|
49
58
|
};
|
|
50
59
|
type Release = Wrapper<BaseRelease>;
|
|
51
60
|
|
|
52
61
|
type BaseRating = {
|
|
53
62
|
userId: string;
|
|
54
63
|
/**
|
|
55
|
-
*
|
|
56
|
-
* plugin
|
|
64
|
+
* pluginId and version
|
|
65
|
+
* Indicate the version of the plugin that the rating applies to
|
|
66
|
+
* analyser@1.0.0
|
|
57
67
|
*/
|
|
58
68
|
slug: string;
|
|
69
|
+
/**
|
|
70
|
+
* the plugin id e.g. analyser
|
|
71
|
+
*/
|
|
59
72
|
plugin: string;
|
|
60
73
|
/**
|
|
61
74
|
* 1 to 5
|
|
@@ -66,6 +79,10 @@ type BaseRating = {
|
|
|
66
79
|
updatedAt?: string;
|
|
67
80
|
username: string;
|
|
68
81
|
avatar?: string;
|
|
82
|
+
/**
|
|
83
|
+
* made from plugin and userId
|
|
84
|
+
* @example analyser_cazA6BZqclLcyeb9m2fPphpopm7E
|
|
85
|
+
*/
|
|
69
86
|
id: string;
|
|
70
87
|
};
|
|
71
88
|
type Rating = Wrapper<BaseRating>;
|
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 } from './Plugin-
|
|
2
|
+
export { P as Plugin } from './Plugin-BYz_yl3E.js';
|
|
3
3
|
export { P as Project } from './Project-DOzeI4xi.js';
|
|
4
4
|
import './PROJECT_CATEGORY-BivLHtB6.js';
|
|
5
5
|
import './Commit-PdsjrKSG.js';
|
|
@@ -37,7 +37,9 @@ type BaseRelease = {
|
|
|
37
37
|
id: string;
|
|
38
38
|
updatedAt: string;
|
|
39
39
|
userId: string;
|
|
40
|
+
username: string;
|
|
40
41
|
installs: number;
|
|
42
|
+
description: string | null;
|
|
41
43
|
/**
|
|
42
44
|
* The plugin id (part of release id)
|
|
43
45
|
*/
|
|
@@ -46,16 +48,27 @@ type BaseRelease = {
|
|
|
46
48
|
rating: number;
|
|
47
49
|
reviews: number;
|
|
48
50
|
tags: string[];
|
|
51
|
+
ratingBreakdown: {
|
|
52
|
+
1: number;
|
|
53
|
+
2: number;
|
|
54
|
+
3: number;
|
|
55
|
+
4: number;
|
|
56
|
+
5: number;
|
|
57
|
+
};
|
|
49
58
|
};
|
|
50
59
|
type Release = Wrapper<BaseRelease>;
|
|
51
60
|
|
|
52
61
|
type BaseRating = {
|
|
53
62
|
userId: string;
|
|
54
63
|
/**
|
|
55
|
-
*
|
|
56
|
-
* plugin
|
|
64
|
+
* pluginId and version
|
|
65
|
+
* Indicate the version of the plugin that the rating applies to
|
|
66
|
+
* analyser@1.0.0
|
|
57
67
|
*/
|
|
58
68
|
slug: string;
|
|
69
|
+
/**
|
|
70
|
+
* the plugin id e.g. analyser
|
|
71
|
+
*/
|
|
59
72
|
plugin: string;
|
|
60
73
|
/**
|
|
61
74
|
* 1 to 5
|
|
@@ -66,6 +79,10 @@ type BaseRating = {
|
|
|
66
79
|
updatedAt?: string;
|
|
67
80
|
username: string;
|
|
68
81
|
avatar?: string;
|
|
82
|
+
/**
|
|
83
|
+
* made from plugin and userId
|
|
84
|
+
* @example analyser_cazA6BZqclLcyeb9m2fPphpopm7E
|
|
85
|
+
*/
|
|
69
86
|
id: string;
|
|
70
87
|
};
|
|
71
88
|
type Rating = Wrapper<BaseRating>;
|
package/dist/editor.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { C as Commit } from './Commit-PdsjrKSG.mjs';
|
|
2
2
|
export { a as FileStat, F as FolderContent, b as FolderStat } from './FolderStat-Bhmwwc0t.mjs';
|
|
3
3
|
export { F as FileContent } from './FileContent-CXlulSZq.mjs';
|
|
4
|
-
import { L as Language, a as Locale } from './Locale-
|
|
4
|
+
import { L as Language, a as Locale } from './Locale-CdRgNxJo.mjs';
|
|
5
5
|
export { R as Result } from './Result-BLbZLEgX.mjs';
|
|
6
6
|
|
|
7
7
|
type CopyArg = {
|
package/dist/editor.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { C as Commit } from './Commit-PdsjrKSG.js';
|
|
2
2
|
export { a as FileStat, F as FolderContent, b as FolderStat } from './FolderStat-Bhmwwc0t.js';
|
|
3
3
|
export { F as FileContent } from './FileContent-CXlulSZq.js';
|
|
4
|
-
import { L as Language, a as Locale } from './Locale-
|
|
4
|
+
import { L as Language, a as Locale } from './Locale-CdRgNxJo.js';
|
|
5
5
|
export { R as Result } from './Result-BLbZLEgX.js';
|
|
6
6
|
|
|
7
7
|
type CopyArg = {
|
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-BUbJvxEw.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-BYz_yl3E.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/dist/locale.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as Language } from './Locale-
|
|
2
|
-
export { a as Locale, e as enGB } from './Locale-
|
|
1
|
+
import { L as Language } from './Locale-CdRgNxJo.mjs';
|
|
2
|
+
export { a as Locale, e as enGB } from './Locale-CdRgNxJo.mjs';
|
|
3
3
|
|
|
4
4
|
declare const frFR: {
|
|
5
5
|
[key in Language]: string;
|
package/dist/locale.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as Language } from './Locale-
|
|
2
|
-
export { a as Locale, e as enGB } from './Locale-
|
|
1
|
+
import { L as Language } from './Locale-CdRgNxJo.js';
|
|
2
|
+
export { a as Locale, e as enGB } from './Locale-CdRgNxJo.js';
|
|
3
3
|
|
|
4
4
|
declare const frFR: {
|
|
5
5
|
[key in Language]: string;
|
package/dist/locale.js
CHANGED
|
@@ -175,7 +175,8 @@ var enGB = {
|
|
|
175
175
|
"project.close": "Close project",
|
|
176
176
|
"help.starting": "Getting started",
|
|
177
177
|
"developer.tools.toggle": "Toggle Developer tools",
|
|
178
|
-
socials: "Socials"
|
|
178
|
+
socials: "Socials",
|
|
179
|
+
"login.message": "Login to sync project"
|
|
179
180
|
};
|
|
180
181
|
var en_GB_default = enGB;
|
|
181
182
|
|
|
@@ -356,7 +357,8 @@ var frFR = {
|
|
|
356
357
|
"project.close": "Fermer le projet",
|
|
357
358
|
"help.starting": "Getting started",
|
|
358
359
|
"developer.tools.toggle": "(D\xE9s)activer les outils de d\xE9v",
|
|
359
|
-
socials: "Sociaux"
|
|
360
|
+
socials: "Sociaux",
|
|
361
|
+
"login.message": "Connectez-vous pour synchroniser le projet"
|
|
360
362
|
};
|
|
361
363
|
var fr_FR_default = frFR;
|
|
362
364
|
|
package/dist/locale.mjs
CHANGED
|
@@ -175,7 +175,8 @@ var enGB = {
|
|
|
175
175
|
"project.close": "Close project",
|
|
176
176
|
"help.starting": "Getting started",
|
|
177
177
|
"developer.tools.toggle": "Toggle Developer tools",
|
|
178
|
-
socials: "Socials"
|
|
178
|
+
socials: "Socials",
|
|
179
|
+
"login.message": "Login to sync project"
|
|
179
180
|
};
|
|
180
181
|
var en_GB_default = enGB;
|
|
181
182
|
|
|
@@ -356,7 +357,8 @@ var frFR = {
|
|
|
356
357
|
"project.close": "Fermer le projet",
|
|
357
358
|
"help.starting": "Getting started",
|
|
358
359
|
"developer.tools.toggle": "(D\xE9s)activer les outils de d\xE9v",
|
|
359
|
-
socials: "Sociaux"
|
|
360
|
+
socials: "Sociaux",
|
|
361
|
+
"login.message": "Connectez-vous pour synchroniser le projet"
|
|
360
362
|
};
|
|
361
363
|
var fr_FR_default = frFR;
|
|
362
364
|
export {
|
package/package.json
CHANGED
package/src/constants/WEBSITE.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
const isDev = process.env.NODE_ENV === "development";
|
|
1
2
|
const WEBSITE = {
|
|
2
|
-
main: "http://bb-editor.adeolaade.com/",
|
|
3
|
-
console: "http://bb-console.adeolaade.com",
|
|
4
|
-
marketplace:
|
|
5
|
-
|
|
3
|
+
main: isDev ? "http://localhost:3000" : "http://bb-editor.adeolaade.com/",
|
|
4
|
+
console: isDev ? "http://localhost:3000" : "http://bb-console.adeolaade.com",
|
|
5
|
+
marketplace: isDev
|
|
6
|
+
? "http://localhost:3000"
|
|
7
|
+
: "http://bb-marketplace.adeolaade.com",
|
|
8
|
+
docs: isDev ? "http://localhost:3000" : "http://bb-docs.adeolaade.com",
|
|
6
9
|
};
|
|
7
10
|
|
|
8
11
|
export default WEBSITE;
|
package/src/locales/en-GB.ts
CHANGED
package/src/locales/fr-FR.ts
CHANGED
|
@@ -187,6 +187,7 @@ export const frFR: { [key in Language]: string } = {
|
|
|
187
187
|
"help.starting": "Getting started",
|
|
188
188
|
"developer.tools.toggle": "(Dés)activer les outils de dév",
|
|
189
189
|
socials: "Sociaux",
|
|
190
|
+
"login.message": "Connectez-vous pour synchroniser le projet",
|
|
190
191
|
};
|
|
191
192
|
|
|
192
193
|
export default frFR;
|
|
@@ -19,6 +19,15 @@ type BasePlugin = {
|
|
|
19
19
|
tags: string[];
|
|
20
20
|
username: string;
|
|
21
21
|
id: string;
|
|
22
|
+
rating: number;
|
|
23
|
+
reviews: number;
|
|
24
|
+
ratingBreakdown: {
|
|
25
|
+
1: number;
|
|
26
|
+
2: number;
|
|
27
|
+
3: number;
|
|
28
|
+
4: number;
|
|
29
|
+
5: number;
|
|
30
|
+
};
|
|
22
31
|
};
|
|
23
32
|
|
|
24
33
|
export type Plugin = Wrapper<BasePlugin>;
|
|
@@ -3,10 +3,14 @@ import { Wrapper } from "./Wrapper";
|
|
|
3
3
|
type BaseRating = {
|
|
4
4
|
userId: string;
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* plugin
|
|
6
|
+
* pluginId and version
|
|
7
|
+
* Indicate the version of the plugin that the rating applies to
|
|
8
|
+
* analyser@1.0.0
|
|
8
9
|
*/
|
|
9
10
|
slug: string;
|
|
11
|
+
/**
|
|
12
|
+
* the plugin id e.g. analyser
|
|
13
|
+
*/
|
|
10
14
|
plugin: string;
|
|
11
15
|
/**
|
|
12
16
|
* 1 to 5
|
|
@@ -17,6 +21,10 @@ type BaseRating = {
|
|
|
17
21
|
updatedAt?: string;
|
|
18
22
|
username: string;
|
|
19
23
|
avatar?: string;
|
|
24
|
+
/**
|
|
25
|
+
* made from plugin and userId
|
|
26
|
+
* @example analyser_cazA6BZqclLcyeb9m2fPphpopm7E
|
|
27
|
+
*/
|
|
20
28
|
id: string;
|
|
21
29
|
};
|
|
22
30
|
|
|
@@ -15,7 +15,9 @@ type BaseRelease = {
|
|
|
15
15
|
id: string;
|
|
16
16
|
updatedAt: string;
|
|
17
17
|
userId: string;
|
|
18
|
+
username: string;
|
|
18
19
|
installs: number;
|
|
20
|
+
description: string | null;
|
|
19
21
|
/**
|
|
20
22
|
* The plugin id (part of release id)
|
|
21
23
|
*/
|
|
@@ -24,6 +26,13 @@ type BaseRelease = {
|
|
|
24
26
|
rating: number;
|
|
25
27
|
reviews: number;
|
|
26
28
|
tags: string[];
|
|
29
|
+
ratingBreakdown: {
|
|
30
|
+
1: number;
|
|
31
|
+
2: number;
|
|
32
|
+
3: number;
|
|
33
|
+
4: number;
|
|
34
|
+
5: number;
|
|
35
|
+
};
|
|
27
36
|
};
|
|
28
37
|
|
|
29
38
|
export type Release = Wrapper<BaseRelease>;
|