chore: change api report to make it more narrow
Signed-off-by: blam <ben@blam.sh> Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -395,7 +395,7 @@ export class DatabaseTaskStore implements TaskStore {
|
||||
// (undocumented)
|
||||
heartbeatTask(taskId: string): Promise<void>;
|
||||
// (undocumented)
|
||||
list(options: Partial<SerializedTask>): Promise<SerializedTask[]>;
|
||||
list(options: { createdBy?: string }): Promise<SerializedTask[]>;
|
||||
// (undocumented)
|
||||
listEvents({ taskId, after }: TaskStoreListEventsOptions): Promise<{
|
||||
events: SerializedTaskEvent[];
|
||||
@@ -521,7 +521,7 @@ export interface TaskBroker {
|
||||
// (undocumented)
|
||||
get(taskId: string): Promise<SerializedTask>;
|
||||
// (undocumented)
|
||||
list(options?: Partial<SerializedTask>): Promise<SerializedTask[]>;
|
||||
list(options?: { createdBy?: string }): Promise<SerializedTask[]>;
|
||||
// (undocumented)
|
||||
vacuumTasks(options: { timeoutS: number }): Promise<void>;
|
||||
}
|
||||
@@ -620,7 +620,7 @@ export interface TaskStore {
|
||||
// (undocumented)
|
||||
heartbeatTask(taskId: string): Promise<void>;
|
||||
// (undocumented)
|
||||
list(options: Partial<SerializedTask>): Promise<SerializedTask[]>;
|
||||
list(options: { createdBy?: string }): Promise<SerializedTask[]>;
|
||||
// (undocumented)
|
||||
listEvents({ taskId, after }: TaskStoreListEventsOptions): Promise<{
|
||||
events: SerializedTaskEvent[];
|
||||
|
||||
Reference in New Issue
Block a user