address review comments

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
This commit is contained in:
Kashish Mittal
2025-04-28 11:27:59 -04:00
parent 66f50e6a42
commit d2b8e6e461
14 changed files with 21 additions and 70 deletions
+2 -4
View File
@@ -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
+2 -4
View File
@@ -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[];