15 lines
786 B
TypeScript
15 lines
786 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { UpsertEvaluationPayload } from "./UpsertEvaluationPayload";
|
|
import type { UpsertEvaluatorPayload } from "./UpsertEvaluatorPayload";
|
|
import type { UpsertExperimentationPayload } from "./UpsertExperimentationPayload";
|
|
import type { UpsertVariantPayload } from "./UpsertVariantPayload";
|
|
|
|
/**
|
|
* Represents a targeted edit operation to apply to a TensorZero config.
|
|
*/
|
|
export type EditPayload =
|
|
| ({ operation: "upsert_variant" } & UpsertVariantPayload)
|
|
| ({ operation: "upsert_experimentation" } & UpsertExperimentationPayload)
|
|
| ({ operation: "upsert_evaluation" } & UpsertEvaluationPayload)
|
|
| ({ operation: "upsert_evaluator" } & UpsertEvaluatorPayload);
|