n8n-nodes-base
Version:
Base nodes of n8n
42 lines (38 loc) • 874 B
text/typescript
/**
* Grafana Node - Version 1
* Discriminator: resource=team, operation=getAll
*/
interface Credentials {
grafanaApi: CredentialReference;
}
/** Get many dashboards */
export type GrafanaV1TeamGetAllParams = {
resource: 'team';
operation: 'getAll';
/**
* Whether to return all results or only up to a given limit
* @default false
*/
returnAll?: boolean | Expression<boolean>;
/**
* Max number of results to return
* @displayOptions.show { returnAll: [false] }
* @default 50
*/
limit?: number | Expression<number>;
/**
* Filters
* @default {}
*/
filters?: {
/** Name of the team to filter by
*/
name?: string | Expression<string> | PlaceholderValue;
};
};
export type GrafanaV1TeamGetAllNode = {
type: 'n8n-nodes-base.grafana';
version: 1;
credentials?: Credentials;
config: NodeConfig<GrafanaV1TeamGetAllParams>;
};