run402-mcp
Version:
MCP server for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.
31 lines • 1.12 kB
JavaScript
/**
* Request and response types for the `blobs` namespace.
*
* Covers the direct-to-S3 blob storage API: `PUT /storage/v1/uploads` +
* multipart S3 uploads, `GET /storage/v1/blob/:key`, `GET /storage/v1/blobs`,
* `DELETE /storage/v1/blob/:key`, `POST /storage/v1/blob/:key/sign`.
*/
/** v1.50: documented filter keys. Used by the client-side validator to
* reject unknown keys before any HTTP call. */
export const ASSET_FILTER_KEYS = new Set([
"uploaded_by",
"tag",
"format",
"is_image",
"min_width",
"max_width",
"min_height",
"max_height",
]);
/** v1.50: documented sort keys. */
export const ASSET_SORT_KEYS = [
"key:asc",
"createdAt:asc",
"createdAt:desc",
];
/** What `assets.sign` can sign instead of the original: an encoded image
* variant, or one of a prepared video's outputs. */
export const BLOB_SIGN_VARIANTS = ["thumb", "medium", "large", "display_jpeg", "video_web", "video_poster", "video_transcript"];
/** Most items one `assets.signMany` call may carry. */
export const BLOB_SIGN_MANY_MAX_ITEMS = 1000;
//# sourceMappingURL=assets.types.js.map