TaskStore.list()
Home > @backstage/plugin-scaffolder-backend
> TaskStore
> list
Warning: This API is now obsolete.
Make sure to pass
createdBy
andstatus
in thefilters
parameter instead
Signature:
list?(options: {
createdBy?: string;
status?: TaskStatus;
filters?: {
createdBy?: string | string[];
status?: TaskStatus | TaskStatus[];
};
pagination?: {
limit?: number;
offset?: number;
};
order?: {
order: 'asc' | 'desc';
field: string;
}[];
}): Promise<{
tasks: SerializedTask[];
totalTasks?: number;
}>;
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ createdBy?: string; status?: TaskStatus; filters?: { createdBy?: string | string[]; status?: TaskStatus | TaskStatus[]; }; pagination?: { limit?: number; offset?: number; }; order?: { order: 'asc' | 'desc'; field: string; }[]; } |
Promise<{ tasks: SerializedTask[]; totalTasks?: number; }>