@teambit/notifications 1.0.256 → 1.0.258
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.
|
|
3
|
+
<testsuite name="teambit.ui-foundation/notifications@1.0.258" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
|
@@ -14,467 +14,478 @@
|
|
|
14
14
|
},
|
|
15
15
|
"exports": [
|
|
16
16
|
{
|
|
17
|
-
"__schema": "
|
|
17
|
+
"__schema": "ExportSchema",
|
|
18
18
|
"location": {
|
|
19
|
-
"filePath": "
|
|
20
|
-
"line":
|
|
21
|
-
"character":
|
|
19
|
+
"filePath": "index.ts",
|
|
20
|
+
"line": 3,
|
|
21
|
+
"character": 26
|
|
22
22
|
},
|
|
23
|
-
"
|
|
24
|
-
|
|
23
|
+
"name": "default",
|
|
24
|
+
"exportNode": {
|
|
25
|
+
"__schema": "ClassSchema",
|
|
25
26
|
"location": {
|
|
26
27
|
"filePath": "notification.ui.runtime.tsx",
|
|
27
|
-
"line":
|
|
28
|
+
"line": 17,
|
|
28
29
|
"character": 1
|
|
29
30
|
},
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
},
|
|
33
|
-
"signature": "class NotificationUI",
|
|
34
|
-
"name": "NotificationUI",
|
|
35
|
-
"members": [
|
|
36
|
-
{
|
|
37
|
-
"__schema": "VariableLikeSchema",
|
|
31
|
+
"doc": {
|
|
32
|
+
"__schema": "DocSchema",
|
|
38
33
|
"location": {
|
|
39
34
|
"filePath": "notification.ui.runtime.tsx",
|
|
40
|
-
"line":
|
|
41
|
-
"character":
|
|
35
|
+
"line": 14,
|
|
36
|
+
"character": 1
|
|
42
37
|
},
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
"raw": "/**\n * extension\n */",
|
|
39
|
+
"comment": "extension"
|
|
40
|
+
},
|
|
41
|
+
"signature": "class NotificationUI",
|
|
42
|
+
"name": "NotificationUI",
|
|
43
|
+
"members": [
|
|
44
|
+
{
|
|
45
|
+
"__schema": "VariableLikeSchema",
|
|
47
46
|
"location": {
|
|
48
47
|
"filePath": "notification.ui.runtime.tsx",
|
|
49
48
|
"line": 18,
|
|
50
49
|
"character": 3
|
|
51
50
|
},
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
51
|
+
"signature": "(property) NotificationUI.dependencies: Aspect[]",
|
|
52
|
+
"name": "dependencies",
|
|
53
|
+
"type": {
|
|
54
|
+
"__schema": "InferenceTypeSchema",
|
|
55
|
+
"location": {
|
|
56
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
57
|
+
"line": 18,
|
|
58
|
+
"character": 3
|
|
59
|
+
},
|
|
60
|
+
"type": "Aspect[]"
|
|
61
|
+
},
|
|
62
|
+
"isOptional": true,
|
|
63
|
+
"defaultValue": "[UIAspect]"
|
|
63
64
|
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"type": {
|
|
67
|
-
"__schema": "InferenceTypeSchema",
|
|
65
|
+
{
|
|
66
|
+
"__schema": "VariableLikeSchema",
|
|
68
67
|
"location": {
|
|
69
68
|
"filePath": "notification.ui.runtime.tsx",
|
|
70
69
|
"line": 20,
|
|
71
70
|
"character": 3
|
|
72
71
|
},
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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",
|
|
72
|
+
"signature": "(property) NotificationUI.runtime: RuntimeDefinition",
|
|
73
|
+
"name": "runtime",
|
|
74
|
+
"type": {
|
|
75
|
+
"__schema": "InferenceTypeSchema",
|
|
90
76
|
"location": {
|
|
91
77
|
"filePath": "notification.ui.runtime.tsx",
|
|
92
|
-
"line":
|
|
93
|
-
"character":
|
|
78
|
+
"line": 20,
|
|
79
|
+
"character": 3
|
|
94
80
|
},
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
81
|
+
"type": "RuntimeDefinition"
|
|
82
|
+
},
|
|
83
|
+
"isOptional": true,
|
|
84
|
+
"defaultValue": "UIRuntime"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"__schema": "FunctionLikeSchema",
|
|
88
|
+
"location": {
|
|
89
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
90
|
+
"line": 22,
|
|
91
|
+
"character": 3
|
|
92
|
+
},
|
|
93
|
+
"signature": "(method) NotificationUI.provider([uiRuntimeExtension]: [UiUI]): Promise<NotificationUI>",
|
|
94
|
+
"name": "provider",
|
|
95
|
+
"params": [
|
|
96
|
+
{
|
|
97
|
+
"__schema": "ParameterSchema",
|
|
98
98
|
"location": {
|
|
99
99
|
"filePath": "notification.ui.runtime.tsx",
|
|
100
100
|
"line": 22,
|
|
101
|
-
"character":
|
|
101
|
+
"character": 25
|
|
102
102
|
},
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"
|
|
114
|
-
"
|
|
103
|
+
"name": "[ uiRuntimeExtension ]",
|
|
104
|
+
"type": {
|
|
105
|
+
"__schema": "TupleTypeSchema",
|
|
106
|
+
"location": {
|
|
107
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
108
|
+
"line": 22,
|
|
109
|
+
"character": 47
|
|
110
|
+
},
|
|
111
|
+
"elements": [
|
|
112
|
+
{
|
|
113
|
+
"__schema": "TypeRefSchema",
|
|
114
|
+
"location": {
|
|
115
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
116
|
+
"line": 22,
|
|
117
|
+
"character": 48
|
|
118
|
+
},
|
|
119
|
+
"name": "UiUI"
|
|
115
120
|
}
|
|
116
|
-
|
|
117
|
-
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"isOptional": false,
|
|
124
|
+
"isSpread": false
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"returnType": {
|
|
128
|
+
"__schema": "InferenceTypeSchema",
|
|
129
|
+
"location": {
|
|
130
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
131
|
+
"line": 22,
|
|
132
|
+
"character": 3
|
|
118
133
|
},
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
134
|
+
"type": "Promise<NotificationUI>"
|
|
135
|
+
},
|
|
136
|
+
"modifiers": [
|
|
137
|
+
"static",
|
|
138
|
+
"async"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"__schema": "ConstructorSchema",
|
|
125
143
|
"location": {
|
|
126
144
|
"filePath": "notification.ui.runtime.tsx",
|
|
127
|
-
"line":
|
|
145
|
+
"line": 26,
|
|
128
146
|
"character": 3
|
|
129
147
|
},
|
|
130
|
-
"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
]
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"__schema": "ConstructorSchema",
|
|
139
|
-
"location": {
|
|
140
|
-
"filePath": "notification.ui.runtime.tsx",
|
|
141
|
-
"line": 26,
|
|
142
|
-
"character": 3
|
|
143
|
-
},
|
|
144
|
-
"signature": "constructor NotificationUI(uiRuntimeExtension: UiUI): NotificationUI",
|
|
145
|
-
"name": "constructor",
|
|
146
|
-
"params": [
|
|
147
|
-
{
|
|
148
|
-
"__schema": "ParameterSchema",
|
|
149
|
-
"location": {
|
|
150
|
-
"filePath": "notification.ui.runtime.tsx",
|
|
151
|
-
"line": 26,
|
|
152
|
-
"character": 15
|
|
153
|
-
},
|
|
154
|
-
"name": "uiRuntimeExtension",
|
|
155
|
-
"type": {
|
|
156
|
-
"__schema": "TypeRefSchema",
|
|
148
|
+
"signature": "constructor NotificationUI(uiRuntimeExtension: UiUI): NotificationUI",
|
|
149
|
+
"name": "constructor",
|
|
150
|
+
"params": [
|
|
151
|
+
{
|
|
152
|
+
"__schema": "ParameterSchema",
|
|
157
153
|
"location": {
|
|
158
154
|
"filePath": "notification.ui.runtime.tsx",
|
|
159
155
|
"line": 26,
|
|
160
|
-
"character":
|
|
156
|
+
"character": 15
|
|
161
157
|
},
|
|
162
|
-
"name": "
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
|
|
158
|
+
"name": "uiRuntimeExtension",
|
|
159
|
+
"type": {
|
|
160
|
+
"__schema": "TypeRefSchema",
|
|
161
|
+
"location": {
|
|
162
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
163
|
+
"line": 26,
|
|
164
|
+
"character": 35
|
|
165
|
+
},
|
|
166
|
+
"name": "UiUI"
|
|
167
|
+
},
|
|
168
|
+
"isOptional": false,
|
|
169
|
+
"isSpread": false
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"returnType": {
|
|
173
|
+
"__schema": "ThisTypeSchema",
|
|
174
|
+
"location": {
|
|
175
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
176
|
+
"line": 17,
|
|
177
|
+
"character": 1
|
|
167
178
|
},
|
|
168
|
-
"
|
|
169
|
-
"isSpread": false
|
|
170
|
-
}
|
|
171
|
-
],
|
|
172
|
-
"returnType": {
|
|
173
|
-
"__schema": "ThisTypeSchema",
|
|
174
|
-
"location": {
|
|
175
|
-
"filePath": "notification.ui.runtime.tsx",
|
|
176
|
-
"line": 17,
|
|
177
|
-
"character": 1
|
|
178
|
-
},
|
|
179
|
-
"name": "NotificationUI"
|
|
180
|
-
},
|
|
181
|
-
"modifiers": []
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"__schema": "VariableLikeSchema",
|
|
185
|
-
"location": {
|
|
186
|
-
"filePath": "notification.ui.runtime.tsx",
|
|
187
|
-
"line": 34,
|
|
188
|
-
"character": 3
|
|
189
|
-
},
|
|
190
|
-
"doc": {
|
|
191
|
-
"__schema": "DocSchema",
|
|
192
|
-
"location": {
|
|
193
|
-
"filePath": "notification.ui.runtime.tsx",
|
|
194
|
-
"line": 33,
|
|
195
|
-
"character": 3
|
|
179
|
+
"name": "NotificationUI"
|
|
196
180
|
},
|
|
197
|
-
"
|
|
198
|
-
"comment": "adds a full message to the log"
|
|
181
|
+
"modifiers": []
|
|
199
182
|
},
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
"type": {
|
|
203
|
-
"__schema": "InferenceTypeSchema",
|
|
183
|
+
{
|
|
184
|
+
"__schema": "VariableLikeSchema",
|
|
204
185
|
"location": {
|
|
205
186
|
"filePath": "notification.ui.runtime.tsx",
|
|
206
187
|
"line": 34,
|
|
207
188
|
"character": 3
|
|
208
189
|
},
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"
|
|
190
|
+
"doc": {
|
|
191
|
+
"__schema": "DocSchema",
|
|
192
|
+
"location": {
|
|
193
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
194
|
+
"line": 33,
|
|
195
|
+
"character": 3
|
|
196
|
+
},
|
|
197
|
+
"raw": "/** adds a full message to the log */",
|
|
198
|
+
"comment": "adds a full message to the log"
|
|
199
|
+
},
|
|
200
|
+
"signature": "(property) NotificationUI.add: (message: string, level: MessageLevel) => string",
|
|
201
|
+
"name": "add",
|
|
202
|
+
"type": {
|
|
203
|
+
"__schema": "InferenceTypeSchema",
|
|
204
|
+
"location": {
|
|
205
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
206
|
+
"line": 34,
|
|
207
|
+
"character": 3
|
|
208
|
+
},
|
|
209
|
+
"type": "(message: string, level: MessageLevel) => string"
|
|
210
|
+
},
|
|
211
|
+
"isOptional": true,
|
|
212
|
+
"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 }"
|
|
220
213
|
},
|
|
221
|
-
|
|
222
|
-
"__schema": "
|
|
214
|
+
{
|
|
215
|
+
"__schema": "FunctionLikeSchema",
|
|
223
216
|
"location": {
|
|
224
217
|
"filePath": "notification.ui.runtime.tsx",
|
|
225
|
-
"line":
|
|
218
|
+
"line": 51,
|
|
226
219
|
"character": 3
|
|
227
220
|
},
|
|
228
|
-
"
|
|
229
|
-
|
|
230
|
-
},
|
|
231
|
-
"signature": "(method) NotificationUI.dismiss(id: string): void",
|
|
232
|
-
"name": "dismiss",
|
|
233
|
-
"params": [
|
|
234
|
-
{
|
|
235
|
-
"__schema": "ParameterSchema",
|
|
221
|
+
"doc": {
|
|
222
|
+
"__schema": "DocSchema",
|
|
236
223
|
"location": {
|
|
237
224
|
"filePath": "notification.ui.runtime.tsx",
|
|
238
|
-
"line":
|
|
239
|
-
"character":
|
|
225
|
+
"line": 50,
|
|
226
|
+
"character": 3
|
|
240
227
|
},
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
|
|
228
|
+
"raw": "/** removes/archives a message from the log */",
|
|
229
|
+
"comment": "removes/archives a message from the log"
|
|
230
|
+
},
|
|
231
|
+
"signature": "(method) NotificationUI.dismiss(id: string): void",
|
|
232
|
+
"name": "dismiss",
|
|
233
|
+
"params": [
|
|
234
|
+
{
|
|
235
|
+
"__schema": "ParameterSchema",
|
|
244
236
|
"location": {
|
|
245
237
|
"filePath": "notification.ui.runtime.tsx",
|
|
246
238
|
"line": 51,
|
|
247
|
-
"character":
|
|
239
|
+
"character": 11
|
|
248
240
|
},
|
|
249
|
-
"name": "
|
|
241
|
+
"name": "id",
|
|
242
|
+
"type": {
|
|
243
|
+
"__schema": "KeywordTypeSchema",
|
|
244
|
+
"location": {
|
|
245
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
246
|
+
"line": 51,
|
|
247
|
+
"character": 15
|
|
248
|
+
},
|
|
249
|
+
"name": "string"
|
|
250
|
+
},
|
|
251
|
+
"isOptional": false,
|
|
252
|
+
"isSpread": false
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"returnType": {
|
|
256
|
+
"__schema": "InferenceTypeSchema",
|
|
257
|
+
"location": {
|
|
258
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
259
|
+
"line": 51,
|
|
260
|
+
"character": 3
|
|
250
261
|
},
|
|
251
|
-
"
|
|
252
|
-
"isSpread": false
|
|
253
|
-
}
|
|
254
|
-
],
|
|
255
|
-
"returnType": {
|
|
256
|
-
"__schema": "InferenceTypeSchema",
|
|
257
|
-
"location": {
|
|
258
|
-
"filePath": "notification.ui.runtime.tsx",
|
|
259
|
-
"line": 51,
|
|
260
|
-
"character": 3
|
|
261
|
-
},
|
|
262
|
-
"type": "void"
|
|
263
|
-
},
|
|
264
|
-
"modifiers": []
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"__schema": "VariableLikeSchema",
|
|
268
|
-
"location": {
|
|
269
|
-
"filePath": "notification.ui.runtime.tsx",
|
|
270
|
-
"line": 59,
|
|
271
|
-
"character": 3
|
|
272
|
-
},
|
|
273
|
-
"doc": {
|
|
274
|
-
"__schema": "DocSchema",
|
|
275
|
-
"location": {
|
|
276
|
-
"filePath": "notification.ui.runtime.tsx",
|
|
277
|
-
"line": 58,
|
|
278
|
-
"character": 3
|
|
262
|
+
"type": "void"
|
|
279
263
|
},
|
|
280
|
-
"
|
|
281
|
-
"comment": "adds a message with level \"info\" to the log"
|
|
264
|
+
"modifiers": []
|
|
282
265
|
},
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
"type": {
|
|
286
|
-
"__schema": "InferenceTypeSchema",
|
|
266
|
+
{
|
|
267
|
+
"__schema": "VariableLikeSchema",
|
|
287
268
|
"location": {
|
|
288
269
|
"filePath": "notification.ui.runtime.tsx",
|
|
289
270
|
"line": 59,
|
|
290
271
|
"character": 3
|
|
291
272
|
},
|
|
292
|
-
"
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
"
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
273
|
+
"doc": {
|
|
274
|
+
"__schema": "DocSchema",
|
|
275
|
+
"location": {
|
|
276
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
277
|
+
"line": 58,
|
|
278
|
+
"character": 3
|
|
279
|
+
},
|
|
280
|
+
"raw": "/** adds a message with level \"info\" to the log */",
|
|
281
|
+
"comment": "adds a message with level \"info\" to the log"
|
|
282
|
+
},
|
|
283
|
+
"signature": "(property) NotificationUI.log: (message: string) => string",
|
|
284
|
+
"name": "log",
|
|
285
|
+
"type": {
|
|
286
|
+
"__schema": "InferenceTypeSchema",
|
|
287
|
+
"location": {
|
|
288
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
289
|
+
"line": 59,
|
|
290
|
+
"character": 3
|
|
291
|
+
},
|
|
292
|
+
"type": "(message: string) => string"
|
|
310
293
|
},
|
|
311
|
-
"
|
|
312
|
-
"
|
|
294
|
+
"isOptional": true,
|
|
295
|
+
"defaultValue": "(message: string) => this.add(message, MessageLevel.info)"
|
|
313
296
|
},
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
"type": {
|
|
317
|
-
"__schema": "InferenceTypeSchema",
|
|
297
|
+
{
|
|
298
|
+
"__schema": "VariableLikeSchema",
|
|
318
299
|
"location": {
|
|
319
300
|
"filePath": "notification.ui.runtime.tsx",
|
|
320
301
|
"line": 61,
|
|
321
302
|
"character": 3
|
|
322
303
|
},
|
|
323
|
-
"
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
"
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
304
|
+
"doc": {
|
|
305
|
+
"__schema": "DocSchema",
|
|
306
|
+
"location": {
|
|
307
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
308
|
+
"line": 60,
|
|
309
|
+
"character": 3
|
|
310
|
+
},
|
|
311
|
+
"raw": "/** adds a message with level \"warning\" to the log */",
|
|
312
|
+
"comment": "adds a message with level \"warning\" to the log"
|
|
313
|
+
},
|
|
314
|
+
"signature": "(property) NotificationUI.warn: (message: string) => string",
|
|
315
|
+
"name": "warn",
|
|
316
|
+
"type": {
|
|
317
|
+
"__schema": "InferenceTypeSchema",
|
|
318
|
+
"location": {
|
|
319
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
320
|
+
"line": 61,
|
|
321
|
+
"character": 3
|
|
322
|
+
},
|
|
323
|
+
"type": "(message: string) => string"
|
|
341
324
|
},
|
|
342
|
-
"
|
|
343
|
-
"
|
|
325
|
+
"isOptional": true,
|
|
326
|
+
"defaultValue": "(message: string) => this.add(message, MessageLevel.warning)"
|
|
344
327
|
},
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
"type": {
|
|
348
|
-
"__schema": "InferenceTypeSchema",
|
|
328
|
+
{
|
|
329
|
+
"__schema": "VariableLikeSchema",
|
|
349
330
|
"location": {
|
|
350
331
|
"filePath": "notification.ui.runtime.tsx",
|
|
351
332
|
"line": 63,
|
|
352
333
|
"character": 3
|
|
353
334
|
},
|
|
354
|
-
"
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
"
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
335
|
+
"doc": {
|
|
336
|
+
"__schema": "DocSchema",
|
|
337
|
+
"location": {
|
|
338
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
339
|
+
"line": 62,
|
|
340
|
+
"character": 3
|
|
341
|
+
},
|
|
342
|
+
"raw": "/** adds a message with level \"error\" to the log */",
|
|
343
|
+
"comment": "adds a message with level \"error\" to the log"
|
|
344
|
+
},
|
|
345
|
+
"signature": "(property) NotificationUI.error: (message: string) => string",
|
|
346
|
+
"name": "error",
|
|
347
|
+
"type": {
|
|
348
|
+
"__schema": "InferenceTypeSchema",
|
|
349
|
+
"location": {
|
|
350
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
351
|
+
"line": 63,
|
|
352
|
+
"character": 3
|
|
353
|
+
},
|
|
354
|
+
"type": "(message: string) => string"
|
|
372
355
|
},
|
|
373
|
-
"
|
|
374
|
-
"
|
|
356
|
+
"isOptional": true,
|
|
357
|
+
"defaultValue": "(message: string) => this.add(message, MessageLevel.error)"
|
|
375
358
|
},
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
"type": {
|
|
379
|
-
"__schema": "InferenceTypeSchema",
|
|
359
|
+
{
|
|
360
|
+
"__schema": "VariableLikeSchema",
|
|
380
361
|
"location": {
|
|
381
362
|
"filePath": "notification.ui.runtime.tsx",
|
|
382
363
|
"line": 65,
|
|
383
364
|
"character": 3
|
|
384
365
|
},
|
|
385
|
-
"
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
"line": 68,
|
|
395
|
-
"character": 3
|
|
396
|
-
},
|
|
397
|
-
"doc": {
|
|
398
|
-
"__schema": "DocSchema",
|
|
399
|
-
"location": {
|
|
400
|
-
"filePath": "notification.ui.runtime.tsx",
|
|
401
|
-
"line": 67,
|
|
402
|
-
"character": 3
|
|
366
|
+
"doc": {
|
|
367
|
+
"__schema": "DocSchema",
|
|
368
|
+
"location": {
|
|
369
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
370
|
+
"line": 64,
|
|
371
|
+
"character": 3
|
|
372
|
+
},
|
|
373
|
+
"raw": "/** adds a message with level \"success\" to the log */",
|
|
374
|
+
"comment": "adds a message with level \"success\" to the log"
|
|
403
375
|
},
|
|
404
|
-
"
|
|
405
|
-
"
|
|
376
|
+
"signature": "(property) NotificationUI.success: (message: string) => string",
|
|
377
|
+
"name": "success",
|
|
378
|
+
"type": {
|
|
379
|
+
"__schema": "InferenceTypeSchema",
|
|
380
|
+
"location": {
|
|
381
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
382
|
+
"line": 65,
|
|
383
|
+
"character": 3
|
|
384
|
+
},
|
|
385
|
+
"type": "(message: string) => string"
|
|
386
|
+
},
|
|
387
|
+
"isOptional": true,
|
|
388
|
+
"defaultValue": "(message: string) => this.add(message, MessageLevel.success)"
|
|
406
389
|
},
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
"type": {
|
|
410
|
-
"__schema": "InferenceTypeSchema",
|
|
390
|
+
{
|
|
391
|
+
"__schema": "VariableLikeSchema",
|
|
411
392
|
"location": {
|
|
412
393
|
"filePath": "notification.ui.runtime.tsx",
|
|
413
394
|
"line": 68,
|
|
414
395
|
"character": 3
|
|
415
396
|
},
|
|
416
|
-
"
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
"
|
|
428
|
-
"
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
397
|
+
"doc": {
|
|
398
|
+
"__schema": "DocSchema",
|
|
399
|
+
"location": {
|
|
400
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
401
|
+
"line": 67,
|
|
402
|
+
"character": 3
|
|
403
|
+
},
|
|
404
|
+
"raw": "/** removes all notifications */",
|
|
405
|
+
"comment": "removes all notifications"
|
|
406
|
+
},
|
|
407
|
+
"signature": "(property) NotificationUI.clear: () => void",
|
|
408
|
+
"name": "clear",
|
|
409
|
+
"type": {
|
|
410
|
+
"__schema": "InferenceTypeSchema",
|
|
411
|
+
"location": {
|
|
412
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
413
|
+
"line": 68,
|
|
414
|
+
"character": 3
|
|
415
|
+
},
|
|
416
|
+
"type": "() => void"
|
|
417
|
+
},
|
|
418
|
+
"isOptional": true,
|
|
419
|
+
"defaultValue": "() => {\n this.dispatch?.({\n type: 'clear',\n });\n }"
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
"extendsNodes": [],
|
|
423
|
+
"implementNodes": [
|
|
424
|
+
{
|
|
425
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
|
435
426
|
"location": {
|
|
436
427
|
"filePath": "notification.ui.runtime.tsx",
|
|
437
428
|
"line": 17,
|
|
438
429
|
"character": 48
|
|
439
430
|
},
|
|
440
|
-
"name": "NotificationsStore",
|
|
441
|
-
"
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
"
|
|
431
|
+
"name": "implements NotificationsStore",
|
|
432
|
+
"typeArgs": [],
|
|
433
|
+
"expression": {
|
|
434
|
+
"__schema": "TypeRefSchema",
|
|
435
|
+
"location": {
|
|
436
|
+
"filePath": "notification.ui.runtime.tsx",
|
|
437
|
+
"line": 17,
|
|
438
|
+
"character": 48
|
|
446
439
|
},
|
|
447
|
-
"
|
|
440
|
+
"name": "NotificationsStore",
|
|
441
|
+
"componentId": {
|
|
442
|
+
"_legacy": {
|
|
443
|
+
"scope": "teambit.ui-foundation",
|
|
444
|
+
"name": "notifications",
|
|
445
|
+
"version": "1.0.258"
|
|
446
|
+
},
|
|
447
|
+
"_scope": "teambit.ui-foundation"
|
|
448
|
+
}
|
|
448
449
|
}
|
|
449
450
|
}
|
|
450
|
-
|
|
451
|
-
|
|
451
|
+
]
|
|
452
|
+
},
|
|
453
|
+
"alias": "NotificationUI"
|
|
452
454
|
},
|
|
453
455
|
{
|
|
454
|
-
"__schema": "
|
|
456
|
+
"__schema": "ExportSchema",
|
|
455
457
|
"location": {
|
|
456
|
-
"filePath": "
|
|
457
|
-
"line":
|
|
458
|
-
"character":
|
|
458
|
+
"filePath": "index.ts",
|
|
459
|
+
"line": 5,
|
|
460
|
+
"character": 10
|
|
459
461
|
},
|
|
460
|
-
"signature": "const NotificationsAspect: Aspect",
|
|
461
462
|
"name": "NotificationsAspect",
|
|
462
|
-
"
|
|
463
|
-
"__schema": "
|
|
463
|
+
"exportNode": {
|
|
464
|
+
"__schema": "VariableLikeSchema",
|
|
464
465
|
"location": {
|
|
465
466
|
"filePath": "notifications.aspect.ts",
|
|
466
467
|
"line": 3,
|
|
467
468
|
"character": 14
|
|
468
469
|
},
|
|
469
|
-
"
|
|
470
|
-
"
|
|
471
|
-
|
|
472
|
-
"
|
|
473
|
-
"
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
470
|
+
"signature": "const NotificationsAspect: Aspect",
|
|
471
|
+
"name": "NotificationsAspect",
|
|
472
|
+
"type": {
|
|
473
|
+
"__schema": "TypeRefSchema",
|
|
474
|
+
"location": {
|
|
475
|
+
"filePath": "notifications.aspect.ts",
|
|
476
|
+
"line": 3,
|
|
477
|
+
"character": 14
|
|
478
|
+
},
|
|
479
|
+
"name": "Aspect",
|
|
480
|
+
"componentId": {
|
|
481
|
+
"scope": "teambit.harmony",
|
|
482
|
+
"name": "harmony",
|
|
483
|
+
"version": "0.4.6"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"isOptional": false,
|
|
487
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/notifications',\n})"
|
|
488
|
+
}
|
|
478
489
|
},
|
|
479
490
|
{
|
|
480
491
|
"__schema": "UnImplementedSchema",
|
|
@@ -593,11 +604,7 @@
|
|
|
593
604
|
"line": 22,
|
|
594
605
|
"character": 48
|
|
595
606
|
},
|
|
596
|
-
"name": "UiUI"
|
|
597
|
-
"componentId": {
|
|
598
|
-
"scope": "teambit.ui-foundation",
|
|
599
|
-
"name": "ui"
|
|
600
|
-
}
|
|
607
|
+
"name": "UiUI"
|
|
601
608
|
}
|
|
602
609
|
]
|
|
603
610
|
},
|
|
@@ -644,11 +651,7 @@
|
|
|
644
651
|
"line": 26,
|
|
645
652
|
"character": 35
|
|
646
653
|
},
|
|
647
|
-
"name": "UiUI"
|
|
648
|
-
"componentId": {
|
|
649
|
-
"scope": "teambit.ui-foundation",
|
|
650
|
-
"name": "ui"
|
|
651
|
-
}
|
|
654
|
+
"name": "UiUI"
|
|
652
655
|
},
|
|
653
656
|
"isOptional": false,
|
|
654
657
|
"isSpread": false
|
|
@@ -927,7 +930,7 @@
|
|
|
927
930
|
"_legacy": {
|
|
928
931
|
"scope": "teambit.ui-foundation",
|
|
929
932
|
"name": "notifications",
|
|
930
|
-
"version": "1.0.
|
|
933
|
+
"version": "1.0.258"
|
|
931
934
|
},
|
|
932
935
|
"_scope": "teambit.ui-foundation"
|
|
933
936
|
}
|
|
@@ -1000,7 +1003,7 @@
|
|
|
1000
1003
|
"componentId": {
|
|
1001
1004
|
"scope": "teambit.ui-foundation",
|
|
1002
1005
|
"name": "notifications",
|
|
1003
|
-
"version": "1.0.
|
|
1006
|
+
"version": "1.0.258"
|
|
1004
1007
|
},
|
|
1005
1008
|
"taggedModuleExports": []
|
|
1006
1009
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/notifications",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.258",
|
|
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.
|
|
9
|
+
"version": "1.0.258"
|
|
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.
|
|
17
|
+
"@teambit/ui": "1.0.258"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/uuid": "8.3.4",
|
|
File without changes
|