@next-core/next-docs 1.2.173 → 1.2.177
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 +13 -53
- package/dist/brick-kit.getmockrule.md +21 -0
- package/dist/brick-kit.md +1 -0
- package/dist/brick-types.md +1 -0
- package/dist/brick-types.mockrule.md +28 -0
- package/dist/brick-types.mockrule.mockid.md +21 -0
- package/dist/brick-types.mockrule.uri.md +21 -0
- package/dist/brick-types.storyboardmeta.md +1 -0
- package/dist/brick-types.storyboardmeta.mocks.md +23 -0
- package/package.json +4 -4
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.
|
|
6
|
+
## [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)
|
|
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.
|
|
14
|
+
## [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)
|
|
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.
|
|
22
|
+
## [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)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @next-core/next-docs
|
|
25
25
|
|
|
@@ -27,118 +27,78 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
## [1.2.
|
|
30
|
+
## [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)
|
|
31
31
|
|
|
32
32
|
**Note:** Version bump only for package @next-core/next-docs
|
|
33
33
|
|
|
34
|
+
## [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)
|
|
34
35
|
|
|
36
|
+
**Note:** Version bump only for package @next-core/next-docs
|
|
35
37
|
|
|
38
|
+
## [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)
|
|
36
39
|
|
|
40
|
+
**Note:** Version bump only for package @next-core/next-docs
|
|
37
41
|
|
|
38
|
-
## [1.2.
|
|
42
|
+
## [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)
|
|
39
43
|
|
|
40
44
|
**Note:** Version bump only for package @next-core/next-docs
|
|
41
45
|
|
|
46
|
+
## [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)
|
|
42
47
|
|
|
48
|
+
**Note:** Version bump only for package @next-core/next-docs
|
|
43
49
|
|
|
50
|
+
## [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)
|
|
44
51
|
|
|
52
|
+
**Note:** Version bump only for package @next-core/next-docs
|
|
45
53
|
|
|
46
54
|
## [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)
|
|
47
55
|
|
|
48
56
|
**Note:** Version bump only for package @next-core/next-docs
|
|
49
57
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
58
|
## [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)
|
|
55
59
|
|
|
56
60
|
**Note:** Version bump only for package @next-core/next-docs
|
|
57
61
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
62
|
## [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)
|
|
63
63
|
|
|
64
64
|
**Note:** Version bump only for package @next-core/next-docs
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
66
|
## [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)
|
|
71
67
|
|
|
72
68
|
**Note:** Version bump only for package @next-core/next-docs
|
|
73
69
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
70
|
## [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)
|
|
79
71
|
|
|
80
72
|
**Note:** Version bump only for package @next-core/next-docs
|
|
81
73
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
74
|
## [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)
|
|
87
75
|
|
|
88
76
|
**Note:** Version bump only for package @next-core/next-docs
|
|
89
77
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
78
|
## [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)
|
|
95
79
|
|
|
96
80
|
**Note:** Version bump only for package @next-core/next-docs
|
|
97
81
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
82
|
## [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)
|
|
103
83
|
|
|
104
84
|
**Note:** Version bump only for package @next-core/next-docs
|
|
105
85
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
86
|
## [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)
|
|
111
87
|
|
|
112
88
|
**Note:** Version bump only for package @next-core/next-docs
|
|
113
89
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
90
|
## [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)
|
|
119
91
|
|
|
120
92
|
**Note:** Version bump only for package @next-core/next-docs
|
|
121
93
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
94
|
## [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)
|
|
127
95
|
|
|
128
96
|
**Note:** Version bump only for package @next-core/next-docs
|
|
129
97
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
98
|
## [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)
|
|
135
99
|
|
|
136
100
|
**Note:** Version bump only for package @next-core/next-docs
|
|
137
101
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
102
|
## [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)
|
|
143
103
|
|
|
144
104
|
**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) > [@next-core/brick-kit](./brick-kit.md) > [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
|
|
package/dist/brick-types.md
CHANGED
|
@@ -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) > [@next-core/brick-types](./brick-types.md) > [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) > [@next-core/brick-types](./brick-types.md) > [MockRule](./brick-types.mockrule.md) > [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) > [@next-core/brick-types](./brick-types.md) > [MockRule](./brick-types.mockrule.md) > [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) > [@next-core/brick-types](./brick-types.md) > [StoryboardMeta](./brick-types.storyboardmeta.md) > [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.
|
|
3
|
+
"version": "1.2.177",
|
|
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.
|
|
25
|
-
"@next-core/brick-types": "^2.
|
|
24
|
+
"@next-core/brick-kit": "^2.94.0",
|
|
25
|
+
"@next-core/brick-types": "^2.52.0",
|
|
26
26
|
"fs-extra": "^10.0.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "91e19869a3d2b534b4f1b8e56a51159a4df184ce"
|
|
29
29
|
}
|