feat: spec to platform
This commit is contained in:
7
platform/models/value-objects/avatar.ts
Normal file
7
platform/models/value-objects/avatar.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import z from "zod";
|
||||
|
||||
export const AvatarSchema = z.object({
|
||||
url: z.string().describe("A valid URL pointing to the user's avatar image."),
|
||||
});
|
||||
|
||||
export type Avatar = z.infer<typeof AvatarSchema>;
|
||||
Reference in New Issue
Block a user