Skip to main content
Version: Next

VisitsApiQueryParams

Home > @backstage/plugin-home > VisitsApiQueryParams

This data structure represents the parameters associated with search queries for visits.

Signature:

export type VisitsApiQueryParams = {
limit?: number;
orderBy?: Array<{
field: keyof Visit;
direction: 'asc' | 'desc';
}>;
filterBy?: Array<{
field: keyof Visit;
operator: Operators;
value: string | number;
}>;
};

References: Visit, Operators