@nordcraft/core 1.0.65 → 1.0.67

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/types.d.ts CHANGED
@@ -23,10 +23,10 @@ export type FormulaHandler<T = void> = (args: unknown[], ctx: {
23
23
  interface PluginActionBase {
24
24
  name: string;
25
25
  description?: string;
26
- arguments: Array<{
26
+ arguments?: Array<{
27
27
  name: string;
28
28
  formula: Formula;
29
- }>;
29
+ }> | null;
30
30
  events?: Record<string, {
31
31
  dummyEvent?: any;
32
32
  }>;
package/package.json CHANGED
@@ -11,5 +11,5 @@
11
11
  },
12
12
  "files": ["dist", "src"],
13
13
  "main": "dist/index.js",
14
- "version": "1.0.65"
14
+ "version": "1.0.67"
15
15
  }
package/src/types.ts CHANGED
@@ -46,10 +46,10 @@ export type FormulaHandler<T = void> = (
46
46
  interface PluginActionBase {
47
47
  name: string
48
48
  description?: string
49
- arguments: Array<{
49
+ arguments?: Array<{
50
50
  name: string
51
51
  formula: Formula
52
- }>
52
+ }> | null
53
53
  // eslint-disable-next-line inclusive-language/use-inclusive-words
54
54
  events?: Record<string, { dummyEvent?: any }>
55
55
  variableArguments: boolean | null