@vielzeug/ledger 26.10.0 → 26.10.5
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/README.md +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,4 +39,4 @@ ledger.dispose();
|
|
|
39
39
|
|
|
40
40
|
## License
|
|
41
41
|
|
|
42
|
-
MIT © [Helmuth Saatkamp](https://github.com/helmuthdu)
|
|
42
|
+
MIT © [Helmuth Saatkamp](https://github.com/helmuthdu): part of the [Vielzeug](https://github.com/helmuthdu/vielzeug) monorepo.
|
package/dist/types.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export interface Ledger<TMeta = undefined> {
|
|
|
42
42
|
/**
|
|
43
43
|
* Appends an already-executed command to the history without running it through the queue.
|
|
44
44
|
* For stores that execute synchronously and own their writes: `undo()` calls the recorded
|
|
45
|
-
* `revert`, `redo()` calls the recorded `apply
|
|
45
|
+
* `revert`, `redo()` calls the recorded `apply`, so `apply` must be able to re-apply the
|
|
46
46
|
* effect. Synchronous by design: the work happened before `record`, there is nothing to run.
|
|
47
47
|
*/
|
|
48
48
|
record(command: ReversibleCommand<TMeta>): void;
|