@next-core/next-docs 1.2.175 → 1.2.179

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,6 +3,38 @@
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.179](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.178...@next-core/next-docs@1.2.179) (2021-12-28)
7
+
8
+ **Note:** Version bump only for package @next-core/next-docs
9
+
10
+
11
+
12
+
13
+
14
+ ## [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)
15
+
16
+ **Note:** Version bump only for package @next-core/next-docs
17
+
18
+
19
+
20
+
21
+
22
+ ## [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)
23
+
24
+ **Note:** Version bump only for package @next-core/next-docs
25
+
26
+
27
+
28
+
29
+
30
+ ## [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)
31
+
32
+ **Note:** Version bump only for package @next-core/next-docs
33
+
34
+
35
+
36
+
37
+
6
38
  ## [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)
7
39
 
8
40
  **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.175",
3
+ "version": "1.2.179",
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.93.0",
25
- "@next-core/brick-types": "^2.51.1",
24
+ "@next-core/brick-kit": "^2.95.1",
25
+ "@next-core/brick-types": "^2.52.0",
26
26
  "fs-extra": "^10.0.0"
27
27
  },
28
- "gitHead": "7cda848a0251c7b3aa54b37f73c9608454364fed"
28
+ "gitHead": "2fbc145285bf9c081fa7ef6d702ef22a6a17f2db"
29
29
  }