// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Media } from "./Media"; /** * A candidate pushed to `POST /v1/ingest/candidates` by an agentic or algorithmic * source. The authenticated API token determines the owning user; `source` names the * producer for attribution and per-source weighting. Derives `Serialize` too so * in-workspace producers (e.g. `newsfeed-modelwatch`) can build and post one. */ export type CandidateSubmission = { /** * Stable de-dup key from the producer. Re-submitting the same key is a no-op. */ external_id: string, url: string | null, title: string, summary: string | null, author: string | null, tags: Array, media: Array, published_at: string | null, /** * Optional name of the source that produced this candidate. If it matches an * existing agentic source for the user it is linked; otherwise ingested unlinked. */ source: string | null, };