@next-core/next-docs 1.2.460 → 1.2.461
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.
|
@@ -18,8 +18,9 @@ custom_edit_url: null
|
|
|
18
18
|
```typescript
|
|
19
19
|
export declare type ContextResolveConf = ResolveConf & {
|
|
20
20
|
lazy?: boolean;
|
|
21
|
+
trigger?: ContextResolveTriggerBrickLifeCycle;
|
|
21
22
|
};
|
|
22
23
|
```
|
|
23
24
|
|
|
24
|
-
**Reference:** [ResolveConf](./brick-types.resolveconf.md)
|
|
25
|
+
**Reference:** [ResolveConf](./brick-types.resolveconf.md)<!-- -->, [ContextResolveTriggerBrickLifeCycle](./brick-types.contextresolvetriggerbricklifecycle.md)
|
|
25
26
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.contextresolvetriggerbricklifecycle
|
|
3
|
+
title: ContextResolveTriggerBrickLifeCycle
|
|
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) > [ContextResolveTriggerBrickLifeCycle](./brick-types.contextresolvetriggerbricklifecycle.md)
|
|
11
|
+
|
|
12
|
+
## ContextResolveTriggerBrickLifeCycle interface
|
|
13
|
+
|
|
14
|
+
Context 的异步数据处理配置为 `trigger` 时支持的生命周期
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
export declare type ContextResolveTriggerBrickLifeCycle = "onBeforePageLoad" | "onPageLoad" | "onBeforePageLeave" | "onPageLeave" | "onAnchorLoad" | "onAnchorUnload";
|
|
20
|
+
```
|
|
21
|
+
|
package/dist/brick-types.md
CHANGED
|
@@ -44,6 +44,7 @@ The core types of Brick Next.
|
|
|
44
44
|
| [ConditionalEventHandler](./brick-types.conditionaleventhandler.md) | |
|
|
45
45
|
| [ContextConf](./brick-types.contextconf.md) | 上下文(数据)配置 |
|
|
46
46
|
| [ContextResolveConf](./brick-types.contextresolveconf.md) | 用于 Context 的异步数据处理配置。 |
|
|
47
|
+
| [ContextResolveTriggerBrickLifeCycle](./brick-types.contextresolvetriggerbricklifecycle.md) | Context 的异步数据处理配置为 <code>trigger</code> 时支持的生命周期 |
|
|
47
48
|
| [Contract](./brick-types.contract.md) | |
|
|
48
49
|
| [ContractField](./brick-types.contractfield.md) | |
|
|
49
50
|
| [ContractFieldItem](./brick-types.contractfielditem.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.461",
|
|
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",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@easyops-cn/brick-next-pipes": "^0.4.0",
|
|
35
|
-
"@next-core/brick-kit": "^2.
|
|
36
|
-
"@next-core/brick-types": "^2.
|
|
35
|
+
"@next-core/brick-kit": "^2.175.0",
|
|
36
|
+
"@next-core/brick-types": "^2.88.0",
|
|
37
37
|
"fs-extra": "^10.1.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "d189af77b3fdc6a80b80eae736509b60e0302596"
|
|
40
40
|
}
|