success pt. 6 runed

This commit is contained in:
2026-02-05 04:00:11 -08:00
parent e69f228172
commit 3786873f62
4 changed files with 65 additions and 27 deletions

View File

@@ -0,0 +1,17 @@
import { z } from "zod";
/**
* URL search params for the AMQ browse page.
*
* Intended usage:
* - Client: `useSearchParams(AmqBrowseSearchSchema, ...)`
* - Server (optional): `validateSearchParams(url, AmqBrowseSearchSchema, ...)`
*/
export const AmqBrowseSearchSchema = z.object({
/**
* Free-text query for anime name search.
*/
q: z.string().default(""),
});
export type AmqBrowseSearch = z.infer<typeof AmqBrowseSearchSchema>;