feat: Implemented dolphin integration
This commit is contained in:
parent
edbc390d14
commit
a69147a4f7
24 changed files with 220 additions and 59 deletions
|
|
@ -108,12 +108,22 @@ export const EmulatorPackageSchema = z.object({
|
|||
z.object({
|
||||
type: z.literal('direct'),
|
||||
url: z.url(),
|
||||
}),
|
||||
z.object({
|
||||
type: z.literal('scoop'),
|
||||
url: z.url(),
|
||||
})
|
||||
]))).optional(),
|
||||
systems: z.array(z.string()),
|
||||
bios: z.literal(["required", "optional"]).optional()
|
||||
});
|
||||
|
||||
export const ScoopPackageSchema = z.object({
|
||||
version: z.string(),
|
||||
url: z.url().optional(),
|
||||
architecture: z.record(z.string(), z.object({ url: z.url(), hash: z.string().optional() })).optional()
|
||||
});
|
||||
|
||||
export const SystemInfoSchema = z.object({
|
||||
battery: z.object({
|
||||
percent: z.number(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue