@teambit/notifications 1.0.186 → 1.0.188

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,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.ui-foundation/notifications@1.0.186" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.ui-foundation/notifications@1.0.188" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/notifications",
3
- "version": "1.0.186",
3
+ "version": "1.0.188",
4
4
  "homepage": "https://bit.cloud/teambit/ui-foundation/notifications",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.ui-foundation",
8
8
  "name": "notifications",
9
- "version": "1.0.186"
9
+ "version": "1.0.188"
10
10
  },
11
11
  "dependencies": {
12
12
  "uuid": "8.3.2",
@@ -14,7 +14,7 @@
14
14
  "@teambit/ui-foundation.ui.notifications.notification-center": "0.0.523",
15
15
  "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
16
16
  "@teambit/harmony": "0.4.6",
17
- "@teambit/ui": "1.0.186"
17
+ "@teambit/ui": "1.0.188"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/uuid": "8.3.4",
@@ -1,990 +0,0 @@
1
- {
2
- "__schema": "APISchema",
3
- "location": {
4
- "filePath": "index.ts",
5
- "line": 1,
6
- "character": 1
7
- },
8
- "module": {
9
- "__schema": "ModuleSchema",
10
- "location": {
11
- "filePath": "index.ts",
12
- "line": 1,
13
- "character": 1
14
- },
15
- "exports": [
16
- {
17
- "__schema": "ClassSchema",
18
- "location": {
19
- "filePath": "notification.ui.runtime.tsx",
20
- "line": 17,
21
- "character": 1
22
- },
23
- "doc": {
24
- "__schema": "DocSchema",
25
- "location": {
26
- "filePath": "notification.ui.runtime.tsx",
27
- "line": 14,
28
- "character": 1
29
- },
30
- "raw": "/**\n * extension\n */",
31
- "comment": "extension"
32
- },
33
- "signature": "class NotificationUI",
34
- "name": "NotificationUI",
35
- "members": [
36
- {
37
- "__schema": "VariableLikeSchema",
38
- "location": {
39
- "filePath": "notification.ui.runtime.tsx",
40
- "line": 18,
41
- "character": 3
42
- },
43
- "signature": "(property) NotificationUI.dependencies: Aspect[]",
44
- "name": "dependencies",
45
- "type": {
46
- "__schema": "InferenceTypeSchema",
47
- "location": {
48
- "filePath": "notification.ui.runtime.tsx",
49
- "line": 18,
50
- "character": 3
51
- },
52
- "type": "Aspect[]"
53
- },
54
- "isOptional": true,
55
- "defaultValue": "[UIAspect]"
56
- },
57
- {
58
- "__schema": "VariableLikeSchema",
59
- "location": {
60
- "filePath": "notification.ui.runtime.tsx",
61
- "line": 20,
62
- "character": 3
63
- },
64
- "signature": "(property) NotificationUI.runtime: RuntimeDefinition",
65
- "name": "runtime",
66
- "type": {
67
- "__schema": "InferenceTypeSchema",
68
- "location": {
69
- "filePath": "notification.ui.runtime.tsx",
70
- "line": 20,
71
- "character": 3
72
- },
73
- "type": "RuntimeDefinition"
74
- },
75
- "isOptional": true,
76
- "defaultValue": "UIRuntime"
77
- },
78
- {
79
- "__schema": "FunctionLikeSchema",
80
- "location": {
81
- "filePath": "notification.ui.runtime.tsx",
82
- "line": 22,
83
- "character": 3
84
- },
85
- "signature": "(method) NotificationUI.provider([uiRuntimeExtension]: [UiUI]): Promise<NotificationUI>",
86
- "name": "provider",
87
- "params": [
88
- {
89
- "__schema": "ParameterSchema",
90
- "location": {
91
- "filePath": "notification.ui.runtime.tsx",
92
- "line": 22,
93
- "character": 25
94
- },
95
- "name": "[ uiRuntimeExtension ]",
96
- "type": {
97
- "__schema": "TupleTypeSchema",
98
- "location": {
99
- "filePath": "notification.ui.runtime.tsx",
100
- "line": 22,
101
- "character": 47
102
- },
103
- "elements": [
104
- {
105
- "__schema": "TypeRefSchema",
106
- "location": {
107
- "filePath": "notification.ui.runtime.tsx",
108
- "line": 22,
109
- "character": 48
110
- },
111
- "name": "UiUI"
112
- }
113
- ]
114
- },
115
- "isOptional": false,
116
- "isSpread": false
117
- }
118
- ],
119
- "returnType": {
120
- "__schema": "InferenceTypeSchema",
121
- "location": {
122
- "filePath": "notification.ui.runtime.tsx",
123
- "line": 22,
124
- "character": 3
125
- },
126
- "type": "Promise<NotificationUI>"
127
- },
128
- "modifiers": [
129
- "static",
130
- "async"
131
- ]
132
- },
133
- {
134
- "__schema": "ConstructorSchema",
135
- "location": {
136
- "filePath": "notification.ui.runtime.tsx",
137
- "line": 26,
138
- "character": 3
139
- },
140
- "signature": "constructor NotificationUI(uiRuntimeExtension: UiUI): NotificationUI",
141
- "name": "constructor",
142
- "params": [
143
- {
144
- "__schema": "ParameterSchema",
145
- "location": {
146
- "filePath": "notification.ui.runtime.tsx",
147
- "line": 26,
148
- "character": 15
149
- },
150
- "name": "uiRuntimeExtension",
151
- "type": {
152
- "__schema": "TypeRefSchema",
153
- "location": {
154
- "filePath": "notification.ui.runtime.tsx",
155
- "line": 26,
156
- "character": 35
157
- },
158
- "name": "UiUI"
159
- },
160
- "isOptional": false,
161
- "isSpread": false
162
- }
163
- ],
164
- "returnType": {
165
- "__schema": "ThisTypeSchema",
166
- "location": {
167
- "filePath": "notification.ui.runtime.tsx",
168
- "line": 17,
169
- "character": 1
170
- },
171
- "name": "NotificationUI"
172
- },
173
- "modifiers": []
174
- },
175
- {
176
- "__schema": "VariableLikeSchema",
177
- "location": {
178
- "filePath": "notification.ui.runtime.tsx",
179
- "line": 34,
180
- "character": 3
181
- },
182
- "doc": {
183
- "__schema": "DocSchema",
184
- "location": {
185
- "filePath": "notification.ui.runtime.tsx",
186
- "line": 33,
187
- "character": 3
188
- },
189
- "raw": "/** adds a full message to the log */",
190
- "comment": "adds a full message to the log"
191
- },
192
- "signature": "(property) NotificationUI.add: (message: string, level: MessageLevel) => string",
193
- "name": "add",
194
- "type": {
195
- "__schema": "InferenceTypeSchema",
196
- "location": {
197
- "filePath": "notification.ui.runtime.tsx",
198
- "line": 34,
199
- "character": 3
200
- },
201
- "type": "(message: string, level: MessageLevel) => string"
202
- },
203
- "isOptional": true,
204
- "defaultValue": "(message: string, level: MessageLevel) => {\n const id = v1();\n\n this.dispatch?.({\n type: 'add',\n content: {\n id,\n message,\n level,\n time: new Date().toISOString(),\n },\n });\n\n return id;\n }"
205
- },
206
- {
207
- "__schema": "FunctionLikeSchema",
208
- "location": {
209
- "filePath": "notification.ui.runtime.tsx",
210
- "line": 51,
211
- "character": 3
212
- },
213
- "doc": {
214
- "__schema": "DocSchema",
215
- "location": {
216
- "filePath": "notification.ui.runtime.tsx",
217
- "line": 50,
218
- "character": 3
219
- },
220
- "raw": "/** removes/archives a message from the log */",
221
- "comment": "removes/archives a message from the log"
222
- },
223
- "signature": "(method) NotificationUI.dismiss(id: string): void",
224
- "name": "dismiss",
225
- "params": [
226
- {
227
- "__schema": "ParameterSchema",
228
- "location": {
229
- "filePath": "notification.ui.runtime.tsx",
230
- "line": 51,
231
- "character": 11
232
- },
233
- "name": "id",
234
- "type": {
235
- "__schema": "KeywordTypeSchema",
236
- "location": {
237
- "filePath": "notification.ui.runtime.tsx",
238
- "line": 51,
239
- "character": 15
240
- },
241
- "name": "string"
242
- },
243
- "isOptional": false,
244
- "isSpread": false
245
- }
246
- ],
247
- "returnType": {
248
- "__schema": "InferenceTypeSchema",
249
- "location": {
250
- "filePath": "notification.ui.runtime.tsx",
251
- "line": 51,
252
- "character": 3
253
- },
254
- "type": "void"
255
- },
256
- "modifiers": []
257
- },
258
- {
259
- "__schema": "VariableLikeSchema",
260
- "location": {
261
- "filePath": "notification.ui.runtime.tsx",
262
- "line": 59,
263
- "character": 3
264
- },
265
- "doc": {
266
- "__schema": "DocSchema",
267
- "location": {
268
- "filePath": "notification.ui.runtime.tsx",
269
- "line": 58,
270
- "character": 3
271
- },
272
- "raw": "/** adds a message with level \"info\" to the log */",
273
- "comment": "adds a message with level \"info\" to the log"
274
- },
275
- "signature": "(property) NotificationUI.log: (message: string) => string",
276
- "name": "log",
277
- "type": {
278
- "__schema": "InferenceTypeSchema",
279
- "location": {
280
- "filePath": "notification.ui.runtime.tsx",
281
- "line": 59,
282
- "character": 3
283
- },
284
- "type": "(message: string) => string"
285
- },
286
- "isOptional": true,
287
- "defaultValue": "(message: string) => this.add(message, MessageLevel.info)"
288
- },
289
- {
290
- "__schema": "VariableLikeSchema",
291
- "location": {
292
- "filePath": "notification.ui.runtime.tsx",
293
- "line": 61,
294
- "character": 3
295
- },
296
- "doc": {
297
- "__schema": "DocSchema",
298
- "location": {
299
- "filePath": "notification.ui.runtime.tsx",
300
- "line": 60,
301
- "character": 3
302
- },
303
- "raw": "/** adds a message with level \"warning\" to the log */",
304
- "comment": "adds a message with level \"warning\" to the log"
305
- },
306
- "signature": "(property) NotificationUI.warn: (message: string) => string",
307
- "name": "warn",
308
- "type": {
309
- "__schema": "InferenceTypeSchema",
310
- "location": {
311
- "filePath": "notification.ui.runtime.tsx",
312
- "line": 61,
313
- "character": 3
314
- },
315
- "type": "(message: string) => string"
316
- },
317
- "isOptional": true,
318
- "defaultValue": "(message: string) => this.add(message, MessageLevel.warning)"
319
- },
320
- {
321
- "__schema": "VariableLikeSchema",
322
- "location": {
323
- "filePath": "notification.ui.runtime.tsx",
324
- "line": 63,
325
- "character": 3
326
- },
327
- "doc": {
328
- "__schema": "DocSchema",
329
- "location": {
330
- "filePath": "notification.ui.runtime.tsx",
331
- "line": 62,
332
- "character": 3
333
- },
334
- "raw": "/** adds a message with level \"error\" to the log */",
335
- "comment": "adds a message with level \"error\" to the log"
336
- },
337
- "signature": "(property) NotificationUI.error: (message: string) => string",
338
- "name": "error",
339
- "type": {
340
- "__schema": "InferenceTypeSchema",
341
- "location": {
342
- "filePath": "notification.ui.runtime.tsx",
343
- "line": 63,
344
- "character": 3
345
- },
346
- "type": "(message: string) => string"
347
- },
348
- "isOptional": true,
349
- "defaultValue": "(message: string) => this.add(message, MessageLevel.error)"
350
- },
351
- {
352
- "__schema": "VariableLikeSchema",
353
- "location": {
354
- "filePath": "notification.ui.runtime.tsx",
355
- "line": 65,
356
- "character": 3
357
- },
358
- "doc": {
359
- "__schema": "DocSchema",
360
- "location": {
361
- "filePath": "notification.ui.runtime.tsx",
362
- "line": 64,
363
- "character": 3
364
- },
365
- "raw": "/** adds a message with level \"success\" to the log */",
366
- "comment": "adds a message with level \"success\" to the log"
367
- },
368
- "signature": "(property) NotificationUI.success: (message: string) => string",
369
- "name": "success",
370
- "type": {
371
- "__schema": "InferenceTypeSchema",
372
- "location": {
373
- "filePath": "notification.ui.runtime.tsx",
374
- "line": 65,
375
- "character": 3
376
- },
377
- "type": "(message: string) => string"
378
- },
379
- "isOptional": true,
380
- "defaultValue": "(message: string) => this.add(message, MessageLevel.success)"
381
- },
382
- {
383
- "__schema": "VariableLikeSchema",
384
- "location": {
385
- "filePath": "notification.ui.runtime.tsx",
386
- "line": 68,
387
- "character": 3
388
- },
389
- "doc": {
390
- "__schema": "DocSchema",
391
- "location": {
392
- "filePath": "notification.ui.runtime.tsx",
393
- "line": 67,
394
- "character": 3
395
- },
396
- "raw": "/** removes all notifications */",
397
- "comment": "removes all notifications"
398
- },
399
- "signature": "(property) NotificationUI.clear: () => void",
400
- "name": "clear",
401
- "type": {
402
- "__schema": "InferenceTypeSchema",
403
- "location": {
404
- "filePath": "notification.ui.runtime.tsx",
405
- "line": 68,
406
- "character": 3
407
- },
408
- "type": "() => void"
409
- },
410
- "isOptional": true,
411
- "defaultValue": "() => {\n this.dispatch?.({\n type: 'clear',\n });\n }"
412
- }
413
- ],
414
- "extendsNodes": [],
415
- "implementNodes": [
416
- {
417
- "__schema": "ExpressionWithTypeArgumentsSchema",
418
- "location": {
419
- "filePath": "notification.ui.runtime.tsx",
420
- "line": 17,
421
- "character": 48
422
- },
423
- "name": "implements NotificationsStore",
424
- "typeArgs": [],
425
- "expression": {
426
- "__schema": "TypeRefSchema",
427
- "location": {
428
- "filePath": "notification.ui.runtime.tsx",
429
- "line": 17,
430
- "character": 48
431
- },
432
- "name": "NotificationsStore",
433
- "componentId": {
434
- "_legacy": {
435
- "scope": "teambit.ui-foundation",
436
- "name": "notifications",
437
- "version": "1.0.186"
438
- },
439
- "_scope": "teambit.ui-foundation"
440
- }
441
- }
442
- }
443
- ]
444
- },
445
- {
446
- "__schema": "VariableLikeSchema",
447
- "location": {
448
- "filePath": "notifications.aspect.ts",
449
- "line": 3,
450
- "character": 14
451
- },
452
- "signature": "const NotificationsAspect: Aspect",
453
- "name": "NotificationsAspect",
454
- "type": {
455
- "__schema": "TypeRefSchema",
456
- "location": {
457
- "filePath": "notifications.aspect.ts",
458
- "line": 3,
459
- "character": 14
460
- },
461
- "name": "Aspect",
462
- "componentId": {
463
- "scope": "teambit.harmony",
464
- "name": "harmony",
465
- "version": "0.4.6"
466
- }
467
- },
468
- "isOptional": false,
469
- "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/notifications',\n})"
470
- },
471
- {
472
- "__schema": "UnImplementedSchema",
473
- "location": {
474
- "filePath": "index.ts",
475
- "line": 6,
476
- "character": 16
477
- },
478
- "name": "NotificationsAspect",
479
- "type": "Identifier"
480
- }
481
- ],
482
- "internals": []
483
- },
484
- "internals": [
485
- {
486
- "__schema": "ModuleSchema",
487
- "location": {
488
- "filePath": "notification.ui.runtime.tsx",
489
- "line": 1,
490
- "character": 1
491
- },
492
- "exports": [
493
- {
494
- "__schema": "ClassSchema",
495
- "location": {
496
- "filePath": "notification.ui.runtime.tsx",
497
- "line": 17,
498
- "character": 1
499
- },
500
- "doc": {
501
- "__schema": "DocSchema",
502
- "location": {
503
- "filePath": "notification.ui.runtime.tsx",
504
- "line": 14,
505
- "character": 1
506
- },
507
- "raw": "/**\n * extension\n */",
508
- "comment": "extension"
509
- },
510
- "signature": "class NotificationUI",
511
- "name": "NotificationUI",
512
- "members": [
513
- {
514
- "__schema": "VariableLikeSchema",
515
- "location": {
516
- "filePath": "notification.ui.runtime.tsx",
517
- "line": 18,
518
- "character": 3
519
- },
520
- "signature": "(property) NotificationUI.dependencies: Aspect[]",
521
- "name": "dependencies",
522
- "type": {
523
- "__schema": "InferenceTypeSchema",
524
- "location": {
525
- "filePath": "notification.ui.runtime.tsx",
526
- "line": 18,
527
- "character": 3
528
- },
529
- "type": "Aspect[]"
530
- },
531
- "isOptional": true,
532
- "defaultValue": "[UIAspect]"
533
- },
534
- {
535
- "__schema": "VariableLikeSchema",
536
- "location": {
537
- "filePath": "notification.ui.runtime.tsx",
538
- "line": 20,
539
- "character": 3
540
- },
541
- "signature": "(property) NotificationUI.runtime: RuntimeDefinition",
542
- "name": "runtime",
543
- "type": {
544
- "__schema": "InferenceTypeSchema",
545
- "location": {
546
- "filePath": "notification.ui.runtime.tsx",
547
- "line": 20,
548
- "character": 3
549
- },
550
- "type": "RuntimeDefinition"
551
- },
552
- "isOptional": true,
553
- "defaultValue": "UIRuntime"
554
- },
555
- {
556
- "__schema": "FunctionLikeSchema",
557
- "location": {
558
- "filePath": "notification.ui.runtime.tsx",
559
- "line": 22,
560
- "character": 3
561
- },
562
- "signature": "(method) NotificationUI.provider([uiRuntimeExtension]: [UiUI]): Promise<NotificationUI>",
563
- "name": "provider",
564
- "params": [
565
- {
566
- "__schema": "ParameterSchema",
567
- "location": {
568
- "filePath": "notification.ui.runtime.tsx",
569
- "line": 22,
570
- "character": 25
571
- },
572
- "name": "[ uiRuntimeExtension ]",
573
- "type": {
574
- "__schema": "TupleTypeSchema",
575
- "location": {
576
- "filePath": "notification.ui.runtime.tsx",
577
- "line": 22,
578
- "character": 47
579
- },
580
- "elements": [
581
- {
582
- "__schema": "TypeRefSchema",
583
- "location": {
584
- "filePath": "notification.ui.runtime.tsx",
585
- "line": 22,
586
- "character": 48
587
- },
588
- "name": "UiUI"
589
- }
590
- ]
591
- },
592
- "isOptional": false,
593
- "isSpread": false
594
- }
595
- ],
596
- "returnType": {
597
- "__schema": "InferenceTypeSchema",
598
- "location": {
599
- "filePath": "notification.ui.runtime.tsx",
600
- "line": 22,
601
- "character": 3
602
- },
603
- "type": "Promise<NotificationUI>"
604
- },
605
- "modifiers": [
606
- "static",
607
- "async"
608
- ]
609
- },
610
- {
611
- "__schema": "ConstructorSchema",
612
- "location": {
613
- "filePath": "notification.ui.runtime.tsx",
614
- "line": 26,
615
- "character": 3
616
- },
617
- "signature": "constructor NotificationUI(uiRuntimeExtension: UiUI): NotificationUI",
618
- "name": "constructor",
619
- "params": [
620
- {
621
- "__schema": "ParameterSchema",
622
- "location": {
623
- "filePath": "notification.ui.runtime.tsx",
624
- "line": 26,
625
- "character": 15
626
- },
627
- "name": "uiRuntimeExtension",
628
- "type": {
629
- "__schema": "TypeRefSchema",
630
- "location": {
631
- "filePath": "notification.ui.runtime.tsx",
632
- "line": 26,
633
- "character": 35
634
- },
635
- "name": "UiUI"
636
- },
637
- "isOptional": false,
638
- "isSpread": false
639
- }
640
- ],
641
- "returnType": {
642
- "__schema": "ThisTypeSchema",
643
- "location": {
644
- "filePath": "notification.ui.runtime.tsx",
645
- "line": 17,
646
- "character": 1
647
- },
648
- "name": "NotificationUI"
649
- },
650
- "modifiers": []
651
- },
652
- {
653
- "__schema": "VariableLikeSchema",
654
- "location": {
655
- "filePath": "notification.ui.runtime.tsx",
656
- "line": 34,
657
- "character": 3
658
- },
659
- "doc": {
660
- "__schema": "DocSchema",
661
- "location": {
662
- "filePath": "notification.ui.runtime.tsx",
663
- "line": 33,
664
- "character": 3
665
- },
666
- "raw": "/** adds a full message to the log */",
667
- "comment": "adds a full message to the log"
668
- },
669
- "signature": "(property) NotificationUI.add: (message: string, level: MessageLevel) => string",
670
- "name": "add",
671
- "type": {
672
- "__schema": "InferenceTypeSchema",
673
- "location": {
674
- "filePath": "notification.ui.runtime.tsx",
675
- "line": 34,
676
- "character": 3
677
- },
678
- "type": "(message: string, level: MessageLevel) => string"
679
- },
680
- "isOptional": true,
681
- "defaultValue": "(message: string, level: MessageLevel) => {\n const id = v1();\n\n this.dispatch?.({\n type: 'add',\n content: {\n id,\n message,\n level,\n time: new Date().toISOString(),\n },\n });\n\n return id;\n }"
682
- },
683
- {
684
- "__schema": "FunctionLikeSchema",
685
- "location": {
686
- "filePath": "notification.ui.runtime.tsx",
687
- "line": 51,
688
- "character": 3
689
- },
690
- "doc": {
691
- "__schema": "DocSchema",
692
- "location": {
693
- "filePath": "notification.ui.runtime.tsx",
694
- "line": 50,
695
- "character": 3
696
- },
697
- "raw": "/** removes/archives a message from the log */",
698
- "comment": "removes/archives a message from the log"
699
- },
700
- "signature": "(method) NotificationUI.dismiss(id: string): void",
701
- "name": "dismiss",
702
- "params": [
703
- {
704
- "__schema": "ParameterSchema",
705
- "location": {
706
- "filePath": "notification.ui.runtime.tsx",
707
- "line": 51,
708
- "character": 11
709
- },
710
- "name": "id",
711
- "type": {
712
- "__schema": "KeywordTypeSchema",
713
- "location": {
714
- "filePath": "notification.ui.runtime.tsx",
715
- "line": 51,
716
- "character": 15
717
- },
718
- "name": "string"
719
- },
720
- "isOptional": false,
721
- "isSpread": false
722
- }
723
- ],
724
- "returnType": {
725
- "__schema": "InferenceTypeSchema",
726
- "location": {
727
- "filePath": "notification.ui.runtime.tsx",
728
- "line": 51,
729
- "character": 3
730
- },
731
- "type": "void"
732
- },
733
- "modifiers": []
734
- },
735
- {
736
- "__schema": "VariableLikeSchema",
737
- "location": {
738
- "filePath": "notification.ui.runtime.tsx",
739
- "line": 59,
740
- "character": 3
741
- },
742
- "doc": {
743
- "__schema": "DocSchema",
744
- "location": {
745
- "filePath": "notification.ui.runtime.tsx",
746
- "line": 58,
747
- "character": 3
748
- },
749
- "raw": "/** adds a message with level \"info\" to the log */",
750
- "comment": "adds a message with level \"info\" to the log"
751
- },
752
- "signature": "(property) NotificationUI.log: (message: string) => string",
753
- "name": "log",
754
- "type": {
755
- "__schema": "InferenceTypeSchema",
756
- "location": {
757
- "filePath": "notification.ui.runtime.tsx",
758
- "line": 59,
759
- "character": 3
760
- },
761
- "type": "(message: string) => string"
762
- },
763
- "isOptional": true,
764
- "defaultValue": "(message: string) => this.add(message, MessageLevel.info)"
765
- },
766
- {
767
- "__schema": "VariableLikeSchema",
768
- "location": {
769
- "filePath": "notification.ui.runtime.tsx",
770
- "line": 61,
771
- "character": 3
772
- },
773
- "doc": {
774
- "__schema": "DocSchema",
775
- "location": {
776
- "filePath": "notification.ui.runtime.tsx",
777
- "line": 60,
778
- "character": 3
779
- },
780
- "raw": "/** adds a message with level \"warning\" to the log */",
781
- "comment": "adds a message with level \"warning\" to the log"
782
- },
783
- "signature": "(property) NotificationUI.warn: (message: string) => string",
784
- "name": "warn",
785
- "type": {
786
- "__schema": "InferenceTypeSchema",
787
- "location": {
788
- "filePath": "notification.ui.runtime.tsx",
789
- "line": 61,
790
- "character": 3
791
- },
792
- "type": "(message: string) => string"
793
- },
794
- "isOptional": true,
795
- "defaultValue": "(message: string) => this.add(message, MessageLevel.warning)"
796
- },
797
- {
798
- "__schema": "VariableLikeSchema",
799
- "location": {
800
- "filePath": "notification.ui.runtime.tsx",
801
- "line": 63,
802
- "character": 3
803
- },
804
- "doc": {
805
- "__schema": "DocSchema",
806
- "location": {
807
- "filePath": "notification.ui.runtime.tsx",
808
- "line": 62,
809
- "character": 3
810
- },
811
- "raw": "/** adds a message with level \"error\" to the log */",
812
- "comment": "adds a message with level \"error\" to the log"
813
- },
814
- "signature": "(property) NotificationUI.error: (message: string) => string",
815
- "name": "error",
816
- "type": {
817
- "__schema": "InferenceTypeSchema",
818
- "location": {
819
- "filePath": "notification.ui.runtime.tsx",
820
- "line": 63,
821
- "character": 3
822
- },
823
- "type": "(message: string) => string"
824
- },
825
- "isOptional": true,
826
- "defaultValue": "(message: string) => this.add(message, MessageLevel.error)"
827
- },
828
- {
829
- "__schema": "VariableLikeSchema",
830
- "location": {
831
- "filePath": "notification.ui.runtime.tsx",
832
- "line": 65,
833
- "character": 3
834
- },
835
- "doc": {
836
- "__schema": "DocSchema",
837
- "location": {
838
- "filePath": "notification.ui.runtime.tsx",
839
- "line": 64,
840
- "character": 3
841
- },
842
- "raw": "/** adds a message with level \"success\" to the log */",
843
- "comment": "adds a message with level \"success\" to the log"
844
- },
845
- "signature": "(property) NotificationUI.success: (message: string) => string",
846
- "name": "success",
847
- "type": {
848
- "__schema": "InferenceTypeSchema",
849
- "location": {
850
- "filePath": "notification.ui.runtime.tsx",
851
- "line": 65,
852
- "character": 3
853
- },
854
- "type": "(message: string) => string"
855
- },
856
- "isOptional": true,
857
- "defaultValue": "(message: string) => this.add(message, MessageLevel.success)"
858
- },
859
- {
860
- "__schema": "VariableLikeSchema",
861
- "location": {
862
- "filePath": "notification.ui.runtime.tsx",
863
- "line": 68,
864
- "character": 3
865
- },
866
- "doc": {
867
- "__schema": "DocSchema",
868
- "location": {
869
- "filePath": "notification.ui.runtime.tsx",
870
- "line": 67,
871
- "character": 3
872
- },
873
- "raw": "/** removes all notifications */",
874
- "comment": "removes all notifications"
875
- },
876
- "signature": "(property) NotificationUI.clear: () => void",
877
- "name": "clear",
878
- "type": {
879
- "__schema": "InferenceTypeSchema",
880
- "location": {
881
- "filePath": "notification.ui.runtime.tsx",
882
- "line": 68,
883
- "character": 3
884
- },
885
- "type": "() => void"
886
- },
887
- "isOptional": true,
888
- "defaultValue": "() => {\n this.dispatch?.({\n type: 'clear',\n });\n }"
889
- }
890
- ],
891
- "extendsNodes": [],
892
- "implementNodes": [
893
- {
894
- "__schema": "ExpressionWithTypeArgumentsSchema",
895
- "location": {
896
- "filePath": "notification.ui.runtime.tsx",
897
- "line": 17,
898
- "character": 48
899
- },
900
- "name": "implements NotificationsStore",
901
- "typeArgs": [],
902
- "expression": {
903
- "__schema": "TypeRefSchema",
904
- "location": {
905
- "filePath": "notification.ui.runtime.tsx",
906
- "line": 17,
907
- "character": 48
908
- },
909
- "name": "NotificationsStore",
910
- "componentId": {
911
- "_legacy": {
912
- "scope": "teambit.ui-foundation",
913
- "name": "notifications",
914
- "version": "1.0.186"
915
- },
916
- "_scope": "teambit.ui-foundation"
917
- }
918
- }
919
- }
920
- ]
921
- }
922
- ],
923
- "internals": [
924
- {
925
- "__schema": "UnImplementedSchema",
926
- "location": {
927
- "filePath": "notification.ui.runtime.tsx",
928
- "line": 87,
929
- "character": 1
930
- },
931
- "name": "NotificationsAspect.addRuntime(NotificationUI);",
932
- "type": "ExpressionStatement"
933
- }
934
- ]
935
- },
936
- {
937
- "__schema": "ModuleSchema",
938
- "location": {
939
- "filePath": "notifications.aspect.ts",
940
- "line": 1,
941
- "character": 1
942
- },
943
- "exports": [
944
- {
945
- "__schema": "VariableLikeSchema",
946
- "location": {
947
- "filePath": "notifications.aspect.ts",
948
- "line": 3,
949
- "character": 14
950
- },
951
- "signature": "const NotificationsAspect: Aspect",
952
- "name": "NotificationsAspect",
953
- "type": {
954
- "__schema": "TypeRefSchema",
955
- "location": {
956
- "filePath": "notifications.aspect.ts",
957
- "line": 3,
958
- "character": 14
959
- },
960
- "name": "Aspect",
961
- "componentId": {
962
- "scope": "teambit.harmony",
963
- "name": "harmony",
964
- "version": "0.4.6"
965
- }
966
- },
967
- "isOptional": false,
968
- "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/notifications',\n})"
969
- },
970
- {
971
- "__schema": "UnImplementedSchema",
972
- "location": {
973
- "filePath": "notifications.aspect.ts",
974
- "line": 7,
975
- "character": 16
976
- },
977
- "name": "NotificationsAspect",
978
- "type": "Identifier"
979
- }
980
- ],
981
- "internals": []
982
- }
983
- ],
984
- "componentId": {
985
- "scope": "teambit.ui-foundation",
986
- "name": "notifications",
987
- "version": "1.0.186"
988
- },
989
- "taggedModuleExports": []
990
- }