deeke-script-app 1.8.5 → 1.8.6
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/deekeScript.schema.json +19 -0
- package/package.json +1 -1
package/deekeScript.schema.json
CHANGED
|
@@ -61,6 +61,25 @@
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
+
"hooks": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"description": "生命周期钩子函数配置",
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"properties": {
|
|
69
|
+
"app_start_before": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "应用启动前执行的钩子函数文件路径"
|
|
72
|
+
},
|
|
73
|
+
"app_start": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "应用启动时执行的钩子函数文件路径"
|
|
76
|
+
},
|
|
77
|
+
"app_active_after": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "应用激活后执行的钩子函数文件路径"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
64
83
|
"groups": {
|
|
65
84
|
"type": "array",
|
|
66
85
|
"description": "主界面的功能组,每组都会包含若干个功能",
|