Variable DEFAULT_INSPECTION_REGISTRYConst

DEFAULT_INSPECTION_REGISTRY: inspect.dataModel.InspectionRegistry = ...

Default InspectionRegistry consulted by inspectDataModel when no registry is supplied. Pre-populated with the built-ins from dataModelInspector/inspections.

Plug-ins extend the singleton on import:

import {DEFAULT_INSPECTION_REGISTRY} from "@xeokit/sdk/inspect/dataModel";

DEFAULT_INSPECTION_REGISTRY.register({
codes: ["MyApp/CHECK_NAMING"],
description: "Enforce DataObject-naming convention",
run(dataModel) { ... },
});