x-block-lib 0.8.17 → 0.8.18

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.
@@ -1,5 +1,5 @@
1
1
  import * as Blockly from 'blockly/core';
2
- import { EventKind, Type } from 'x-runtime-lib';
2
+ import { Type } from 'x-runtime-lib';
3
3
  interface Param {
4
4
  key: string;
5
5
  name: string;
@@ -8,7 +8,6 @@ interface Param {
8
8
  interface EventInfo {
9
9
  id: string;
10
10
  names: string[];
11
- kind: EventKind;
12
11
  params: Param[];
13
12
  }
14
13
  export declare function getAllOnEventInfos(nodeId: string): EventInfo[];
@@ -1,5 +1,5 @@
1
1
  import * as Blockly from 'blockly/core';
2
- import { MethodKind, Type } from 'x-runtime-lib';
2
+ import { Type } from 'x-runtime-lib';
3
3
  interface Input {
4
4
  key: string;
5
5
  name: string;
@@ -13,7 +13,6 @@ interface Output {
13
13
  interface MethodInfo {
14
14
  id: string;
15
15
  names: string[];
16
- kind: MethodKind;
17
16
  inputs: Input[];
18
17
  outputs: Output[];
19
18
  }
@@ -4,10 +4,10 @@ interface PropInfo {
4
4
  id: string;
5
5
  names: string[];
6
6
  meta: {
7
- kind: 'elementProperty';
7
+ element: true;
8
8
  raw: ZProp;
9
9
  } | {
10
- kind: 'refProperty' | 'customProperty' | 'elementSlotProperty' | 'customSlotProperty';
10
+ element?: false;
11
11
  raw: {
12
12
  type: Type;
13
13
  };