workbench-history-action
Insider
<visual-builder.workbench-history-action>
项目变更历史
Examples
Basic
Properties
Name | Description | Type | Default | Required |
---|---|---|---|---|
appId | string | |||
projectId | string |
Events
Name | Description | Event Detail |
---|---|---|
history.item.click | 点击历史项标题触发 | HistoryData & { enableRollback: boolean } |
rollback | 点击回滚触发 | HistoryData |
rollback.all | 回滚全部 | void |
Type references
HistoryData
extends Partial<NextBuilderModels.ModelWorkspaceChangeHistory>
Name | Type | Required | Description |
---|---|---|---|
translation | Record<string, string> | ✅ |