feat: add element.updated (#4070)

This commit is contained in:
David Luzar 2021-11-24 18:38:33 +01:00 committed by GitHub
parent dac970c640
commit f9d2d537a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 500 additions and 4 deletions

View file

@ -45,6 +45,8 @@ type _ExcalidrawElementBase = Readonly<{
groupIds: readonly GroupId[];
/** Ids of (linear) elements that are bound to this element. */
boundElementIds: readonly ExcalidrawLinearElement["id"][] | null;
/** epoch (ms) timestamp of last element update */
updated: number;
}>;
export type ExcalidrawSelectionElement = _ExcalidrawElementBase & {