Skip to content

Commit

Permalink
Merge pull request #63 from wendyho/staging
Browse files Browse the repository at this point in the history
changed schema for superres
  • Loading branch information
pcolmer authored May 15, 2024
2 parents cda9027 + 51442b3 commit 370db91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Projects/GameDetails.astro
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ const { Content } = await render();
<span>{auto_super_resolution.compatibility}</span>
</li>
<li>
<b>Enablement: </b>
<span>{auto_super_resolution.enablement}</span>
<b>Opt In Steps: </b>
<span>{auto_super_resolution.opt_in_steps}</span>
</li>
{auto_super_resolution.fps_boost && (
<li>
Expand Down
4 changes: 2 additions & 2 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ const games = defineCollection({
compatibility_details: z.string().optional(),
auto_super_resolution: z
.object({
compatibility: z.enum(["yes", "no", "N/A"]),
enablement: z.enum(["out of box", "opt-in", "N/A"]),
compatibility: z.enum(["yes, out-of-box", "yes, opt-in", "no", "unknown"]),
fps_boost: z.string().optional(),
opt_in_steps: z.string().optional(),
})
.optional(),
link: z.string().url().optional(),
Expand Down

0 comments on commit 370db91

Please sign in to comment.