@shuvi/shared 1.0.32 → 1.0.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.
@@ -35,6 +35,52 @@ export declare const SERVER_REQUEST: {
35
35
  name: string;
36
36
  duration: boolean;
37
37
  };
38
+ SHUVI_SERVER_RUN_ASSET_MIDDLEWARE: {
39
+ name: string;
40
+ duration: boolean;
41
+ attrs: {
42
+ error: {
43
+ name: string;
44
+ type: string;
45
+ };
46
+ statusCode: {
47
+ name: string;
48
+ type: string;
49
+ };
50
+ };
51
+ };
52
+ SHUVI_SERVER_RUN_MIDDLEWARE_ROUTES: {
53
+ name: string;
54
+ duration: boolean;
55
+ attrs: {
56
+ error: {
57
+ name: string;
58
+ type: string;
59
+ };
60
+ statusCode: {
61
+ name: string;
62
+ type: string;
63
+ };
64
+ headersSent: {
65
+ name: string;
66
+ type: string;
67
+ };
68
+ };
69
+ };
70
+ SHUVI_SERVER_RUN_API_MIDDLEWARE: {
71
+ name: string;
72
+ duration: boolean;
73
+ attrs: {
74
+ error: {
75
+ name: string;
76
+ type: string;
77
+ };
78
+ statusCode: {
79
+ name: string;
80
+ type: string;
81
+ };
82
+ };
83
+ };
38
84
  SHUVI_SERVER_RUN_PAGE_MIDDLEWARE: {
39
85
  name: string;
40
86
  duration: boolean;
@@ -36,6 +36,52 @@ export const SERVER_REQUEST = {
36
36
  name: 'SHUVI_SERVER_HANDLE_REQUEST_START',
37
37
  duration: false
38
38
  },
39
+ SHUVI_SERVER_RUN_ASSET_MIDDLEWARE: {
40
+ name: 'SHUVI_SERVER_RUN_ASSET_MIDDLEWARE',
41
+ duration: true,
42
+ attrs: {
43
+ error: {
44
+ name: 'error',
45
+ type: 'boolean'
46
+ },
47
+ statusCode: {
48
+ name: 'statusCode',
49
+ type: 'number'
50
+ }
51
+ }
52
+ },
53
+ SHUVI_SERVER_RUN_MIDDLEWARE_ROUTES: {
54
+ name: 'SHUVI_SERVER_RUN_MIDDLEWARE_ROUTES',
55
+ duration: true,
56
+ attrs: {
57
+ error: {
58
+ name: 'error',
59
+ type: 'boolean'
60
+ },
61
+ statusCode: {
62
+ name: 'statusCode',
63
+ type: 'number'
64
+ },
65
+ headersSent: {
66
+ name: 'headersSent',
67
+ type: 'boolean'
68
+ }
69
+ }
70
+ },
71
+ SHUVI_SERVER_RUN_API_MIDDLEWARE: {
72
+ name: 'SHUVI_SERVER_RUN_API_MIDDLEWARE',
73
+ duration: true,
74
+ attrs: {
75
+ error: {
76
+ name: 'error',
77
+ type: 'boolean'
78
+ },
79
+ statusCode: {
80
+ name: 'statusCode',
81
+ type: 'number'
82
+ }
83
+ }
84
+ },
39
85
  SHUVI_SERVER_RUN_PAGE_MIDDLEWARE: {
40
86
  name: 'SHUVI_SERVER_RUN_PAGE_MIDDLEWARE',
41
87
  duration: true,
@@ -35,6 +35,52 @@ export declare const SERVER_REQUEST: {
35
35
  name: string;
36
36
  duration: boolean;
37
37
  };
38
+ SHUVI_SERVER_RUN_ASSET_MIDDLEWARE: {
39
+ name: string;
40
+ duration: boolean;
41
+ attrs: {
42
+ error: {
43
+ name: string;
44
+ type: string;
45
+ };
46
+ statusCode: {
47
+ name: string;
48
+ type: string;
49
+ };
50
+ };
51
+ };
52
+ SHUVI_SERVER_RUN_MIDDLEWARE_ROUTES: {
53
+ name: string;
54
+ duration: boolean;
55
+ attrs: {
56
+ error: {
57
+ name: string;
58
+ type: string;
59
+ };
60
+ statusCode: {
61
+ name: string;
62
+ type: string;
63
+ };
64
+ headersSent: {
65
+ name: string;
66
+ type: string;
67
+ };
68
+ };
69
+ };
70
+ SHUVI_SERVER_RUN_API_MIDDLEWARE: {
71
+ name: string;
72
+ duration: boolean;
73
+ attrs: {
74
+ error: {
75
+ name: string;
76
+ type: string;
77
+ };
78
+ statusCode: {
79
+ name: string;
80
+ type: string;
81
+ };
82
+ };
83
+ };
38
84
  SHUVI_SERVER_RUN_PAGE_MIDDLEWARE: {
39
85
  name: string;
40
86
  duration: boolean;
@@ -39,6 +39,52 @@ exports.SERVER_REQUEST = {
39
39
  name: 'SHUVI_SERVER_HANDLE_REQUEST_START',
40
40
  duration: false
41
41
  },
42
+ SHUVI_SERVER_RUN_ASSET_MIDDLEWARE: {
43
+ name: 'SHUVI_SERVER_RUN_ASSET_MIDDLEWARE',
44
+ duration: true,
45
+ attrs: {
46
+ error: {
47
+ name: 'error',
48
+ type: 'boolean'
49
+ },
50
+ statusCode: {
51
+ name: 'statusCode',
52
+ type: 'number'
53
+ }
54
+ }
55
+ },
56
+ SHUVI_SERVER_RUN_MIDDLEWARE_ROUTES: {
57
+ name: 'SHUVI_SERVER_RUN_MIDDLEWARE_ROUTES',
58
+ duration: true,
59
+ attrs: {
60
+ error: {
61
+ name: 'error',
62
+ type: 'boolean'
63
+ },
64
+ statusCode: {
65
+ name: 'statusCode',
66
+ type: 'number'
67
+ },
68
+ headersSent: {
69
+ name: 'headersSent',
70
+ type: 'boolean'
71
+ }
72
+ }
73
+ },
74
+ SHUVI_SERVER_RUN_API_MIDDLEWARE: {
75
+ name: 'SHUVI_SERVER_RUN_API_MIDDLEWARE',
76
+ duration: true,
77
+ attrs: {
78
+ error: {
79
+ name: 'error',
80
+ type: 'boolean'
81
+ },
82
+ statusCode: {
83
+ name: 'statusCode',
84
+ type: 'number'
85
+ }
86
+ }
87
+ },
42
88
  SHUVI_SERVER_RUN_PAGE_MIDDLEWARE: {
43
89
  name: 'SHUVI_SERVER_RUN_PAGE_MIDDLEWARE',
44
90
  duration: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shuvi/shared",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
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.32"
40
+ "@shuvi/hook": "1.0.33"
41
41
  }
42
42
  }