import { ObjectEditor } from "../../../../../editor/ecs/component/editors/primitive/ObjectEditor.js";
import List from "../../../../core/collection/list/List.js";
import { HighlightDefinition } from "./HighlightDefinition.js";

export class HighlightEditor extends ObjectEditor {
    get schema() {
        return {
            additionalProperties: false,
            properties: {
                elements: {
                    type: List,
                    type_parameters: [HighlightDefinition]
                }
            }
        };
    }
}
