@xyo-network/react-event 2.60.11 → 2.61.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -3
- package/dist/docs.json +0 -982
package/package.json
CHANGED
@@ -10,10 +10,10 @@
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
|
-
"@xylabs/assert": "^2.
|
13
|
+
"@xylabs/assert": "^2.10.11"
|
14
14
|
},
|
15
15
|
"devDependencies": {
|
16
|
-
"@xylabs/ts-scripts-yarn3": "^2.19.
|
16
|
+
"@xylabs/ts-scripts-yarn3": "^2.19.5",
|
17
17
|
"typescript": "^5.2.2"
|
18
18
|
},
|
19
19
|
"peerDependencies": {
|
@@ -63,5 +63,5 @@
|
|
63
63
|
},
|
64
64
|
"sideEffects": false,
|
65
65
|
"types": "dist/types/index.d.ts",
|
66
|
-
"version": "2.
|
66
|
+
"version": "2.61.0"
|
67
67
|
}
|
package/dist/docs.json
DELETED
@@ -1,982 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": 0,
|
3
|
-
"name": "@xyo-network/react-event",
|
4
|
-
"variant": "project",
|
5
|
-
"kind": 1,
|
6
|
-
"flags": {},
|
7
|
-
"children": [
|
8
|
-
{
|
9
|
-
"id": 15,
|
10
|
-
"name": "Event",
|
11
|
-
"variant": "declaration",
|
12
|
-
"kind": 256,
|
13
|
-
"flags": {},
|
14
|
-
"children": [
|
15
|
-
{
|
16
|
-
"id": 16,
|
17
|
-
"name": "data",
|
18
|
-
"variant": "declaration",
|
19
|
-
"kind": 1024,
|
20
|
-
"flags": {
|
21
|
-
"isOptional": true
|
22
|
-
},
|
23
|
-
"sources": [
|
24
|
-
{
|
25
|
-
"fileName": "hooks/useEvent.ts",
|
26
|
-
"line": 9,
|
27
|
-
"character": 2,
|
28
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useEvent.ts#L9"
|
29
|
-
}
|
30
|
-
],
|
31
|
-
"type": {
|
32
|
-
"type": "reference",
|
33
|
-
"target": -1,
|
34
|
-
"name": "TData",
|
35
|
-
"refersToTypeParameter": true
|
36
|
-
}
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"id": 17,
|
40
|
-
"name": "noun",
|
41
|
-
"variant": "declaration",
|
42
|
-
"kind": 1024,
|
43
|
-
"flags": {},
|
44
|
-
"sources": [
|
45
|
-
{
|
46
|
-
"fileName": "hooks/useEvent.ts",
|
47
|
-
"line": 10,
|
48
|
-
"character": 2,
|
49
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useEvent.ts#L10"
|
50
|
-
}
|
51
|
-
],
|
52
|
-
"type": {
|
53
|
-
"type": "reference",
|
54
|
-
"target": -1,
|
55
|
-
"name": "TNoun",
|
56
|
-
"refersToTypeParameter": true
|
57
|
-
}
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"id": 18,
|
61
|
-
"name": "verb",
|
62
|
-
"variant": "declaration",
|
63
|
-
"kind": 1024,
|
64
|
-
"flags": {},
|
65
|
-
"sources": [
|
66
|
-
{
|
67
|
-
"fileName": "hooks/useEvent.ts",
|
68
|
-
"line": 11,
|
69
|
-
"character": 2,
|
70
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useEvent.ts#L11"
|
71
|
-
}
|
72
|
-
],
|
73
|
-
"type": {
|
74
|
-
"type": "reference",
|
75
|
-
"target": -1,
|
76
|
-
"name": "TVerb",
|
77
|
-
"refersToTypeParameter": true
|
78
|
-
}
|
79
|
-
}
|
80
|
-
],
|
81
|
-
"groups": [
|
82
|
-
{
|
83
|
-
"title": "Properties",
|
84
|
-
"children": [
|
85
|
-
16,
|
86
|
-
17,
|
87
|
-
18
|
88
|
-
]
|
89
|
-
}
|
90
|
-
],
|
91
|
-
"sources": [
|
92
|
-
{
|
93
|
-
"fileName": "hooks/useEvent.ts",
|
94
|
-
"line": 8,
|
95
|
-
"character": 17,
|
96
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useEvent.ts#L8"
|
97
|
-
}
|
98
|
-
],
|
99
|
-
"typeParameters": [
|
100
|
-
{
|
101
|
-
"id": 19,
|
102
|
-
"name": "TNoun",
|
103
|
-
"variant": "typeParam",
|
104
|
-
"kind": 131072,
|
105
|
-
"flags": {},
|
106
|
-
"default": {
|
107
|
-
"type": "reference",
|
108
|
-
"target": 13,
|
109
|
-
"name": "EventNoun",
|
110
|
-
"package": "@xyo-network/react-event"
|
111
|
-
}
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"id": 20,
|
115
|
-
"name": "TVerb",
|
116
|
-
"variant": "typeParam",
|
117
|
-
"kind": 131072,
|
118
|
-
"flags": {},
|
119
|
-
"default": {
|
120
|
-
"type": "reference",
|
121
|
-
"target": 14,
|
122
|
-
"name": "EventVerb",
|
123
|
-
"package": "@xyo-network/react-event"
|
124
|
-
}
|
125
|
-
},
|
126
|
-
{
|
127
|
-
"id": 21,
|
128
|
-
"name": "TData",
|
129
|
-
"variant": "typeParam",
|
130
|
-
"kind": 131072,
|
131
|
-
"flags": {},
|
132
|
-
"default": {
|
133
|
-
"type": "intrinsic",
|
134
|
-
"name": "string"
|
135
|
-
}
|
136
|
-
}
|
137
|
-
]
|
138
|
-
},
|
139
|
-
{
|
140
|
-
"id": 1,
|
141
|
-
"name": "CustomEventDispatch",
|
142
|
-
"variant": "declaration",
|
143
|
-
"kind": 4194304,
|
144
|
-
"flags": {},
|
145
|
-
"sources": [
|
146
|
-
{
|
147
|
-
"fileName": "hooks/useCustomEvent.ts",
|
148
|
-
"line": 4,
|
149
|
-
"character": 12,
|
150
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useCustomEvent.ts#L4"
|
151
|
-
}
|
152
|
-
],
|
153
|
-
"typeParameters": [
|
154
|
-
{
|
155
|
-
"id": 5,
|
156
|
-
"name": "T",
|
157
|
-
"variant": "typeParam",
|
158
|
-
"kind": 131072,
|
159
|
-
"flags": {},
|
160
|
-
"default": {
|
161
|
-
"type": "intrinsic",
|
162
|
-
"name": "unknown"
|
163
|
-
}
|
164
|
-
}
|
165
|
-
],
|
166
|
-
"type": {
|
167
|
-
"type": "reflection",
|
168
|
-
"declaration": {
|
169
|
-
"id": 2,
|
170
|
-
"name": "__type",
|
171
|
-
"variant": "declaration",
|
172
|
-
"kind": 65536,
|
173
|
-
"flags": {},
|
174
|
-
"sources": [
|
175
|
-
{
|
176
|
-
"fileName": "hooks/useCustomEvent.ts",
|
177
|
-
"line": 4,
|
178
|
-
"character": 47,
|
179
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useCustomEvent.ts#L4"
|
180
|
-
}
|
181
|
-
],
|
182
|
-
"signatures": [
|
183
|
-
{
|
184
|
-
"id": 3,
|
185
|
-
"name": "__type",
|
186
|
-
"variant": "signature",
|
187
|
-
"kind": 4096,
|
188
|
-
"flags": {},
|
189
|
-
"parameters": [
|
190
|
-
{
|
191
|
-
"id": 4,
|
192
|
-
"name": "detail",
|
193
|
-
"variant": "param",
|
194
|
-
"kind": 32768,
|
195
|
-
"flags": {},
|
196
|
-
"type": {
|
197
|
-
"type": "reference",
|
198
|
-
"target": -1,
|
199
|
-
"name": "T",
|
200
|
-
"refersToTypeParameter": true
|
201
|
-
}
|
202
|
-
}
|
203
|
-
],
|
204
|
-
"type": {
|
205
|
-
"type": "union",
|
206
|
-
"types": [
|
207
|
-
{
|
208
|
-
"type": "intrinsic",
|
209
|
-
"name": "boolean"
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"type": "intrinsic",
|
213
|
-
"name": "void"
|
214
|
-
}
|
215
|
-
]
|
216
|
-
}
|
217
|
-
}
|
218
|
-
]
|
219
|
-
}
|
220
|
-
}
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"id": 22,
|
224
|
-
"name": "EventDispatch",
|
225
|
-
"variant": "declaration",
|
226
|
-
"kind": 4194304,
|
227
|
-
"flags": {},
|
228
|
-
"sources": [
|
229
|
-
{
|
230
|
-
"fileName": "hooks/useEvent.ts",
|
231
|
-
"line": 14,
|
232
|
-
"character": 12,
|
233
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useEvent.ts#L14"
|
234
|
-
}
|
235
|
-
],
|
236
|
-
"typeParameters": [
|
237
|
-
{
|
238
|
-
"id": 28,
|
239
|
-
"name": "TNoun",
|
240
|
-
"variant": "typeParam",
|
241
|
-
"kind": 131072,
|
242
|
-
"flags": {},
|
243
|
-
"default": {
|
244
|
-
"type": "reference",
|
245
|
-
"target": 13,
|
246
|
-
"name": "EventNoun",
|
247
|
-
"package": "@xyo-network/react-event"
|
248
|
-
}
|
249
|
-
},
|
250
|
-
{
|
251
|
-
"id": 29,
|
252
|
-
"name": "TVerb",
|
253
|
-
"variant": "typeParam",
|
254
|
-
"kind": 131072,
|
255
|
-
"flags": {},
|
256
|
-
"default": {
|
257
|
-
"type": "reference",
|
258
|
-
"target": 14,
|
259
|
-
"name": "EventVerb",
|
260
|
-
"package": "@xyo-network/react-event"
|
261
|
-
}
|
262
|
-
},
|
263
|
-
{
|
264
|
-
"id": 30,
|
265
|
-
"name": "TData",
|
266
|
-
"variant": "typeParam",
|
267
|
-
"kind": 131072,
|
268
|
-
"flags": {},
|
269
|
-
"default": {
|
270
|
-
"type": "intrinsic",
|
271
|
-
"name": "string"
|
272
|
-
}
|
273
|
-
}
|
274
|
-
],
|
275
|
-
"type": {
|
276
|
-
"type": "reflection",
|
277
|
-
"declaration": {
|
278
|
-
"id": 23,
|
279
|
-
"name": "__type",
|
280
|
-
"variant": "declaration",
|
281
|
-
"kind": 65536,
|
282
|
-
"flags": {},
|
283
|
-
"sources": [
|
284
|
-
{
|
285
|
-
"fileName": "hooks/useEvent.ts",
|
286
|
-
"line": 14,
|
287
|
-
"character": 82,
|
288
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useEvent.ts#L14"
|
289
|
-
}
|
290
|
-
],
|
291
|
-
"signatures": [
|
292
|
-
{
|
293
|
-
"id": 24,
|
294
|
-
"name": "__type",
|
295
|
-
"variant": "signature",
|
296
|
-
"kind": 4096,
|
297
|
-
"flags": {},
|
298
|
-
"parameters": [
|
299
|
-
{
|
300
|
-
"id": 25,
|
301
|
-
"name": "noun",
|
302
|
-
"variant": "param",
|
303
|
-
"kind": 32768,
|
304
|
-
"flags": {},
|
305
|
-
"type": {
|
306
|
-
"type": "reference",
|
307
|
-
"target": -1,
|
308
|
-
"name": "TNoun",
|
309
|
-
"refersToTypeParameter": true
|
310
|
-
}
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"id": 26,
|
314
|
-
"name": "verb",
|
315
|
-
"variant": "param",
|
316
|
-
"kind": 32768,
|
317
|
-
"flags": {},
|
318
|
-
"type": {
|
319
|
-
"type": "reference",
|
320
|
-
"target": -1,
|
321
|
-
"name": "TVerb",
|
322
|
-
"refersToTypeParameter": true
|
323
|
-
}
|
324
|
-
},
|
325
|
-
{
|
326
|
-
"id": 27,
|
327
|
-
"name": "data",
|
328
|
-
"variant": "param",
|
329
|
-
"kind": 32768,
|
330
|
-
"flags": {
|
331
|
-
"isOptional": true
|
332
|
-
},
|
333
|
-
"type": {
|
334
|
-
"type": "reference",
|
335
|
-
"target": -1,
|
336
|
-
"name": "TData",
|
337
|
-
"refersToTypeParameter": true
|
338
|
-
}
|
339
|
-
}
|
340
|
-
],
|
341
|
-
"type": {
|
342
|
-
"type": "union",
|
343
|
-
"types": [
|
344
|
-
{
|
345
|
-
"type": "intrinsic",
|
346
|
-
"name": "boolean"
|
347
|
-
},
|
348
|
-
{
|
349
|
-
"type": "intrinsic",
|
350
|
-
"name": "void"
|
351
|
-
}
|
352
|
-
]
|
353
|
-
}
|
354
|
-
}
|
355
|
-
]
|
356
|
-
}
|
357
|
-
}
|
358
|
-
},
|
359
|
-
{
|
360
|
-
"id": 13,
|
361
|
-
"name": "EventNoun",
|
362
|
-
"variant": "declaration",
|
363
|
-
"kind": 4194304,
|
364
|
-
"flags": {},
|
365
|
-
"sources": [
|
366
|
-
{
|
367
|
-
"fileName": "hooks/useEvent.ts",
|
368
|
-
"line": 5,
|
369
|
-
"character": 12,
|
370
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useEvent.ts#L5"
|
371
|
-
}
|
372
|
-
],
|
373
|
-
"type": {
|
374
|
-
"type": "union",
|
375
|
-
"types": [
|
376
|
-
{
|
377
|
-
"type": "literal",
|
378
|
-
"value": "payload"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"type": "literal",
|
382
|
-
"value": "boundwitness"
|
383
|
-
},
|
384
|
-
{
|
385
|
-
"type": "literal",
|
386
|
-
"value": "address"
|
387
|
-
},
|
388
|
-
{
|
389
|
-
"type": "literal",
|
390
|
-
"value": "hash"
|
391
|
-
},
|
392
|
-
{
|
393
|
-
"type": "literal",
|
394
|
-
"value": "signature"
|
395
|
-
},
|
396
|
-
{
|
397
|
-
"type": "literal",
|
398
|
-
"value": "schema"
|
399
|
-
}
|
400
|
-
]
|
401
|
-
}
|
402
|
-
},
|
403
|
-
{
|
404
|
-
"id": 14,
|
405
|
-
"name": "EventVerb",
|
406
|
-
"variant": "declaration",
|
407
|
-
"kind": 4194304,
|
408
|
-
"flags": {},
|
409
|
-
"sources": [
|
410
|
-
{
|
411
|
-
"fileName": "hooks/useEvent.ts",
|
412
|
-
"line": 6,
|
413
|
-
"character": 12,
|
414
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useEvent.ts#L6"
|
415
|
-
}
|
416
|
-
],
|
417
|
-
"type": {
|
418
|
-
"type": "union",
|
419
|
-
"types": [
|
420
|
-
{
|
421
|
-
"type": "literal",
|
422
|
-
"value": "click"
|
423
|
-
},
|
424
|
-
{
|
425
|
-
"type": "literal",
|
426
|
-
"value": "favorite"
|
427
|
-
}
|
428
|
-
]
|
429
|
-
}
|
430
|
-
},
|
431
|
-
{
|
432
|
-
"id": 6,
|
433
|
-
"name": "useCustomEvent",
|
434
|
-
"variant": "declaration",
|
435
|
-
"kind": 64,
|
436
|
-
"flags": {},
|
437
|
-
"sources": [
|
438
|
-
{
|
439
|
-
"fileName": "hooks/useCustomEvent.ts",
|
440
|
-
"line": 6,
|
441
|
-
"character": 13,
|
442
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useCustomEvent.ts#L6"
|
443
|
-
}
|
444
|
-
],
|
445
|
-
"signatures": [
|
446
|
-
{
|
447
|
-
"id": 7,
|
448
|
-
"name": "useCustomEvent",
|
449
|
-
"variant": "signature",
|
450
|
-
"kind": 4096,
|
451
|
-
"flags": {},
|
452
|
-
"sources": [
|
453
|
-
{
|
454
|
-
"fileName": "hooks/useCustomEvent.ts",
|
455
|
-
"line": 6,
|
456
|
-
"character": 30,
|
457
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useCustomEvent.ts#L6"
|
458
|
-
}
|
459
|
-
],
|
460
|
-
"typeParameter": [
|
461
|
-
{
|
462
|
-
"id": 8,
|
463
|
-
"name": "TElement",
|
464
|
-
"variant": "typeParam",
|
465
|
-
"kind": 131072,
|
466
|
-
"flags": {},
|
467
|
-
"type": {
|
468
|
-
"type": "reference",
|
469
|
-
"target": {
|
470
|
-
"sourceFileName": "../../../../node_modules/typescript/lib/lib.dom.d.ts",
|
471
|
-
"qualifiedName": "HTMLElement"
|
472
|
-
},
|
473
|
-
"name": "HTMLElement",
|
474
|
-
"package": "typescript"
|
475
|
-
}
|
476
|
-
},
|
477
|
-
{
|
478
|
-
"id": 9,
|
479
|
-
"name": "TDetail",
|
480
|
-
"variant": "typeParam",
|
481
|
-
"kind": 131072,
|
482
|
-
"flags": {},
|
483
|
-
"default": {
|
484
|
-
"type": "intrinsic",
|
485
|
-
"name": "unknown"
|
486
|
-
}
|
487
|
-
}
|
488
|
-
],
|
489
|
-
"parameters": [
|
490
|
-
{
|
491
|
-
"id": 10,
|
492
|
-
"name": "type",
|
493
|
-
"variant": "param",
|
494
|
-
"kind": 32768,
|
495
|
-
"flags": {},
|
496
|
-
"type": {
|
497
|
-
"type": "intrinsic",
|
498
|
-
"name": "string"
|
499
|
-
}
|
500
|
-
},
|
501
|
-
{
|
502
|
-
"id": 11,
|
503
|
-
"name": "listener",
|
504
|
-
"variant": "param",
|
505
|
-
"kind": 32768,
|
506
|
-
"flags": {
|
507
|
-
"isOptional": true
|
508
|
-
},
|
509
|
-
"type": {
|
510
|
-
"type": "reference",
|
511
|
-
"target": 1,
|
512
|
-
"typeArguments": [
|
513
|
-
{
|
514
|
-
"type": "reference",
|
515
|
-
"target": -1,
|
516
|
-
"name": "TDetail",
|
517
|
-
"refersToTypeParameter": true
|
518
|
-
}
|
519
|
-
],
|
520
|
-
"name": "CustomEventDispatch",
|
521
|
-
"package": "@xyo-network/react-event"
|
522
|
-
}
|
523
|
-
},
|
524
|
-
{
|
525
|
-
"id": 12,
|
526
|
-
"name": "customRef",
|
527
|
-
"variant": "param",
|
528
|
-
"kind": 32768,
|
529
|
-
"flags": {
|
530
|
-
"isOptional": true
|
531
|
-
},
|
532
|
-
"type": {
|
533
|
-
"type": "reference",
|
534
|
-
"target": {
|
535
|
-
"sourceFileName": "../../../../node_modules/@types/react/ts5.0/index.d.ts",
|
536
|
-
"qualifiedName": "React.RefObject"
|
537
|
-
},
|
538
|
-
"typeArguments": [
|
539
|
-
{
|
540
|
-
"type": "reference",
|
541
|
-
"target": -1,
|
542
|
-
"name": "TElement",
|
543
|
-
"refersToTypeParameter": true
|
544
|
-
}
|
545
|
-
],
|
546
|
-
"name": "RefObject",
|
547
|
-
"package": "@types/react",
|
548
|
-
"qualifiedName": "React.RefObject"
|
549
|
-
}
|
550
|
-
}
|
551
|
-
],
|
552
|
-
"type": {
|
553
|
-
"type": "tuple",
|
554
|
-
"elements": [
|
555
|
-
{
|
556
|
-
"type": "reference",
|
557
|
-
"target": {
|
558
|
-
"sourceFileName": "../../../../node_modules/@types/react/ts5.0/index.d.ts",
|
559
|
-
"qualifiedName": "React.RefObject"
|
560
|
-
},
|
561
|
-
"typeArguments": [
|
562
|
-
{
|
563
|
-
"type": "reference",
|
564
|
-
"target": -1,
|
565
|
-
"name": "TElement",
|
566
|
-
"refersToTypeParameter": true
|
567
|
-
}
|
568
|
-
],
|
569
|
-
"name": "RefObject",
|
570
|
-
"package": "@types/react",
|
571
|
-
"qualifiedName": "React.RefObject"
|
572
|
-
},
|
573
|
-
{
|
574
|
-
"type": "reference",
|
575
|
-
"target": 1,
|
576
|
-
"typeArguments": [
|
577
|
-
{
|
578
|
-
"type": "reference",
|
579
|
-
"target": -1,
|
580
|
-
"name": "TDetail",
|
581
|
-
"refersToTypeParameter": true
|
582
|
-
}
|
583
|
-
],
|
584
|
-
"name": "CustomEventDispatch",
|
585
|
-
"package": "@xyo-network/react-event"
|
586
|
-
}
|
587
|
-
]
|
588
|
-
}
|
589
|
-
}
|
590
|
-
]
|
591
|
-
},
|
592
|
-
{
|
593
|
-
"id": 31,
|
594
|
-
"name": "useEvent",
|
595
|
-
"variant": "declaration",
|
596
|
-
"kind": 64,
|
597
|
-
"flags": {},
|
598
|
-
"sources": [
|
599
|
-
{
|
600
|
-
"fileName": "hooks/useEvent.ts",
|
601
|
-
"line": 16,
|
602
|
-
"character": 13,
|
603
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useEvent.ts#L16"
|
604
|
-
}
|
605
|
-
],
|
606
|
-
"signatures": [
|
607
|
-
{
|
608
|
-
"id": 32,
|
609
|
-
"name": "useEvent",
|
610
|
-
"variant": "signature",
|
611
|
-
"kind": 4096,
|
612
|
-
"flags": {},
|
613
|
-
"sources": [
|
614
|
-
{
|
615
|
-
"fileName": "hooks/useEvent.ts",
|
616
|
-
"line": 16,
|
617
|
-
"character": 24,
|
618
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4ee472d8d4e5/packages/sdk/packages/event/src/hooks/useEvent.ts#L16"
|
619
|
-
}
|
620
|
-
],
|
621
|
-
"typeParameter": [
|
622
|
-
{
|
623
|
-
"id": 33,
|
624
|
-
"name": "T",
|
625
|
-
"variant": "typeParam",
|
626
|
-
"kind": 131072,
|
627
|
-
"flags": {},
|
628
|
-
"type": {
|
629
|
-
"type": "reference",
|
630
|
-
"target": {
|
631
|
-
"sourceFileName": "../../../../node_modules/typescript/lib/lib.dom.d.ts",
|
632
|
-
"qualifiedName": "HTMLElement"
|
633
|
-
},
|
634
|
-
"name": "HTMLElement",
|
635
|
-
"package": "typescript"
|
636
|
-
}
|
637
|
-
},
|
638
|
-
{
|
639
|
-
"id": 34,
|
640
|
-
"name": "TNoun",
|
641
|
-
"variant": "typeParam",
|
642
|
-
"kind": 131072,
|
643
|
-
"flags": {},
|
644
|
-
"default": {
|
645
|
-
"type": "reference",
|
646
|
-
"target": 13,
|
647
|
-
"name": "EventNoun",
|
648
|
-
"package": "@xyo-network/react-event"
|
649
|
-
}
|
650
|
-
},
|
651
|
-
{
|
652
|
-
"id": 35,
|
653
|
-
"name": "TVerb",
|
654
|
-
"variant": "typeParam",
|
655
|
-
"kind": 131072,
|
656
|
-
"flags": {},
|
657
|
-
"default": {
|
658
|
-
"type": "reference",
|
659
|
-
"target": 14,
|
660
|
-
"name": "EventVerb",
|
661
|
-
"package": "@xyo-network/react-event"
|
662
|
-
}
|
663
|
-
},
|
664
|
-
{
|
665
|
-
"id": 36,
|
666
|
-
"name": "TData",
|
667
|
-
"variant": "typeParam",
|
668
|
-
"kind": 131072,
|
669
|
-
"flags": {},
|
670
|
-
"default": {
|
671
|
-
"type": "intrinsic",
|
672
|
-
"name": "string"
|
673
|
-
}
|
674
|
-
}
|
675
|
-
],
|
676
|
-
"parameters": [
|
677
|
-
{
|
678
|
-
"id": 37,
|
679
|
-
"name": "listener",
|
680
|
-
"variant": "param",
|
681
|
-
"kind": 32768,
|
682
|
-
"flags": {
|
683
|
-
"isOptional": true
|
684
|
-
},
|
685
|
-
"type": {
|
686
|
-
"type": "reference",
|
687
|
-
"target": 22,
|
688
|
-
"typeArguments": [
|
689
|
-
{
|
690
|
-
"type": "reference",
|
691
|
-
"target": -1,
|
692
|
-
"name": "TNoun",
|
693
|
-
"refersToTypeParameter": true
|
694
|
-
},
|
695
|
-
{
|
696
|
-
"type": "reference",
|
697
|
-
"target": -1,
|
698
|
-
"name": "TVerb",
|
699
|
-
"refersToTypeParameter": true
|
700
|
-
},
|
701
|
-
{
|
702
|
-
"type": "reference",
|
703
|
-
"target": -1,
|
704
|
-
"name": "TData",
|
705
|
-
"refersToTypeParameter": true
|
706
|
-
}
|
707
|
-
],
|
708
|
-
"name": "EventDispatch",
|
709
|
-
"package": "@xyo-network/react-event"
|
710
|
-
}
|
711
|
-
},
|
712
|
-
{
|
713
|
-
"id": 38,
|
714
|
-
"name": "sharableRef",
|
715
|
-
"variant": "param",
|
716
|
-
"kind": 32768,
|
717
|
-
"flags": {
|
718
|
-
"isOptional": true
|
719
|
-
},
|
720
|
-
"type": {
|
721
|
-
"type": "reference",
|
722
|
-
"target": {
|
723
|
-
"sourceFileName": "../../../../node_modules/@types/react/ts5.0/index.d.ts",
|
724
|
-
"qualifiedName": "React.RefObject"
|
725
|
-
},
|
726
|
-
"typeArguments": [
|
727
|
-
{
|
728
|
-
"type": "reference",
|
729
|
-
"target": -1,
|
730
|
-
"name": "T",
|
731
|
-
"refersToTypeParameter": true
|
732
|
-
}
|
733
|
-
],
|
734
|
-
"name": "RefObject",
|
735
|
-
"package": "@types/react",
|
736
|
-
"qualifiedName": "React.RefObject"
|
737
|
-
}
|
738
|
-
}
|
739
|
-
],
|
740
|
-
"type": {
|
741
|
-
"type": "tuple",
|
742
|
-
"elements": [
|
743
|
-
{
|
744
|
-
"type": "reference",
|
745
|
-
"target": {
|
746
|
-
"sourceFileName": "../../../../node_modules/@types/react/ts5.0/index.d.ts",
|
747
|
-
"qualifiedName": "React.RefObject"
|
748
|
-
},
|
749
|
-
"typeArguments": [
|
750
|
-
{
|
751
|
-
"type": "reference",
|
752
|
-
"target": -1,
|
753
|
-
"name": "T",
|
754
|
-
"refersToTypeParameter": true
|
755
|
-
}
|
756
|
-
],
|
757
|
-
"name": "RefObject",
|
758
|
-
"package": "@types/react",
|
759
|
-
"qualifiedName": "React.RefObject"
|
760
|
-
},
|
761
|
-
{
|
762
|
-
"type": "reference",
|
763
|
-
"target": 22,
|
764
|
-
"typeArguments": [
|
765
|
-
{
|
766
|
-
"type": "reference",
|
767
|
-
"target": -1,
|
768
|
-
"name": "TNoun",
|
769
|
-
"refersToTypeParameter": true
|
770
|
-
},
|
771
|
-
{
|
772
|
-
"type": "reference",
|
773
|
-
"target": -1,
|
774
|
-
"name": "TVerb",
|
775
|
-
"refersToTypeParameter": true
|
776
|
-
},
|
777
|
-
{
|
778
|
-
"type": "reference",
|
779
|
-
"target": -1,
|
780
|
-
"name": "TData",
|
781
|
-
"refersToTypeParameter": true
|
782
|
-
}
|
783
|
-
],
|
784
|
-
"name": "EventDispatch",
|
785
|
-
"package": "@xyo-network/react-event"
|
786
|
-
}
|
787
|
-
]
|
788
|
-
}
|
789
|
-
}
|
790
|
-
]
|
791
|
-
}
|
792
|
-
],
|
793
|
-
"groups": [
|
794
|
-
{
|
795
|
-
"title": "Interfaces",
|
796
|
-
"children": [
|
797
|
-
15
|
798
|
-
]
|
799
|
-
},
|
800
|
-
{
|
801
|
-
"title": "Type Aliases",
|
802
|
-
"children": [
|
803
|
-
1,
|
804
|
-
22,
|
805
|
-
13,
|
806
|
-
14
|
807
|
-
]
|
808
|
-
},
|
809
|
-
{
|
810
|
-
"title": "Functions",
|
811
|
-
"children": [
|
812
|
-
6,
|
813
|
-
31
|
814
|
-
]
|
815
|
-
}
|
816
|
-
],
|
817
|
-
"packageName": "@xyo-network/react-event",
|
818
|
-
"readme": [
|
819
|
-
{
|
820
|
-
"kind": "text",
|
821
|
-
"text": "[![logo][]](https://xyo.network)\n\nPart of [@xyo-network/sdk-xyo-react](https://www.npmjs.com/package/@xyo-network/sdk-xyo-react)\n\n## License\n\n> See the [LICENSE](LICENSE) file for license details\n\n## Credits\n\n[Made with 🔥 and ❄️ by XYO](https://xyo.network)\n\n[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png"
|
822
|
-
}
|
823
|
-
],
|
824
|
-
"symbolIdMap": {
|
825
|
-
"0": {
|
826
|
-
"sourceFileName": "src/index.ts",
|
827
|
-
"qualifiedName": ""
|
828
|
-
},
|
829
|
-
"1": {
|
830
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
831
|
-
"qualifiedName": "CustomEventDispatch"
|
832
|
-
},
|
833
|
-
"2": {
|
834
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
835
|
-
"qualifiedName": "__type"
|
836
|
-
},
|
837
|
-
"3": {
|
838
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
839
|
-
"qualifiedName": "__type"
|
840
|
-
},
|
841
|
-
"4": {
|
842
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
843
|
-
"qualifiedName": "detail"
|
844
|
-
},
|
845
|
-
"5": {
|
846
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
847
|
-
"qualifiedName": "T"
|
848
|
-
},
|
849
|
-
"6": {
|
850
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
851
|
-
"qualifiedName": "useCustomEvent"
|
852
|
-
},
|
853
|
-
"7": {
|
854
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
855
|
-
"qualifiedName": "useCustomEvent"
|
856
|
-
},
|
857
|
-
"8": {
|
858
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
859
|
-
"qualifiedName": "TElement"
|
860
|
-
},
|
861
|
-
"9": {
|
862
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
863
|
-
"qualifiedName": "TDetail"
|
864
|
-
},
|
865
|
-
"10": {
|
866
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
867
|
-
"qualifiedName": "type"
|
868
|
-
},
|
869
|
-
"11": {
|
870
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
871
|
-
"qualifiedName": "listener"
|
872
|
-
},
|
873
|
-
"12": {
|
874
|
-
"sourceFileName": "src/hooks/useCustomEvent.ts",
|
875
|
-
"qualifiedName": "customRef"
|
876
|
-
},
|
877
|
-
"13": {
|
878
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
879
|
-
"qualifiedName": "EventNoun"
|
880
|
-
},
|
881
|
-
"14": {
|
882
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
883
|
-
"qualifiedName": "EventVerb"
|
884
|
-
},
|
885
|
-
"15": {
|
886
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
887
|
-
"qualifiedName": "Event"
|
888
|
-
},
|
889
|
-
"16": {
|
890
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
891
|
-
"qualifiedName": "Event.data"
|
892
|
-
},
|
893
|
-
"17": {
|
894
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
895
|
-
"qualifiedName": "Event.noun"
|
896
|
-
},
|
897
|
-
"18": {
|
898
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
899
|
-
"qualifiedName": "Event.verb"
|
900
|
-
},
|
901
|
-
"19": {
|
902
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
903
|
-
"qualifiedName": "Event.TNoun"
|
904
|
-
},
|
905
|
-
"20": {
|
906
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
907
|
-
"qualifiedName": "Event.TVerb"
|
908
|
-
},
|
909
|
-
"21": {
|
910
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
911
|
-
"qualifiedName": "Event.TData"
|
912
|
-
},
|
913
|
-
"22": {
|
914
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
915
|
-
"qualifiedName": "EventDispatch"
|
916
|
-
},
|
917
|
-
"23": {
|
918
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
919
|
-
"qualifiedName": "__type"
|
920
|
-
},
|
921
|
-
"24": {
|
922
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
923
|
-
"qualifiedName": "__type"
|
924
|
-
},
|
925
|
-
"25": {
|
926
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
927
|
-
"qualifiedName": "noun"
|
928
|
-
},
|
929
|
-
"26": {
|
930
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
931
|
-
"qualifiedName": "verb"
|
932
|
-
},
|
933
|
-
"27": {
|
934
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
935
|
-
"qualifiedName": "data"
|
936
|
-
},
|
937
|
-
"28": {
|
938
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
939
|
-
"qualifiedName": "TNoun"
|
940
|
-
},
|
941
|
-
"29": {
|
942
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
943
|
-
"qualifiedName": "TVerb"
|
944
|
-
},
|
945
|
-
"30": {
|
946
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
947
|
-
"qualifiedName": "TData"
|
948
|
-
},
|
949
|
-
"31": {
|
950
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
951
|
-
"qualifiedName": "useEvent"
|
952
|
-
},
|
953
|
-
"32": {
|
954
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
955
|
-
"qualifiedName": "useEvent"
|
956
|
-
},
|
957
|
-
"33": {
|
958
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
959
|
-
"qualifiedName": "T"
|
960
|
-
},
|
961
|
-
"34": {
|
962
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
963
|
-
"qualifiedName": "TNoun"
|
964
|
-
},
|
965
|
-
"35": {
|
966
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
967
|
-
"qualifiedName": "TVerb"
|
968
|
-
},
|
969
|
-
"36": {
|
970
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
971
|
-
"qualifiedName": "TData"
|
972
|
-
},
|
973
|
-
"37": {
|
974
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
975
|
-
"qualifiedName": "listener"
|
976
|
-
},
|
977
|
-
"38": {
|
978
|
-
"sourceFileName": "src/hooks/useEvent.ts",
|
979
|
-
"qualifiedName": "sharableRef"
|
980
|
-
}
|
981
|
-
}
|
982
|
-
}
|