@next-bricks/visual-builder 0.3.6 → 0.3.7

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.json CHANGED
@@ -3,135 +3,133 @@
3
3
  "properties": [
4
4
  {
5
5
  "name": "titleLabel",
6
- "types": {
7
- "type": "union",
8
- "types": [
9
- {
10
- "type": "keyword",
11
- "value": "string"
12
- }
13
- ]
6
+ "annotation": {
7
+ "type": "keyword",
8
+ "value": "string"
14
9
  }
15
10
  }
16
- ]
11
+ ],
12
+ "events": [],
13
+ "methods": []
17
14
  },
18
15
  "visual-builder.workbench-action": {
19
16
  "properties": [
20
17
  {
21
18
  "name": "icon",
22
- "types": {
23
- "type": "union",
24
- "types": [
25
- {
26
- "type": "reference",
27
- "typeName": "GeneralIconProps"
28
- }
29
- ]
19
+ "annotation": {
20
+ "type": "reference",
21
+ "typeName": {
22
+ "type": "identifier",
23
+ "name": "GeneralIconProps"
24
+ }
30
25
  }
31
26
  },
32
27
  {
33
28
  "name": "to",
34
- "types": {
35
- "type": "union",
36
- "types": [
37
- {
38
- "type": "keyword",
39
- "value": "string"
40
- }
41
- ]
29
+ "annotation": {
30
+ "type": "keyword",
31
+ "value": "string"
42
32
  }
43
33
  },
44
34
  {
45
35
  "name": "active",
46
- "types": {
47
- "type": "union",
48
- "types": [
49
- {
50
- "type": "keyword",
51
- "value": "boolean"
52
- }
53
- ]
36
+ "annotation": {
37
+ "type": "keyword",
38
+ "value": "boolean"
54
39
  }
55
40
  },
56
41
  {
57
42
  "name": "href",
58
- "types": {
59
- "type": "union",
60
- "types": [
61
- {
62
- "type": "keyword",
63
- "value": "string"
64
- }
65
- ]
43
+ "annotation": {
44
+ "type": "keyword",
45
+ "value": "string"
66
46
  }
67
47
  },
68
48
  {
69
49
  "name": "target",
70
- "types": {
71
- "type": "union",
72
- "types": [
73
- {
74
- "type": "keyword",
75
- "value": "string"
76
- }
77
- ]
50
+ "annotation": {
51
+ "type": "keyword",
52
+ "value": "string"
78
53
  }
79
54
  }
80
- ]
55
+ ],
56
+ "events": [],
57
+ "methods": []
81
58
  },
82
59
  "visual-builder.workbench-action-list": {
83
60
  "properties": [
84
61
  {
85
62
  "name": "appId",
86
- "types": {
87
- "type": "union",
88
- "types": [
89
- {
90
- "type": "keyword",
91
- "value": "string"
92
- }
93
- ]
63
+ "annotation": {
64
+ "type": "keyword",
65
+ "value": "string"
94
66
  }
95
67
  },
96
68
  {
97
69
  "name": "menu",
98
- "types": {
70
+ "annotation": {
99
71
  "type": "reference",
100
- "typeName": "SidebarMenu"
72
+ "typeName": {
73
+ "type": "identifier",
74
+ "name": "SidebarMenu"
75
+ }
101
76
  }
102
77
  }
103
78
  ],
79
+ "events": [],
80
+ "methods": [],
104
81
  "types": [
105
82
  {
106
- "name": "SidebarMenu",
107
83
  "type": "interface",
108
- "annotation": [
84
+ "name": "SidebarMenu",
85
+ "body": [
109
86
  {
110
87
  "type": "propertySignature",
111
- "name": "title",
112
- "property": {
88
+ "key": {
89
+ "type": "identifier",
90
+ "name": "title"
91
+ },
92
+ "annotation": {
113
93
  "type": "keyword",
114
94
  "value": "string"
115
- }
95
+ },
96
+ "optional": true,
97
+ "computed": false
116
98
  },
117
99
  {
118
100
  "type": "propertySignature",
119
- "name": "icon",
120
- "property": {
101
+ "key": {
102
+ "type": "identifier",
103
+ "name": "icon"
104
+ },
105
+ "annotation": {
121
106
  "type": "reference",
122
- "typeName": "GeneralIconProps"
123
- }
107
+ "typeName": {
108
+ "type": "identifier",
109
+ "name": "GeneralIconProps"
110
+ }
111
+ },
112
+ "optional": true,
113
+ "computed": false
124
114
  },
125
115
  {
126
116
  "type": "propertySignature",
127
- "name": "menuItems",
128
- "property": {
117
+ "key": {
118
+ "type": "identifier",
119
+ "name": "menuItems"
120
+ },
121
+ "annotation": {
129
122
  "type": "array",
130
123
  "elementType": {
131
124
  "type": "reference",
132
- "typeName": "SidebarMenuItem"
125
+ "typeName": {
126
+ "type": "identifier",
127
+ "name": "SidebarMenuItem"
128
+ }
133
129
  }
134
- }
130
+ },
131
+ "optional": true,
132
+ "computed": false
135
133
  }
136
134
  ]
137
135
  }
@@ -141,114 +139,114 @@
141
139
  "properties": [
142
140
  {
143
141
  "name": "titleLabel",
144
- "types": {
145
- "type": "union",
146
- "types": [
147
- {
148
- "type": "keyword",
149
- "value": "string"
150
- }
151
- ]
142
+ "annotation": {
143
+ "type": "keyword",
144
+ "value": "string"
152
145
  }
153
146
  },
154
147
  {
155
148
  "name": "active",
156
- "types": {
157
- "type": "union",
158
- "types": [
159
- {
160
- "type": "keyword",
161
- "value": "boolean"
162
- }
163
- ]
149
+ "annotation": {
150
+ "type": "keyword",
151
+ "value": "boolean"
164
152
  }
165
153
  },
166
154
  {
167
155
  "name": "badge",
168
- "types": {
169
- "type": "union",
170
- "types": [
171
- {
172
- "type": "keyword",
173
- "value": "number"
174
- }
175
- ]
156
+ "annotation": {
157
+ "type": "keyword",
158
+ "value": "number"
176
159
  }
177
160
  }
178
161
  ],
179
162
  "events": [
180
163
  {
181
164
  "name": "active.change",
182
- "types": {
183
- "type": "keyword",
184
- "value": "boolean"
165
+ "detail": {
166
+ "annotation": {
167
+ "type": "keyword",
168
+ "value": "boolean"
169
+ }
185
170
  }
186
171
  },
187
172
  {
188
- "name": "active.firstActivated"
173
+ "name": "active.firstActivated",
174
+ "detail": {
175
+ "annotation": {
176
+ "type": "keyword",
177
+ "value": "void"
178
+ }
179
+ }
189
180
  }
190
- ]
181
+ ],
182
+ "methods": []
191
183
  },
192
184
  "visual-builder.workbench-tree": {
193
185
  "properties": [
194
186
  {
195
187
  "name": "nodes",
196
- "types": {
188
+ "annotation": {
197
189
  "type": "array",
198
190
  "elementType": {
199
191
  "type": "reference",
200
- "typeName": "WorkbenchNodeData"
192
+ "typeName": {
193
+ "type": "identifier",
194
+ "name": "WorkbenchNodeData"
195
+ }
201
196
  }
202
197
  }
203
198
  },
204
199
  {
205
200
  "name": "actions",
206
- "types": {
201
+ "annotation": {
207
202
  "type": "array",
208
203
  "elementType": {
209
204
  "type": "reference",
210
- "typeName": "WorkbenchTreeAction"
205
+ "typeName": {
206
+ "type": "identifier",
207
+ "name": "WorkbenchTreeAction"
208
+ }
211
209
  }
212
210
  }
213
211
  },
214
212
  {
215
213
  "name": "actionsHidden",
216
- "types": {
214
+ "annotation": {
217
215
  "type": "keyword",
218
216
  "value": "boolean"
219
217
  }
220
218
  },
221
219
  {
222
220
  "name": "placeholder",
223
- "types": {
221
+ "annotation": {
224
222
  "type": "keyword",
225
223
  "value": "string"
226
224
  }
227
225
  },
228
226
  {
229
227
  "name": "isTransformName",
230
- "types": {
228
+ "annotation": {
231
229
  "type": "keyword",
232
230
  "value": "boolean"
233
231
  }
234
232
  },
235
233
  {
236
234
  "name": "searchPlaceholder",
237
- "types": {
235
+ "annotation": {
238
236
  "type": "keyword",
239
237
  "value": "string"
240
238
  }
241
239
  },
242
240
  {
243
241
  "name": "noSearch",
244
- "types": {
242
+ "annotation": {
245
243
  "type": "keyword",
246
244
  "value": "boolean"
247
245
  }
248
246
  },
249
247
  {
250
248
  "name": "activeKey",
251
- "types": {
249
+ "annotation": {
252
250
  "type": "union",
253
251
  "types": [
254
252
  {
@@ -264,14 +262,14 @@
264
262
  },
265
263
  {
266
264
  "name": "showMatchedNodeOnly",
267
- "types": {
265
+ "annotation": {
268
266
  "type": "keyword",
269
267
  "value": "boolean"
270
268
  }
271
269
  },
272
270
  {
273
271
  "name": "matchNodeDataFields",
274
- "types": {
272
+ "annotation": {
275
273
  "type": "union",
276
274
  "types": [
277
275
  {
@@ -290,53 +288,65 @@
290
288
  },
291
289
  {
292
290
  "name": "fixedActionsFor",
293
- "types": {
291
+ "annotation": {
294
292
  "type": "union",
295
293
  "types": [
296
294
  {
297
295
  "type": "reference",
298
- "typeName": "Record",
299
- "typeParameters": [
300
- {
301
- "type": "keyword",
302
- "value": "string"
303
- },
304
- {
305
- "type": "keyword",
306
- "value": "any"
307
- }
308
- ]
309
- },
310
- {
311
- "type": "array",
312
- "elementType": {
313
- "type": "reference",
314
- "typeName": "Record",
315
- "typeParameters": [
296
+ "typeName": {
297
+ "type": "identifier",
298
+ "name": "Record"
299
+ },
300
+ "typeParameters": {
301
+ "type": "typeParameterInstantiation",
302
+ "params": [
316
303
  {
317
304
  "type": "keyword",
318
305
  "value": "string"
319
306
  },
320
307
  {
321
308
  "type": "keyword",
322
- "value": "any"
309
+ "value": "unknown"
323
310
  }
324
311
  ]
325
312
  }
313
+ },
314
+ {
315
+ "type": "array",
316
+ "elementType": {
317
+ "type": "reference",
318
+ "typeName": {
319
+ "type": "identifier",
320
+ "name": "Record"
321
+ },
322
+ "typeParameters": {
323
+ "type": "typeParameterInstantiation",
324
+ "params": [
325
+ {
326
+ "type": "keyword",
327
+ "value": "string"
328
+ },
329
+ {
330
+ "type": "keyword",
331
+ "value": "unknown"
332
+ }
333
+ ]
334
+ }
335
+ }
326
336
  }
327
337
  ]
328
338
  }
329
339
  },
330
340
  {
331
341
  "name": "collapsible",
332
- "types": {
342
+ "annotation": {
333
343
  "type": "keyword",
334
344
  "value": "boolean"
335
345
  }
336
346
  },
337
347
  {
338
348
  "name": "collapsedNodes",
339
- "types": {
349
+ "annotation": {
340
350
  "type": "array",
341
351
  "elementType": {
342
352
  "type": "keyword",
@@ -346,35 +356,35 @@
346
356
  },
347
357
  {
348
358
  "name": "allowDrag",
349
- "types": {
359
+ "annotation": {
350
360
  "type": "keyword",
351
361
  "value": "boolean"
352
362
  }
353
363
  },
354
364
  {
355
365
  "name": "allowDragToRoot",
356
- "types": {
366
+ "annotation": {
357
367
  "type": "keyword",
358
368
  "value": "boolean"
359
369
  }
360
370
  },
361
371
  {
362
372
  "name": "allowDragToInside",
363
- "types": {
373
+ "annotation": {
364
374
  "type": "keyword",
365
375
  "value": "boolean"
366
376
  }
367
377
  },
368
378
  {
369
379
  "name": "nodeKey",
370
- "types": {
380
+ "annotation": {
371
381
  "type": "keyword",
372
382
  "value": "string"
373
383
  }
374
384
  },
375
385
  {
376
386
  "name": "skipNotify",
377
- "types": {
387
+ "annotation": {
378
388
  "type": "keyword",
379
389
  "value": "boolean"
380
390
  }
@@ -383,87 +393,117 @@
383
393
  "events": [
384
394
  {
385
395
  "name": "action.click",
386
- "types": {
387
- "type": "reference",
388
- "typeName": "ActionClickDetail"
396
+ "detail": {
397
+ "annotation": {
398
+ "type": "reference",
399
+ "typeName": {
400
+ "type": "identifier",
401
+ "name": "ActionClickDetail"
402
+ }
403
+ }
389
404
  }
390
405
  },
391
406
  {
392
407
  "name": "node.click",
393
- "types": {
394
- "type": "keyword",
395
- "value": "any"
408
+ "detail": {
409
+ "annotation": {
410
+ "type": "keyword",
411
+ "value": "unknown"
412
+ }
396
413
  }
397
414
  },
398
415
  {
399
416
  "name": "node.drop",
400
- "types": {
401
- "type": "keyword",
402
- "value": "any"
417
+ "detail": {
418
+ "annotation": {
419
+ "type": "keyword",
420
+ "value": "any"
421
+ }
403
422
  }
404
423
  },
405
424
  {
406
425
  "name": "context.menu",
407
- "types": {
408
- "type": "keyword",
409
- "value": "any"
426
+ "detail": {
427
+ "annotation": {
428
+ "type": "keyword",
429
+ "value": "unknown"
430
+ }
410
431
  }
411
432
  },
412
433
  {
413
434
  "name": "node.toggle",
414
- "types": {
415
- "type": "typeLiteral",
416
- "members": [
417
- {
418
- "type": "propertySignature",
419
- "name": "nodeId",
420
- "property": {
421
- "type": "keyword",
422
- "value": "string"
423
- }
424
- },
425
- {
426
- "type": "propertySignature",
427
- "name": "collapsed",
428
- "property": {
429
- "type": "keyword",
430
- "value": "boolean"
435
+ "detail": {
436
+ "annotation": {
437
+ "type": "typeLiteral",
438
+ "members": [
439
+ {
440
+ "type": "propertySignature",
441
+ "key": {
442
+ "type": "identifier",
443
+ "name": "nodeId"
444
+ },
445
+ "annotation": {
446
+ "type": "keyword",
447
+ "value": "string"
448
+ },
449
+ "computed": false
450
+ },
451
+ {
452
+ "type": "propertySignature",
453
+ "key": {
454
+ "type": "identifier",
455
+ "name": "collapsed"
456
+ },
457
+ "annotation": {
458
+ "type": "keyword",
459
+ "value": "boolean"
460
+ },
461
+ "computed": false
431
462
  }
432
- }
433
- ]
463
+ ]
464
+ }
434
465
  }
435
466
  }
436
467
  ],
468
+ "methods": [],
437
469
  "types": [
438
470
  {
439
- "name": "WorkbenchNodeData",
440
471
  "type": "interface",
472
+ "name": "WorkbenchNodeData",
441
473
  "typeParameters": {
442
474
  "type": "typeParameterDeclaration",
443
475
  "params": [
444
476
  {
445
477
  "type": "typeParameter",
446
- "value": "T",
478
+ "name": "T",
447
479
  "default": {
448
480
  "type": "keyword",
449
- "value": "any"
481
+ "value": "unknown"
450
482
  }
451
483
  }
452
484
  ]
453
485
  },
454
- "annotation": [
486
+ "body": [
455
487
  {
456
488
  "type": "propertySignature",
457
- "name": "if",
458
- "property": {
489
+ "key": {
490
+ "type": "identifier",
491
+ "name": "if"
492
+ },
493
+ "annotation": {
459
494
  "type": "keyword",
460
495
  "value": "boolean"
461
- }
496
+ },
497
+ "optional": true,
498
+ "computed": false
462
499
  },
463
500
  {
464
501
  "type": "propertySignature",
465
- "name": "key",
466
- "property": {
502
+ "key": {
503
+ "type": "identifier",
504
+ "name": "key"
505
+ },
506
+ "annotation": {
467
507
  "type": "union",
468
508
  "types": [
469
509
  {
@@ -475,44 +515,73 @@
475
515
  "value": "number"
476
516
  }
477
517
  ]
478
- }
518
+ },
519
+ "computed": false
479
520
  },
480
521
  {
481
522
  "type": "propertySignature",
482
- "name": "name",
483
- "property": {
523
+ "key": {
524
+ "type": "identifier",
525
+ "name": "name"
526
+ },
527
+ "annotation": {
484
528
  "type": "keyword",
485
529
  "value": "string"
486
- }
530
+ },
531
+ "computed": false
487
532
  },
488
533
  {
489
534
  "type": "propertySignature",
490
- "name": "icon",
491
- "property": {
535
+ "key": {
536
+ "type": "identifier",
537
+ "name": "icon"
538
+ },
539
+ "annotation": {
492
540
  "type": "reference",
493
- "typeName": "GeneralIconProps"
494
- }
541
+ "typeName": {
542
+ "type": "identifier",
543
+ "name": "GeneralIconProps"
544
+ }
545
+ },
546
+ "optional": true,
547
+ "computed": false
495
548
  },
496
549
  {
497
550
  "type": "propertySignature",
498
- "name": "data",
499
- "property": {
551
+ "key": {
552
+ "type": "identifier",
553
+ "name": "data"
554
+ },
555
+ "annotation": {
500
556
  "type": "reference",
501
- "typeName": "T"
502
- }
557
+ "typeName": {
558
+ "type": "identifier",
559
+ "name": "T"
560
+ }
561
+ },
562
+ "optional": true,
563
+ "computed": false
503
564
  },
504
565
  {
505
566
  "type": "propertySignature",
506
- "name": "labelColor",
507
- "property": {
567
+ "key": {
568
+ "type": "identifier",
569
+ "name": "labelColor"
570
+ },
571
+ "annotation": {
508
572
  "type": "keyword",
509
573
  "value": "string"
510
- }
574
+ },
575
+ "optional": true,
576
+ "computed": false
511
577
  },
512
578
  {
513
579
  "type": "propertySignature",
514
- "name": "link",
515
- "property": {
580
+ "key": {
581
+ "type": "identifier",
582
+ "name": "link"
583
+ },
584
+ "annotation": {
516
585
  "type": "union",
517
586
  "types": [
518
587
  {
@@ -520,11 +589,15 @@
520
589
  "members": [
521
590
  {
522
591
  "type": "propertySignature",
523
- "name": "to",
524
- "property": {
592
+ "key": {
593
+ "type": "identifier",
594
+ "name": "to"
595
+ },
596
+ "annotation": {
525
597
  "type": "keyword",
526
598
  "value": "string"
527
- }
599
+ },
600
+ "computed": false
528
601
  }
529
602
  ]
530
603
  },
@@ -533,126 +606,202 @@
533
606
  "members": [
534
607
  {
535
608
  "type": "propertySignature",
536
- "name": "href",
537
- "property": {
609
+ "key": {
610
+ "type": "identifier",
611
+ "name": "href"
612
+ },
613
+ "annotation": {
538
614
  "type": "keyword",
539
615
  "value": "string"
540
- }
616
+ },
617
+ "computed": false
541
618
  }
542
619
  ]
543
620
  }
544
621
  ]
545
- }
622
+ },
623
+ "optional": true,
624
+ "computed": false
546
625
  },
547
626
  {
548
627
  "type": "propertySignature",
549
- "name": "badge",
550
- "property": {
628
+ "key": {
629
+ "type": "identifier",
630
+ "name": "badge"
631
+ },
632
+ "annotation": {
551
633
  "type": "reference",
552
- "typeName": "GeneralIconProps"
553
- }
634
+ "typeName": {
635
+ "type": "identifier",
636
+ "name": "GeneralIconProps"
637
+ }
638
+ },
639
+ "optional": true,
640
+ "computed": false
554
641
  },
555
642
  {
556
643
  "type": "propertySignature",
557
- "name": "children",
558
- "property": {
644
+ "key": {
645
+ "type": "identifier",
646
+ "name": "children"
647
+ },
648
+ "annotation": {
559
649
  "type": "array",
560
650
  "elementType": {
561
651
  "type": "reference",
562
- "typeName": "WorkbenchNodeData"
652
+ "typeName": {
653
+ "type": "identifier",
654
+ "name": "WorkbenchNodeData"
655
+ }
563
656
  }
564
- }
657
+ },
658
+ "optional": true,
659
+ "computed": false
565
660
  },
566
661
  {
567
662
  "type": "propertySignature",
568
- "name": "matched",
569
- "property": {
663
+ "key": {
664
+ "type": "identifier",
665
+ "name": "matched"
666
+ },
667
+ "annotation": {
570
668
  "type": "keyword",
571
669
  "value": "boolean"
572
- }
670
+ },
671
+ "optional": true,
672
+ "computed": false
573
673
  },
574
674
  {
575
675
  "type": "propertySignature",
576
- "name": "matchedSelf",
577
- "property": {
676
+ "key": {
677
+ "type": "identifier",
678
+ "name": "matchedSelf"
679
+ },
680
+ "annotation": {
578
681
  "type": "keyword",
579
682
  "value": "boolean"
580
- }
683
+ },
684
+ "optional": true,
685
+ "computed": false
581
686
  },
582
687
  {
583
688
  "type": "propertySignature",
584
- "name": "path",
585
- "property": {
689
+ "key": {
690
+ "type": "identifier",
691
+ "name": "path"
692
+ },
693
+ "annotation": {
586
694
  "type": "keyword",
587
695
  "value": "string"
588
- }
696
+ },
697
+ "optional": true,
698
+ "computed": false
589
699
  },
590
700
  {
591
701
  "type": "propertySignature",
592
- "name": "isContainer",
593
- "property": {
702
+ "key": {
703
+ "type": "identifier",
704
+ "name": "isContainer"
705
+ },
706
+ "annotation": {
594
707
  "type": "keyword",
595
708
  "value": "boolean"
596
- }
709
+ },
710
+ "optional": true,
711
+ "computed": false
597
712
  },
598
713
  {
599
714
  "type": "propertySignature",
600
- "name": "originKey",
601
- "property": {
715
+ "key": {
716
+ "type": "identifier",
717
+ "name": "originKey"
718
+ },
719
+ "annotation": {
602
720
  "type": "keyword",
603
721
  "value": "string"
604
- }
722
+ },
723
+ "optional": true,
724
+ "computed": false
605
725
  },
606
726
  {
607
727
  "type": "propertySignature",
608
- "name": "parentPath",
609
- "property": {
728
+ "key": {
729
+ "type": "identifier",
730
+ "name": "parentPath"
731
+ },
732
+ "annotation": {
610
733
  "type": "keyword",
611
734
  "value": "string"
612
- }
735
+ },
736
+ "optional": true,
737
+ "computed": false
613
738
  },
614
739
  {
615
740
  "type": "propertySignature",
616
- "name": "unreachable",
617
- "property": {
741
+ "key": {
742
+ "type": "identifier",
743
+ "name": "unreachable"
744
+ },
745
+ "annotation": {
618
746
  "type": "keyword",
619
747
  "value": "boolean"
620
- }
748
+ },
749
+ "optional": true,
750
+ "computed": false
621
751
  }
622
752
  ]
623
753
  },
624
754
  {
625
- "name": "WorkbenchTreeAction",
626
755
  "type": "interface",
627
- "annotation": [
756
+ "name": "WorkbenchTreeAction",
757
+ "body": [
628
758
  {
629
759
  "type": "propertySignature",
630
- "name": "action",
631
- "property": {
760
+ "key": {
761
+ "type": "identifier",
762
+ "name": "action"
763
+ },
764
+ "annotation": {
632
765
  "type": "keyword",
633
766
  "value": "string"
634
- }
767
+ },
768
+ "computed": false
635
769
  },
636
770
  {
637
771
  "type": "propertySignature",
638
- "name": "icon",
639
- "property": {
772
+ "key": {
773
+ "type": "identifier",
774
+ "name": "icon"
775
+ },
776
+ "annotation": {
640
777
  "type": "reference",
641
- "typeName": "GeneralIconProps"
642
- }
778
+ "typeName": {
779
+ "type": "identifier",
780
+ "name": "GeneralIconProps"
781
+ }
782
+ },
783
+ "computed": false
643
784
  },
644
785
  {
645
786
  "type": "propertySignature",
646
- "name": "title",
647
- "property": {
787
+ "key": {
788
+ "type": "identifier",
789
+ "name": "title"
790
+ },
791
+ "annotation": {
648
792
  "type": "keyword",
649
793
  "value": "string"
650
- }
794
+ },
795
+ "optional": true,
796
+ "computed": false
651
797
  },
652
798
  {
653
799
  "type": "propertySignature",
654
- "name": "if",
655
- "property": {
800
+ "key": {
801
+ "type": "identifier",
802
+ "name": "if"
803
+ },
804
+ "annotation": {
656
805
  "type": "union",
657
806
  "types": [
658
807
  {
@@ -664,29 +813,40 @@
664
813
  "value": "boolean"
665
814
  }
666
815
  ]
667
- }
816
+ },
817
+ "optional": true,
818
+ "computed": false
668
819
  }
669
820
  ]
670
821
  },
671
822
  {
672
- "name": "ActionClickDetail",
673
823
  "type": "interface",
674
- "annotation": [
824
+ "name": "ActionClickDetail",
825
+ "body": [
675
826
  {
676
827
  "type": "propertySignature",
677
- "name": "action",
678
- "property": {
828
+ "key": {
829
+ "type": "identifier",
830
+ "name": "action"
831
+ },
832
+ "annotation": {
679
833
  "type": "keyword",
680
834
  "value": "string"
681
- }
835
+ },
836
+ "computed": false
682
837
  },
683
838
  {
684
839
  "type": "propertySignature",
685
- "name": "data",
686
- "property": {
840
+ "key": {
841
+ "type": "identifier",
842
+ "name": "data"
843
+ },
844
+ "annotation": {
687
845
  "type": "keyword",
688
- "value": "any"
689
- }
846
+ "value": "unknown"
847
+ },
848
+ "optional": true,
849
+ "computed": false
690
850
  }
691
851
  ]
692
852
  }