···476476477477export type GetAlbumQuery = { __typename?: 'Query', album?: { __typename?: 'Album', id: string, title: string, artist: string, albumArt?: string | null, year: number, yearString: string, artistId: string, md5: string, tracks: Array<{ __typename?: 'Track', id?: string | null, title: string, tracknum: number, artist: string, album: string, discnum: number, albumArtist: string, artistId?: string | null, albumId?: string | null, path: string, length: number }> } | null };
478478479479+export type PlayMutationVariables = Exact<{
480480+ elapsed: Scalars['Int']['input'];
481481+ offset: Scalars['Int']['input'];
482482+}>;
483483+484484+485485+export type PlayMutation = { __typename?: 'Mutation', play: string };
486486+487487+export type PauseMutationVariables = Exact<{ [key: string]: never; }>;
488488+489489+490490+export type PauseMutation = { __typename?: 'Mutation', pause: string };
491491+492492+export type ResumeMutationVariables = Exact<{ [key: string]: never; }>;
493493+494494+495495+export type ResumeMutation = { __typename?: 'Mutation', resume: string };
496496+497497+export type PreviousMutationVariables = Exact<{ [key: string]: never; }>;
498498+499499+500500+export type PreviousMutation = { __typename?: 'Mutation', previous: string };
501501+502502+export type NextMutationVariables = Exact<{ [key: string]: never; }>;
503503+504504+505505+export type NextMutation = { __typename?: 'Mutation', next: string };
506506+507507+export type GetCurrentTrackQueryVariables = Exact<{ [key: string]: never; }>;
508508+509509+510510+export type GetCurrentTrackQuery = { __typename?: 'Query', currentTrack?: { __typename?: 'Track', id?: string | null, title: string, artist: string, album: string, albumArt?: string | null, artistId?: string | null, albumId?: string | null, elapsed: number, length: number, year: number, yearString: string } | null };
511511+512512+export type GetNextTrackQueryVariables = Exact<{ [key: string]: never; }>;
513513+514514+515515+export type GetNextTrackQuery = { __typename?: 'Query', nextTrack?: { __typename?: 'Track', id?: string | null, title: string, artist: string, album: string, albumArt?: string | null, artistId?: string | null, albumId?: string | null, length: number, year: number, yearString: string } | null };
516516+517517+export type GetPlaybackStatusQueryVariables = Exact<{ [key: string]: never; }>;
518518+519519+520520+export type GetPlaybackStatusQuery = { __typename?: 'Query', status: number };
521521+479522export type GetRockboxVersionQueryVariables = Exact<{ [key: string]: never; }>;
480523481524···794837export type GetAlbumLazyQueryHookResult = ReturnType<typeof useGetAlbumLazyQuery>;
795838export type GetAlbumSuspenseQueryHookResult = ReturnType<typeof useGetAlbumSuspenseQuery>;
796839export type GetAlbumQueryResult = Apollo.QueryResult<GetAlbumQuery, GetAlbumQueryVariables>;
840840+export const PlayDocument = gql`
841841+ mutation Play($elapsed: Int!, $offset: Int!) {
842842+ play(elapsed: $elapsed, offset: $offset)
843843+}
844844+ `;
845845+export type PlayMutationFn = Apollo.MutationFunction<PlayMutation, PlayMutationVariables>;
846846+847847+/**
848848+ * __usePlayMutation__
849849+ *
850850+ * To run a mutation, you first call `usePlayMutation` within a React component and pass it any options that fit your needs.
851851+ * When your component renders, `usePlayMutation` returns a tuple that includes:
852852+ * - A mutate function that you can call at any time to execute the mutation
853853+ * - An object with fields that represent the current status of the mutation's execution
854854+ *
855855+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
856856+ *
857857+ * @example
858858+ * const [playMutation, { data, loading, error }] = usePlayMutation({
859859+ * variables: {
860860+ * elapsed: // value for 'elapsed'
861861+ * offset: // value for 'offset'
862862+ * },
863863+ * });
864864+ */
865865+export function usePlayMutation(baseOptions?: Apollo.MutationHookOptions<PlayMutation, PlayMutationVariables>) {
866866+ const options = {...defaultOptions, ...baseOptions}
867867+ return Apollo.useMutation<PlayMutation, PlayMutationVariables>(PlayDocument, options);
868868+ }
869869+export type PlayMutationHookResult = ReturnType<typeof usePlayMutation>;
870870+export type PlayMutationResult = Apollo.MutationResult<PlayMutation>;
871871+export type PlayMutationOptions = Apollo.BaseMutationOptions<PlayMutation, PlayMutationVariables>;
872872+export const PauseDocument = gql`
873873+ mutation Pause {
874874+ pause
875875+}
876876+ `;
877877+export type PauseMutationFn = Apollo.MutationFunction<PauseMutation, PauseMutationVariables>;
878878+879879+/**
880880+ * __usePauseMutation__
881881+ *
882882+ * To run a mutation, you first call `usePauseMutation` within a React component and pass it any options that fit your needs.
883883+ * When your component renders, `usePauseMutation` returns a tuple that includes:
884884+ * - A mutate function that you can call at any time to execute the mutation
885885+ * - An object with fields that represent the current status of the mutation's execution
886886+ *
887887+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
888888+ *
889889+ * @example
890890+ * const [pauseMutation, { data, loading, error }] = usePauseMutation({
891891+ * variables: {
892892+ * },
893893+ * });
894894+ */
895895+export function usePauseMutation(baseOptions?: Apollo.MutationHookOptions<PauseMutation, PauseMutationVariables>) {
896896+ const options = {...defaultOptions, ...baseOptions}
897897+ return Apollo.useMutation<PauseMutation, PauseMutationVariables>(PauseDocument, options);
898898+ }
899899+export type PauseMutationHookResult = ReturnType<typeof usePauseMutation>;
900900+export type PauseMutationResult = Apollo.MutationResult<PauseMutation>;
901901+export type PauseMutationOptions = Apollo.BaseMutationOptions<PauseMutation, PauseMutationVariables>;
902902+export const ResumeDocument = gql`
903903+ mutation Resume {
904904+ resume
905905+}
906906+ `;
907907+export type ResumeMutationFn = Apollo.MutationFunction<ResumeMutation, ResumeMutationVariables>;
908908+909909+/**
910910+ * __useResumeMutation__
911911+ *
912912+ * To run a mutation, you first call `useResumeMutation` within a React component and pass it any options that fit your needs.
913913+ * When your component renders, `useResumeMutation` returns a tuple that includes:
914914+ * - A mutate function that you can call at any time to execute the mutation
915915+ * - An object with fields that represent the current status of the mutation's execution
916916+ *
917917+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
918918+ *
919919+ * @example
920920+ * const [resumeMutation, { data, loading, error }] = useResumeMutation({
921921+ * variables: {
922922+ * },
923923+ * });
924924+ */
925925+export function useResumeMutation(baseOptions?: Apollo.MutationHookOptions<ResumeMutation, ResumeMutationVariables>) {
926926+ const options = {...defaultOptions, ...baseOptions}
927927+ return Apollo.useMutation<ResumeMutation, ResumeMutationVariables>(ResumeDocument, options);
928928+ }
929929+export type ResumeMutationHookResult = ReturnType<typeof useResumeMutation>;
930930+export type ResumeMutationResult = Apollo.MutationResult<ResumeMutation>;
931931+export type ResumeMutationOptions = Apollo.BaseMutationOptions<ResumeMutation, ResumeMutationVariables>;
932932+export const PreviousDocument = gql`
933933+ mutation Previous {
934934+ previous
935935+}
936936+ `;
937937+export type PreviousMutationFn = Apollo.MutationFunction<PreviousMutation, PreviousMutationVariables>;
938938+939939+/**
940940+ * __usePreviousMutation__
941941+ *
942942+ * To run a mutation, you first call `usePreviousMutation` within a React component and pass it any options that fit your needs.
943943+ * When your component renders, `usePreviousMutation` returns a tuple that includes:
944944+ * - A mutate function that you can call at any time to execute the mutation
945945+ * - An object with fields that represent the current status of the mutation's execution
946946+ *
947947+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
948948+ *
949949+ * @example
950950+ * const [previousMutation, { data, loading, error }] = usePreviousMutation({
951951+ * variables: {
952952+ * },
953953+ * });
954954+ */
955955+export function usePreviousMutation(baseOptions?: Apollo.MutationHookOptions<PreviousMutation, PreviousMutationVariables>) {
956956+ const options = {...defaultOptions, ...baseOptions}
957957+ return Apollo.useMutation<PreviousMutation, PreviousMutationVariables>(PreviousDocument, options);
958958+ }
959959+export type PreviousMutationHookResult = ReturnType<typeof usePreviousMutation>;
960960+export type PreviousMutationResult = Apollo.MutationResult<PreviousMutation>;
961961+export type PreviousMutationOptions = Apollo.BaseMutationOptions<PreviousMutation, PreviousMutationVariables>;
962962+export const NextDocument = gql`
963963+ mutation Next {
964964+ next
965965+}
966966+ `;
967967+export type NextMutationFn = Apollo.MutationFunction<NextMutation, NextMutationVariables>;
968968+969969+/**
970970+ * __useNextMutation__
971971+ *
972972+ * To run a mutation, you first call `useNextMutation` within a React component and pass it any options that fit your needs.
973973+ * When your component renders, `useNextMutation` returns a tuple that includes:
974974+ * - A mutate function that you can call at any time to execute the mutation
975975+ * - An object with fields that represent the current status of the mutation's execution
976976+ *
977977+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
978978+ *
979979+ * @example
980980+ * const [nextMutation, { data, loading, error }] = useNextMutation({
981981+ * variables: {
982982+ * },
983983+ * });
984984+ */
985985+export function useNextMutation(baseOptions?: Apollo.MutationHookOptions<NextMutation, NextMutationVariables>) {
986986+ const options = {...defaultOptions, ...baseOptions}
987987+ return Apollo.useMutation<NextMutation, NextMutationVariables>(NextDocument, options);
988988+ }
989989+export type NextMutationHookResult = ReturnType<typeof useNextMutation>;
990990+export type NextMutationResult = Apollo.MutationResult<NextMutation>;
991991+export type NextMutationOptions = Apollo.BaseMutationOptions<NextMutation, NextMutationVariables>;
992992+export const GetCurrentTrackDocument = gql`
993993+ query GetCurrentTrack {
994994+ currentTrack {
995995+ id
996996+ title
997997+ artist
998998+ album
999999+ albumArt
10001000+ artistId
10011001+ albumId
10021002+ elapsed
10031003+ length
10041004+ year
10051005+ yearString
10061006+ }
10071007+}
10081008+ `;
10091009+10101010+/**
10111011+ * __useGetCurrentTrackQuery__
10121012+ *
10131013+ * To run a query within a React component, call `useGetCurrentTrackQuery` and pass it any options that fit your needs.
10141014+ * When your component renders, `useGetCurrentTrackQuery` returns an object from Apollo Client that contains loading, error, and data properties
10151015+ * you can use to render your UI.
10161016+ *
10171017+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
10181018+ *
10191019+ * @example
10201020+ * const { data, loading, error } = useGetCurrentTrackQuery({
10211021+ * variables: {
10221022+ * },
10231023+ * });
10241024+ */
10251025+export function useGetCurrentTrackQuery(baseOptions?: Apollo.QueryHookOptions<GetCurrentTrackQuery, GetCurrentTrackQueryVariables>) {
10261026+ const options = {...defaultOptions, ...baseOptions}
10271027+ return Apollo.useQuery<GetCurrentTrackQuery, GetCurrentTrackQueryVariables>(GetCurrentTrackDocument, options);
10281028+ }
10291029+export function useGetCurrentTrackLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetCurrentTrackQuery, GetCurrentTrackQueryVariables>) {
10301030+ const options = {...defaultOptions, ...baseOptions}
10311031+ return Apollo.useLazyQuery<GetCurrentTrackQuery, GetCurrentTrackQueryVariables>(GetCurrentTrackDocument, options);
10321032+ }
10331033+export function useGetCurrentTrackSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GetCurrentTrackQuery, GetCurrentTrackQueryVariables>) {
10341034+ const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
10351035+ return Apollo.useSuspenseQuery<GetCurrentTrackQuery, GetCurrentTrackQueryVariables>(GetCurrentTrackDocument, options);
10361036+ }
10371037+export type GetCurrentTrackQueryHookResult = ReturnType<typeof useGetCurrentTrackQuery>;
10381038+export type GetCurrentTrackLazyQueryHookResult = ReturnType<typeof useGetCurrentTrackLazyQuery>;
10391039+export type GetCurrentTrackSuspenseQueryHookResult = ReturnType<typeof useGetCurrentTrackSuspenseQuery>;
10401040+export type GetCurrentTrackQueryResult = Apollo.QueryResult<GetCurrentTrackQuery, GetCurrentTrackQueryVariables>;
10411041+export const GetNextTrackDocument = gql`
10421042+ query GetNextTrack {
10431043+ nextTrack {
10441044+ id
10451045+ title
10461046+ artist
10471047+ album
10481048+ albumArt
10491049+ artistId
10501050+ albumId
10511051+ length
10521052+ year
10531053+ yearString
10541054+ }
10551055+}
10561056+ `;
10571057+10581058+/**
10591059+ * __useGetNextTrackQuery__
10601060+ *
10611061+ * To run a query within a React component, call `useGetNextTrackQuery` and pass it any options that fit your needs.
10621062+ * When your component renders, `useGetNextTrackQuery` returns an object from Apollo Client that contains loading, error, and data properties
10631063+ * you can use to render your UI.
10641064+ *
10651065+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
10661066+ *
10671067+ * @example
10681068+ * const { data, loading, error } = useGetNextTrackQuery({
10691069+ * variables: {
10701070+ * },
10711071+ * });
10721072+ */
10731073+export function useGetNextTrackQuery(baseOptions?: Apollo.QueryHookOptions<GetNextTrackQuery, GetNextTrackQueryVariables>) {
10741074+ const options = {...defaultOptions, ...baseOptions}
10751075+ return Apollo.useQuery<GetNextTrackQuery, GetNextTrackQueryVariables>(GetNextTrackDocument, options);
10761076+ }
10771077+export function useGetNextTrackLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetNextTrackQuery, GetNextTrackQueryVariables>) {
10781078+ const options = {...defaultOptions, ...baseOptions}
10791079+ return Apollo.useLazyQuery<GetNextTrackQuery, GetNextTrackQueryVariables>(GetNextTrackDocument, options);
10801080+ }
10811081+export function useGetNextTrackSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GetNextTrackQuery, GetNextTrackQueryVariables>) {
10821082+ const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
10831083+ return Apollo.useSuspenseQuery<GetNextTrackQuery, GetNextTrackQueryVariables>(GetNextTrackDocument, options);
10841084+ }
10851085+export type GetNextTrackQueryHookResult = ReturnType<typeof useGetNextTrackQuery>;
10861086+export type GetNextTrackLazyQueryHookResult = ReturnType<typeof useGetNextTrackLazyQuery>;
10871087+export type GetNextTrackSuspenseQueryHookResult = ReturnType<typeof useGetNextTrackSuspenseQuery>;
10881088+export type GetNextTrackQueryResult = Apollo.QueryResult<GetNextTrackQuery, GetNextTrackQueryVariables>;
10891089+export const GetPlaybackStatusDocument = gql`
10901090+ query GetPlaybackStatus {
10911091+ status
10921092+}
10931093+ `;
10941094+10951095+/**
10961096+ * __useGetPlaybackStatusQuery__
10971097+ *
10981098+ * To run a query within a React component, call `useGetPlaybackStatusQuery` and pass it any options that fit your needs.
10991099+ * When your component renders, `useGetPlaybackStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
11001100+ * you can use to render your UI.
11011101+ *
11021102+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
11031103+ *
11041104+ * @example
11051105+ * const { data, loading, error } = useGetPlaybackStatusQuery({
11061106+ * variables: {
11071107+ * },
11081108+ * });
11091109+ */
11101110+export function useGetPlaybackStatusQuery(baseOptions?: Apollo.QueryHookOptions<GetPlaybackStatusQuery, GetPlaybackStatusQueryVariables>) {
11111111+ const options = {...defaultOptions, ...baseOptions}
11121112+ return Apollo.useQuery<GetPlaybackStatusQuery, GetPlaybackStatusQueryVariables>(GetPlaybackStatusDocument, options);
11131113+ }
11141114+export function useGetPlaybackStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetPlaybackStatusQuery, GetPlaybackStatusQueryVariables>) {
11151115+ const options = {...defaultOptions, ...baseOptions}
11161116+ return Apollo.useLazyQuery<GetPlaybackStatusQuery, GetPlaybackStatusQueryVariables>(GetPlaybackStatusDocument, options);
11171117+ }
11181118+export function useGetPlaybackStatusSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GetPlaybackStatusQuery, GetPlaybackStatusQueryVariables>) {
11191119+ const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
11201120+ return Apollo.useSuspenseQuery<GetPlaybackStatusQuery, GetPlaybackStatusQueryVariables>(GetPlaybackStatusDocument, options);
11211121+ }
11221122+export type GetPlaybackStatusQueryHookResult = ReturnType<typeof useGetPlaybackStatusQuery>;
11231123+export type GetPlaybackStatusLazyQueryHookResult = ReturnType<typeof useGetPlaybackStatusLazyQuery>;
11241124+export type GetPlaybackStatusSuspenseQueryHookResult = ReturnType<typeof useGetPlaybackStatusSuspenseQuery>;
11251125+export type GetPlaybackStatusQueryResult = Apollo.QueryResult<GetPlaybackStatusQuery, GetPlaybackStatusQueryVariables>;
7971126export const GetRockboxVersionDocument = gql`
7981127 query GetRockboxVersion {
7991128 rockboxVersion