Skip to content

Commit

Permalink
addon type change
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlauer-Hax committed Nov 14, 2023
1 parent 40e6ef8 commit 49b6c39
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions spec/music.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,7 @@ export const sidecarRequest = zod.discriminatedUnion("type", [
}),
zod.object({
type: zod.literal("addons"),
search: zod.string().optional(),
sortBy: zod.enum([ "relevance", "downloads", "newest" ]).optional(),
offset: zod.number().optional(),
projectId: zod.string(),
}),
zod.object({
type: zod.literal("write"),
Expand Down Expand Up @@ -375,7 +373,7 @@ export const sidecarResponse = zod.discriminatedUnion("type", [
}),
zod.object({
type: zod.literal("addons"),
addons: addon.array()
success: zod.boolean(),
})
]);

Expand Down

0 comments on commit 49b6c39

Please sign in to comment.