Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(datasource/galaxy): use schema validation and migrate to new hos…
…tname (#25216)
- Loading branch information
Showing
5 changed files
with
30 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { z } from 'zod'; | ||
|
||
export type GalaxyV1 = z.infer<typeof GalaxyV1>; | ||
export const GalaxyV1 = z.object({ | ||
results: z.array( | ||
z.object({ | ||
summary_fields: z.object({ | ||
versions: z.array( | ||
z.object({ | ||
name: z.string(), | ||
release_date: z.string(), | ||
}) | ||
), | ||
}), | ||
github_user: z.string().optional(), | ||
github_repo: z.string().optional(), | ||
}) | ||
), | ||
}); |
This file was deleted.
Oops, something went wrong.