import { getLowcodeConfig } from '../../hooks/index.js';
import { getCubePlatformMeta } from './open-platform/get-cube-platform-meta';
export function isCubeDirect(tableId, bizRequestConfig) {
    if (!tableId)
        return false;
    if (getLowcodeConfig()._nodeId)
        return false;
    return !!getCubePlatformMeta(tableId, bizRequestConfig);
}
