From 08cc752932dfa91bcd805c1107fb19671e630548 Mon Sep 17 00:00:00 2001 From: jude Date: Tue, 12 Sep 2023 19:35:49 +0100 Subject: [PATCH] Add interface package. Start adding auth stuff for refreshing tokens. --- .idea/inspectionProfiles/Project_Default.xml | 16 + .idea/workspace.xml | 84 +- Cargo.lock | 5 + Cargo.toml | 3 +- app/.gitignore | 24 + app/.prettierrc.toml | 1 + app/index.html | 13 + app/package-lock.json | 4534 ++++++++++++++++++ app/package.json | 23 + app/src/app.scss | 24 + app/src/index.tsx | 75 + app/tsconfig.json | 13 + app/vite.config.ts | 7 + migrations/20230816135241_initial.sql | 14 +- navidrome/src/client/auth.rs | 6 + navidrome/src/client/builder.rs | 21 +- navidrome/src/client/mod.rs | 4 +- src/daemon/update_playlists.rs | 2 +- src/main.rs | 64 +- src/models.rs | 68 +- 20 files changed, 4934 insertions(+), 67 deletions(-) create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 app/.gitignore create mode 100644 app/.prettierrc.toml create mode 100644 app/index.html create mode 100644 app/package-lock.json create mode 100644 app/package.json create mode 100644 app/src/app.scss create mode 100644 app/src/index.tsx create mode 100644 app/tsconfig.json create mode 100644 app/vite.config.ts create mode 100644 navidrome/src/client/auth.rs diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..e728849 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 25ee6d2..8f25295 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -13,10 +13,17 @@ - + + - + + + + + + +