@crowbartools/firebot-types 5.67.0-alpha7 → 5.67.0-alpha8
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 +6 -5
package/package.json
CHANGED
package/types/plugins.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1
2
|
import { EffectInstance, EffectList, EffectType } from "./effects";
|
|
2
3
|
import { Trigger } from "./triggers";
|
|
3
4
|
import { Awaitable } from "./util-types";
|
|
@@ -121,13 +122,13 @@ export interface Plugin<Params extends FirebotParams = FirebotParams> extends Sc
|
|
|
121
122
|
|
|
122
123
|
// If value within array is a function, call said function to get definition
|
|
123
124
|
// If definition is or evaluates to promise, await promise
|
|
124
|
-
effects?: DynamicArray<EffectType
|
|
125
|
+
effects?: DynamicArray<EffectType<any, any>>;
|
|
125
126
|
eventSources?: DynamicArray<EventSource>;
|
|
126
127
|
variables?: DynamicArray<ReplaceVariable>;
|
|
127
|
-
integrations?: DynamicArray<Integration
|
|
128
|
+
integrations?: DynamicArray<Integration<any>>;
|
|
128
129
|
filters?: DynamicArray<EventFilter>;
|
|
129
|
-
restrictions?: DynamicArray<RestrictionType
|
|
130
|
-
systemCommands?: DynamicArray<SystemCommand
|
|
130
|
+
restrictions?: DynamicArray<RestrictionType<any>>;
|
|
131
|
+
systemCommands?: DynamicArray<SystemCommand<any>>;
|
|
131
132
|
games?: DynamicArray<FirebotGame>;
|
|
132
133
|
uiExtensions?: DynamicArray<UIExtension>;
|
|
133
134
|
};
|
|
@@ -154,7 +155,7 @@ export type InstalledPlugin = {
|
|
|
154
155
|
type LegacyScriptParameters = Record<
|
|
155
156
|
string,
|
|
156
157
|
{
|
|
157
|
-
|
|
158
|
+
|
|
158
159
|
type: any;
|
|
159
160
|
title?: string;
|
|
160
161
|
description?: string;
|