Skip to content

Commit

Permalink
Remove now invalid keys from uploads schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mybearworld committed Nov 7, 2024
1 parent 7613d32 commit 94e101b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/lib/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,8 @@ export const uploadFile = async (
};

const IMAGE_SCHEMA = z.object({
bucket: z.string(),
claimed: z.boolean(),
filename: z.string(),
hash: z.string(),
id: z.string(),
uploaded_at: z.number(),
uploaded_by: z.string(),
});

export type UploadedFile = z.infer<typeof IMAGE_SCHEMA>;

0 comments on commit 94e101b

Please sign in to comment.