Skip to content

Commit cd90dda

Browse files
committed
feat: add timestamp to commit definition
Release-As: 0.1.6
1 parent fec99f5 commit cd90dda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Transactor.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export interface Commit<Change> {
1515
redo: Change[];
1616
/** An optional human-readable description of the committed changes */
1717
title?: string;
18+
/** Time of creation (milliseconds from epoch) */
19+
time: number;
1820
}
1921
export type TransactedCallback<Change> = (txRecord: Commit<Change>) => void;
2022
/**

0 commit comments

Comments
 (0)