Chocobozzz/PeerTube

View on GitHub
packages/models/src/videos/video-include.enum.ts

Summary

Maintainability
A
0 mins
Test Coverage
export const VideoInclude = {
  NONE: 0,
  NOT_PUBLISHED_STATE: 1 << 0,
  BLACKLISTED: 1 << 1,
  BLOCKED_OWNER: 1 << 2,
  FILES: 1 << 3,
  CAPTIONS: 1 << 4,
  SOURCE: 1 << 5,
  AUTOMATIC_TAGS: 1 << 6,
  TAGS: 1 << 7
} as const

export type VideoIncludeType = typeof VideoInclude[keyof typeof VideoInclude]