n8n-nodes-base
Version:
Base nodes of n8n
42 lines (38 loc) • 883 B
text/typescript
/**
* Grafana Node - Version 1
* Discriminator: resource=dashboard, operation=getAll
*/
interface Credentials {
grafanaApi: CredentialReference;
}
/** Get many dashboards */
export type GrafanaV1DashboardGetAllParams = {
resource: 'dashboard';
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?: {
/** Search Query
*/
query?: string | Expression<string> | PlaceholderValue;
};
};
export type GrafanaV1DashboardGetAllNode = {
type: 'n8n-nodes-base.grafana';
version: 1;
credentials?: Credentials;
config: NodeConfig<GrafanaV1DashboardGetAllParams>;
};