diff --git a/src/graphql/operations/getContents.graphql b/src/graphql/operations/getContents.graphql deleted file mode 100644 index 2dab8df..0000000 --- a/src/graphql/operations/getContents.graphql +++ /dev/null @@ -1,48 +0,0 @@ -query getContents($language_code: String) { - contents(pagination: { limit: -1 }) { - data { - id - attributes { - slug - translations(pagination: { limit: -1 }) { - pre_title - title - subtitle - language { - data { - attributes { - code - } - } - } - } - categories(pagination: { limit: -1 }) { - data { - id - attributes { - name - short - } - } - } - type { - data { - attributes { - slug - titles(filters: { language: { code: { eq: $language_code } } }) { - title - } - } - } - } - thumbnail { - data { - attributes { - ...uploadImage - } - } - } - } - } - } -} diff --git a/src/graphql/operations/getLibraryItemsPreview.graphql b/src/graphql/operations/getLibraryItemsPreview.graphql deleted file mode 100644 index 52dec97..0000000 --- a/src/graphql/operations/getLibraryItemsPreview.graphql +++ /dev/null @@ -1,107 +0,0 @@ -query getLibraryItemsPreview($language_code: String) { - libraryItems(pagination: { limit: -1 }) { - data { - id - attributes { - title - subtitle - slug - root_item - primary - thumbnail { - data { - attributes { - ...uploadImage - } - } - } - release_date { - ...datePicker - } - price { - ...pricePicker - } - categories(pagination: { limit: -1 }) { - data { - id - attributes { - name - short - } - } - } - metadata { - __typename - ... on ComponentMetadataBooks { - subtype { - data { - attributes { - slug - titles(filters: { language: { code: { eq: $language_code } } }) { - title - } - } - } - } - } - ... on ComponentMetadataGame { - platforms(pagination: { limit: -1 }) { - data { - id - attributes { - short - } - } - } - } - ... on ComponentMetadataVideo { - subtype { - data { - attributes { - slug - titles(filters: { language: { code: { eq: $language_code } } }) { - title - } - } - } - } - } - ... on ComponentMetadataAudio { - subtype { - data { - attributes { - slug - titles(filters: { language: { code: { eq: $language_code } } }) { - title - } - } - } - } - } - ... on ComponentMetadataGroup { - subtype { - data { - attributes { - slug - titles(filters: { language: { code: { eq: $language_code } } }) { - title - } - } - } - } - subitems_type { - data { - attributes { - slug - titles(filters: { language: { code: { eq: $language_code } } }) { - title - } - } - } - } - } - } - } - } - } -} diff --git a/src/graphql/operations/getPostsPreview.graphql b/src/graphql/operations/getPostsPreview.graphql deleted file mode 100644 index 9793db7..0000000 --- a/src/graphql/operations/getPostsPreview.graphql +++ /dev/null @@ -1,46 +0,0 @@ -query getPostsPreview { - posts(filters: { hidden: { eq: false } }) { - data { - id - attributes { - slug - date { - ...datePicker - } - categories(pagination: { limit: -1 }) { - data { - id - attributes { - short - } - } - } - thumbnail { - data { - attributes { - ...uploadImage - } - } - } - translations(pagination: { limit: -1 }) { - language { - data { - attributes { - code - } - } - } - title - excerpt - thumbnail { - data { - attributes { - ...uploadImage - } - } - } - } - } - } - } -} diff --git a/src/graphql/operations/getVideosPreview.graphql b/src/graphql/operations/getVideosPreview.graphql deleted file mode 100644 index 9576eac..0000000 --- a/src/graphql/operations/getVideosPreview.graphql +++ /dev/null @@ -1,33 +0,0 @@ -query getVideosPreview { - videos(pagination: { limit: -1 }) { - data { - id - attributes { - uid - title - views - duration - gone - categories(pagination: { limit: -1 }) { - data { - id - attributes { - short - } - } - } - published_date { - ...datePicker - } - channel { - data { - attributes { - uid - title - } - } - } - } - } - } -} diff --git a/src/graphql/operations/getWikiPagesPreviews.graphql b/src/graphql/operations/getWikiPagesPreviews.graphql deleted file mode 100644 index 85f142e..0000000 --- a/src/graphql/operations/getWikiPagesPreviews.graphql +++ /dev/null @@ -1,58 +0,0 @@ -query getWikiPagesPreviews($language_code: String) { - wikiPages(pagination: { limit: -1 }) { - data { - id - attributes { - slug - thumbnail { - data { - attributes { - ...uploadImage - } - } - } - categories(pagination: { limit: -1 }) { - data { - id - attributes { - name - short - } - } - } - tags(pagination: { limit: -1 }) { - data { - id - attributes { - slug - titles(filters: { language: { code: { eq: $language_code } } }) { - language { - data { - attributes { - code - } - } - } - title - } - } - } - } - translations(pagination: { limit: -1 }) { - title - aliases(pagination: { limit: -1 }) { - alias - } - summary - language { - data { - attributes { - code - } - } - } - } - } - } - } -}