bb-relay 0.0.9 → 0.0.10
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 +11 -2
- package/dist/index.d.ts +11 -2
- package/package.json +1 -1
- package/src/index.ts +2 -1
- package/src/types/plugins/Plugin.ts +0 -1
- package/src/types/plugins/Rating.ts +8 -0
- package/src/types/plugins/Release.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -513,6 +513,7 @@ type Release = {
|
|
|
513
513
|
id?: string;
|
|
514
514
|
updatedAt: string;
|
|
515
515
|
userId: string;
|
|
516
|
+
installs: number;
|
|
516
517
|
};
|
|
517
518
|
|
|
518
519
|
type Status = Omit<Release, "type">;
|
|
@@ -526,7 +527,6 @@ type Plugin = {
|
|
|
526
527
|
slug: string;
|
|
527
528
|
name: string;
|
|
528
529
|
description: string | null;
|
|
529
|
-
installs: number;
|
|
530
530
|
archived?: boolean;
|
|
531
531
|
deprecated?: boolean;
|
|
532
532
|
beta: Status | null;
|
|
@@ -556,4 +556,13 @@ type ValidateManifestProp = {
|
|
|
556
556
|
};
|
|
557
557
|
declare const validateManifest: (manifestContent: string) => ValidateManifestProp[];
|
|
558
558
|
|
|
559
|
-
|
|
559
|
+
type Rating = {
|
|
560
|
+
userId: string;
|
|
561
|
+
pluginId: string;
|
|
562
|
+
rating: number;
|
|
563
|
+
comment?: string;
|
|
564
|
+
createdAt: string;
|
|
565
|
+
updatedAt?: string;
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -513,6 +513,7 @@ type Release = {
|
|
|
513
513
|
id?: string;
|
|
514
514
|
updatedAt: string;
|
|
515
515
|
userId: string;
|
|
516
|
+
installs: number;
|
|
516
517
|
};
|
|
517
518
|
|
|
518
519
|
type Status = Omit<Release, "type">;
|
|
@@ -526,7 +527,6 @@ type Plugin = {
|
|
|
526
527
|
slug: string;
|
|
527
528
|
name: string;
|
|
528
529
|
description: string | null;
|
|
529
|
-
installs: number;
|
|
530
530
|
archived?: boolean;
|
|
531
531
|
deprecated?: boolean;
|
|
532
532
|
beta: Status | null;
|
|
@@ -556,4 +556,13 @@ type ValidateManifestProp = {
|
|
|
556
556
|
};
|
|
557
557
|
declare const validateManifest: (manifestContent: string) => ValidateManifestProp[];
|
|
558
558
|
|
|
559
|
-
|
|
559
|
+
type Rating = {
|
|
560
|
+
userId: string;
|
|
561
|
+
pluginId: string;
|
|
562
|
+
rating: number;
|
|
563
|
+
comment?: string;
|
|
564
|
+
createdAt: string;
|
|
565
|
+
updatedAt?: string;
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
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 };
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -36,6 +36,7 @@ import { Zip } from "./types/Zip";
|
|
|
36
36
|
import validateManifest, {
|
|
37
37
|
ValidateManifestProp,
|
|
38
38
|
} from "./lib/validate-manifest";
|
|
39
|
+
import { Rating } from "./types/plugins/Rating";
|
|
39
40
|
|
|
40
41
|
export default BBRelay;
|
|
41
42
|
|
|
@@ -73,5 +74,5 @@ export type {
|
|
|
73
74
|
WatchFSEvent,
|
|
74
75
|
};
|
|
75
76
|
|
|
76
|
-
export type { Release, Plugin, Zip, ValidateManifestProp };
|
|
77
|
+
export type { Release, Plugin, Zip, ValidateManifestProp, Rating };
|
|
77
78
|
export { enGB, frFR };
|