mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 09:26:14 -08:00
Save and restore favorited and recently viewed Xtream items when deleting and re-importing playlist content. - Return favoritedXtreamIds and recentlyViewedXtreamIds from deleteXtreamPlaylistContent so callers can capture user data before . - Add restoreXtreamUserData to the database service to allow restoring favorites and recently viewed entries after a refresh. - Query and collect xtreamIds and timestamps for favorites and recently viewed items in the backend before deleting content. - Persist the captured user data to localStorage in the recent playlists component so it can be used to restore state after re-importing the playlist. - Keep existing playlist metadata update flow intact. This prevents loss of user-specific favorites and recent history when refreshing Xtream playlists.
19 lines
447 B
JSON
19 lines
447 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"outDir": "../../dist/out-tsc",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"inlineSources": true,
|
|
"types": []
|
|
},
|
|
"files": ["../../global.d.ts"],
|
|
"exclude": [
|
|
"src/**/*.spec.ts",
|
|
"src/test-setup.ts",
|
|
"jest.config.ts",
|
|
"src/**/*.test.ts"
|
|
],
|
|
"include": ["src/**/*.ts", "../../../global.d.ts"]
|
|
}
|