|
|
@@ -407,15 +407,15 @@ export const HistoryList = () => {
|
|
|
```
|
|
|
|
|
|
## 3. API List
|
|
|
-### 3.1. [OperationMeta](https://flowgram.aiauto-docs/fixed-history-plugin/interfaces/OperationMeta.html)
|
|
|
+### 3.1. [OperationMeta](https://flowgram.ai/auto-docs/fixed-history-plugin/interfaces/OperationMeta.html)
|
|
|
OperationMeta, used to define an operation
|
|
|
|
|
|
-### 3.2. [Operation](https://flowgram.aiauto-docs/fixed-history-plugin/interfaces/Operation.html)
|
|
|
+### 3.2. [Operation](https://flowgram.ai/auto-docs/fixed-history-plugin/interfaces/Operation.html)
|
|
|
Operation data, associated with OperationMeta through type
|
|
|
|
|
|
-### 3.3. [OperationService](https://flowgram.aiauto-docs/fixed-history-plugin/classes/OperationService.html)
|
|
|
+### 3.3. [OperationService](https://flowgram.ai/auto-docs/fixed-history-plugin/classes/OperationService.html)
|
|
|
|
|
|
-[onApply](https://flowgram.aiauto-docs/fixed-history-plugin/classes/OperationService.html#onapply)
|
|
|
+[onApply](https://flowgram.ai/auto-docs/fixed-history-plugin/classes/OperationService.html#onapply)
|
|
|
Use onApply to listen to a triggered operation
|
|
|
|
|
|
```tsx pure
|
|
|
@@ -425,14 +425,14 @@ useService(OperationService).onApply((op: Operation) => {
|
|
|
})
|
|
|
```
|
|
|
|
|
|
-### 3.4. [HistoryService](https://flowgram.aiauto-docs/fixed-history-plugin/classes/HistoryService.html)
|
|
|
+### 3.4. [HistoryService](https://flowgram.ai/auto-docs/fixed-history-plugin/classes/HistoryService.html)
|
|
|
The core API of the History module exposed Service
|
|
|
|
|
|
-### 3.5. [UndoRedoService](https://flowgram.aiauto-docs/fixed-history-plugin/classes/UndoRedoService.html)
|
|
|
+### 3.5. [UndoRedoService](https://flowgram.ai/auto-docs/fixed-history-plugin/classes/UndoRedoService.html)
|
|
|
The service that manages the UndoRedo stack
|
|
|
|
|
|
-### 3.6. [HistoryStack](https://flowgram.aiauto-docs/fixed-history-plugin/classes/HistoryStack.html)
|
|
|
+### 3.6. [HistoryStack](https://flowgram.ai/auto-docs/fixed-history-plugin/classes/HistoryStack.html)
|
|
|
History stack, listen to all push undo redo operations, and record them in the stack
|
|
|
|
|
|
-### 3.7. [HistoryDatabase](https://flowgram.aiauto-docs/history-storage/classes/HistoryDatabase.html)
|
|
|
+### 3.7. [HistoryDatabase](https://flowgram.ai/auto-docs/history-storage/classes/HistoryDatabase.html)
|
|
|
Persistence database operations
|