@next-core/next-docs 1.2.174 → 1.2.178

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/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [1.2.174](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.173...@next-core/next-docs@1.2.174) (2021-12-15)
6
+ ## [1.2.178](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.177...@next-core/next-docs@1.2.178) (2021-12-28)
7
7
 
8
8
  **Note:** Version bump only for package @next-core/next-docs
9
9
 
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [1.2.173](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.172...@next-core/next-docs@1.2.173) (2021-12-06)
14
+ ## [1.2.177](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.176...@next-core/next-docs@1.2.177) (2021-12-24)
15
15
 
16
16
  **Note:** Version bump only for package @next-core/next-docs
17
17
 
@@ -19,7 +19,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
19
 
20
20
 
21
21
 
22
- ## [1.2.172](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.171...@next-core/next-docs@1.2.172) (2021-12-06)
22
+ ## [1.2.176](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.175...@next-core/next-docs@1.2.176) (2021-12-23)
23
23
 
24
24
  **Note:** Version bump only for package @next-core/next-docs
25
25
 
@@ -27,7 +27,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
27
 
28
28
 
29
29
 
30
- ## [1.2.171](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.170...@next-core/next-docs@1.2.171) (2021-12-05)
30
+ ## [1.2.175](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.174...@next-core/next-docs@1.2.175) (2021-12-17)
31
31
 
32
32
  **Note:** Version bump only for package @next-core/next-docs
33
33
 
@@ -35,118 +35,78 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
35
35
 
36
36
 
37
37
 
38
- ## [1.2.170](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.169...@next-core/next-docs@1.2.170) (2021-12-03)
38
+ ## [1.2.174](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.173...@next-core/next-docs@1.2.174) (2021-12-15)
39
39
 
40
40
  **Note:** Version bump only for package @next-core/next-docs
41
41
 
42
+ ## [1.2.173](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.172...@next-core/next-docs@1.2.173) (2021-12-06)
42
43
 
44
+ **Note:** Version bump only for package @next-core/next-docs
43
45
 
46
+ ## [1.2.172](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.171...@next-core/next-docs@1.2.172) (2021-12-06)
44
47
 
48
+ **Note:** Version bump only for package @next-core/next-docs
45
49
 
46
- ## [1.2.169](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.168...@next-core/next-docs@1.2.169) (2021-12-03)
50
+ ## [1.2.171](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.170...@next-core/next-docs@1.2.171) (2021-12-05)
47
51
 
48
52
  **Note:** Version bump only for package @next-core/next-docs
49
53
 
54
+ ## [1.2.170](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.169...@next-core/next-docs@1.2.170) (2021-12-03)
50
55
 
56
+ **Note:** Version bump only for package @next-core/next-docs
51
57
 
58
+ ## [1.2.169](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.168...@next-core/next-docs@1.2.169) (2021-12-03)
52
59
 
60
+ **Note:** Version bump only for package @next-core/next-docs
53
61
 
54
62
  ## [1.2.168](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.167...@next-core/next-docs@1.2.168) (2021-12-01)
55
63
 
56
64
  **Note:** Version bump only for package @next-core/next-docs
57
65
 
58
-
59
-
60
-
61
-
62
66
  ## [1.2.167](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.166...@next-core/next-docs@1.2.167) (2021-11-29)
63
67
 
64
68
  **Note:** Version bump only for package @next-core/next-docs
65
69
 
66
-
67
-
68
-
69
-
70
70
  ## [1.2.166](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.165...@next-core/next-docs@1.2.166) (2021-11-26)
71
71
 
72
72
  **Note:** Version bump only for package @next-core/next-docs
73
73
 
74
-
75
-
76
-
77
-
78
74
  ## [1.2.165](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.164...@next-core/next-docs@1.2.165) (2021-11-25)
79
75
 
80
76
  **Note:** Version bump only for package @next-core/next-docs
81
77
 
82
-
83
-
84
-
85
-
86
78
  ## [1.2.164](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.163...@next-core/next-docs@1.2.164) (2021-11-25)
87
79
 
88
80
  **Note:** Version bump only for package @next-core/next-docs
89
81
 
90
-
91
-
92
-
93
-
94
82
  ## [1.2.163](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.162...@next-core/next-docs@1.2.163) (2021-11-25)
95
83
 
96
84
  **Note:** Version bump only for package @next-core/next-docs
97
85
 
98
-
99
-
100
-
101
-
102
86
  ## [1.2.162](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.161...@next-core/next-docs@1.2.162) (2021-11-25)
103
87
 
104
88
  **Note:** Version bump only for package @next-core/next-docs
105
89
 
106
-
107
-
108
-
109
-
110
90
  ## [1.2.161](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.160...@next-core/next-docs@1.2.161) (2021-11-23)
111
91
 
112
92
  **Note:** Version bump only for package @next-core/next-docs
113
93
 
114
-
115
-
116
-
117
-
118
94
  ## [1.2.160](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.159...@next-core/next-docs@1.2.160) (2021-11-23)
119
95
 
120
96
  **Note:** Version bump only for package @next-core/next-docs
121
97
 
122
-
123
-
124
-
125
-
126
98
  ## [1.2.159](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.158...@next-core/next-docs@1.2.159) (2021-11-23)
127
99
 
128
100
  **Note:** Version bump only for package @next-core/next-docs
129
101
 
130
-
131
-
132
-
133
-
134
102
  ## [1.2.158](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.157...@next-core/next-docs@1.2.158) (2021-11-18)
135
103
 
136
104
  **Note:** Version bump only for package @next-core/next-docs
137
105
 
138
-
139
-
140
-
141
-
142
106
  ## [1.2.157](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.156...@next-core/next-docs@1.2.157) (2021-11-18)
143
107
 
144
108
  **Note:** Version bump only for package @next-core/next-docs
145
109
 
146
-
147
-
148
-
149
-
150
110
  ## [1.2.156](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.155...@next-core/next-docs@1.2.156) (2021-11-12)
151
111
 
152
112
  **Note:** Version bump only for package @next-core/next-docs
@@ -0,0 +1,21 @@
1
+ ---
2
+ id: brick-kit.getmockrule
3
+ title: getMockRule
4
+ hide_title: true
5
+ custom_edit_url: null
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ [API Reference](./index.md) &gt; [@next-core/brick-kit](./brick-kit.md) &gt; [getMockRule](./brick-kit.getmockrule.md)
11
+
12
+ ## getMockRule variable
13
+
14
+ **Signature:**
15
+
16
+ ```typescript
17
+ getMockRule: (requestUrl: string) => MockRule
18
+ ```
19
+
20
+ **Reference:** [MockRule](./brick-types.mockrule.md)
21
+
package/dist/brick-kit.md CHANGED
@@ -64,5 +64,6 @@ The core kit of Brick Next.
64
64
  | --- | --- |
65
65
  | [FeatureFlagsProvider](./brick-kit.featureflagsprovider.md) | |
66
66
  | [ForwardRefSingleBrickAsComponent](./brick-kit.forwardrefsinglebrickascomponent.md) | |
67
+ | [getMockRule](./brick-kit.getmockrule.md) | |
67
68
  | [SingleBrickAsComponent](./brick-kit.singlebrickascomponent.md) | 可以渲染单个 <code>useBrick</code> 的 React 组件。 |
68
69
 
@@ -85,6 +85,7 @@ The core types of Brick Next.
85
85
  | [MenuRawData](./brick-types.menurawdata.md) | 原始菜单数据。 |
86
86
  | [MetaI18n](./brick-types.metai18n.md) | 应用定义的国际化配置表。 |
87
87
  | [MicroApp](./brick-types.microapp.md) | 微应用基本信息。 |
88
+ | [MockRule](./brick-types.mockrule.md) | 应用启用mock服务 |
88
89
  | [PluginHistory](./brick-types.pluginhistory.md) | 系统会话对象。 |
89
90
  | [PluginRuntimeContext](./brick-types.pluginruntimecontext.md) | 系统运行时信息。 |
90
91
  | [ProviderConf](./brick-types.providerconf.md) | Provider 配置。 |
@@ -0,0 +1,28 @@
1
+ ---
2
+ id: brick-types.mockrule
3
+ title: MockRule
4
+ hide_title: true
5
+ custom_edit_url: null
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ [API Reference](./index.md) &gt; [@next-core/brick-types](./brick-types.md) &gt; [MockRule](./brick-types.mockrule.md)
11
+
12
+ ## MockRule interface
13
+
14
+ 应用启用mock服务
15
+
16
+ **Signature:**
17
+
18
+ ```typescript
19
+ export interface MockRule
20
+ ```
21
+
22
+ ## Properties
23
+
24
+ | Property | Type | Description |
25
+ | --- | --- | --- |
26
+ | [mockId](./brick-types.mockrule.mockid.md) | string | mock id |
27
+ | [uri](./brick-types.mockrule.uri.md) | string | uri地址 |
28
+
@@ -0,0 +1,21 @@
1
+ ---
2
+ id: brick-types.mockrule.mockid
3
+ title: MockRule.mockId
4
+ hide_title: true
5
+ custom_edit_url: null
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ [API Reference](./index.md) &gt; [@next-core/brick-types](./brick-types.md) &gt; [MockRule](./brick-types.mockrule.md) &gt; [mockId](./brick-types.mockrule.mockid.md)
11
+
12
+ ## MockRule.mockId property
13
+
14
+ mock id
15
+
16
+ **Signature:**
17
+
18
+ ```typescript
19
+ mockId: string;
20
+ ```
21
+
@@ -0,0 +1,21 @@
1
+ ---
2
+ id: brick-types.mockrule.uri
3
+ title: MockRule.uri
4
+ hide_title: true
5
+ custom_edit_url: null
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ [API Reference](./index.md) &gt; [@next-core/brick-types](./brick-types.md) &gt; [MockRule](./brick-types.mockrule.md) &gt; [uri](./brick-types.mockrule.uri.md)
11
+
12
+ ## MockRule.uri property
13
+
14
+ uri地址
15
+
16
+ **Signature:**
17
+
18
+ ```typescript
19
+ uri: string;
20
+ ```
21
+
@@ -27,4 +27,5 @@ export interface StoryboardMeta
27
27
  | [functions](./brick-types.storyboardmeta.functions.md) | [StoryboardFunction](./brick-types.storyboardfunction.md)<!-- -->\[\] | 应用定义的函数列表。 |
28
28
  | [i18n](./brick-types.storyboardmeta.i18n.md) | [MetaI18n](./brick-types.metai18n.md) | 应用定义的国际化配置表。 |
29
29
  | [menus](./brick-types.storyboardmeta.menus.md) | [MenuRawData](./brick-types.menurawdata.md)<!-- -->\[\] | |
30
+ | [mocks](./brick-types.storyboardmeta.mocks.md) | [MockRule](./brick-types.mockrule.md)<!-- -->\[\] | 应用启用mock服务列表 |
30
31
 
@@ -0,0 +1,23 @@
1
+ ---
2
+ id: brick-types.storyboardmeta.mocks
3
+ title: StoryboardMeta.mocks
4
+ hide_title: true
5
+ custom_edit_url: null
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ [API Reference](./index.md) &gt; [@next-core/brick-types](./brick-types.md) &gt; [StoryboardMeta](./brick-types.storyboardmeta.md) &gt; [mocks](./brick-types.storyboardmeta.mocks.md)
11
+
12
+ ## StoryboardMeta.mocks property
13
+
14
+ 应用启用mock服务列表
15
+
16
+ **Signature:**
17
+
18
+ ```typescript
19
+ mocks?: MockRule[];
20
+ ```
21
+
22
+ **Reference:** [MockRule](./brick-types.mockrule.md)
23
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/next-docs",
3
- "version": "1.2.174",
3
+ "version": "1.2.178",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/next-docs",
6
6
  "license": "GPL-3.0",
@@ -21,9 +21,9 @@
21
21
  "sideEffects": false,
22
22
  "devDependencies": {
23
23
  "@easyops-cn/brick-next-pipes": "^0.3.12",
24
- "@next-core/brick-kit": "^2.92.2",
25
- "@next-core/brick-types": "^2.51.0",
24
+ "@next-core/brick-kit": "^2.95.0",
25
+ "@next-core/brick-types": "^2.52.0",
26
26
  "fs-extra": "^10.0.0"
27
27
  },
28
- "gitHead": "b51cbd4b51d3e54a0966c904b86448d5d2484c8e"
28
+ "gitHead": "2599ecdde622b06fd966c2b01e045340dc58e680"
29
29
  }