17 lines
685 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { StoredInputMessage } from "./StoredInputMessage";
import type { System } from "./System";
/**
* The input type that we directly store in ClickHouse.
* This is almost identical to `ResolvedInput`, but without `File` data.
* Only the object-storage path is actually stored in clickhouse
* (which can be used to re-fetch the file and produce a `ResolvedInput`).
*
* `StoredInputMessage` has a custom deserializer that addresses legacy data formats in the database.
*/
export type StoredInput = {
system?: System;
messages: Array<StoredInputMessage>;
};