@next-core/next-docs 1.2.344 → 1.2.345
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 +8 -0
- package/dist/brick-types.md +1 -0
- package/dist/brick-types.usebackendconf.args.md +19 -0
- package/dist/brick-types.usebackendconf.md +29 -0
- package/dist/brick-types.usebackendconf.provider.md +19 -0
- package/dist/brick-types.usebackendconf.transform.md +19 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.345](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.344...@next-core/next-docs@1.2.345) (2022-10-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @next-core/next-docs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.2.344](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.343...@next-core/next-docs@1.2.344) (2022-10-08)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @next-core/next-docs
|
package/dist/brick-types.md
CHANGED
|
@@ -141,6 +141,7 @@ The core types of Brick Next.
|
|
|
141
141
|
| [UpdateAnchorFunction](./brick-types.updateanchorfunction.md) | 设置指定的 anchor (URL hash)地址,此方法默认不会触发页面重新渲染。 往浏览器会话历史栈中推入一条新记录。 |
|
|
142
142
|
| [UpdateQueryFunction](./brick-types.updatequeryfunction.md) | 更新指定的 query 参数。 |
|
|
143
143
|
| [UpdateQueryOptions](./brick-types.updatequeryoptions.md) | 更新 query 参数时的选项 |
|
|
144
|
+
| [UseBackendConf](./brick-types.usebackendconf.md) | 在 <code>useBackend</code> 中使用provider的配置 \* |
|
|
144
145
|
| [UseBrickConf](./brick-types.usebrickconf.md) | 使用 <code>useBrick</code> 自行渲染子构件的配置。 |
|
|
145
146
|
| [UseBrickSlotConf](./brick-types.usebrickslotconf.md) | 在 <code>useBrick</code> 中使用的插槽配置。 |
|
|
146
147
|
| [UseBrickSlotsConf](./brick-types.usebrickslotsconf.md) | 在 <code>useBrick</code> 中使用的插槽配置表。 |
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.usebackendconf.args
|
|
3
|
+
title: UseBackendConf.args
|
|
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) > [UseBackendConf](./brick-types.usebackendconf.md) > [args](./brick-types.usebackendconf.args.md)
|
|
11
|
+
|
|
12
|
+
## UseBackendConf.args property
|
|
13
|
+
|
|
14
|
+
**Signature:**
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
args: any[] | ((...args: any[]) => any[]);
|
|
18
|
+
```
|
|
19
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.usebackendconf
|
|
3
|
+
title: UseBackendConf
|
|
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) > [UseBackendConf](./brick-types.usebackendconf.md)
|
|
11
|
+
|
|
12
|
+
## UseBackendConf interface
|
|
13
|
+
|
|
14
|
+
在 `useBackend` 中使用provider的配置 \*
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
export interface UseBackendConf
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Properties
|
|
23
|
+
|
|
24
|
+
| Property | Type | Description |
|
|
25
|
+
| --- | --- | --- |
|
|
26
|
+
| [args](./brick-types.usebackendconf.args.md) | any\[\] \| ((...args: any\[\]) => any\[\]) | |
|
|
27
|
+
| [provider](./brick-types.usebackendconf.provider.md) | string | |
|
|
28
|
+
| [transform](./brick-types.usebackendconf.transform.md) | (data: any) => void | |
|
|
29
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.usebackendconf.provider
|
|
3
|
+
title: UseBackendConf.provider
|
|
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) > [UseBackendConf](./brick-types.usebackendconf.md) > [provider](./brick-types.usebackendconf.provider.md)
|
|
11
|
+
|
|
12
|
+
## UseBackendConf.provider property
|
|
13
|
+
|
|
14
|
+
**Signature:**
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
provider: string;
|
|
18
|
+
```
|
|
19
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.usebackendconf.transform
|
|
3
|
+
title: UseBackendConf.transform
|
|
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) > [UseBackendConf](./brick-types.usebackendconf.md) > [transform](./brick-types.usebackendconf.transform.md)
|
|
11
|
+
|
|
12
|
+
## UseBackendConf.transform property
|
|
13
|
+
|
|
14
|
+
**Signature:**
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
transform?: (data: any) => void;
|
|
18
|
+
```
|
|
19
|
+
|
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.345",
|
|
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.17",
|
|
24
|
-
"@next-core/brick-kit": "^2.147.
|
|
25
|
-
"@next-core/brick-types": "^2.
|
|
24
|
+
"@next-core/brick-kit": "^2.147.1",
|
|
25
|
+
"@next-core/brick-types": "^2.78.0",
|
|
26
26
|
"fs-extra": "^10.1.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "eb7a04d4e728fd4aa255218683b93cdc999f2239"
|
|
29
29
|
}
|