@00f100/pbie-node
Version:
NodeJS library written in typescript and designed for using PowerBI embedded reports.
26 lines • 954 B
JavaScript
;
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const dotenv = __importStar(require("dotenv"));
dotenv.config();
const config = {
authorityUrl: 'https://login.microsoftonline.com/common/',
resourceUrl: 'https://analysis.windows.net/powerbi/api',
apiUrl: 'https://api.powerbi.com/',
appId: process.env.PBIE_APP_ID,
workspaceId: process.env.PBIE_WORKSPACE_ID,
reportId: process.env.PBIE_REPORT_ID,
username: process.env.PBIE_USERNAME,
password: process.env.PBIE_PASSWORD,
appSecret: '',
roles: [],
signature: {},
};
exports.default = config;
//# sourceMappingURL=config.js.map