Skip to content

Commit

Permalink
Merge pull request #185 from apollographql/fix-build
Browse files Browse the repository at this point in the history
Fix issue with build due to mismatch in ts types
  • Loading branch information
jerelmiller authored Mar 6, 2024
2 parents b20aec4 + 787a191 commit f587ba1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/src/components/EpisodePlaybackDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const EpisodePlaybackDetails = ({ episode }: EpisodePlaybackDetailsProps) => {

fragmentRegistry.register(gql`
fragment EpisodePlaybackDetails_episode on Episode {
id
name
show {
id
Expand Down
1 change: 1 addition & 0 deletions client/src/components/TrackPlaybackDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ fragmentRegistry.register(gql`
}
fragment TrackPlaybackDetails_track on Track {
id
name
uri
album {
Expand Down
2 changes: 2 additions & 0 deletions client/src/types/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2515,6 +2515,7 @@ export type EpisodeDetailsCell_episode = {

export type EpisodePlaybackDetails_episode = {
__typename: 'Episode';
id: string;
name: string;
show: { __typename: 'Show'; id: string; name: string };
};
Expand Down Expand Up @@ -2988,6 +2989,7 @@ export type TrackPlaybackDetails_context = {

export type TrackPlaybackDetails_track = {
__typename: 'Track';
id: string;
name: string;
uri: string;
album: { __typename: 'Album'; id: string; name: string };
Expand Down

0 comments on commit f587ba1

Please sign in to comment.