-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expanded import/export to cover playlists and deleted media
- Loading branch information
SimplyBoo6
committed
Jan 11, 2024
1 parent
0b5f5ba
commit 08e7155
Showing
7 changed files
with
73 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
import { BaseMedia, Configuration } from '@vimtur/common'; | ||
import { BaseMedia, Configuration, DeletedMedia, Playlist } from '@vimtur/common'; | ||
|
||
export interface DumpPlaylist extends Playlist { | ||
hashes: string[]; | ||
} | ||
|
||
export interface DumpFile { | ||
tags: string[]; | ||
actors: string[]; | ||
media: BaseMedia[]; | ||
config?: Configuration.Partial; | ||
deleted?: DeletedMedia[]; | ||
version?: number; | ||
playlists?: DumpPlaylist[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { Database } from './database'; | ||
export type { DumpFile } from './dump'; | ||
export type { DumpFile, DumpPlaylist } from './dump'; | ||
export type { TaskRunnerCallback, TaskRunner, Task, RouterTask } from './task'; | ||
export type { DownloaderCallback, DownloaderRunner, Downloader } from './downloader'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters