@next-core/next-docs 1.2.324 → 1.2.325
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,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.325](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.324...@next-core/next-docs@1.2.325) (2022-09-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @next-core/next-docs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.2.324](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.323...@next-core/next-docs@1.2.324) (2022-09-06)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @next-core/next-docs
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.customtemplate.contracts
|
|
3
|
+
title: CustomTemplate.contracts
|
|
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) > [CustomTemplate](./brick-types.customtemplate.md) > [contracts](./brick-types.customtemplate.contracts.md)
|
|
11
|
+
|
|
12
|
+
## CustomTemplate.contracts property
|
|
13
|
+
|
|
14
|
+
契约的定义,只有 widget 才有该字段
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
contracts?: Contract[];
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**Reference:** [Contract](./brick-types.contract.md)
|
|
23
|
+
|
|
@@ -24,6 +24,7 @@ export interface CustomTemplate
|
|
|
24
24
|
| Property | Type | Description |
|
|
25
25
|
| --- | --- | --- |
|
|
26
26
|
| [bricks](./brick-types.customtemplate.bricks.md) | [BrickConfInTemplate](./brick-types.brickconfintemplate.md)<!-- -->\[\] | 自定义模板渲染的构件配置列表。 |
|
|
27
|
+
| [contracts](./brick-types.customtemplate.contracts.md) | [Contract](./brick-types.contract.md)<!-- -->\[\] | 契约的定义,只有 widget 才有该字段 |
|
|
27
28
|
| [name](./brick-types.customtemplate.name.md) | string | 自定义模板的名称。 |
|
|
28
29
|
| [proxy](./brick-types.customtemplate.proxy.md) | [CustomTemplateProxy](./brick-types.customtemplateproxy.md) | 自定义模板的代理配置。 |
|
|
29
30
|
| [state](./brick-types.customtemplate.state.md) | [CustomTemplateState](./brick-types.customtemplatestate.md)<!-- -->\[\] | 状态数据配置列表。 |
|
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.325",
|
|
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.137.0",
|
|
25
|
+
"@next-core/brick-types": "^2.74.0",
|
|
26
26
|
"fs-extra": "^10.1.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "290ad67518280f6eec544d6fe3a7d8476189793a"
|
|
29
29
|
}
|