/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface UserApiManifestV1 { /** * JSON Schema reference for IDE support. */ $schema: string; /** * Slug for this deployment. Lowercase letters, digits, hyphens, or underscores only; must start with a letter, end with a letter or digit, and cannot contain consecutive underscores. */ name: string; displayName: string; /** * Human-readable summary of what the API provides. */ description?: string; /** * Directory (relative to the manifest) containing sources. */ filesDir: string; /** * Entry module path under filesDir (e.g. index.ts). */ entry: string; manifest: ResolvedApiManifest; } export interface ResolvedApiManifest { /** * @minItems 1 */ endpoints: { /** * URL path routed to this endpoint; must start with /. May include `*` wildcards or `:param` segments (api-builder style). */ path: string; /** * HTTP method for this route. */ method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD'; /** * Exported handler reference (module.export form). */ handler: string; /** * Description of the endpoint. */ description?: string; }[]; }