SYMBOL INDEX (142 symbols across 43 files) FILE: demo/src/App.tsx type State (line 57) | interface State { function App (line 123) | function App() { FILE: demo/src/GitHubRepo.tsx function GitHubRepo (line 41) | function GitHubRepo() { FILE: demo/src/components/GlobalStyles.tsx function GlobalStyles (line 15) | function GlobalStyles({ hasToken }: any) { FILE: demo/src/components/RepeatButton.tsx function RepeatButton (line 5) | function RepeatButton({ FILE: demo/src/components/ShuffleButton.tsx function ShuffleButton (line 5) | function ShuffleButton({ FILE: demo/src/modules/helpers.ts constant COOKIE_NAME (line 6) | const COOKIE_NAME = 'RSWP_TOKENS'; constant SPOTIFY (line 10) | const SPOTIFY = { constant API_URL (line 27) | const API_URL = 'https://scripts.gilbarbara.dev/api'; function getAuthorizeUrl (line 29) | function getAuthorizeUrl() { function getCredentials (line 41) | function getCredentials() { function setCredentials (line 51) | function setCredentials(credentials: SpotifyCredentials) { function login (line 55) | async function login(code: string) { function refreshCredentials (line 62) | function refreshCredentials(refreshToken: string) { function logout (line 69) | function logout() { function parseURIs (line 73) | function parseURIs(input: string): string[] { function validateURI (line 79) | function validateURI(input: string): boolean { FILE: demo/src/types.ts type SpotifyCredentials (line 1) | interface SpotifyCredentials { FILE: src/components/Actions.tsx type Props (line 7) | interface Props { function Actions (line 45) | function Actions(props: Props) { FILE: src/components/ClickOutside.tsx type Props (line 3) | interface Props { function ClickOutside (line 9) | function ClickOutside(props: Props) { FILE: src/components/Controls.tsx type Props (line 20) | interface Props { function Controls (line 117) | function Controls(props: Props) { FILE: src/components/Devices.tsx type DeviceList (line 14) | interface DeviceList { type Props (line 19) | interface Props { function getDeviceIcon (line 163) | function getDeviceIcon(type: string) { function Devices (line 175) | function Devices(props: Props) { FILE: src/components/ErrorMessage.tsx function ErrorMessage (line 22) | function ErrorMessage({ FILE: src/components/Info.tsx type Props (line 15) | interface Props { function Info (line 218) | function Info(props: Props) { FILE: src/components/Loader.tsx function Loader (line 61) | function Loader({ styles: { height, loaderColor, loaderSize } }: Compone... FILE: src/components/Slider.tsx type Props (line 9) | interface Props { function Slider (line 47) | function Slider(props: Props) { FILE: src/components/SpotifyLogo.tsx type Props (line 3) | interface Props { function SpotifyLogo (line 7) | function SpotifyLogo({ bgColor, ...rest }: Props) { FILE: src/components/Volume.tsx type Props (line 15) | interface Props { function Volume (line 123) | function Volume(props: Props) { FILE: src/components/Wrapper.tsx function Wrapper (line 46) | function Wrapper(props: ComponentsProps) { FILE: src/components/icons/Devices.tsx function DevicesIcon (line 1) | function DevicesIcon(props: any) { FILE: src/components/icons/DevicesComputer.tsx function DevicesComputerIcon (line 1) | function DevicesComputerIcon(props: any) { FILE: src/components/icons/DevicesMobile.tsx function DevicesMobileIcon (line 1) | function DevicesMobileIcon(props: any) { FILE: src/components/icons/DevicesSpeaker.tsx function DevicesSpeakerIcon (line 1) | function DevicesSpeakerIcon(props: any) { FILE: src/components/icons/Favorite.tsx function Favorite (line 1) | function Favorite(props: any) { FILE: src/components/icons/FavoriteOutline.tsx function FavoriteOutline (line 1) | function FavoriteOutline(props: any) { FILE: src/components/icons/Next.tsx function Next (line 1) | function Next(props: any) { FILE: src/components/icons/Pause.tsx function Pause (line 1) | function Pause(props: any) { FILE: src/components/icons/Play.tsx function Play (line 1) | function Play(props: any) { FILE: src/components/icons/Previous.tsx function Previous (line 1) | function Previous(props: any) { FILE: src/components/icons/VolumeHigh.tsx function VolumeHigh (line 1) | function VolumeHigh(props: any) { FILE: src/components/icons/VolumeLow.tsx function VolumeLow (line 1) | function VolumeLow(props: any) { FILE: src/components/icons/VolumeMid.tsx function VolumeHigh (line 1) | function VolumeHigh(props: any) { FILE: src/components/icons/VolumeMute.tsx function VolumeMute (line 1) | function VolumeMute(props: any) { FILE: src/constants.ts constant ERROR_TYPE (line 1) | const ERROR_TYPE = { constant SPOTIFY_CONTENT_TYPE (line 9) | const SPOTIFY_CONTENT_TYPE = { constant STATUS (line 17) | const STATUS = { constant TRANSPARENT_COLOR (line 26) | const TRANSPARENT_COLOR = 'rgba(0, 0, 0, 0)'; constant TYPE (line 28) | const TYPE = { FILE: src/index.tsx type SpotifyPlayer (line 85) | type SpotifyPlayer = Spotify.Player; class SpotifyWebPlayer (line 88) | class SpotifyWebPlayer extends PureComponent { method constructor (line 142) | constructor(props: Props) { method componentDidMount (line 187) | public async componentDidMount() { method componentDidUpdate (line 208) | public async componentDidUpdate(previousProps: Props, previousState: S... method componentWillUnmount (line 324) | public async componentWillUnmount() { method handleCallback (line 338) | private handleCallback(state: CallbackState): void { method token (line 612) | private get token(): string { method initializeDevices (line 618) | private async initializeDevices(id: string) { method isExternalPlayer (line 689) | private get isExternalPlayer(): boolean { method toggleSyncInterval (line 793) | private async toggleSyncInterval(shouldSync: boolean) { method toggleProgressBar (line 817) | private toggleProgressBar() { method render (line 939) | public render() { FILE: src/modules/getters.ts function getBgColor (line 15) | function getBgColor(bgColor: string, fallbackColor?: string): string { function getItemImage (line 23) | function getItemImage(item: { images: Spotify.Image[] }): string { function getLocale (line 29) | function getLocale(locale?: Partial): Locale { function getMergedStyles (line 46) | function getMergedStyles(styles?: StylesProps): StylesOptions { function getPreloadData (line 71) | async function getPreloadData( function getRepeatState (line 151) | function getRepeatState(mode: number): RepeatState { function getSpotifyLink (line 163) | function getSpotifyLink(uri: string): string { function getSpotifyLinkTitle (line 169) | function getSpotifyLinkTitle(name: string, locale: string): string { function getSpotifyURIType (line 173) | function getSpotifyURIType(uri: string): string { function getTrackInfo (line 179) | function getTrackInfo(track: Spotify.Track | SpotifyApi.TrackObjectFull)... FILE: src/modules/helpers.ts function isNumber (line 5) | function isNumber(value: unknown): value is number { function loadSpotifyPlayer (line 9) | function loadSpotifyPlayer(): Promise { function millisecondsToTime (line 31) | function millisecondsToTime(input: number) { function parseIds (line 51) | function parseIds(ids: IDs): string[] { function parseVolume (line 59) | function parseVolume(value?: unknown): number { function round (line 74) | function round(number: number, digits = 2) { function validateURI (line 80) | function validateURI(input: string): boolean { FILE: src/modules/hooks.ts function useMediaQuery (line 3) | function useMediaQuery(input: string): boolean { function usePrevious (line 43) | function usePrevious(value: T): T { FILE: src/modules/spotify.ts function checkTracksStatus (line 6) | async function checkTracksStatus(token: string, tracks: IDs): Promise { function pause (line 143) | async function pause(token: string, deviceId?: string): Promise { function play (line 159) | async function play( function previous (line 188) | async function previous(token: string, deviceId?: string): Promise { function removeTracks (line 204) | async function removeTracks(token: string, tracks: IDs): Promise { function repeat (line 215) | async function repeat(token: string, state: RepeatState, deviceId?: stri... function saveTracks (line 231) | async function saveTracks(token: string, tracks: IDs): Promise { function seek (line 242) | async function seek(token: string, position: number, deviceId?: string):... function setDevice (line 258) | async function setDevice( function setVolume (line 273) | async function setVolume(token: string, volume: number, deviceId?: strin... function shuffle (line 289) | async function shuffle(token: string, state: boolean, deviceId?: string)... FILE: src/modules/styled.tsx type NanoExtended (line 18) | interface NanoExtended extends NanoRenderer { FILE: src/types/common.ts type ErrorType (line 7) | type ErrorType = (typeof ERROR_TYPE)[keyof typeof ERROR_TYPE]; type IDs (line 8) | type IDs = string | string[]; type Layout (line 9) | type Layout = 'responsive' | 'compact'; type RepeatState (line 10) | type RepeatState = 'off' | 'context' | 'track'; type Status (line 11) | type Status = (typeof STATUS)[keyof typeof STATUS]; type StylesProps (line 12) | type StylesProps = Partial; type Type (line 14) | type Type = (typeof TYPE)[keyof typeof TYPE]; type CallbackState (line 16) | interface CallbackState extends State { type ComponentsProps (line 20) | interface ComponentsProps { type CustomComponents (line 26) | interface CustomComponents { type Locale (line 37) | interface Locale { type PlayOptions (line 51) | interface PlayOptions { type Props (line 56) | interface Props { type State (line 170) | interface State { type StyledProps (line 196) | interface StyledProps { type StylesOptions (line 201) | interface StylesOptions { FILE: src/types/spotify.ts type SpotifyAlbum (line 1) | type SpotifyAlbum = Spotify.Album; type SpotifyArtist (line 3) | type SpotifyArtist = SpotifyApi.ArtistObjectSimplified; type SpotifyDevice (line 5) | type SpotifyDevice = SpotifyApi.UserDevice; type SpotifyPlayerCallback (line 7) | type SpotifyPlayerCallback = (token: string) => void; type SpotifyPlayOptions (line 9) | interface SpotifyPlayOptions { type SpotifyTrack (line 16) | interface SpotifyTrack { type WebPlaybackArtist (line 25) | interface WebPlaybackArtist { FILE: test/fixtures/helpers.ts function setBoundingClientRect (line 28) | function setBoundingClientRect(type: 'slider' | 'volume' | 'volumeInline... FILE: test/index.spec.tsx function waitFor (line 25) | async function waitFor(fn: () => void) { type SetupProps (line 74) | interface SetupProps extends Partial { class Player (line 80) | class Player { method constructor (line 83) | constructor(options: Record) { function setExternalDevice (line 108) | function setExternalDevice() { function setup (line 116) | async function setup(props?: SetupProps) {