- Added `useOfflineLibrarySync` hook for managing offline library sync operations. - Created `OfflineLibrarySync` component for UI integration. - Developed `offlineLibraryDB` for IndexedDB interactions, including storing and retrieving albums, artists, songs, and playlists. - Implemented sync operations for starred items, playlists, and scrobbling. - Added auto-sync functionality when coming back online. - Included metadata management for sync settings and statistics. - Enhanced error handling and user feedback through toasts.
70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug: Next.js Development",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/node_modules/.bin/next",
|
|
"args": ["dev"],
|
|
"console": "integratedTerminal",
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["run", "dev"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"resolveSourceMapLocations": [
|
|
"${workspaceFolder}/**",
|
|
"!**/node_modules/**"
|
|
],
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "http://localhost:40625"
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug: Development (Verbose)",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["run", "dev"],
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"NODE_ENV": "development",
|
|
"DEBUG": "*",
|
|
"NEXT_TELEMETRY_DISABLED": "1"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"resolveSourceMapLocations": [
|
|
"${workspaceFolder}/**",
|
|
"!**/node_modules/**"
|
|
],
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "http://localhost:40625"
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug: Next.js Production",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/node_modules/.bin/next",
|
|
"args": ["start"],
|
|
"console": "integratedTerminal",
|
|
"env": {
|
|
"NODE_ENV": "production"
|
|
},
|
|
"preLaunchTask": "Build: Production Build Only",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["run", "start"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "http://localhost:40625"
|
|
}
|
|
}
|
|
]
|
|
}
|