@wwdrew/expo-spotify-sdk
Version:
Expo Module for native Spotify SDK
13 lines • 782 B
TypeScript
export interface SpotifySession {
accessToken: string;
refreshToken: string;
expirationDate: number;
scopes: SpotifyScope[];
}
export interface SpotifyConfig {
scopes: SpotifyScope[];
tokenSwapURL?: string;
tokenRefreshURL?: string;
}
export type SpotifyScope = "ugc-image-upload" | "user-read-playback-state" | "user-modify-playback-state" | "user-read-currently-playing" | "app-remote-control" | "streaming" | "playlist-read-private" | "playlist-read-collaborative" | "playlist-modify-private" | "playlist-modify-public" | "user-follow-modify" | "user-follow-read" | "user-top-read" | "user-read-recently-played" | "user-library-modify" | "user-library-read" | "user-read-email" | "user-read-private";
//# sourceMappingURL=ExpoSpotifySDK.types.d.ts.map