UNPKG

428 BTypeScriptView Raw
1export interface ObjectDefinitionInspector {
2 /**
3 * Called for every object definition to be inspected.
4 * It can modify the ObjectDefinition
5 * @param objectDefinition ObjectDefinition The object definition to possibly modify
6 * @return null or undefined if there's not change to be maded to the ObjectDefinition
7 * or the new ObjectDefinition to use.
8 */
9 inspect(objectDefinition: any): any;
10}