-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor media fields in indexer documents
- Loading branch information
Yoginth
committed
Nov 26, 2024
1 parent
5dc9bdf
commit 9ee1bc3
Showing
3 changed files
with
5 additions
and
19 deletions.
There are no files selected for viewing
10 changes: 2 additions & 8 deletions
10
packages/indexer/documents/fragments/post-metadata/media-fields/MediaAudioFields.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
fragment MediaAudioFields on MediaAudio { | ||
artist | ||
audio { | ||
optimized { | ||
uri | ||
} | ||
} | ||
cover { | ||
...EncryptableImageSetFields | ||
} | ||
item | ||
cover | ||
license | ||
} |
4 changes: 1 addition & 3 deletions
4
packages/indexer/documents/fragments/post-metadata/media-fields/MediaImageFields.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
fragment MediaImageFields on MediaImage { | ||
image { | ||
...EncryptableImageSetFields | ||
} | ||
item | ||
} |
10 changes: 2 additions & 8 deletions
10
packages/indexer/documents/fragments/post-metadata/media-fields/MediaVideoFields.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
fragment MediaVideoFields on MediaVideo { | ||
video { | ||
optimized { | ||
uri | ||
} | ||
} | ||
cover { | ||
...EncryptableImageSetFields | ||
} | ||
item | ||
cover | ||
license | ||
} |