bb-relay 0.0.13 → 0.0.15
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/index.d.mts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +16 -0
- package/dist/index.mjs +14 -0
- package/package.json +1 -1
- package/src/constants/DATA_ALIAS.ts +1 -0
- package/src/constants/WEBSITE.ts +8 -0
- package/src/index.ts +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -572,4 +572,13 @@ type Rating = {
|
|
|
572
572
|
|
|
573
573
|
declare const SENTINEL_FILE = ".release.commit";
|
|
574
574
|
|
|
575
|
-
|
|
575
|
+
declare const WEBSITE: {
|
|
576
|
+
main: string;
|
|
577
|
+
console: string;
|
|
578
|
+
marketplace: string;
|
|
579
|
+
docs: string;
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
declare const DATA_ALIAS = "${userData}";
|
|
583
|
+
|
|
584
|
+
export { type BBEvent, type BBRequest, type Checkpoint, type CopyArg, DATA_ALIAS, type DirInfo, type DirectoryContents, type DirectoryStats, type EventReturn, type FileContent, type FileInfo, type FileNode, type GitFileStatus, type IconArg, type Language, type Load, type Locale, type MenuContent, type Nav, type Plugin, type Project, type Rating, type Release, type RenameType, type RequestReturn, type Result, type Route, SENTINEL_FILE, type Settings, type TutorialHeader, type User, type ValidateManifestProp, WEBSITE, type WatchFSEvent, type Zip, BBRelay as default, enGB, frFR, injectStyles, registerEvent, registerRequest, validateManifest };
|
package/dist/index.d.ts
CHANGED
|
@@ -572,4 +572,13 @@ type Rating = {
|
|
|
572
572
|
|
|
573
573
|
declare const SENTINEL_FILE = ".release.commit";
|
|
574
574
|
|
|
575
|
-
|
|
575
|
+
declare const WEBSITE: {
|
|
576
|
+
main: string;
|
|
577
|
+
console: string;
|
|
578
|
+
marketplace: string;
|
|
579
|
+
docs: string;
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
declare const DATA_ALIAS = "${userData}";
|
|
583
|
+
|
|
584
|
+
export { type BBEvent, type BBRequest, type Checkpoint, type CopyArg, DATA_ALIAS, type DirInfo, type DirectoryContents, type DirectoryStats, type EventReturn, type FileContent, type FileInfo, type FileNode, type GitFileStatus, type IconArg, type Language, type Load, type Locale, type MenuContent, type Nav, type Plugin, type Project, type Rating, type Release, type RenameType, type RequestReturn, type Result, type Route, SENTINEL_FILE, type Settings, type TutorialHeader, type User, type ValidateManifestProp, WEBSITE, type WatchFSEvent, type Zip, BBRelay as default, enGB, frFR, injectStyles, registerEvent, registerRequest, validateManifest };
|
package/dist/index.js
CHANGED
|
@@ -20,7 +20,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var src_exports = {};
|
|
22
22
|
__export(src_exports, {
|
|
23
|
+
DATA_ALIAS: () => DATA_ALIAS,
|
|
23
24
|
SENTINEL_FILE: () => SENTINEL_FILE_default,
|
|
25
|
+
WEBSITE: () => WEBSITE_default,
|
|
24
26
|
default: () => src_default,
|
|
25
27
|
enGB: () => en_GB_default,
|
|
26
28
|
frFR: () => fr_FR_default,
|
|
@@ -430,11 +432,25 @@ var validate_manifest_default = validateManifest;
|
|
|
430
432
|
var SENTINEL_FILE = ".release.commit";
|
|
431
433
|
var SENTINEL_FILE_default = SENTINEL_FILE;
|
|
432
434
|
|
|
435
|
+
// src/constants/WEBSITE.ts
|
|
436
|
+
var WEBSITE = {
|
|
437
|
+
main: "http://bb-editor.adeolaade.com/",
|
|
438
|
+
console: "http://bb-console.adeolaade.com",
|
|
439
|
+
marketplace: "http://bb-marketplace.adeolaade.com",
|
|
440
|
+
docs: "http://bb-docs.adeolaade.com"
|
|
441
|
+
};
|
|
442
|
+
var WEBSITE_default = WEBSITE;
|
|
443
|
+
|
|
444
|
+
// src/constants/DATA_ALIAS.ts
|
|
445
|
+
var DATA_ALIAS = "${userData}";
|
|
446
|
+
|
|
433
447
|
// src/index.ts
|
|
434
448
|
var src_default = BBRelay;
|
|
435
449
|
// Annotate the CommonJS export names for ESM import in node:
|
|
436
450
|
0 && (module.exports = {
|
|
451
|
+
DATA_ALIAS,
|
|
437
452
|
SENTINEL_FILE,
|
|
453
|
+
WEBSITE,
|
|
438
454
|
enGB,
|
|
439
455
|
frFR,
|
|
440
456
|
injectStyles,
|
package/dist/index.mjs
CHANGED
|
@@ -399,10 +399,24 @@ var validate_manifest_default = validateManifest;
|
|
|
399
399
|
var SENTINEL_FILE = ".release.commit";
|
|
400
400
|
var SENTINEL_FILE_default = SENTINEL_FILE;
|
|
401
401
|
|
|
402
|
+
// src/constants/WEBSITE.ts
|
|
403
|
+
var WEBSITE = {
|
|
404
|
+
main: "http://bb-editor.adeolaade.com/",
|
|
405
|
+
console: "http://bb-console.adeolaade.com",
|
|
406
|
+
marketplace: "http://bb-marketplace.adeolaade.com",
|
|
407
|
+
docs: "http://bb-docs.adeolaade.com"
|
|
408
|
+
};
|
|
409
|
+
var WEBSITE_default = WEBSITE;
|
|
410
|
+
|
|
411
|
+
// src/constants/DATA_ALIAS.ts
|
|
412
|
+
var DATA_ALIAS = "${userData}";
|
|
413
|
+
|
|
402
414
|
// src/index.ts
|
|
403
415
|
var src_default = BBRelay;
|
|
404
416
|
export {
|
|
417
|
+
DATA_ALIAS,
|
|
405
418
|
SENTINEL_FILE_default as SENTINEL_FILE,
|
|
419
|
+
WEBSITE_default as WEBSITE,
|
|
406
420
|
src_default as default,
|
|
407
421
|
en_GB_default as enGB,
|
|
408
422
|
fr_FR_default as frFR,
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const DATA_ALIAS = "${userData}";
|
package/src/index.ts
CHANGED
|
@@ -38,6 +38,8 @@ import validateManifest, {
|
|
|
38
38
|
} from "./lib/validate-manifest";
|
|
39
39
|
import { Rating } from "./types/plugins/Rating";
|
|
40
40
|
import SENTINEL_FILE from "./constants/SENTINEL_FILE";
|
|
41
|
+
import WEBSITE from "./constants/WEBSITE";
|
|
42
|
+
import { DATA_ALIAS } from "./constants/DATA_ALIAS";
|
|
41
43
|
|
|
42
44
|
export default BBRelay;
|
|
43
45
|
|
|
@@ -76,5 +78,5 @@ export type {
|
|
|
76
78
|
};
|
|
77
79
|
|
|
78
80
|
export type { Release, Plugin, Zip, ValidateManifestProp, Rating, FileNode };
|
|
79
|
-
export { SENTINEL_FILE };
|
|
81
|
+
export { SENTINEL_FILE, WEBSITE, DATA_ALIAS };
|
|
80
82
|
export { enGB, frFR };
|