Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Response Ops][Task Manager] Add bulk update function that directly updates using the esClient #191760

Merged
merged 9 commits into from
Sep 10, 2024
8 changes: 8 additions & 0 deletions x-pack/plugins/task_manager/server/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,10 @@ export interface ConcreteTaskInstance extends TaskInstance {
partition?: number;
}

export type PartialConcreteTaskInstance = Partial<ConcreteTaskInstance> & {
id: ConcreteTaskInstance['id'];
};

export interface ConcreteTaskInstanceVersion {
/** The _id of the the document (not the SO id) */
esId: string;
Expand Down Expand Up @@ -490,3 +494,7 @@ export type SerializedConcreteTaskInstance = Omit<
runAt: string;
partition?: number;
};

export type PartialSerializedConcreteTaskInstance = Partial<SerializedConcreteTaskInstance> & {
id: SerializedConcreteTaskInstance['id'];
};
Loading