Skip to content

Commit

Permalink
fix: run deno fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fbritoferreira committed Mar 18, 2024
1 parent 1d131b9 commit 3f0f7eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 0 additions & 3 deletions src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
PlaylistItemValidator,
} from "./types.ts";


/**
* M3U8Parser
* @class
Expand Down Expand Up @@ -334,7 +333,6 @@ export class M3U8Parser {
return Array.from(this.groups);
}


/**
* write
* @description returns stringified playlist
Expand Down Expand Up @@ -383,7 +381,6 @@ export class M3U8Parser {
this.items = items;
}


/**
* fetchPlaylist
* @description Fetches m3u8 playlist from url
Expand Down
6 changes: 2 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type PlaylistItemTvg = {
url: string;
logo: string;
rec: string;
}
};

export const PlaylistItemTvgValidator: z.Schema<PlaylistItemTvg> = z.object({
id: z.string(),
Expand Down Expand Up @@ -44,8 +44,7 @@ export type PlaylistItem = {
source: string;
days: string;
};

}
};

export const PlaylistItemValidator: z.Schema<PlaylistItem> = z.object({
name: z.string(),
Expand All @@ -68,7 +67,6 @@ export const PlaylistItemValidator: z.Schema<PlaylistItem> = z.object({
}),
});


export interface Playlist {
header: PlaylistHeader;
items: PlaylistItem[];
Expand Down

0 comments on commit 3f0f7eb

Please sign in to comment.