feat: remove ExcalidrawEmbeddableElement.validated flag (#7539)

This commit is contained in:
David Luzar 2024-01-11 17:42:51 +01:00 committed by GitHub
parent 86cfeb714c
commit 0c24a7042f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 94 additions and 39 deletions

View file

@ -19,6 +19,7 @@ import {
ExcalidrawMagicFrameElement,
ExcalidrawFrameLikeElement,
ExcalidrawElementType,
ExcalidrawIframeLikeElement,
} from "./element/types";
import { Action } from "./actions/types";
import { Point as RoughPoint } from "roughjs/bin/geometry";
@ -746,4 +747,9 @@ export type Primitive =
export type JSONValue = string | number | boolean | null | object;
export type EmbedsValidationStatus = Map<
ExcalidrawIframeLikeElement["id"],
boolean
>;
export type ElementsPendingErasure = Set<ExcalidrawElement["id"]>;