start
This commit is contained in:
24
src/types/sync-json.ts
Normal file
24
src/types/sync-json.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
export type SyncData = {
|
||||
version: string
|
||||
lastSyncedAt: string
|
||||
feeds: {
|
||||
id: string
|
||||
title: string
|
||||
url: string
|
||||
isPrivate: boolean
|
||||
}[]
|
||||
sources: {
|
||||
id: string
|
||||
name: string
|
||||
url: string
|
||||
}[]
|
||||
settings: {
|
||||
theme: string
|
||||
playbackSpeed: number
|
||||
downloadPath: string
|
||||
}
|
||||
preferences: {
|
||||
showExplicit: boolean
|
||||
autoDownload: boolean
|
||||
}
|
||||
}
|
||||
28
src/types/sync-xml.ts
Normal file
28
src/types/sync-xml.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
export type SyncDataXML = {
|
||||
version: string
|
||||
lastSyncedAt: string
|
||||
feeds: {
|
||||
feed: {
|
||||
id: string
|
||||
title: string
|
||||
url: string
|
||||
isPrivate: boolean
|
||||
}[]
|
||||
}
|
||||
sources: {
|
||||
source: {
|
||||
id: string
|
||||
name: string
|
||||
url: string
|
||||
}[]
|
||||
}
|
||||
settings: {
|
||||
theme: string
|
||||
playbackSpeed: number
|
||||
downloadPath: string
|
||||
}
|
||||
preferences: {
|
||||
showExplicit: boolean
|
||||
autoDownload: boolean
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user