/**
 * Debug data symbol
 */
const DEBUG_DATA_SYMBOL = Symbol('DebugData');
/**
 * Gets debug data if defined
 * @param obj - Object to be inspected
 */
export function getDebugData(obj) {
    return Reflect.get(obj, DEBUG_DATA_SYMBOL);
}
/**
 * Marks component as pure relations component, cant be used on component that is also layout component!
 */
export function DebugData(data) {
    if (ngRelationsDebugger) {
        return function (target) {
            Reflect.defineProperty(target, DEBUG_DATA_SYMBOL, {
                value: data,
            });
            return target;
        };
    }
    return function (target) {
        return target;
    };
}
//# sourceMappingURL=debugData.decorator.js.map