@shuvi/shared 1.0.34 → 1.0.36
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/esm/constants/trace.d.ts +60 -15
- package/esm/constants/trace.js +56 -14
- package/lib/constants/trace.d.ts +60 -15
- package/lib/constants/trace.js +56 -14
- package/package.json +2 -2
package/esm/constants/trace.d.ts
CHANGED
|
@@ -2,28 +2,40 @@
|
|
|
2
2
|
export declare const SERVER_CREATE_APP: {
|
|
3
3
|
name: string;
|
|
4
4
|
attrs: {
|
|
5
|
-
requestId:
|
|
5
|
+
requestId: {
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
6
9
|
};
|
|
7
10
|
events: {
|
|
8
11
|
SHUVI_SERVER_CREATE_APP: {
|
|
9
12
|
name: string;
|
|
10
13
|
duration: boolean;
|
|
11
14
|
attrs: {
|
|
12
|
-
requestId:
|
|
15
|
+
requestId: {
|
|
16
|
+
name: string;
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
13
19
|
};
|
|
14
20
|
};
|
|
15
21
|
SHUVI_SERVER_APP_INIT: {
|
|
16
22
|
name: string;
|
|
17
23
|
duration: boolean;
|
|
18
24
|
attrs: {
|
|
19
|
-
requestId:
|
|
25
|
+
requestId: {
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
20
29
|
};
|
|
21
30
|
};
|
|
22
31
|
SHUVI_SERVER_RUN_LOADERS: {
|
|
23
32
|
name: string;
|
|
24
33
|
duration: boolean;
|
|
25
34
|
attrs: {
|
|
26
|
-
requestId:
|
|
35
|
+
requestId: {
|
|
36
|
+
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
27
39
|
error: {
|
|
28
40
|
name: string;
|
|
29
41
|
type: string;
|
|
@@ -41,21 +53,30 @@ export declare const SERVER_CREATE_APP: {
|
|
|
41
53
|
export declare const SERVER_REQUEST: {
|
|
42
54
|
name: string;
|
|
43
55
|
attrs: {
|
|
44
|
-
requestId:
|
|
56
|
+
requestId: {
|
|
57
|
+
name: string;
|
|
58
|
+
type: string;
|
|
59
|
+
};
|
|
45
60
|
};
|
|
46
61
|
events: {
|
|
47
62
|
SHUVI_SERVER_HANDLE_REQUEST_START: {
|
|
48
63
|
name: string;
|
|
49
64
|
duration: boolean;
|
|
50
65
|
attrs: {
|
|
51
|
-
requestId:
|
|
66
|
+
requestId: {
|
|
67
|
+
name: string;
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
52
70
|
};
|
|
53
71
|
};
|
|
54
72
|
SHUVI_SERVER_RUN_ASSET_MIDDLEWARE: {
|
|
55
73
|
name: string;
|
|
56
74
|
duration: boolean;
|
|
57
75
|
attrs: {
|
|
58
|
-
requestId:
|
|
76
|
+
requestId: {
|
|
77
|
+
name: string;
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
59
80
|
error: {
|
|
60
81
|
name: string;
|
|
61
82
|
type: string;
|
|
@@ -70,7 +91,10 @@ export declare const SERVER_REQUEST: {
|
|
|
70
91
|
name: string;
|
|
71
92
|
duration: boolean;
|
|
72
93
|
attrs: {
|
|
73
|
-
requestId:
|
|
94
|
+
requestId: {
|
|
95
|
+
name: string;
|
|
96
|
+
type: string;
|
|
97
|
+
};
|
|
74
98
|
error: {
|
|
75
99
|
name: string;
|
|
76
100
|
type: string;
|
|
@@ -89,7 +113,10 @@ export declare const SERVER_REQUEST: {
|
|
|
89
113
|
name: string;
|
|
90
114
|
duration: boolean;
|
|
91
115
|
attrs: {
|
|
92
|
-
requestId:
|
|
116
|
+
requestId: {
|
|
117
|
+
name: string;
|
|
118
|
+
type: string;
|
|
119
|
+
};
|
|
93
120
|
error: {
|
|
94
121
|
name: string;
|
|
95
122
|
type: string;
|
|
@@ -104,7 +131,10 @@ export declare const SERVER_REQUEST: {
|
|
|
104
131
|
name: string;
|
|
105
132
|
duration: boolean;
|
|
106
133
|
attrs: {
|
|
107
|
-
requestId:
|
|
134
|
+
requestId: {
|
|
135
|
+
name: string;
|
|
136
|
+
type: string;
|
|
137
|
+
};
|
|
108
138
|
error: {
|
|
109
139
|
name: string;
|
|
110
140
|
type: string;
|
|
@@ -119,7 +149,10 @@ export declare const SERVER_REQUEST: {
|
|
|
119
149
|
name: string;
|
|
120
150
|
duration: boolean;
|
|
121
151
|
attrs: {
|
|
122
|
-
requestId:
|
|
152
|
+
requestId: {
|
|
153
|
+
name: string;
|
|
154
|
+
type: string;
|
|
155
|
+
};
|
|
123
156
|
error: {
|
|
124
157
|
name: string;
|
|
125
158
|
type: string;
|
|
@@ -130,21 +163,30 @@ export declare const SERVER_REQUEST: {
|
|
|
130
163
|
name: string;
|
|
131
164
|
duration: boolean;
|
|
132
165
|
attrs: {
|
|
133
|
-
requestId:
|
|
166
|
+
requestId: {
|
|
167
|
+
name: string;
|
|
168
|
+
type: string;
|
|
169
|
+
};
|
|
134
170
|
};
|
|
135
171
|
};
|
|
136
172
|
SHUVI_SERVER_SEND_HTML_HOOK: {
|
|
137
173
|
name: string;
|
|
138
174
|
duration: boolean;
|
|
139
175
|
attrs: {
|
|
140
|
-
requestId:
|
|
176
|
+
requestId: {
|
|
177
|
+
name: string;
|
|
178
|
+
type: string;
|
|
179
|
+
};
|
|
141
180
|
};
|
|
142
181
|
};
|
|
143
182
|
SHUVI_SERVER_SEND_HTML_ORIGINAL: {
|
|
144
183
|
name: string;
|
|
145
184
|
duration: boolean;
|
|
146
185
|
attrs: {
|
|
147
|
-
requestId:
|
|
186
|
+
requestId: {
|
|
187
|
+
name: string;
|
|
188
|
+
type: string;
|
|
189
|
+
};
|
|
148
190
|
};
|
|
149
191
|
};
|
|
150
192
|
};
|
|
@@ -227,7 +269,10 @@ export declare const CLIENT_RENDER: {
|
|
|
227
269
|
name: string;
|
|
228
270
|
duration: boolean;
|
|
229
271
|
attrs: {
|
|
230
|
-
requestId:
|
|
272
|
+
requestId: {
|
|
273
|
+
name: string;
|
|
274
|
+
type: string;
|
|
275
|
+
};
|
|
231
276
|
error: {
|
|
232
277
|
name: string;
|
|
233
278
|
type: string;
|
package/esm/constants/trace.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
const requestId = 'requestId';
|
|
2
2
|
const runLoadersAttrs = {
|
|
3
|
-
|
|
3
|
+
requestId: {
|
|
4
|
+
name: requestId,
|
|
5
|
+
type: 'string'
|
|
6
|
+
},
|
|
4
7
|
error: {
|
|
5
8
|
name: 'error',
|
|
6
9
|
type: 'boolean'
|
|
@@ -15,21 +18,30 @@ const runLoadersAttrs = {
|
|
|
15
18
|
export const SERVER_CREATE_APP = {
|
|
16
19
|
name: 'SERVER_CREATE_APP',
|
|
17
20
|
attrs: {
|
|
18
|
-
|
|
21
|
+
requestId: {
|
|
22
|
+
name: requestId,
|
|
23
|
+
type: 'string'
|
|
24
|
+
}
|
|
19
25
|
},
|
|
20
26
|
events: {
|
|
21
27
|
SHUVI_SERVER_CREATE_APP: {
|
|
22
28
|
name: 'SHUVI_SERVER_CREATE_APP',
|
|
23
29
|
duration: true,
|
|
24
30
|
attrs: {
|
|
25
|
-
|
|
31
|
+
requestId: {
|
|
32
|
+
name: requestId,
|
|
33
|
+
type: 'string'
|
|
34
|
+
}
|
|
26
35
|
}
|
|
27
36
|
},
|
|
28
37
|
SHUVI_SERVER_APP_INIT: {
|
|
29
38
|
name: 'SHUVI_SERVER_APP_INIT',
|
|
30
39
|
duration: true,
|
|
31
40
|
attrs: {
|
|
32
|
-
|
|
41
|
+
requestId: {
|
|
42
|
+
name: requestId,
|
|
43
|
+
type: 'string'
|
|
44
|
+
}
|
|
33
45
|
}
|
|
34
46
|
},
|
|
35
47
|
SHUVI_SERVER_RUN_LOADERS: {
|
|
@@ -43,21 +55,30 @@ export const SERVER_CREATE_APP = {
|
|
|
43
55
|
export const SERVER_REQUEST = {
|
|
44
56
|
name: 'SERVER_REQUEST',
|
|
45
57
|
attrs: {
|
|
46
|
-
|
|
58
|
+
requestId: {
|
|
59
|
+
name: requestId,
|
|
60
|
+
type: 'string'
|
|
61
|
+
}
|
|
47
62
|
},
|
|
48
63
|
events: {
|
|
49
64
|
SHUVI_SERVER_HANDLE_REQUEST_START: {
|
|
50
65
|
name: 'SHUVI_SERVER_HANDLE_REQUEST_START',
|
|
51
66
|
duration: false,
|
|
52
67
|
attrs: {
|
|
53
|
-
|
|
68
|
+
requestId: {
|
|
69
|
+
name: requestId,
|
|
70
|
+
type: 'string'
|
|
71
|
+
}
|
|
54
72
|
}
|
|
55
73
|
},
|
|
56
74
|
SHUVI_SERVER_RUN_ASSET_MIDDLEWARE: {
|
|
57
75
|
name: 'SHUVI_SERVER_RUN_ASSET_MIDDLEWARE',
|
|
58
76
|
duration: true,
|
|
59
77
|
attrs: {
|
|
60
|
-
|
|
78
|
+
requestId: {
|
|
79
|
+
name: requestId,
|
|
80
|
+
type: 'string'
|
|
81
|
+
},
|
|
61
82
|
error: {
|
|
62
83
|
name: 'error',
|
|
63
84
|
type: 'boolean'
|
|
@@ -72,7 +93,10 @@ export const SERVER_REQUEST = {
|
|
|
72
93
|
name: 'SHUVI_SERVER_RUN_MIDDLEWARE_ROUTES',
|
|
73
94
|
duration: true,
|
|
74
95
|
attrs: {
|
|
75
|
-
|
|
96
|
+
requestId: {
|
|
97
|
+
name: requestId,
|
|
98
|
+
type: 'string'
|
|
99
|
+
},
|
|
76
100
|
error: {
|
|
77
101
|
name: 'error',
|
|
78
102
|
type: 'boolean'
|
|
@@ -91,7 +115,10 @@ export const SERVER_REQUEST = {
|
|
|
91
115
|
name: 'SHUVI_SERVER_RUN_API_MIDDLEWARE',
|
|
92
116
|
duration: true,
|
|
93
117
|
attrs: {
|
|
94
|
-
|
|
118
|
+
requestId: {
|
|
119
|
+
name: requestId,
|
|
120
|
+
type: 'string'
|
|
121
|
+
},
|
|
95
122
|
error: {
|
|
96
123
|
name: 'error',
|
|
97
124
|
type: 'boolean'
|
|
@@ -106,7 +133,10 @@ export const SERVER_REQUEST = {
|
|
|
106
133
|
name: 'SHUVI_SERVER_RUN_PAGE_MIDDLEWARE',
|
|
107
134
|
duration: true,
|
|
108
135
|
attrs: {
|
|
109
|
-
|
|
136
|
+
requestId: {
|
|
137
|
+
name: requestId,
|
|
138
|
+
type: 'string'
|
|
139
|
+
},
|
|
110
140
|
error: {
|
|
111
141
|
name: 'error',
|
|
112
142
|
type: 'boolean'
|
|
@@ -121,7 +151,10 @@ export const SERVER_REQUEST = {
|
|
|
121
151
|
name: 'SHUVI_SERVER_RENDER_TO_STRING',
|
|
122
152
|
duration: true,
|
|
123
153
|
attrs: {
|
|
124
|
-
|
|
154
|
+
requestId: {
|
|
155
|
+
name: requestId,
|
|
156
|
+
type: 'string'
|
|
157
|
+
},
|
|
125
158
|
error: {
|
|
126
159
|
name: 'error',
|
|
127
160
|
type: 'boolean'
|
|
@@ -132,21 +165,30 @@ export const SERVER_REQUEST = {
|
|
|
132
165
|
name: 'SHUVI_SERVER_RENDER_TO_HTML',
|
|
133
166
|
duration: true,
|
|
134
167
|
attrs: {
|
|
135
|
-
|
|
168
|
+
requestId: {
|
|
169
|
+
name: requestId,
|
|
170
|
+
type: 'string'
|
|
171
|
+
}
|
|
136
172
|
}
|
|
137
173
|
},
|
|
138
174
|
SHUVI_SERVER_SEND_HTML_HOOK: {
|
|
139
175
|
name: 'SHUVI_SERVER_SEND_HTML_HOOK',
|
|
140
176
|
duration: true,
|
|
141
177
|
attrs: {
|
|
142
|
-
|
|
178
|
+
requestId: {
|
|
179
|
+
name: requestId,
|
|
180
|
+
type: 'string'
|
|
181
|
+
}
|
|
143
182
|
}
|
|
144
183
|
},
|
|
145
184
|
SHUVI_SERVER_SEND_HTML_ORIGINAL: {
|
|
146
185
|
name: 'SHUVI_SERVER_SEND_HTML_ORIGINAL',
|
|
147
186
|
duration: true,
|
|
148
187
|
attrs: {
|
|
149
|
-
|
|
188
|
+
requestId: {
|
|
189
|
+
name: requestId,
|
|
190
|
+
type: 'string'
|
|
191
|
+
}
|
|
150
192
|
}
|
|
151
193
|
}
|
|
152
194
|
}
|
package/lib/constants/trace.d.ts
CHANGED
|
@@ -2,28 +2,40 @@
|
|
|
2
2
|
export declare const SERVER_CREATE_APP: {
|
|
3
3
|
name: string;
|
|
4
4
|
attrs: {
|
|
5
|
-
requestId:
|
|
5
|
+
requestId: {
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
6
9
|
};
|
|
7
10
|
events: {
|
|
8
11
|
SHUVI_SERVER_CREATE_APP: {
|
|
9
12
|
name: string;
|
|
10
13
|
duration: boolean;
|
|
11
14
|
attrs: {
|
|
12
|
-
requestId:
|
|
15
|
+
requestId: {
|
|
16
|
+
name: string;
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
13
19
|
};
|
|
14
20
|
};
|
|
15
21
|
SHUVI_SERVER_APP_INIT: {
|
|
16
22
|
name: string;
|
|
17
23
|
duration: boolean;
|
|
18
24
|
attrs: {
|
|
19
|
-
requestId:
|
|
25
|
+
requestId: {
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
20
29
|
};
|
|
21
30
|
};
|
|
22
31
|
SHUVI_SERVER_RUN_LOADERS: {
|
|
23
32
|
name: string;
|
|
24
33
|
duration: boolean;
|
|
25
34
|
attrs: {
|
|
26
|
-
requestId:
|
|
35
|
+
requestId: {
|
|
36
|
+
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
27
39
|
error: {
|
|
28
40
|
name: string;
|
|
29
41
|
type: string;
|
|
@@ -41,21 +53,30 @@ export declare const SERVER_CREATE_APP: {
|
|
|
41
53
|
export declare const SERVER_REQUEST: {
|
|
42
54
|
name: string;
|
|
43
55
|
attrs: {
|
|
44
|
-
requestId:
|
|
56
|
+
requestId: {
|
|
57
|
+
name: string;
|
|
58
|
+
type: string;
|
|
59
|
+
};
|
|
45
60
|
};
|
|
46
61
|
events: {
|
|
47
62
|
SHUVI_SERVER_HANDLE_REQUEST_START: {
|
|
48
63
|
name: string;
|
|
49
64
|
duration: boolean;
|
|
50
65
|
attrs: {
|
|
51
|
-
requestId:
|
|
66
|
+
requestId: {
|
|
67
|
+
name: string;
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
52
70
|
};
|
|
53
71
|
};
|
|
54
72
|
SHUVI_SERVER_RUN_ASSET_MIDDLEWARE: {
|
|
55
73
|
name: string;
|
|
56
74
|
duration: boolean;
|
|
57
75
|
attrs: {
|
|
58
|
-
requestId:
|
|
76
|
+
requestId: {
|
|
77
|
+
name: string;
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
59
80
|
error: {
|
|
60
81
|
name: string;
|
|
61
82
|
type: string;
|
|
@@ -70,7 +91,10 @@ export declare const SERVER_REQUEST: {
|
|
|
70
91
|
name: string;
|
|
71
92
|
duration: boolean;
|
|
72
93
|
attrs: {
|
|
73
|
-
requestId:
|
|
94
|
+
requestId: {
|
|
95
|
+
name: string;
|
|
96
|
+
type: string;
|
|
97
|
+
};
|
|
74
98
|
error: {
|
|
75
99
|
name: string;
|
|
76
100
|
type: string;
|
|
@@ -89,7 +113,10 @@ export declare const SERVER_REQUEST: {
|
|
|
89
113
|
name: string;
|
|
90
114
|
duration: boolean;
|
|
91
115
|
attrs: {
|
|
92
|
-
requestId:
|
|
116
|
+
requestId: {
|
|
117
|
+
name: string;
|
|
118
|
+
type: string;
|
|
119
|
+
};
|
|
93
120
|
error: {
|
|
94
121
|
name: string;
|
|
95
122
|
type: string;
|
|
@@ -104,7 +131,10 @@ export declare const SERVER_REQUEST: {
|
|
|
104
131
|
name: string;
|
|
105
132
|
duration: boolean;
|
|
106
133
|
attrs: {
|
|
107
|
-
requestId:
|
|
134
|
+
requestId: {
|
|
135
|
+
name: string;
|
|
136
|
+
type: string;
|
|
137
|
+
};
|
|
108
138
|
error: {
|
|
109
139
|
name: string;
|
|
110
140
|
type: string;
|
|
@@ -119,7 +149,10 @@ export declare const SERVER_REQUEST: {
|
|
|
119
149
|
name: string;
|
|
120
150
|
duration: boolean;
|
|
121
151
|
attrs: {
|
|
122
|
-
requestId:
|
|
152
|
+
requestId: {
|
|
153
|
+
name: string;
|
|
154
|
+
type: string;
|
|
155
|
+
};
|
|
123
156
|
error: {
|
|
124
157
|
name: string;
|
|
125
158
|
type: string;
|
|
@@ -130,21 +163,30 @@ export declare const SERVER_REQUEST: {
|
|
|
130
163
|
name: string;
|
|
131
164
|
duration: boolean;
|
|
132
165
|
attrs: {
|
|
133
|
-
requestId:
|
|
166
|
+
requestId: {
|
|
167
|
+
name: string;
|
|
168
|
+
type: string;
|
|
169
|
+
};
|
|
134
170
|
};
|
|
135
171
|
};
|
|
136
172
|
SHUVI_SERVER_SEND_HTML_HOOK: {
|
|
137
173
|
name: string;
|
|
138
174
|
duration: boolean;
|
|
139
175
|
attrs: {
|
|
140
|
-
requestId:
|
|
176
|
+
requestId: {
|
|
177
|
+
name: string;
|
|
178
|
+
type: string;
|
|
179
|
+
};
|
|
141
180
|
};
|
|
142
181
|
};
|
|
143
182
|
SHUVI_SERVER_SEND_HTML_ORIGINAL: {
|
|
144
183
|
name: string;
|
|
145
184
|
duration: boolean;
|
|
146
185
|
attrs: {
|
|
147
|
-
requestId:
|
|
186
|
+
requestId: {
|
|
187
|
+
name: string;
|
|
188
|
+
type: string;
|
|
189
|
+
};
|
|
148
190
|
};
|
|
149
191
|
};
|
|
150
192
|
};
|
|
@@ -227,7 +269,10 @@ export declare const CLIENT_RENDER: {
|
|
|
227
269
|
name: string;
|
|
228
270
|
duration: boolean;
|
|
229
271
|
attrs: {
|
|
230
|
-
requestId:
|
|
272
|
+
requestId: {
|
|
273
|
+
name: string;
|
|
274
|
+
type: string;
|
|
275
|
+
};
|
|
231
276
|
error: {
|
|
232
277
|
name: string;
|
|
233
278
|
type: string;
|
package/lib/constants/trace.js
CHANGED
|
@@ -3,7 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RENDER = exports.CLIENT_ENTRY = exports.SERVER_REQUEST = exports.SERVER_CREATE_APP = void 0;
|
|
4
4
|
const requestId = 'requestId';
|
|
5
5
|
const runLoadersAttrs = {
|
|
6
|
-
|
|
6
|
+
requestId: {
|
|
7
|
+
name: requestId,
|
|
8
|
+
type: 'string'
|
|
9
|
+
},
|
|
7
10
|
error: {
|
|
8
11
|
name: 'error',
|
|
9
12
|
type: 'boolean'
|
|
@@ -18,21 +21,30 @@ const runLoadersAttrs = {
|
|
|
18
21
|
exports.SERVER_CREATE_APP = {
|
|
19
22
|
name: 'SERVER_CREATE_APP',
|
|
20
23
|
attrs: {
|
|
21
|
-
|
|
24
|
+
requestId: {
|
|
25
|
+
name: requestId,
|
|
26
|
+
type: 'string'
|
|
27
|
+
}
|
|
22
28
|
},
|
|
23
29
|
events: {
|
|
24
30
|
SHUVI_SERVER_CREATE_APP: {
|
|
25
31
|
name: 'SHUVI_SERVER_CREATE_APP',
|
|
26
32
|
duration: true,
|
|
27
33
|
attrs: {
|
|
28
|
-
|
|
34
|
+
requestId: {
|
|
35
|
+
name: requestId,
|
|
36
|
+
type: 'string'
|
|
37
|
+
}
|
|
29
38
|
}
|
|
30
39
|
},
|
|
31
40
|
SHUVI_SERVER_APP_INIT: {
|
|
32
41
|
name: 'SHUVI_SERVER_APP_INIT',
|
|
33
42
|
duration: true,
|
|
34
43
|
attrs: {
|
|
35
|
-
|
|
44
|
+
requestId: {
|
|
45
|
+
name: requestId,
|
|
46
|
+
type: 'string'
|
|
47
|
+
}
|
|
36
48
|
}
|
|
37
49
|
},
|
|
38
50
|
SHUVI_SERVER_RUN_LOADERS: {
|
|
@@ -46,21 +58,30 @@ exports.SERVER_CREATE_APP = {
|
|
|
46
58
|
exports.SERVER_REQUEST = {
|
|
47
59
|
name: 'SERVER_REQUEST',
|
|
48
60
|
attrs: {
|
|
49
|
-
|
|
61
|
+
requestId: {
|
|
62
|
+
name: requestId,
|
|
63
|
+
type: 'string'
|
|
64
|
+
}
|
|
50
65
|
},
|
|
51
66
|
events: {
|
|
52
67
|
SHUVI_SERVER_HANDLE_REQUEST_START: {
|
|
53
68
|
name: 'SHUVI_SERVER_HANDLE_REQUEST_START',
|
|
54
69
|
duration: false,
|
|
55
70
|
attrs: {
|
|
56
|
-
|
|
71
|
+
requestId: {
|
|
72
|
+
name: requestId,
|
|
73
|
+
type: 'string'
|
|
74
|
+
}
|
|
57
75
|
}
|
|
58
76
|
},
|
|
59
77
|
SHUVI_SERVER_RUN_ASSET_MIDDLEWARE: {
|
|
60
78
|
name: 'SHUVI_SERVER_RUN_ASSET_MIDDLEWARE',
|
|
61
79
|
duration: true,
|
|
62
80
|
attrs: {
|
|
63
|
-
|
|
81
|
+
requestId: {
|
|
82
|
+
name: requestId,
|
|
83
|
+
type: 'string'
|
|
84
|
+
},
|
|
64
85
|
error: {
|
|
65
86
|
name: 'error',
|
|
66
87
|
type: 'boolean'
|
|
@@ -75,7 +96,10 @@ exports.SERVER_REQUEST = {
|
|
|
75
96
|
name: 'SHUVI_SERVER_RUN_MIDDLEWARE_ROUTES',
|
|
76
97
|
duration: true,
|
|
77
98
|
attrs: {
|
|
78
|
-
|
|
99
|
+
requestId: {
|
|
100
|
+
name: requestId,
|
|
101
|
+
type: 'string'
|
|
102
|
+
},
|
|
79
103
|
error: {
|
|
80
104
|
name: 'error',
|
|
81
105
|
type: 'boolean'
|
|
@@ -94,7 +118,10 @@ exports.SERVER_REQUEST = {
|
|
|
94
118
|
name: 'SHUVI_SERVER_RUN_API_MIDDLEWARE',
|
|
95
119
|
duration: true,
|
|
96
120
|
attrs: {
|
|
97
|
-
|
|
121
|
+
requestId: {
|
|
122
|
+
name: requestId,
|
|
123
|
+
type: 'string'
|
|
124
|
+
},
|
|
98
125
|
error: {
|
|
99
126
|
name: 'error',
|
|
100
127
|
type: 'boolean'
|
|
@@ -109,7 +136,10 @@ exports.SERVER_REQUEST = {
|
|
|
109
136
|
name: 'SHUVI_SERVER_RUN_PAGE_MIDDLEWARE',
|
|
110
137
|
duration: true,
|
|
111
138
|
attrs: {
|
|
112
|
-
|
|
139
|
+
requestId: {
|
|
140
|
+
name: requestId,
|
|
141
|
+
type: 'string'
|
|
142
|
+
},
|
|
113
143
|
error: {
|
|
114
144
|
name: 'error',
|
|
115
145
|
type: 'boolean'
|
|
@@ -124,7 +154,10 @@ exports.SERVER_REQUEST = {
|
|
|
124
154
|
name: 'SHUVI_SERVER_RENDER_TO_STRING',
|
|
125
155
|
duration: true,
|
|
126
156
|
attrs: {
|
|
127
|
-
|
|
157
|
+
requestId: {
|
|
158
|
+
name: requestId,
|
|
159
|
+
type: 'string'
|
|
160
|
+
},
|
|
128
161
|
error: {
|
|
129
162
|
name: 'error',
|
|
130
163
|
type: 'boolean'
|
|
@@ -135,21 +168,30 @@ exports.SERVER_REQUEST = {
|
|
|
135
168
|
name: 'SHUVI_SERVER_RENDER_TO_HTML',
|
|
136
169
|
duration: true,
|
|
137
170
|
attrs: {
|
|
138
|
-
|
|
171
|
+
requestId: {
|
|
172
|
+
name: requestId,
|
|
173
|
+
type: 'string'
|
|
174
|
+
}
|
|
139
175
|
}
|
|
140
176
|
},
|
|
141
177
|
SHUVI_SERVER_SEND_HTML_HOOK: {
|
|
142
178
|
name: 'SHUVI_SERVER_SEND_HTML_HOOK',
|
|
143
179
|
duration: true,
|
|
144
180
|
attrs: {
|
|
145
|
-
|
|
181
|
+
requestId: {
|
|
182
|
+
name: requestId,
|
|
183
|
+
type: 'string'
|
|
184
|
+
}
|
|
146
185
|
}
|
|
147
186
|
},
|
|
148
187
|
SHUVI_SERVER_SEND_HTML_ORIGINAL: {
|
|
149
188
|
name: 'SHUVI_SERVER_SEND_HTML_ORIGINAL',
|
|
150
189
|
duration: true,
|
|
151
190
|
attrs: {
|
|
152
|
-
|
|
191
|
+
requestId: {
|
|
192
|
+
name: requestId,
|
|
193
|
+
type: 'string'
|
|
194
|
+
}
|
|
153
195
|
}
|
|
154
196
|
}
|
|
155
197
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shuvi/shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.36",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/shuvijs/shuvi.git",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"node": ">= 16.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@shuvi/hook": "1.0.
|
|
40
|
+
"@shuvi/hook": "1.0.36"
|
|
41
41
|
}
|
|
42
42
|
}
|