Skip to content

Commit

Permalink
feat: add command type
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlauer-Hax committed Oct 21, 2023
1 parent f42d1a9 commit 22886c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/music.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@ export const sidecarRequest = zod.discriminatedUnion("type", [
path: zod.string(),
chunk: zod.string().optional(),
finish: zod.boolean()
}),
zod.object({
type: zod.literal("command"),
command: zod.string()
})
]);

Expand Down

0 comments on commit 22886c4

Please sign in to comment.