TypeScript SDKTypeScript signatures
client.blobs
TypeScript client.blobs signature, generated from CerealClient.
This is the TypeScript interface. See client setup and behavior.
interface ClientSurface {
readonly blobs: {
upload(input: {
readonly sessionId: string;
readonly data: string;
readonly contentType: string;
readonly name?: string;
}): Promise<BlobRef>;
};
}For the wire contract, use HTTP reference. Composite helpers are explained in the API/SDK map.