@crowbartools/firebot-types 5.67.0-alpha23 → 5.67.0-alpha24
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/package.json +1 -1
- package/types/plugins.d.ts +20 -3
package/package.json
CHANGED
package/types/plugins.d.ts
CHANGED
|
@@ -34,17 +34,34 @@ export type ManagedPluginManifest = {
|
|
|
34
34
|
minimumFirebotVersion?: ManifestFirebotVersion;
|
|
35
35
|
maximumFirebotVersion?: ManifestFirebotVersion;
|
|
36
36
|
};
|
|
37
|
-
export type
|
|
37
|
+
export type ManagedPlugin = {
|
|
38
38
|
author: string;
|
|
39
39
|
name: string;
|
|
40
40
|
version: string;
|
|
41
41
|
};
|
|
42
|
+
export type ManagedPluginWithManifest = ManagedPlugin & {
|
|
43
|
+
manifest: ManagedPluginManifest;
|
|
44
|
+
};
|
|
45
|
+
export type ManagedPluginUpdateRequest = {
|
|
46
|
+
author: string;
|
|
47
|
+
name: string;
|
|
48
|
+
version: string;
|
|
49
|
+
firebotVersion: ManifestFirebotVersion;
|
|
50
|
+
};
|
|
51
|
+
export type ManagedPluginBatchUpdateRequest = {
|
|
52
|
+
plugins: Array<{
|
|
53
|
+
author: string;
|
|
54
|
+
name: string;
|
|
55
|
+
version: string;
|
|
56
|
+
}>;
|
|
57
|
+
firebotVersion: ManifestFirebotVersion;
|
|
58
|
+
};
|
|
42
59
|
export type InstalledPluginConfig<Params extends GenericParameters = GenericParameters> = {
|
|
43
60
|
id: string;
|
|
44
61
|
fileName: string;
|
|
45
62
|
enabled?: boolean;
|
|
46
63
|
legacyImport?: boolean;
|
|
47
|
-
managedPluginDetails?:
|
|
64
|
+
managedPluginDetails?: ManagedPlugin;
|
|
48
65
|
parameters: Params;
|
|
49
66
|
};
|
|
50
67
|
export type PluginContext<Params extends FirebotParams = FirebotParams> = {
|
|
@@ -58,7 +75,7 @@ interface ManifestDescription {
|
|
|
58
75
|
short: string;
|
|
59
76
|
long?: string;
|
|
60
77
|
}
|
|
61
|
-
interface ManifestFirebotVersion {
|
|
78
|
+
export interface ManifestFirebotVersion {
|
|
62
79
|
major: number;
|
|
63
80
|
minor?: number;
|
|
64
81
|
patch?: number;
|