bb-relay 0.0.12 → 0.0.14
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 +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +17 -0
- package/dist/index.mjs +15 -0
- package/package.json +1 -1
- package/src/constants/SENTINEL_FILE.ts +2 -0
- package/src/constants/WEBSITE.ts +8 -0
- package/src/index.ts +5 -2
- package/src/types/Zip.ts +1 -1
- package/src/types/plugins/Plugin.ts +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -534,6 +534,8 @@ type Plugin = {
|
|
|
534
534
|
createdAt: string;
|
|
535
535
|
updatedAt: string;
|
|
536
536
|
tags: string[];
|
|
537
|
+
username: string;
|
|
538
|
+
avatar?: string;
|
|
537
539
|
};
|
|
538
540
|
|
|
539
541
|
interface FileNode {
|
|
@@ -568,4 +570,13 @@ type Rating = {
|
|
|
568
570
|
avatar?: string;
|
|
569
571
|
};
|
|
570
572
|
|
|
571
|
-
|
|
573
|
+
declare const SENTINEL_FILE = ".release.commit";
|
|
574
|
+
|
|
575
|
+
declare const WEBSITE: {
|
|
576
|
+
main: string;
|
|
577
|
+
console: string;
|
|
578
|
+
marketplace: string;
|
|
579
|
+
docs: string;
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
export { type BBEvent, type BBRequest, type Checkpoint, type CopyArg, 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
|
@@ -534,6 +534,8 @@ type Plugin = {
|
|
|
534
534
|
createdAt: string;
|
|
535
535
|
updatedAt: string;
|
|
536
536
|
tags: string[];
|
|
537
|
+
username: string;
|
|
538
|
+
avatar?: string;
|
|
537
539
|
};
|
|
538
540
|
|
|
539
541
|
interface FileNode {
|
|
@@ -568,4 +570,13 @@ type Rating = {
|
|
|
568
570
|
avatar?: string;
|
|
569
571
|
};
|
|
570
572
|
|
|
571
|
-
|
|
573
|
+
declare const SENTINEL_FILE = ".release.commit";
|
|
574
|
+
|
|
575
|
+
declare const WEBSITE: {
|
|
576
|
+
main: string;
|
|
577
|
+
console: string;
|
|
578
|
+
marketplace: string;
|
|
579
|
+
docs: string;
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
export { type BBEvent, type BBRequest, type Checkpoint, type CopyArg, 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,6 +20,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var src_exports = {};
|
|
22
22
|
__export(src_exports, {
|
|
23
|
+
SENTINEL_FILE: () => SENTINEL_FILE_default,
|
|
24
|
+
WEBSITE: () => WEBSITE_default,
|
|
23
25
|
default: () => src_default,
|
|
24
26
|
enGB: () => en_GB_default,
|
|
25
27
|
frFR: () => fr_FR_default,
|
|
@@ -425,10 +427,25 @@ var validateManifest = (manifestContent) => {
|
|
|
425
427
|
};
|
|
426
428
|
var validate_manifest_default = validateManifest;
|
|
427
429
|
|
|
430
|
+
// src/constants/SENTINEL_FILE.ts
|
|
431
|
+
var SENTINEL_FILE = ".release.commit";
|
|
432
|
+
var SENTINEL_FILE_default = SENTINEL_FILE;
|
|
433
|
+
|
|
434
|
+
// src/constants/WEBSITE.ts
|
|
435
|
+
var WEBSITE = {
|
|
436
|
+
main: "http://bb-editor.adeolaade.com/",
|
|
437
|
+
console: "http://bb-console.adeolaade.com",
|
|
438
|
+
marketplace: "http://bb-marketplace.adeolaade.com",
|
|
439
|
+
docs: "http://bb-docs.adeolaade.com"
|
|
440
|
+
};
|
|
441
|
+
var WEBSITE_default = WEBSITE;
|
|
442
|
+
|
|
428
443
|
// src/index.ts
|
|
429
444
|
var src_default = BBRelay;
|
|
430
445
|
// Annotate the CommonJS export names for ESM import in node:
|
|
431
446
|
0 && (module.exports = {
|
|
447
|
+
SENTINEL_FILE,
|
|
448
|
+
WEBSITE,
|
|
432
449
|
enGB,
|
|
433
450
|
frFR,
|
|
434
451
|
injectStyles,
|
package/dist/index.mjs
CHANGED
|
@@ -395,9 +395,24 @@ var validateManifest = (manifestContent) => {
|
|
|
395
395
|
};
|
|
396
396
|
var validate_manifest_default = validateManifest;
|
|
397
397
|
|
|
398
|
+
// src/constants/SENTINEL_FILE.ts
|
|
399
|
+
var SENTINEL_FILE = ".release.commit";
|
|
400
|
+
var SENTINEL_FILE_default = SENTINEL_FILE;
|
|
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
|
+
|
|
398
411
|
// src/index.ts
|
|
399
412
|
var src_default = BBRelay;
|
|
400
413
|
export {
|
|
414
|
+
SENTINEL_FILE_default as SENTINEL_FILE,
|
|
415
|
+
WEBSITE_default as WEBSITE,
|
|
401
416
|
src_default as default,
|
|
402
417
|
en_GB_default as enGB,
|
|
403
418
|
fr_FR_default as frFR,
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -32,11 +32,13 @@ import enGB from "./locales/en-GB";
|
|
|
32
32
|
import frFR from "./locales/fr-FR";
|
|
33
33
|
import { Release } from "./types/plugins/Release";
|
|
34
34
|
import { Plugin } from "./types/plugins/Plugin";
|
|
35
|
-
import { Zip } from "./types/Zip";
|
|
35
|
+
import { FileNode, Zip } from "./types/Zip";
|
|
36
36
|
import validateManifest, {
|
|
37
37
|
ValidateManifestProp,
|
|
38
38
|
} from "./lib/validate-manifest";
|
|
39
39
|
import { Rating } from "./types/plugins/Rating";
|
|
40
|
+
import SENTINEL_FILE from "./constants/SENTINEL_FILE";
|
|
41
|
+
import WEBSITE from "./constants/WEBSITE";
|
|
40
42
|
|
|
41
43
|
export default BBRelay;
|
|
42
44
|
|
|
@@ -74,5 +76,6 @@ export type {
|
|
|
74
76
|
WatchFSEvent,
|
|
75
77
|
};
|
|
76
78
|
|
|
77
|
-
export type { Release, Plugin, Zip, ValidateManifestProp, Rating };
|
|
79
|
+
export type { Release, Plugin, Zip, ValidateManifestProp, Rating, FileNode };
|
|
80
|
+
export { SENTINEL_FILE, WEBSITE };
|
|
78
81
|
export { enGB, frFR };
|
package/src/types/Zip.ts
CHANGED