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 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
- export { type BBEvent, type BBRequest, type Checkpoint, type CopyArg, type DirInfo, type DirectoryContents, type DirectoryStats, type EventReturn, type FileContent, type FileInfo, 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, type Settings, type TutorialHeader, type User, type ValidateManifestProp, type WatchFSEvent, type Zip, BBRelay as default, enGB, frFR, injectStyles, registerEvent, registerRequest, validateManifest };
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
- export { type BBEvent, type BBRequest, type Checkpoint, type CopyArg, type DirInfo, type DirectoryContents, type DirectoryStats, type EventReturn, type FileContent, type FileInfo, 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, type Settings, type TutorialHeader, type User, type ValidateManifestProp, type WatchFSEvent, type Zip, BBRelay as default, enGB, frFR, injectStyles, registerEvent, registerRequest, validateManifest };
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bb-relay",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "For managing bb-editor extension",
5
5
  "license": "ISC",
6
6
  "author": "Ade Adeola",
@@ -0,0 +1,2 @@
1
+ const SENTINEL_FILE = ".release.commit";
2
+ export default SENTINEL_FILE;
@@ -0,0 +1,8 @@
1
+ const WEBSITE = {
2
+ main: "http://bb-editor.adeolaade.com/",
3
+ console: "http://bb-console.adeolaade.com",
4
+ marketplace: "http://bb-marketplace.adeolaade.com",
5
+ docs: "http://bb-docs.adeolaade.com",
6
+ };
7
+
8
+ export default WEBSITE;
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
@@ -1,4 +1,4 @@
1
- interface FileNode {
1
+ export interface FileNode {
2
2
  name: string;
3
3
  path: string;
4
4
  type: "file" | "folder";
@@ -18,4 +18,6 @@ export type Plugin = {
18
18
  createdAt: string;
19
19
  updatedAt: string;
20
20
  tags: string[];
21
+ username: string;
22
+ avatar?: string;
21
23
  };