initial commit. phase 1 complete

This commit is contained in:
2026-05-05 20:45:19 +02:00
parent d9c68313a0
commit 89e058ffac
20631 changed files with 3224610 additions and 43 deletions
+31
View File
@@ -0,0 +1,31 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = Spotify;
function Spotify(options) {
return {
id: "spotify",
name: "Spotify",
type: "oauth",
authorization: "https://accounts.spotify.com/authorize?scope=user-read-email",
token: "https://accounts.spotify.com/api/token",
userinfo: "https://api.spotify.com/v1/me",
profile(profile) {
var _profile$images;
return {
id: profile.id,
name: profile.display_name,
email: profile.email,
image: (_profile$images = profile.images) === null || _profile$images === void 0 || (_profile$images = _profile$images[0]) === null || _profile$images === void 0 ? void 0 : _profile$images.url
};
},
style: {
logo: "/spotify.svg",
text: "#fff",
bg: "#000"
},
options
};
}