n8n-nodes-powerbi
Version:
n8n nodes for integration with Power BI APIs
78 lines • 2.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.groupFields = exports.groupOperations = void 0;
exports.groupOperations = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
'group',
],
},
},
options: [
{
name: 'Get',
value: 'get',
description: 'Get a specific group',
action: 'Get a group',
},
{
name: 'Get Dashboards',
value: 'getDashboards',
description: 'Get dashboards from a group',
action: 'Get dashboards from a group',
},
{
name: 'Get Datasets',
value: 'getDatasets',
description: 'Get datasets from a group',
action: 'Get datasets from a group',
},
{
name: 'Get Reports',
value: 'getReports',
description: 'Get reports from a group',
action: 'Get reports from a group',
},
{
name: 'List',
value: 'list',
description: 'List all groups (workspaces)',
action: 'List a group',
},
],
default: 'list',
},
];
exports.groupFields = [
{
displayName: 'Group Name or ID',
name: 'groupId',
type: 'options',
required: true,
typeOptions: {
loadOptionsMethod: 'getGroups',
},
displayOptions: {
show: {
resource: [
'group',
],
operation: [
'get',
'getReports',
'getDashboards',
'getDatasets',
],
},
},
default: '',
description: 'Power BI group (workspace). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
},
];
//# sourceMappingURL=GroupDescription.js.map