Files
orbits/internal/shared/utility/define.go
T
2026-04-23 16:57:58 +02:00

20 lines
425 B
Go

package utility
type MediaType string
// 0: unspecified
// 1: video
// 2: presentation
// 3: internet URL
const (
Video MediaType = "video"
Presentation MediaType = "presentation"
Internet MediaType = "internet"
Unspecified MediaType = "unspecified"
)
var (
videoFormats = []string{".mp4", ".mov", ".avi", ".mkv", ".webm", ".m4a"}
presentationFormats = []string{".pptx", ".ppt", ".key", ".odp"}
)