@daysnap/utils 0.1.31 → 0.1.33

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.
@@ -40,7 +40,7 @@
40
40
 
41
41
  #### Defined in
42
42
 
43
- [poller.ts:23](https://github.com/daysnap/utils/blob/2af7b5c/src/poller.ts#L23)
43
+ [poller.ts:23](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L23)
44
44
 
45
45
  ## Properties
46
46
 
@@ -50,7 +50,7 @@
50
50
 
51
51
  #### Defined in
52
52
 
53
- [poller.ts:14](https://github.com/daysnap/utils/blob/2af7b5c/src/poller.ts#L14)
53
+ [poller.ts:14](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L14)
54
54
 
55
55
  ___
56
56
 
@@ -60,7 +60,7 @@ ___
60
60
 
61
61
  #### Defined in
62
62
 
63
- [poller.ts:17](https://github.com/daysnap/utils/blob/2af7b5c/src/poller.ts#L17)
63
+ [poller.ts:17](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L17)
64
64
 
65
65
  ___
66
66
 
@@ -70,7 +70,7 @@ ___
70
70
 
71
71
  #### Defined in
72
72
 
73
- [poller.ts:16](https://github.com/daysnap/utils/blob/2af7b5c/src/poller.ts#L16)
73
+ [poller.ts:16](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L16)
74
74
 
75
75
  ___
76
76
 
@@ -80,7 +80,7 @@ ___
80
80
 
81
81
  #### Defined in
82
82
 
83
- [poller.ts:15](https://github.com/daysnap/utils/blob/2af7b5c/src/poller.ts#L15)
83
+ [poller.ts:15](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L15)
84
84
 
85
85
  ## Accessors
86
86
 
@@ -94,7 +94,7 @@ ___
94
94
 
95
95
  #### Defined in
96
96
 
97
- [poller.ts:19](https://github.com/daysnap/utils/blob/2af7b5c/src/poller.ts#L19)
97
+ [poller.ts:19](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L19)
98
98
 
99
99
  ## Methods
100
100
 
@@ -114,7 +114,7 @@ ___
114
114
 
115
115
  #### Defined in
116
116
 
117
- [poller.ts:28](https://github.com/daysnap/utils/blob/2af7b5c/src/poller.ts#L28)
117
+ [poller.ts:28](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L28)
118
118
 
119
119
  ___
120
120
 
@@ -134,7 +134,7 @@ ___
134
134
 
135
135
  #### Defined in
136
136
 
137
- [poller.ts:46](https://github.com/daysnap/utils/blob/2af7b5c/src/poller.ts#L46)
137
+ [poller.ts:46](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L46)
138
138
 
139
139
  ___
140
140
 
@@ -148,4 +148,4 @@ ___
148
148
 
149
149
  #### Defined in
150
150
 
151
- [poller.ts:41](https://github.com/daysnap/utils/blob/2af7b5c/src/poller.ts#L41)
151
+ [poller.ts:41](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L41)
@@ -54,7 +54,7 @@
54
54
 
55
55
  #### Defined in
56
56
 
57
- [storage/storage.ts:24](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L24)
57
+ [storage/storage.ts:24](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L24)
58
58
 
59
59
  ## Properties
60
60
 
@@ -64,7 +64,7 @@
64
64
 
65
65
  #### Defined in
66
66
 
67
- [storage/storage.ts:19](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L19)
67
+ [storage/storage.ts:19](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L19)
68
68
 
69
69
  ___
70
70
 
@@ -74,7 +74,7 @@ ___
74
74
 
75
75
  #### Defined in
76
76
 
77
- [storage/storage.ts:22](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L22)
77
+ [storage/storage.ts:22](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L22)
78
78
 
79
79
  ___
80
80
 
@@ -84,7 +84,7 @@ ___
84
84
 
85
85
  #### Defined in
86
86
 
87
- [storage/storage.ts:20](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L20)
87
+ [storage/storage.ts:20](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L20)
88
88
 
89
89
  ___
90
90
 
@@ -94,7 +94,7 @@ ___
94
94
 
95
95
  #### Defined in
96
96
 
97
- [storage/storage.ts:21](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L21)
97
+ [storage/storage.ts:21](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L21)
98
98
 
99
99
  ## Methods
100
100
 
@@ -114,7 +114,7 @@ ___
114
114
 
115
115
  #### Defined in
116
116
 
117
- [storage/storage.ts:43](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L43)
117
+ [storage/storage.ts:43](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L43)
118
118
 
119
119
  ___
120
120
 
@@ -130,7 +130,7 @@ ___
130
130
 
131
131
  #### Defined in
132
132
 
133
- [storage/storage.ts:137](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L137)
133
+ [storage/storage.ts:137](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L137)
134
134
 
135
135
  ___
136
136
 
@@ -146,7 +146,7 @@ ___
146
146
 
147
147
  #### Defined in
148
148
 
149
- [storage/storage.ts:65](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L65)
149
+ [storage/storage.ts:65](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L65)
150
150
 
151
151
  ▸ **getItem**(`defaultVal`): `T`
152
152
 
@@ -162,7 +162,7 @@ ___
162
162
 
163
163
  #### Defined in
164
164
 
165
- [storage/storage.ts:66](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L66)
165
+ [storage/storage.ts:66](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L66)
166
166
 
167
167
  ___
168
168
 
@@ -178,7 +178,7 @@ ___
178
178
 
179
179
  #### Defined in
180
180
 
181
- [storage/storage.ts:102](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L102)
181
+ [storage/storage.ts:102](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L102)
182
182
 
183
183
  ▸ **getItemOnce**(`defaultVal`): `T`
184
184
 
@@ -194,7 +194,7 @@ ___
194
194
 
195
195
  #### Defined in
196
196
 
197
- [storage/storage.ts:103](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L103)
197
+ [storage/storage.ts:103](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L103)
198
198
 
199
199
  ___
200
200
 
@@ -210,7 +210,7 @@ ___
210
210
 
211
211
  #### Defined in
212
212
 
213
- [storage/storage.ts:115](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L115)
213
+ [storage/storage.ts:115](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L115)
214
214
 
215
215
  ▸ **getItemWithCache**(`defaultVal`): `T`
216
216
 
@@ -226,7 +226,7 @@ ___
226
226
 
227
227
  #### Defined in
228
228
 
229
- [storage/storage.ts:116](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L116)
229
+ [storage/storage.ts:116](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L116)
230
230
 
231
231
  ___
232
232
 
@@ -242,7 +242,7 @@ ___
242
242
 
243
243
  #### Defined in
244
244
 
245
- [storage/storage.ts:78](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L78)
245
+ [storage/storage.ts:78](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L78)
246
246
 
247
247
  ___
248
248
 
@@ -264,7 +264,7 @@ ___
264
264
 
265
265
  #### Defined in
266
266
 
267
- [storage/storage.ts:52](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L52)
267
+ [storage/storage.ts:52](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L52)
268
268
 
269
269
  ___
270
270
 
@@ -286,4 +286,4 @@ ___
286
286
 
287
287
  #### Defined in
288
288
 
289
- [storage/storage.ts:86](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/storage.ts#L86)
289
+ [storage/storage.ts:86](https://github.com/daysnap/utils/blob/551cd93/src/storage/storage.ts#L86)
@@ -0,0 +1,37 @@
1
+ [@daysnap/utils](../README.md) / [Exports](../modules.md) / CreateWithToastOptions
2
+
3
+ # Interface: CreateWithToastOptions
4
+
5
+ 处理错误信息可以弹出提示
6
+
7
+ ## Table of contents
8
+
9
+ ### Properties
10
+
11
+ - [onError](CreateWithToastOptions.md#onerror)
12
+
13
+ ## Properties
14
+
15
+ ### onError
16
+
17
+ • `Optional` **onError**: (`err`: `unknown`) => `void`
18
+
19
+ #### Type declaration
20
+
21
+ ▸ (`err`): `void`
22
+
23
+ error
24
+
25
+ ##### Parameters
26
+
27
+ | Name | Type |
28
+ | :------ | :------ |
29
+ | `err` | `unknown` |
30
+
31
+ ##### Returns
32
+
33
+ `void`
34
+
35
+ #### Defined in
36
+
37
+ createWithToast.ts:8
@@ -20,4 +20,4 @@
20
20
 
21
21
  #### Defined in
22
22
 
23
- [eventBus.ts:2](https://github.com/daysnap/utils/blob/2af7b5c/src/eventBus.ts#L2)
23
+ [eventBus.ts:2](https://github.com/daysnap/utils/blob/551cd93/src/eventBus.ts#L2)
@@ -16,4 +16,4 @@
16
16
 
17
17
  #### Defined in
18
18
 
19
- [poller.ts:10](https://github.com/daysnap/utils/blob/2af7b5c/src/poller.ts#L10)
19
+ [poller.ts:10](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L10)
@@ -35,7 +35,7 @@
35
35
 
36
36
  #### Defined in
37
37
 
38
- [storage/factory.ts:6](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/factory.ts#L6)
38
+ [storage/factory.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/storage/factory.ts#L6)
39
39
 
40
40
  ___
41
41
 
@@ -49,7 +49,7 @@ ___
49
49
 
50
50
  #### Defined in
51
51
 
52
- [storage/factory.ts:7](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/factory.ts#L7)
52
+ [storage/factory.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/storage/factory.ts#L7)
53
53
 
54
54
  ___
55
55
 
@@ -69,7 +69,7 @@ ___
69
69
 
70
70
  #### Defined in
71
71
 
72
- [storage/factory.ts:5](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/factory.ts#L5)
72
+ [storage/factory.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/storage/factory.ts#L5)
73
73
 
74
74
  ___
75
75
 
@@ -89,4 +89,4 @@ ___
89
89
 
90
90
  #### Defined in
91
91
 
92
- [storage/factory.ts:8](https://github.com/daysnap/utils/blob/2af7b5c/src/storage/factory.ts#L8)
92
+ [storage/factory.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/storage/factory.ts#L8)
@@ -31,7 +31,7 @@
31
31
 
32
32
  #### Defined in
33
33
 
34
- [trap.ts:12](https://github.com/daysnap/utils/blob/2af7b5c/src/trap.ts#L12)
34
+ [trap.ts:12](https://github.com/daysnap/utils/blob/551cd93/src/trap.ts#L12)
35
35
 
36
36
  ___
37
37
 
@@ -56,7 +56,7 @@ ___
56
56
 
57
57
  #### Defined in
58
58
 
59
- [trap.ts:10](https://github.com/daysnap/utils/blob/2af7b5c/src/trap.ts#L10)
59
+ [trap.ts:10](https://github.com/daysnap/utils/blob/551cd93/src/trap.ts#L10)
60
60
 
61
61
  ___
62
62
 
@@ -80,7 +80,7 @@ ___
80
80
 
81
81
  #### Defined in
82
82
 
83
- [trap.ts:11](https://github.com/daysnap/utils/blob/2af7b5c/src/trap.ts#L11)
83
+ [trap.ts:11](https://github.com/daysnap/utils/blob/551cd93/src/trap.ts#L11)
84
84
 
85
85
  ___
86
86
 
@@ -90,7 +90,7 @@ ___
90
90
 
91
91
  #### Defined in
92
92
 
93
- [trap.ts:8](https://github.com/daysnap/utils/blob/2af7b5c/src/trap.ts#L8)
93
+ [trap.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/trap.ts#L8)
94
94
 
95
95
  ___
96
96
 
@@ -115,4 +115,4 @@ ___
115
115
 
116
116
  #### Defined in
117
117
 
118
- [trap.ts:9](https://github.com/daysnap/utils/blob/2af7b5c/src/trap.ts#L9)
118
+ [trap.ts:9](https://github.com/daysnap/utils/blob/551cd93/src/trap.ts#L9)