address review comments
Signed-off-by: Kashish Mittal <kmittal@redhat.com>
This commit is contained in:
@@ -361,8 +361,6 @@ export interface TaskBroker {
|
||||
// (undocumented)
|
||||
get(taskId: string): Promise<SerializedTask>;
|
||||
// (undocumented)
|
||||
getTasks(taskIds: string[]): Promise<SerializedTask[]>;
|
||||
// (undocumented)
|
||||
list?(options?: {
|
||||
filters?: {
|
||||
createdBy?: string | string[];
|
||||
@@ -470,8 +468,8 @@ export type TaskEventType = 'completion' | 'log' | 'cancelled' | 'recovered';
|
||||
|
||||
// @public
|
||||
export type TaskFilter = {
|
||||
property: 'createdBy';
|
||||
values: Array<string> | undefined;
|
||||
key: string;
|
||||
values?: Array<string> | undefined;
|
||||
};
|
||||
|
||||
// @public
|
||||
|
||||
@@ -110,8 +110,8 @@ export type TaskBrokerDispatchOptions = {
|
||||
* @public
|
||||
*/
|
||||
export type TaskFilter = {
|
||||
property: 'createdBy';
|
||||
values: Array<string> | undefined;
|
||||
key: string;
|
||||
values?: Array<string> | undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -204,8 +204,6 @@ export interface TaskBroker {
|
||||
|
||||
get(taskId: string): Promise<SerializedTask>;
|
||||
|
||||
getTasks(taskIds: string[]): Promise<SerializedTask[]>;
|
||||
|
||||
list?(options?: {
|
||||
filters?: {
|
||||
createdBy?: string | string[];
|
||||
|
||||
Reference in New Issue
Block a user