diff --git a/crates/models/dependent/src/lib.rs b/crates/models/dependent/src/lib.rs index 1286443659..7bbae4f337 100644 --- a/crates/models/dependent/src/lib.rs +++ b/crates/models/dependent/src/lib.rs @@ -12,9 +12,8 @@ use media_models::{ CreateOrUpdateCollectionInput, DailyUserActivitiesResponseGroupedBy, DailyUserActivityItem, EntityWithLot, GenreListItem, GraphqlMediaAssets, ImportOrExportExerciseItem, ImportOrExportMetadataGroupItem, ImportOrExportMetadataItem, ImportOrExportPersonItem, - MetadataCreatorGroupedByRole, PersonDetailsGroupedByRole, ProviderLanguageInformation, - ReviewItem, UserDetailsError, UserMediaNextEntry, UserMetadataDetailsEpisodeProgress, - UserMetadataDetailsShowSeasonProgress, + MetadataCreatorGroupedByRole, PersonDetailsGroupedByRole, ReviewItem, UserDetailsError, + UserMediaNextEntry, UserMetadataDetailsEpisodeProgress, UserMetadataDetailsShowSeasonProgress, }; use rust_decimal::Decimal; use schematic::Schematic; @@ -166,7 +165,6 @@ pub struct CoreDetails { pub local_auth_disabled: bool, pub file_storage_enabled: bool, pub backend_errors: Vec, - pub metadata_providers_mapping: Vec, } #[derive(SimpleObject)] diff --git a/crates/models/media/src/lib.rs b/crates/models/media/src/lib.rs index 375b0cc585..7759898648 100644 --- a/crates/models/media/src/lib.rs +++ b/crates/models/media/src/lib.rs @@ -1031,13 +1031,6 @@ pub enum CreateCustomMediaErrorVariant { LotDoesNotMatchSpecifics, } -#[derive(Debug, SimpleObject, Serialize, Deserialize, Clone)] -pub struct ProviderLanguageInformation { - pub source: MediaSource, - pub supported: Vec, - pub default: String, -} - #[derive(Enum, Clone, Debug, Copy, PartialEq, Eq)] pub enum UserDetailsErrorVariant { AuthTokenInvalid, diff --git a/crates/services/miscellaneous/src/lib.rs b/crates/services/miscellaneous/src/lib.rs index f74671a2b5..625b84abdf 100644 --- a/crates/services/miscellaneous/src/lib.rs +++ b/crates/services/miscellaneous/src/lib.rs @@ -71,11 +71,11 @@ use media_models::{ MetadataPartialDetails, MetadataSearchInput, MetadataSearchItemResponse, MetadataVideo, MetadataVideoSource, PartialMetadata, PartialMetadataWithoutId, PeopleListInput, PeopleSearchInput, PeopleSearchItem, PersonAndMetadataGroupsSortBy, PersonDetailsGroupedByRole, - PersonDetailsItemWithCharacter, PodcastSpecifics, ProgressUpdateInput, - ProviderLanguageInformation, ReviewPostedEvent, SeenAnimeExtraInformation, - SeenPodcastExtraInformation, SeenShowExtraInformation, ShowSpecifics, UpdateSeenItemInput, - UserCalendarEventInput, UserMediaNextEntry, UserMetadataDetailsEpisodeProgress, - UserMetadataDetailsShowSeasonProgress, UserUpcomingCalendarEventInput, + PersonDetailsItemWithCharacter, PodcastSpecifics, ProgressUpdateInput, ReviewPostedEvent, + SeenAnimeExtraInformation, SeenPodcastExtraInformation, SeenShowExtraInformation, + ShowSpecifics, UpdateSeenItemInput, UserCalendarEventInput, UserMediaNextEntry, + UserMetadataDetailsEpisodeProgress, UserMetadataDetailsShowSeasonProgress, + UserUpcomingCalendarEventInput, }; use migrations::{ AliasedCalendarEvent, AliasedMetadata, AliasedMetadataToGenre, AliasedReview, AliasedSeen, @@ -84,17 +84,9 @@ use migrations::{ use nanoid::nanoid; use notification_service::send_notification; use providers::{ - anilist::{AnilistService, NonMediaAnilistService}, - audible::AudibleService, - google_books::GoogleBooksService, - igdb::IgdbService, - itunes::ITunesService, - listennotes::ListennotesService, - mal::{MalService, NonMediaMalService}, - manga_updates::MangaUpdatesService, - openlibrary::OpenlibraryService, - tmdb::TmdbService, - vndb::VndbService, + anilist::NonMediaAnilistService, audible::AudibleService, google_books::GoogleBooksService, + igdb::IgdbService, itunes::ITunesService, listennotes::ListennotesService, + mal::NonMediaMalService, manga_updates::MangaUpdatesService, vndb::VndbService, }; use rust_decimal::Decimal; use rust_decimal_macros::dec; @@ -111,25 +103,12 @@ use sea_query::{ use serde::{Deserialize, Serialize}; use supporting_service::SupportingService; use tokio::time::{sleep, Duration as TokioDuration}; -use traits::{MediaProvider, MediaProviderLanguages, TraceOk}; +use traits::{MediaProvider, TraceOk}; use user_models::{DashboardElementLot, UserReviewScale}; use uuid::Uuid; type Provider = Box<(dyn MediaProvider + Send + Sync)>; -#[derive(Debug, Clone)] -struct CustomService {} - -impl MediaProviderLanguages for CustomService { - fn supported_languages() -> Vec { - ["us"].into_iter().map(String::from).collect() - } - - fn default_language() -> String { - "us".to_owned() - } -} - pub struct MiscellaneousService(pub Arc); impl MiscellaneousService { @@ -262,65 +241,6 @@ ORDER BY RANDOM() LIMIT 10; local_auth_disabled: self.0.config.users.disable_local_auth, repository_link: "https://github.com/ignisda/ryot".to_owned(), token_valid_for_days: self.0.config.users.token_valid_for_days, - metadata_providers_mapping: MediaSource::iter() - .map(|source| { - let (supported, default) = match source { - MediaSource::Itunes => ( - ITunesService::supported_languages(), - ITunesService::default_language(), - ), - MediaSource::Audible => ( - AudibleService::supported_languages(), - AudibleService::default_language(), - ), - MediaSource::Openlibrary => ( - OpenlibraryService::supported_languages(), - OpenlibraryService::default_language(), - ), - MediaSource::Tmdb => ( - TmdbService::supported_languages(), - TmdbService::default_language(), - ), - MediaSource::Listennotes => ( - ListennotesService::supported_languages(), - ListennotesService::default_language(), - ), - MediaSource::GoogleBooks => ( - GoogleBooksService::supported_languages(), - GoogleBooksService::default_language(), - ), - MediaSource::Igdb => ( - IgdbService::supported_languages(), - IgdbService::default_language(), - ), - MediaSource::MangaUpdates => ( - MangaUpdatesService::supported_languages(), - MangaUpdatesService::default_language(), - ), - MediaSource::Anilist => ( - AnilistService::supported_languages(), - AnilistService::default_language(), - ), - MediaSource::Mal => ( - MalService::supported_languages(), - MalService::default_language(), - ), - MediaSource::Custom => ( - CustomService::supported_languages(), - CustomService::default_language(), - ), - MediaSource::Vndb => ( - VndbService::supported_languages(), - VndbService::default_language(), - ), - }; - ProviderLanguageInformation { - supported, - default, - source, - } - }) - .collect(), } } diff --git a/libs/generated/src/graphql/backend/gql.ts b/libs/generated/src/graphql/backend/gql.ts index 875860238e..d3830414f8 100644 --- a/libs/generated/src/graphql/backend/gql.ts +++ b/libs/generated/src/graphql/backend/gql.ts @@ -22,7 +22,7 @@ const documents = { "query UserExerciseDetails($exerciseId: String!) {\n userExerciseDetails(exerciseId: $exerciseId) {\n collections {\n ...CollectionPart\n }\n reviews {\n ...ReviewItemPart\n }\n history {\n idx\n workoutId\n workoutEndOn\n bestSet {\n ...WorkoutSetRecordPart\n }\n }\n details {\n exerciseId\n createdOn\n lastUpdatedOn\n exerciseNumTimesInteracted\n exerciseExtraInformation {\n settings {\n setRestTimers {\n ...SetRestTimersPart\n }\n }\n lifetimeStats {\n weight\n reps\n distance\n duration\n personalBestsAchieved\n }\n personalBests {\n lot\n sets {\n workoutId\n exerciseIdx\n setIdx\n }\n }\n }\n }\n }\n}": types.UserExerciseDetailsDocument, "query UserMeasurementsList($input: UserMeasurementsListInput!) {\n userMeasurementsList(input: $input) {\n timestamp\n name\n comment\n stats {\n weight\n bodyMassIndex\n totalBodyWater\n muscle\n leanBodyMass\n bodyFat\n boneMass\n visceralFat\n waistCircumference\n waistToHeightRatio\n hipCircumference\n waistToHipRatio\n chestCircumference\n thighCircumference\n bicepsCircumference\n neckCircumference\n bodyFatCaliper\n chestSkinfold\n abdominalSkinfold\n thighSkinfold\n basalMetabolicRate\n totalDailyEnergyExpenditure\n calories\n custom\n }\n }\n}": types.UserMeasurementsListDocument, "query UserMetadataDetails($metadataId: String!) {\n userMetadataDetails(metadataId: $metadataId) {\n mediaReason\n hasInteracted\n collections {\n ...CollectionPart\n }\n inProgress {\n ...SeenPart\n }\n history {\n ...SeenPart\n }\n averageRating\n reviews {\n ...ReviewItemPart\n }\n seenByAllCount\n seenByUserCount\n nextEntry {\n season\n volume\n episode\n chapter\n }\n showProgress {\n timesSeen\n seasonNumber\n episodes {\n episodeNumber\n timesSeen\n }\n }\n podcastProgress {\n episodeNumber\n timesSeen\n }\n }\n}": types.UserMetadataDetailsDocument, - "query GetOidcRedirectUrl {\n getOidcRedirectUrl\n}\n\nquery UserByOidcIssuerId($oidcIssuerId: String!) {\n userByOidcIssuerId(oidcIssuerId: $oidcIssuerId)\n}\n\nquery GetOidcToken($code: String!) {\n getOidcToken(code: $code) {\n subject\n email\n }\n}\n\nquery GetPresignedS3Url($key: String!) {\n getPresignedS3Url(key: $key)\n}\n\nquery UserExports {\n userExports {\n url\n size\n endedAt\n startedAt\n }\n}\n\nquery UserCollectionsList($name: String) {\n userCollectionsList(name: $name) {\n id\n name\n count\n isDefault\n description\n creator {\n id\n name\n }\n collaborators {\n id\n name\n }\n informationTemplate {\n lot\n name\n required\n description\n defaultValue\n }\n }\n}\n\nquery UserIntegrations {\n userIntegrations {\n id\n lot\n provider\n createdOn\n isDisabled\n maximumProgress\n minimumProgress\n lastTriggeredOn\n syncToOwnedCollection\n }\n}\n\nquery UserNotificationPlatforms {\n userNotificationPlatforms {\n id\n lot\n createdOn\n isDisabled\n description\n }\n}\n\nquery UsersList($query: String) {\n usersList(query: $query) {\n id\n lot\n name\n isDisabled\n }\n}\n\nquery UserRecommendations {\n userRecommendations\n}\n\nquery UserUpcomingCalendarEvents($input: UserUpcomingCalendarEventInput!) {\n userUpcomingCalendarEvents(input: $input) {\n ...CalendarEventPart\n }\n}\n\nquery UserCalendarEvents($input: UserCalendarEventInput!) {\n userCalendarEvents(input: $input) {\n date\n events {\n ...CalendarEventPart\n }\n }\n}\n\nquery MetadataPartialDetails($metadataId: String!) {\n metadataPartialDetails(metadataId: $metadataId) {\n id\n lot\n title\n image\n publishYear\n }\n}\n\nquery MetadataGroupsList($input: MetadataGroupsListInput!) {\n metadataGroupsList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery PeopleList($input: PeopleListInput!) {\n peopleList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery UserAccessLinks {\n userAccessLinks {\n id\n name\n isDemo\n createdOn\n expiresOn\n timesUsed\n isRevoked\n maximumUses\n isAccountDefault\n isMutationAllowed\n }\n}\n\nquery DailyUserActivities($input: DailyUserActivitiesInput!) {\n dailyUserActivities(input: $input) {\n groupedBy\n totalCount\n totalDuration\n items {\n day\n totalReviewCount\n workoutCount\n measurementCount\n audioBookCount\n animeCount\n bookCount\n podcastCount\n mangaCount\n showCount\n movieCount\n videoGameCount\n visualNovelCount\n }\n }\n}\n\nquery ExerciseDetails($exerciseId: String!) {\n exerciseDetails(exerciseId: $exerciseId) {\n id\n lot\n source\n level\n force\n mechanic\n equipment\n muscles\n createdByUserId\n attributes {\n instructions\n images\n }\n }\n}\n\nquery ExerciseParameters {\n exerciseParameters {\n downloadRequired\n filters {\n type\n level\n force\n mechanic\n equipment\n muscle\n }\n lotMapping {\n lot\n bests\n }\n }\n}\n\nquery ExercisesList($input: ExercisesListInput!) {\n exercisesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n lot\n image\n muscle\n numTimesInteracted\n lastUpdatedOn\n }\n }\n}\n\nquery ImportReports {\n importReports {\n id\n source\n progress\n startedOn\n finishedOn\n wasSuccess\n details {\n import {\n total\n }\n failedItems {\n lot\n step\n error\n identifier\n }\n }\n }\n}\n\nquery GenresList($input: SearchInput!) {\n genresList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n numItems\n }\n }\n}\n\nquery GenreDetails($input: GenreDetailsInput!) {\n genreDetails(input: $input) {\n details {\n id\n name\n numItems\n }\n contents {\n details {\n total\n nextPage\n }\n items\n }\n }\n}\n\nquery CollectionContents($input: CollectionContentsInput!) {\n collectionContents(input: $input) {\n user {\n id\n name\n }\n reviews {\n ...ReviewItemPart\n }\n results {\n details {\n total\n nextPage\n }\n items {\n entityId\n entityLot\n }\n }\n details {\n name\n description\n createdOn\n }\n }\n}\n\nquery CoreDetails {\n coreDetails {\n isPro\n version\n docsLink\n pageSize\n websiteUrl\n smtpEnabled\n oidcEnabled\n signupAllowed\n repositoryLink\n disableTelemetry\n tokenValidForDays\n localAuthDisabled\n fileStorageEnabled\n frontend {\n url\n oidcButtonLabel\n dashboardMessage\n umami {\n domains\n scriptUrl\n websiteId\n }\n }\n metadataProvidersMapping {\n supported\n default\n source\n }\n }\n}\n\nquery MetadataGroupDetails($metadataGroupId: String!) {\n metadataGroupDetails(metadataGroupId: $metadataGroupId) {\n contents\n sourceUrl\n details {\n id\n title\n lot\n source\n displayImages\n identifier\n parts\n isPartial\n }\n }\n}\n\nquery MetadataGroupSearch($input: MetadataGroupSearchInput!) {\n metadataGroupSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n parts\n }\n }\n}\n\nquery MetadataList($input: MetadataListInput!) {\n metadataList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery MetadataSearch($input: MetadataSearchInput!) {\n metadataSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n databaseId\n hasInteracted\n item {\n identifier\n title\n image\n publishYear\n }\n }\n }\n}\n\nquery PeopleSearch($input: PeopleSearchInput!) {\n peopleSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n birthYear\n }\n }\n}\n\nquery UserMetadataGroupDetails($metadataGroupId: String!) {\n userMetadataGroupDetails(metadataGroupId: $metadataGroupId) {\n reviews {\n ...ReviewItemPart\n }\n collections {\n ...CollectionPart\n }\n }\n}\n\nquery UserPersonDetails($personId: String!) {\n userPersonDetails(personId: $personId) {\n collections {\n ...CollectionPart\n }\n reviews {\n ...ReviewItemPart\n }\n }\n}\n\nquery UserWorkoutDetails($workoutId: String!) {\n userWorkoutDetails(workoutId: $workoutId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n endTime\n duration\n startTime\n templateId\n repeatedFrom\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutsList($input: SearchInput!) {\n userWorkoutsList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n endTime\n duration\n startTime\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplateDetails($workoutTemplateId: String!) {\n userWorkoutTemplateDetails(workoutTemplateId: $workoutTemplateId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplatesList($input: SearchInput!) {\n userWorkoutTemplatesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}": types.GetOidcRedirectUrlDocument, + "query GetOidcRedirectUrl {\n getOidcRedirectUrl\n}\n\nquery UserByOidcIssuerId($oidcIssuerId: String!) {\n userByOidcIssuerId(oidcIssuerId: $oidcIssuerId)\n}\n\nquery GetOidcToken($code: String!) {\n getOidcToken(code: $code) {\n subject\n email\n }\n}\n\nquery GetPresignedS3Url($key: String!) {\n getPresignedS3Url(key: $key)\n}\n\nquery UserExports {\n userExports {\n url\n size\n endedAt\n startedAt\n }\n}\n\nquery UserCollectionsList($name: String) {\n userCollectionsList(name: $name) {\n id\n name\n count\n isDefault\n description\n creator {\n id\n name\n }\n collaborators {\n id\n name\n }\n informationTemplate {\n lot\n name\n required\n description\n defaultValue\n }\n }\n}\n\nquery UserIntegrations {\n userIntegrations {\n id\n lot\n provider\n createdOn\n isDisabled\n maximumProgress\n minimumProgress\n lastTriggeredOn\n syncToOwnedCollection\n }\n}\n\nquery UserNotificationPlatforms {\n userNotificationPlatforms {\n id\n lot\n createdOn\n isDisabled\n description\n }\n}\n\nquery UsersList($query: String) {\n usersList(query: $query) {\n id\n lot\n name\n isDisabled\n }\n}\n\nquery UserRecommendations {\n userRecommendations\n}\n\nquery UserUpcomingCalendarEvents($input: UserUpcomingCalendarEventInput!) {\n userUpcomingCalendarEvents(input: $input) {\n ...CalendarEventPart\n }\n}\n\nquery UserCalendarEvents($input: UserCalendarEventInput!) {\n userCalendarEvents(input: $input) {\n date\n events {\n ...CalendarEventPart\n }\n }\n}\n\nquery MetadataPartialDetails($metadataId: String!) {\n metadataPartialDetails(metadataId: $metadataId) {\n id\n lot\n title\n image\n publishYear\n }\n}\n\nquery MetadataGroupsList($input: MetadataGroupsListInput!) {\n metadataGroupsList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery PeopleList($input: PeopleListInput!) {\n peopleList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery UserAccessLinks {\n userAccessLinks {\n id\n name\n isDemo\n createdOn\n expiresOn\n timesUsed\n isRevoked\n maximumUses\n isAccountDefault\n isMutationAllowed\n }\n}\n\nquery DailyUserActivities($input: DailyUserActivitiesInput!) {\n dailyUserActivities(input: $input) {\n groupedBy\n totalCount\n totalDuration\n items {\n day\n totalReviewCount\n workoutCount\n measurementCount\n audioBookCount\n animeCount\n bookCount\n podcastCount\n mangaCount\n showCount\n movieCount\n videoGameCount\n visualNovelCount\n }\n }\n}\n\nquery ExerciseDetails($exerciseId: String!) {\n exerciseDetails(exerciseId: $exerciseId) {\n id\n lot\n source\n level\n force\n mechanic\n equipment\n muscles\n createdByUserId\n attributes {\n instructions\n images\n }\n }\n}\n\nquery ExerciseParameters {\n exerciseParameters {\n downloadRequired\n filters {\n type\n level\n force\n mechanic\n equipment\n muscle\n }\n lotMapping {\n lot\n bests\n }\n }\n}\n\nquery ExercisesList($input: ExercisesListInput!) {\n exercisesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n lot\n image\n muscle\n numTimesInteracted\n lastUpdatedOn\n }\n }\n}\n\nquery ImportReports {\n importReports {\n id\n source\n progress\n startedOn\n finishedOn\n wasSuccess\n details {\n import {\n total\n }\n failedItems {\n lot\n step\n error\n identifier\n }\n }\n }\n}\n\nquery GenresList($input: SearchInput!) {\n genresList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n numItems\n }\n }\n}\n\nquery GenreDetails($input: GenreDetailsInput!) {\n genreDetails(input: $input) {\n details {\n id\n name\n numItems\n }\n contents {\n details {\n total\n nextPage\n }\n items\n }\n }\n}\n\nquery CollectionContents($input: CollectionContentsInput!) {\n collectionContents(input: $input) {\n user {\n id\n name\n }\n reviews {\n ...ReviewItemPart\n }\n results {\n details {\n total\n nextPage\n }\n items {\n entityId\n entityLot\n }\n }\n details {\n name\n description\n createdOn\n }\n }\n}\n\nquery CoreDetails {\n coreDetails {\n isPro\n version\n docsLink\n pageSize\n websiteUrl\n smtpEnabled\n oidcEnabled\n signupAllowed\n repositoryLink\n disableTelemetry\n tokenValidForDays\n localAuthDisabled\n fileStorageEnabled\n frontend {\n url\n oidcButtonLabel\n dashboardMessage\n umami {\n domains\n scriptUrl\n websiteId\n }\n }\n }\n}\n\nquery MetadataGroupDetails($metadataGroupId: String!) {\n metadataGroupDetails(metadataGroupId: $metadataGroupId) {\n contents\n sourceUrl\n details {\n id\n title\n lot\n source\n displayImages\n identifier\n parts\n isPartial\n }\n }\n}\n\nquery MetadataGroupSearch($input: MetadataGroupSearchInput!) {\n metadataGroupSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n parts\n }\n }\n}\n\nquery MetadataList($input: MetadataListInput!) {\n metadataList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery MetadataSearch($input: MetadataSearchInput!) {\n metadataSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n databaseId\n hasInteracted\n item {\n identifier\n title\n image\n publishYear\n }\n }\n }\n}\n\nquery PeopleSearch($input: PeopleSearchInput!) {\n peopleSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n birthYear\n }\n }\n}\n\nquery UserMetadataGroupDetails($metadataGroupId: String!) {\n userMetadataGroupDetails(metadataGroupId: $metadataGroupId) {\n reviews {\n ...ReviewItemPart\n }\n collections {\n ...CollectionPart\n }\n }\n}\n\nquery UserPersonDetails($personId: String!) {\n userPersonDetails(personId: $personId) {\n collections {\n ...CollectionPart\n }\n reviews {\n ...ReviewItemPart\n }\n }\n}\n\nquery UserWorkoutDetails($workoutId: String!) {\n userWorkoutDetails(workoutId: $workoutId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n endTime\n duration\n startTime\n templateId\n repeatedFrom\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutsList($input: SearchInput!) {\n userWorkoutsList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n endTime\n duration\n startTime\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplateDetails($workoutTemplateId: String!) {\n userWorkoutTemplateDetails(workoutTemplateId: $workoutTemplateId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplatesList($input: SearchInput!) {\n userWorkoutTemplatesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}": types.GetOidcRedirectUrlDocument, "fragment SeenPodcastExtraInformationPart on SeenPodcastExtraInformation {\n episode\n}\n\nfragment SeenShowExtraInformationPart on SeenShowExtraInformation {\n episode\n season\n}\n\nfragment SeenAnimeExtraInformationPart on SeenAnimeExtraInformation {\n episode\n}\n\nfragment SeenMangaExtraInformationPart on SeenMangaExtraInformation {\n volume\n chapter\n}\n\nfragment CalendarEventPart on GraphqlCalendarEvent {\n date\n metadataId\n metadataLot\n episodeName\n metadataTitle\n metadataImage\n calendarEventId\n showExtraInformation {\n ...SeenShowExtraInformationPart\n }\n podcastExtraInformation {\n ...SeenPodcastExtraInformationPart\n }\n animeExtraInformation {\n ...SeenAnimeExtraInformationPart\n }\n}\n\nfragment SeenPart on Seen {\n id\n state\n progress\n reviewId\n startedOn\n finishedOn\n lastUpdatedOn\n manualTimeSpent\n numTimesUpdated\n providerWatchedOn\n showExtraInformation {\n ...SeenShowExtraInformationPart\n }\n podcastExtraInformation {\n ...SeenPodcastExtraInformationPart\n }\n animeExtraInformation {\n ...SeenAnimeExtraInformationPart\n }\n mangaExtraInformation {\n ...SeenMangaExtraInformationPart\n }\n}\n\nfragment MetadataSearchItemPart on MetadataSearchItem {\n title\n image\n identifier\n publishYear\n}\n\nfragment WorkoutOrExerciseTotalsPart on WorkoutOrExerciseTotals {\n reps\n weight\n distance\n duration\n restTime\n personalBestsAchieved\n}\n\nfragment EntityAssetsPart on EntityAssets {\n images\n videos\n}\n\nfragment WorkoutSetStatisticPart on WorkoutSetStatistic {\n reps\n pace\n oneRm\n weight\n volume\n duration\n distance\n}\n\nfragment WorkoutSetRecordPart on WorkoutSetRecord {\n lot\n personalBests\n statistic {\n ...WorkoutSetStatisticPart\n }\n}\n\nfragment WorkoutSummaryPart on WorkoutSummary {\n total {\n ...WorkoutOrExerciseTotalsPart\n }\n exercises {\n lot\n name\n numSets\n bestSet {\n ...WorkoutSetRecordPart\n }\n }\n focused {\n lots {\n lot\n exercises\n }\n levels {\n level\n exercises\n }\n forces {\n force\n exercises\n }\n muscles {\n muscle\n exercises\n }\n equipments {\n equipment\n exercises\n }\n }\n}\n\nfragment CollectionPart on Collection {\n id\n name\n userId\n}\n\nfragment ReviewItemPart on ReviewItem {\n id\n rating\n postedOn\n isSpoiler\n visibility\n textOriginal\n textRendered\n seenItemsAssociatedWith\n postedBy {\n id\n name\n }\n comments {\n id\n text\n likedBy\n createdOn\n user {\n id\n name\n }\n }\n showExtraInformation {\n ...SeenShowExtraInformationPart\n }\n podcastExtraInformation {\n ...SeenPodcastExtraInformationPart\n }\n animeExtraInformation {\n ...SeenAnimeExtraInformationPart\n }\n mangaExtraInformation {\n ...SeenMangaExtraInformationPart\n }\n}\n\nfragment WorkoutInformationPart on WorkoutInformation {\n comment\n assets {\n ...EntityAssetsPart\n }\n supersets {\n color\n exercises\n }\n exercises {\n lot\n name\n notes\n total {\n ...WorkoutOrExerciseTotalsPart\n }\n assets {\n ...EntityAssetsPart\n }\n sets {\n lot\n note\n restTime\n confirmedAt\n personalBests\n statistic {\n ...WorkoutSetStatisticPart\n }\n }\n }\n}\n\nfragment SetRestTimersPart on SetRestTimersSettings {\n drop\n warmup\n normal\n failure\n}": types.SeenPodcastExtraInformationPartFragmentDoc, }; @@ -75,7 +75,7 @@ export function graphql(source: "query UserMetadataDetails($metadataId: String!) /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql(source: "query GetOidcRedirectUrl {\n getOidcRedirectUrl\n}\n\nquery UserByOidcIssuerId($oidcIssuerId: String!) {\n userByOidcIssuerId(oidcIssuerId: $oidcIssuerId)\n}\n\nquery GetOidcToken($code: String!) {\n getOidcToken(code: $code) {\n subject\n email\n }\n}\n\nquery GetPresignedS3Url($key: String!) {\n getPresignedS3Url(key: $key)\n}\n\nquery UserExports {\n userExports {\n url\n size\n endedAt\n startedAt\n }\n}\n\nquery UserCollectionsList($name: String) {\n userCollectionsList(name: $name) {\n id\n name\n count\n isDefault\n description\n creator {\n id\n name\n }\n collaborators {\n id\n name\n }\n informationTemplate {\n lot\n name\n required\n description\n defaultValue\n }\n }\n}\n\nquery UserIntegrations {\n userIntegrations {\n id\n lot\n provider\n createdOn\n isDisabled\n maximumProgress\n minimumProgress\n lastTriggeredOn\n syncToOwnedCollection\n }\n}\n\nquery UserNotificationPlatforms {\n userNotificationPlatforms {\n id\n lot\n createdOn\n isDisabled\n description\n }\n}\n\nquery UsersList($query: String) {\n usersList(query: $query) {\n id\n lot\n name\n isDisabled\n }\n}\n\nquery UserRecommendations {\n userRecommendations\n}\n\nquery UserUpcomingCalendarEvents($input: UserUpcomingCalendarEventInput!) {\n userUpcomingCalendarEvents(input: $input) {\n ...CalendarEventPart\n }\n}\n\nquery UserCalendarEvents($input: UserCalendarEventInput!) {\n userCalendarEvents(input: $input) {\n date\n events {\n ...CalendarEventPart\n }\n }\n}\n\nquery MetadataPartialDetails($metadataId: String!) {\n metadataPartialDetails(metadataId: $metadataId) {\n id\n lot\n title\n image\n publishYear\n }\n}\n\nquery MetadataGroupsList($input: MetadataGroupsListInput!) {\n metadataGroupsList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery PeopleList($input: PeopleListInput!) {\n peopleList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery UserAccessLinks {\n userAccessLinks {\n id\n name\n isDemo\n createdOn\n expiresOn\n timesUsed\n isRevoked\n maximumUses\n isAccountDefault\n isMutationAllowed\n }\n}\n\nquery DailyUserActivities($input: DailyUserActivitiesInput!) {\n dailyUserActivities(input: $input) {\n groupedBy\n totalCount\n totalDuration\n items {\n day\n totalReviewCount\n workoutCount\n measurementCount\n audioBookCount\n animeCount\n bookCount\n podcastCount\n mangaCount\n showCount\n movieCount\n videoGameCount\n visualNovelCount\n }\n }\n}\n\nquery ExerciseDetails($exerciseId: String!) {\n exerciseDetails(exerciseId: $exerciseId) {\n id\n lot\n source\n level\n force\n mechanic\n equipment\n muscles\n createdByUserId\n attributes {\n instructions\n images\n }\n }\n}\n\nquery ExerciseParameters {\n exerciseParameters {\n downloadRequired\n filters {\n type\n level\n force\n mechanic\n equipment\n muscle\n }\n lotMapping {\n lot\n bests\n }\n }\n}\n\nquery ExercisesList($input: ExercisesListInput!) {\n exercisesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n lot\n image\n muscle\n numTimesInteracted\n lastUpdatedOn\n }\n }\n}\n\nquery ImportReports {\n importReports {\n id\n source\n progress\n startedOn\n finishedOn\n wasSuccess\n details {\n import {\n total\n }\n failedItems {\n lot\n step\n error\n identifier\n }\n }\n }\n}\n\nquery GenresList($input: SearchInput!) {\n genresList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n numItems\n }\n }\n}\n\nquery GenreDetails($input: GenreDetailsInput!) {\n genreDetails(input: $input) {\n details {\n id\n name\n numItems\n }\n contents {\n details {\n total\n nextPage\n }\n items\n }\n }\n}\n\nquery CollectionContents($input: CollectionContentsInput!) {\n collectionContents(input: $input) {\n user {\n id\n name\n }\n reviews {\n ...ReviewItemPart\n }\n results {\n details {\n total\n nextPage\n }\n items {\n entityId\n entityLot\n }\n }\n details {\n name\n description\n createdOn\n }\n }\n}\n\nquery CoreDetails {\n coreDetails {\n isPro\n version\n docsLink\n pageSize\n websiteUrl\n smtpEnabled\n oidcEnabled\n signupAllowed\n repositoryLink\n disableTelemetry\n tokenValidForDays\n localAuthDisabled\n fileStorageEnabled\n frontend {\n url\n oidcButtonLabel\n dashboardMessage\n umami {\n domains\n scriptUrl\n websiteId\n }\n }\n metadataProvidersMapping {\n supported\n default\n source\n }\n }\n}\n\nquery MetadataGroupDetails($metadataGroupId: String!) {\n metadataGroupDetails(metadataGroupId: $metadataGroupId) {\n contents\n sourceUrl\n details {\n id\n title\n lot\n source\n displayImages\n identifier\n parts\n isPartial\n }\n }\n}\n\nquery MetadataGroupSearch($input: MetadataGroupSearchInput!) {\n metadataGroupSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n parts\n }\n }\n}\n\nquery MetadataList($input: MetadataListInput!) {\n metadataList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery MetadataSearch($input: MetadataSearchInput!) {\n metadataSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n databaseId\n hasInteracted\n item {\n identifier\n title\n image\n publishYear\n }\n }\n }\n}\n\nquery PeopleSearch($input: PeopleSearchInput!) {\n peopleSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n birthYear\n }\n }\n}\n\nquery UserMetadataGroupDetails($metadataGroupId: String!) {\n userMetadataGroupDetails(metadataGroupId: $metadataGroupId) {\n reviews {\n ...ReviewItemPart\n }\n collections {\n ...CollectionPart\n }\n }\n}\n\nquery UserPersonDetails($personId: String!) {\n userPersonDetails(personId: $personId) {\n collections {\n ...CollectionPart\n }\n reviews {\n ...ReviewItemPart\n }\n }\n}\n\nquery UserWorkoutDetails($workoutId: String!) {\n userWorkoutDetails(workoutId: $workoutId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n endTime\n duration\n startTime\n templateId\n repeatedFrom\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutsList($input: SearchInput!) {\n userWorkoutsList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n endTime\n duration\n startTime\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplateDetails($workoutTemplateId: String!) {\n userWorkoutTemplateDetails(workoutTemplateId: $workoutTemplateId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplatesList($input: SearchInput!) {\n userWorkoutTemplatesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}"): (typeof documents)["query GetOidcRedirectUrl {\n getOidcRedirectUrl\n}\n\nquery UserByOidcIssuerId($oidcIssuerId: String!) {\n userByOidcIssuerId(oidcIssuerId: $oidcIssuerId)\n}\n\nquery GetOidcToken($code: String!) {\n getOidcToken(code: $code) {\n subject\n email\n }\n}\n\nquery GetPresignedS3Url($key: String!) {\n getPresignedS3Url(key: $key)\n}\n\nquery UserExports {\n userExports {\n url\n size\n endedAt\n startedAt\n }\n}\n\nquery UserCollectionsList($name: String) {\n userCollectionsList(name: $name) {\n id\n name\n count\n isDefault\n description\n creator {\n id\n name\n }\n collaborators {\n id\n name\n }\n informationTemplate {\n lot\n name\n required\n description\n defaultValue\n }\n }\n}\n\nquery UserIntegrations {\n userIntegrations {\n id\n lot\n provider\n createdOn\n isDisabled\n maximumProgress\n minimumProgress\n lastTriggeredOn\n syncToOwnedCollection\n }\n}\n\nquery UserNotificationPlatforms {\n userNotificationPlatforms {\n id\n lot\n createdOn\n isDisabled\n description\n }\n}\n\nquery UsersList($query: String) {\n usersList(query: $query) {\n id\n lot\n name\n isDisabled\n }\n}\n\nquery UserRecommendations {\n userRecommendations\n}\n\nquery UserUpcomingCalendarEvents($input: UserUpcomingCalendarEventInput!) {\n userUpcomingCalendarEvents(input: $input) {\n ...CalendarEventPart\n }\n}\n\nquery UserCalendarEvents($input: UserCalendarEventInput!) {\n userCalendarEvents(input: $input) {\n date\n events {\n ...CalendarEventPart\n }\n }\n}\n\nquery MetadataPartialDetails($metadataId: String!) {\n metadataPartialDetails(metadataId: $metadataId) {\n id\n lot\n title\n image\n publishYear\n }\n}\n\nquery MetadataGroupsList($input: MetadataGroupsListInput!) {\n metadataGroupsList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery PeopleList($input: PeopleListInput!) {\n peopleList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery UserAccessLinks {\n userAccessLinks {\n id\n name\n isDemo\n createdOn\n expiresOn\n timesUsed\n isRevoked\n maximumUses\n isAccountDefault\n isMutationAllowed\n }\n}\n\nquery DailyUserActivities($input: DailyUserActivitiesInput!) {\n dailyUserActivities(input: $input) {\n groupedBy\n totalCount\n totalDuration\n items {\n day\n totalReviewCount\n workoutCount\n measurementCount\n audioBookCount\n animeCount\n bookCount\n podcastCount\n mangaCount\n showCount\n movieCount\n videoGameCount\n visualNovelCount\n }\n }\n}\n\nquery ExerciseDetails($exerciseId: String!) {\n exerciseDetails(exerciseId: $exerciseId) {\n id\n lot\n source\n level\n force\n mechanic\n equipment\n muscles\n createdByUserId\n attributes {\n instructions\n images\n }\n }\n}\n\nquery ExerciseParameters {\n exerciseParameters {\n downloadRequired\n filters {\n type\n level\n force\n mechanic\n equipment\n muscle\n }\n lotMapping {\n lot\n bests\n }\n }\n}\n\nquery ExercisesList($input: ExercisesListInput!) {\n exercisesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n lot\n image\n muscle\n numTimesInteracted\n lastUpdatedOn\n }\n }\n}\n\nquery ImportReports {\n importReports {\n id\n source\n progress\n startedOn\n finishedOn\n wasSuccess\n details {\n import {\n total\n }\n failedItems {\n lot\n step\n error\n identifier\n }\n }\n }\n}\n\nquery GenresList($input: SearchInput!) {\n genresList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n numItems\n }\n }\n}\n\nquery GenreDetails($input: GenreDetailsInput!) {\n genreDetails(input: $input) {\n details {\n id\n name\n numItems\n }\n contents {\n details {\n total\n nextPage\n }\n items\n }\n }\n}\n\nquery CollectionContents($input: CollectionContentsInput!) {\n collectionContents(input: $input) {\n user {\n id\n name\n }\n reviews {\n ...ReviewItemPart\n }\n results {\n details {\n total\n nextPage\n }\n items {\n entityId\n entityLot\n }\n }\n details {\n name\n description\n createdOn\n }\n }\n}\n\nquery CoreDetails {\n coreDetails {\n isPro\n version\n docsLink\n pageSize\n websiteUrl\n smtpEnabled\n oidcEnabled\n signupAllowed\n repositoryLink\n disableTelemetry\n tokenValidForDays\n localAuthDisabled\n fileStorageEnabled\n frontend {\n url\n oidcButtonLabel\n dashboardMessage\n umami {\n domains\n scriptUrl\n websiteId\n }\n }\n metadataProvidersMapping {\n supported\n default\n source\n }\n }\n}\n\nquery MetadataGroupDetails($metadataGroupId: String!) {\n metadataGroupDetails(metadataGroupId: $metadataGroupId) {\n contents\n sourceUrl\n details {\n id\n title\n lot\n source\n displayImages\n identifier\n parts\n isPartial\n }\n }\n}\n\nquery MetadataGroupSearch($input: MetadataGroupSearchInput!) {\n metadataGroupSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n parts\n }\n }\n}\n\nquery MetadataList($input: MetadataListInput!) {\n metadataList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery MetadataSearch($input: MetadataSearchInput!) {\n metadataSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n databaseId\n hasInteracted\n item {\n identifier\n title\n image\n publishYear\n }\n }\n }\n}\n\nquery PeopleSearch($input: PeopleSearchInput!) {\n peopleSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n birthYear\n }\n }\n}\n\nquery UserMetadataGroupDetails($metadataGroupId: String!) {\n userMetadataGroupDetails(metadataGroupId: $metadataGroupId) {\n reviews {\n ...ReviewItemPart\n }\n collections {\n ...CollectionPart\n }\n }\n}\n\nquery UserPersonDetails($personId: String!) {\n userPersonDetails(personId: $personId) {\n collections {\n ...CollectionPart\n }\n reviews {\n ...ReviewItemPart\n }\n }\n}\n\nquery UserWorkoutDetails($workoutId: String!) {\n userWorkoutDetails(workoutId: $workoutId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n endTime\n duration\n startTime\n templateId\n repeatedFrom\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutsList($input: SearchInput!) {\n userWorkoutsList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n endTime\n duration\n startTime\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplateDetails($workoutTemplateId: String!) {\n userWorkoutTemplateDetails(workoutTemplateId: $workoutTemplateId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplatesList($input: SearchInput!) {\n userWorkoutTemplatesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}"]; +export function graphql(source: "query GetOidcRedirectUrl {\n getOidcRedirectUrl\n}\n\nquery UserByOidcIssuerId($oidcIssuerId: String!) {\n userByOidcIssuerId(oidcIssuerId: $oidcIssuerId)\n}\n\nquery GetOidcToken($code: String!) {\n getOidcToken(code: $code) {\n subject\n email\n }\n}\n\nquery GetPresignedS3Url($key: String!) {\n getPresignedS3Url(key: $key)\n}\n\nquery UserExports {\n userExports {\n url\n size\n endedAt\n startedAt\n }\n}\n\nquery UserCollectionsList($name: String) {\n userCollectionsList(name: $name) {\n id\n name\n count\n isDefault\n description\n creator {\n id\n name\n }\n collaborators {\n id\n name\n }\n informationTemplate {\n lot\n name\n required\n description\n defaultValue\n }\n }\n}\n\nquery UserIntegrations {\n userIntegrations {\n id\n lot\n provider\n createdOn\n isDisabled\n maximumProgress\n minimumProgress\n lastTriggeredOn\n syncToOwnedCollection\n }\n}\n\nquery UserNotificationPlatforms {\n userNotificationPlatforms {\n id\n lot\n createdOn\n isDisabled\n description\n }\n}\n\nquery UsersList($query: String) {\n usersList(query: $query) {\n id\n lot\n name\n isDisabled\n }\n}\n\nquery UserRecommendations {\n userRecommendations\n}\n\nquery UserUpcomingCalendarEvents($input: UserUpcomingCalendarEventInput!) {\n userUpcomingCalendarEvents(input: $input) {\n ...CalendarEventPart\n }\n}\n\nquery UserCalendarEvents($input: UserCalendarEventInput!) {\n userCalendarEvents(input: $input) {\n date\n events {\n ...CalendarEventPart\n }\n }\n}\n\nquery MetadataPartialDetails($metadataId: String!) {\n metadataPartialDetails(metadataId: $metadataId) {\n id\n lot\n title\n image\n publishYear\n }\n}\n\nquery MetadataGroupsList($input: MetadataGroupsListInput!) {\n metadataGroupsList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery PeopleList($input: PeopleListInput!) {\n peopleList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery UserAccessLinks {\n userAccessLinks {\n id\n name\n isDemo\n createdOn\n expiresOn\n timesUsed\n isRevoked\n maximumUses\n isAccountDefault\n isMutationAllowed\n }\n}\n\nquery DailyUserActivities($input: DailyUserActivitiesInput!) {\n dailyUserActivities(input: $input) {\n groupedBy\n totalCount\n totalDuration\n items {\n day\n totalReviewCount\n workoutCount\n measurementCount\n audioBookCount\n animeCount\n bookCount\n podcastCount\n mangaCount\n showCount\n movieCount\n videoGameCount\n visualNovelCount\n }\n }\n}\n\nquery ExerciseDetails($exerciseId: String!) {\n exerciseDetails(exerciseId: $exerciseId) {\n id\n lot\n source\n level\n force\n mechanic\n equipment\n muscles\n createdByUserId\n attributes {\n instructions\n images\n }\n }\n}\n\nquery ExerciseParameters {\n exerciseParameters {\n downloadRequired\n filters {\n type\n level\n force\n mechanic\n equipment\n muscle\n }\n lotMapping {\n lot\n bests\n }\n }\n}\n\nquery ExercisesList($input: ExercisesListInput!) {\n exercisesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n lot\n image\n muscle\n numTimesInteracted\n lastUpdatedOn\n }\n }\n}\n\nquery ImportReports {\n importReports {\n id\n source\n progress\n startedOn\n finishedOn\n wasSuccess\n details {\n import {\n total\n }\n failedItems {\n lot\n step\n error\n identifier\n }\n }\n }\n}\n\nquery GenresList($input: SearchInput!) {\n genresList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n numItems\n }\n }\n}\n\nquery GenreDetails($input: GenreDetailsInput!) {\n genreDetails(input: $input) {\n details {\n id\n name\n numItems\n }\n contents {\n details {\n total\n nextPage\n }\n items\n }\n }\n}\n\nquery CollectionContents($input: CollectionContentsInput!) {\n collectionContents(input: $input) {\n user {\n id\n name\n }\n reviews {\n ...ReviewItemPart\n }\n results {\n details {\n total\n nextPage\n }\n items {\n entityId\n entityLot\n }\n }\n details {\n name\n description\n createdOn\n }\n }\n}\n\nquery CoreDetails {\n coreDetails {\n isPro\n version\n docsLink\n pageSize\n websiteUrl\n smtpEnabled\n oidcEnabled\n signupAllowed\n repositoryLink\n disableTelemetry\n tokenValidForDays\n localAuthDisabled\n fileStorageEnabled\n frontend {\n url\n oidcButtonLabel\n dashboardMessage\n umami {\n domains\n scriptUrl\n websiteId\n }\n }\n }\n}\n\nquery MetadataGroupDetails($metadataGroupId: String!) {\n metadataGroupDetails(metadataGroupId: $metadataGroupId) {\n contents\n sourceUrl\n details {\n id\n title\n lot\n source\n displayImages\n identifier\n parts\n isPartial\n }\n }\n}\n\nquery MetadataGroupSearch($input: MetadataGroupSearchInput!) {\n metadataGroupSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n parts\n }\n }\n}\n\nquery MetadataList($input: MetadataListInput!) {\n metadataList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery MetadataSearch($input: MetadataSearchInput!) {\n metadataSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n databaseId\n hasInteracted\n item {\n identifier\n title\n image\n publishYear\n }\n }\n }\n}\n\nquery PeopleSearch($input: PeopleSearchInput!) {\n peopleSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n birthYear\n }\n }\n}\n\nquery UserMetadataGroupDetails($metadataGroupId: String!) {\n userMetadataGroupDetails(metadataGroupId: $metadataGroupId) {\n reviews {\n ...ReviewItemPart\n }\n collections {\n ...CollectionPart\n }\n }\n}\n\nquery UserPersonDetails($personId: String!) {\n userPersonDetails(personId: $personId) {\n collections {\n ...CollectionPart\n }\n reviews {\n ...ReviewItemPart\n }\n }\n}\n\nquery UserWorkoutDetails($workoutId: String!) {\n userWorkoutDetails(workoutId: $workoutId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n endTime\n duration\n startTime\n templateId\n repeatedFrom\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutsList($input: SearchInput!) {\n userWorkoutsList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n endTime\n duration\n startTime\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplateDetails($workoutTemplateId: String!) {\n userWorkoutTemplateDetails(workoutTemplateId: $workoutTemplateId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplatesList($input: SearchInput!) {\n userWorkoutTemplatesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}"): (typeof documents)["query GetOidcRedirectUrl {\n getOidcRedirectUrl\n}\n\nquery UserByOidcIssuerId($oidcIssuerId: String!) {\n userByOidcIssuerId(oidcIssuerId: $oidcIssuerId)\n}\n\nquery GetOidcToken($code: String!) {\n getOidcToken(code: $code) {\n subject\n email\n }\n}\n\nquery GetPresignedS3Url($key: String!) {\n getPresignedS3Url(key: $key)\n}\n\nquery UserExports {\n userExports {\n url\n size\n endedAt\n startedAt\n }\n}\n\nquery UserCollectionsList($name: String) {\n userCollectionsList(name: $name) {\n id\n name\n count\n isDefault\n description\n creator {\n id\n name\n }\n collaborators {\n id\n name\n }\n informationTemplate {\n lot\n name\n required\n description\n defaultValue\n }\n }\n}\n\nquery UserIntegrations {\n userIntegrations {\n id\n lot\n provider\n createdOn\n isDisabled\n maximumProgress\n minimumProgress\n lastTriggeredOn\n syncToOwnedCollection\n }\n}\n\nquery UserNotificationPlatforms {\n userNotificationPlatforms {\n id\n lot\n createdOn\n isDisabled\n description\n }\n}\n\nquery UsersList($query: String) {\n usersList(query: $query) {\n id\n lot\n name\n isDisabled\n }\n}\n\nquery UserRecommendations {\n userRecommendations\n}\n\nquery UserUpcomingCalendarEvents($input: UserUpcomingCalendarEventInput!) {\n userUpcomingCalendarEvents(input: $input) {\n ...CalendarEventPart\n }\n}\n\nquery UserCalendarEvents($input: UserCalendarEventInput!) {\n userCalendarEvents(input: $input) {\n date\n events {\n ...CalendarEventPart\n }\n }\n}\n\nquery MetadataPartialDetails($metadataId: String!) {\n metadataPartialDetails(metadataId: $metadataId) {\n id\n lot\n title\n image\n publishYear\n }\n}\n\nquery MetadataGroupsList($input: MetadataGroupsListInput!) {\n metadataGroupsList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery PeopleList($input: PeopleListInput!) {\n peopleList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery UserAccessLinks {\n userAccessLinks {\n id\n name\n isDemo\n createdOn\n expiresOn\n timesUsed\n isRevoked\n maximumUses\n isAccountDefault\n isMutationAllowed\n }\n}\n\nquery DailyUserActivities($input: DailyUserActivitiesInput!) {\n dailyUserActivities(input: $input) {\n groupedBy\n totalCount\n totalDuration\n items {\n day\n totalReviewCount\n workoutCount\n measurementCount\n audioBookCount\n animeCount\n bookCount\n podcastCount\n mangaCount\n showCount\n movieCount\n videoGameCount\n visualNovelCount\n }\n }\n}\n\nquery ExerciseDetails($exerciseId: String!) {\n exerciseDetails(exerciseId: $exerciseId) {\n id\n lot\n source\n level\n force\n mechanic\n equipment\n muscles\n createdByUserId\n attributes {\n instructions\n images\n }\n }\n}\n\nquery ExerciseParameters {\n exerciseParameters {\n downloadRequired\n filters {\n type\n level\n force\n mechanic\n equipment\n muscle\n }\n lotMapping {\n lot\n bests\n }\n }\n}\n\nquery ExercisesList($input: ExercisesListInput!) {\n exercisesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n lot\n image\n muscle\n numTimesInteracted\n lastUpdatedOn\n }\n }\n}\n\nquery ImportReports {\n importReports {\n id\n source\n progress\n startedOn\n finishedOn\n wasSuccess\n details {\n import {\n total\n }\n failedItems {\n lot\n step\n error\n identifier\n }\n }\n }\n}\n\nquery GenresList($input: SearchInput!) {\n genresList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n numItems\n }\n }\n}\n\nquery GenreDetails($input: GenreDetailsInput!) {\n genreDetails(input: $input) {\n details {\n id\n name\n numItems\n }\n contents {\n details {\n total\n nextPage\n }\n items\n }\n }\n}\n\nquery CollectionContents($input: CollectionContentsInput!) {\n collectionContents(input: $input) {\n user {\n id\n name\n }\n reviews {\n ...ReviewItemPart\n }\n results {\n details {\n total\n nextPage\n }\n items {\n entityId\n entityLot\n }\n }\n details {\n name\n description\n createdOn\n }\n }\n}\n\nquery CoreDetails {\n coreDetails {\n isPro\n version\n docsLink\n pageSize\n websiteUrl\n smtpEnabled\n oidcEnabled\n signupAllowed\n repositoryLink\n disableTelemetry\n tokenValidForDays\n localAuthDisabled\n fileStorageEnabled\n frontend {\n url\n oidcButtonLabel\n dashboardMessage\n umami {\n domains\n scriptUrl\n websiteId\n }\n }\n }\n}\n\nquery MetadataGroupDetails($metadataGroupId: String!) {\n metadataGroupDetails(metadataGroupId: $metadataGroupId) {\n contents\n sourceUrl\n details {\n id\n title\n lot\n source\n displayImages\n identifier\n parts\n isPartial\n }\n }\n}\n\nquery MetadataGroupSearch($input: MetadataGroupSearchInput!) {\n metadataGroupSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n parts\n }\n }\n}\n\nquery MetadataList($input: MetadataListInput!) {\n metadataList(input: $input) {\n details {\n total\n nextPage\n }\n items\n }\n}\n\nquery MetadataSearch($input: MetadataSearchInput!) {\n metadataSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n databaseId\n hasInteracted\n item {\n identifier\n title\n image\n publishYear\n }\n }\n }\n}\n\nquery PeopleSearch($input: PeopleSearchInput!) {\n peopleSearch(input: $input) {\n details {\n total\n nextPage\n }\n items {\n identifier\n name\n image\n birthYear\n }\n }\n}\n\nquery UserMetadataGroupDetails($metadataGroupId: String!) {\n userMetadataGroupDetails(metadataGroupId: $metadataGroupId) {\n reviews {\n ...ReviewItemPart\n }\n collections {\n ...CollectionPart\n }\n }\n}\n\nquery UserPersonDetails($personId: String!) {\n userPersonDetails(personId: $personId) {\n collections {\n ...CollectionPart\n }\n reviews {\n ...ReviewItemPart\n }\n }\n}\n\nquery UserWorkoutDetails($workoutId: String!) {\n userWorkoutDetails(workoutId: $workoutId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n endTime\n duration\n startTime\n templateId\n repeatedFrom\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutsList($input: SearchInput!) {\n userWorkoutsList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n endTime\n duration\n startTime\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplateDetails($workoutTemplateId: String!) {\n userWorkoutTemplateDetails(workoutTemplateId: $workoutTemplateId) {\n collections {\n ...CollectionPart\n }\n details {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n information {\n ...WorkoutInformationPart\n }\n }\n }\n}\n\nquery UserWorkoutTemplatesList($input: SearchInput!) {\n userWorkoutTemplatesList(input: $input) {\n details {\n total\n nextPage\n }\n items {\n id\n name\n createdOn\n visibility\n summary {\n ...WorkoutSummaryPart\n }\n }\n }\n}"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ diff --git a/libs/generated/src/graphql/backend/graphql.ts b/libs/generated/src/graphql/backend/graphql.ts index 3135eee6cf..de23c30165 100644 --- a/libs/generated/src/graphql/backend/graphql.ts +++ b/libs/generated/src/graphql/backend/graphql.ts @@ -224,7 +224,6 @@ export type CoreDetails = { frontend: FrontendConfig; isPro: Scalars['Boolean']['output']; localAuthDisabled: Scalars['Boolean']['output']; - metadataProvidersMapping: Array; oidcEnabled: Scalars['Boolean']['output']; pageSize: Scalars['Int']['output']; repositoryLink: Scalars['String']['output']; @@ -1674,12 +1673,6 @@ export type ProgressUpdateInput = { showSeasonNumber?: InputMaybe; }; -export type ProviderLanguageInformation = { - default: Scalars['String']['output']; - source: MediaSource; - supported: Array; -}; - export type QueryRoot = { /** Get the contents of a collection and respect visibility. */ collectionContents: CollectionContents; @@ -3302,7 +3295,7 @@ export type CollectionContentsQuery = { collectionContents: { user: { id: string export type CoreDetailsQueryVariables = Exact<{ [key: string]: never; }>; -export type CoreDetailsQuery = { coreDetails: { isPro: boolean, version: string, docsLink: string, pageSize: number, websiteUrl: string, smtpEnabled: boolean, oidcEnabled: boolean, signupAllowed: boolean, repositoryLink: string, disableTelemetry: boolean, tokenValidForDays: number, localAuthDisabled: boolean, fileStorageEnabled: boolean, frontend: { url: string, oidcButtonLabel: string, dashboardMessage: string, umami: { domains: string, scriptUrl: string, websiteId: string } }, metadataProvidersMapping: Array<{ supported: Array, default: string, source: MediaSource }> } }; +export type CoreDetailsQuery = { coreDetails: { isPro: boolean, version: string, docsLink: string, pageSize: number, websiteUrl: string, smtpEnabled: boolean, oidcEnabled: boolean, signupAllowed: boolean, repositoryLink: string, disableTelemetry: boolean, tokenValidForDays: number, localAuthDisabled: boolean, fileStorageEnabled: boolean, frontend: { url: string, oidcButtonLabel: string, dashboardMessage: string, umami: { domains: string, scriptUrl: string, websiteId: string } } } }; export type MetadataGroupDetailsQueryVariables = Exact<{ metadataGroupId: Scalars['String']['input']; @@ -3510,7 +3503,7 @@ export const ImportReportsDocument = {"kind":"Document","definitions":[{"kind":" export const GenresListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GenresList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SearchInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"genresList"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"details"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"nextPage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"numItems"}}]}}]}}]}}]} as unknown as DocumentNode; export const GenreDetailsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GenreDetails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"GenreDetailsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"genreDetails"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"details"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"numItems"}}]}},{"kind":"Field","name":{"kind":"Name","value":"contents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"details"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"nextPage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"items"}}]}}]}}]}}]} as unknown as DocumentNode; export const CollectionContentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CollectionContents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CollectionContentsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collectionContents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reviews"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReviewItemPart"}}]}},{"kind":"Field","name":{"kind":"Name","value":"results"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"details"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"nextPage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entityId"}},{"kind":"Field","name":{"kind":"Name","value":"entityLot"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"details"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"createdOn"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SeenShowExtraInformationPart"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SeenShowExtraInformation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"episode"}},{"kind":"Field","name":{"kind":"Name","value":"season"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SeenPodcastExtraInformationPart"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SeenPodcastExtraInformation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"episode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SeenAnimeExtraInformationPart"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SeenAnimeExtraInformation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"episode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SeenMangaExtraInformationPart"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SeenMangaExtraInformation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"volume"}},{"kind":"Field","name":{"kind":"Name","value":"chapter"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReviewItemPart"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReviewItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"postedOn"}},{"kind":"Field","name":{"kind":"Name","value":"isSpoiler"}},{"kind":"Field","name":{"kind":"Name","value":"visibility"}},{"kind":"Field","name":{"kind":"Name","value":"textOriginal"}},{"kind":"Field","name":{"kind":"Name","value":"textRendered"}},{"kind":"Field","name":{"kind":"Name","value":"seenItemsAssociatedWith"}},{"kind":"Field","name":{"kind":"Name","value":"postedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"likedBy"}},{"kind":"Field","name":{"kind":"Name","value":"createdOn"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showExtraInformation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SeenShowExtraInformationPart"}}]}},{"kind":"Field","name":{"kind":"Name","value":"podcastExtraInformation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SeenPodcastExtraInformationPart"}}]}},{"kind":"Field","name":{"kind":"Name","value":"animeExtraInformation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SeenAnimeExtraInformationPart"}}]}},{"kind":"Field","name":{"kind":"Name","value":"mangaExtraInformation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SeenMangaExtraInformationPart"}}]}}]}}]} as unknown as DocumentNode; -export const CoreDetailsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CoreDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"coreDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isPro"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"docsLink"}},{"kind":"Field","name":{"kind":"Name","value":"pageSize"}},{"kind":"Field","name":{"kind":"Name","value":"websiteUrl"}},{"kind":"Field","name":{"kind":"Name","value":"smtpEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"oidcEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"signupAllowed"}},{"kind":"Field","name":{"kind":"Name","value":"repositoryLink"}},{"kind":"Field","name":{"kind":"Name","value":"disableTelemetry"}},{"kind":"Field","name":{"kind":"Name","value":"tokenValidForDays"}},{"kind":"Field","name":{"kind":"Name","value":"localAuthDisabled"}},{"kind":"Field","name":{"kind":"Name","value":"fileStorageEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"frontend"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"oidcButtonLabel"}},{"kind":"Field","name":{"kind":"Name","value":"dashboardMessage"}},{"kind":"Field","name":{"kind":"Name","value":"umami"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"domains"}},{"kind":"Field","name":{"kind":"Name","value":"scriptUrl"}},{"kind":"Field","name":{"kind":"Name","value":"websiteId"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"metadataProvidersMapping"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"supported"}},{"kind":"Field","name":{"kind":"Name","value":"default"}},{"kind":"Field","name":{"kind":"Name","value":"source"}}]}}]}}]}}]} as unknown as DocumentNode; +export const CoreDetailsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CoreDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"coreDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isPro"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"docsLink"}},{"kind":"Field","name":{"kind":"Name","value":"pageSize"}},{"kind":"Field","name":{"kind":"Name","value":"websiteUrl"}},{"kind":"Field","name":{"kind":"Name","value":"smtpEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"oidcEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"signupAllowed"}},{"kind":"Field","name":{"kind":"Name","value":"repositoryLink"}},{"kind":"Field","name":{"kind":"Name","value":"disableTelemetry"}},{"kind":"Field","name":{"kind":"Name","value":"tokenValidForDays"}},{"kind":"Field","name":{"kind":"Name","value":"localAuthDisabled"}},{"kind":"Field","name":{"kind":"Name","value":"fileStorageEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"frontend"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"oidcButtonLabel"}},{"kind":"Field","name":{"kind":"Name","value":"dashboardMessage"}},{"kind":"Field","name":{"kind":"Name","value":"umami"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"domains"}},{"kind":"Field","name":{"kind":"Name","value":"scriptUrl"}},{"kind":"Field","name":{"kind":"Name","value":"websiteId"}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const MetadataGroupDetailsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MetadataGroupDetails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"metadataGroupId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadataGroupDetails"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"metadataGroupId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"metadataGroupId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"sourceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"details"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"lot"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"displayImages"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"parts"}},{"kind":"Field","name":{"kind":"Name","value":"isPartial"}}]}}]}}]}}]} as unknown as DocumentNode; export const MetadataGroupSearchDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MetadataGroupSearch"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MetadataGroupSearchInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadataGroupSearch"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"details"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"nextPage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"parts"}}]}}]}}]}}]} as unknown as DocumentNode; export const MetadataListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MetadataList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MetadataListInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadataList"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"details"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"nextPage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"items"}}]}}]}}]} as unknown as DocumentNode; diff --git a/libs/generated/src/graphql/backend/types.generated.ts b/libs/generated/src/graphql/backend/types.generated.ts index 935e4ad948..41df10f088 100644 --- a/libs/generated/src/graphql/backend/types.generated.ts +++ b/libs/generated/src/graphql/backend/types.generated.ts @@ -209,7 +209,6 @@ export type CoreDetails = { frontend: FrontendConfig; isPro: Scalars['Boolean']['output']; localAuthDisabled: Scalars['Boolean']['output']; - metadataProvidersMapping: Array; oidcEnabled: Scalars['Boolean']['output']; pageSize: Scalars['Int']['output']; repositoryLink: Scalars['String']['output']; @@ -1722,13 +1721,6 @@ export type ProgressUpdateInput = { showSeasonNumber?: InputMaybe; }; -export type ProviderLanguageInformation = { - __typename?: 'ProviderLanguageInformation'; - default: Scalars['String']['output']; - source: MediaSource; - supported: Array; -}; - export type QueryRoot = { __typename?: 'QueryRoot'; /** Get the contents of a collection and respect visibility. */ diff --git a/libs/graphql/src/backend/queries/combined.gql b/libs/graphql/src/backend/queries/combined.gql index 1ff8192fb0..c95e1ef885 100644 --- a/libs/graphql/src/backend/queries/combined.gql +++ b/libs/graphql/src/backend/queries/combined.gql @@ -329,11 +329,6 @@ query CoreDetails { websiteId } } - metadataProvidersMapping { - supported - default - source - } } }