mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-22 07:02:27 -04:00
Add video model
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { t } from "elysia";
|
||||
|
||||
export const Video = t.Object({
|
||||
id: t.String({ format: "uuid" }),
|
||||
path: t.String(),
|
||||
rendering: t.Number({ minimum: 0 }),
|
||||
part: t.Number({ minimum: 0 }),
|
||||
version: t.Number({ minimum: 0 }),
|
||||
|
||||
createdAt: t.String({ format: "date-time" }),
|
||||
});
|
||||
|
||||
export type Video = typeof Video.static;
|
||||
Reference in New Issue
Block a user