nukeop/nuclear

View on GitHub
packages/core/src/rest/SponsorBlock.types.ts

Summary

Maintainability
A
0 mins
Test Coverage
export type VideoID = string;
export type Category = 'sponsor' | 'intro' | 'outro' | 'interaction' | 'selfpromo' | 'music_offtopic';
export type Segment = {
  startTime: number;
  endTime: number;
  category: Category;
};

export type OriginalSegment = {
  segment: [number, number];
  category: Category;
  UUID: string;
}