Skip to main content
Version: Next

TaskStore.list()

Home > @backstage/plugin-scaffolder-backend > TaskStore > list

Signature:

list?(options: {
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

{ filters?: { createdBy?: string | string[]; status?: TaskStatus | TaskStatus[]; }; pagination?: { limit?: number; offset?: number; }; order?: { order: 'asc' | 'desc'; field: string; }[]; }

**Returns:**

Promise<{ tasks: SerializedTask[]; totalTasks?: number; }>