-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AB#39601] movie and movie genre localizations can now be published (#…
…128) * feature: movie and movie genre localizations can now be published [AB#39601] * chore: make media service to always publish localizations array [AB#39601] * chore: PR review adjustments [AB#39601]
- Loading branch information
Showing
64 changed files
with
6,024 additions
and
469 deletions.
There are no files selected for viewing
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
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
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
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
4 changes: 2 additions & 2 deletions
4
...edia-messages/src/generated/types/payloads/publish/events/movie-genres-published-event.ts
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,10 +1,10 @@ | ||
import { Genre } from '../types/genre'; | ||
import { MovieGenre } from '../types/movie-genre'; | ||
/** | ||
* Definition of the movie genre publish format. | ||
*/ | ||
export interface MovieGenresPublishedEvent { | ||
/** | ||
* List of movie genres. | ||
*/ | ||
genres: Genre[]; | ||
genres: MovieGenre[]; | ||
} |
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
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
14 changes: 14 additions & 0 deletions
14
libs/media-messages/src/generated/types/payloads/publish/types/movie-genre-localization.ts
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export interface MovieGenreLocalization { | ||
/** | ||
* Boolean flag to indicate if locale is default or not. | ||
*/ | ||
is_default_locale: boolean; | ||
/** | ||
* The locale for which the values are localized. | ||
*/ | ||
language_tag: string; | ||
/** | ||
* The localized title of this movie genre. | ||
*/ | ||
title: string; | ||
} |
18 changes: 18 additions & 0 deletions
18
libs/media-messages/src/generated/types/payloads/publish/types/movie-genre.ts
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { MovieGenreLocalization } from './movie-genre-localization'; | ||
/** | ||
* An individual movie genre object. | ||
*/ | ||
export interface MovieGenre { | ||
/** | ||
* Content ID of a movie genre. Must match the pattern `^(movie_genre)-([a-zA-Z0-9_-]+)$`. | ||
*/ | ||
content_id: string; | ||
/** | ||
* Global ordering number for the genre. | ||
*/ | ||
order_no: number; | ||
/** | ||
* Localizations for every defined locale. | ||
*/ | ||
localizations: MovieGenreLocalization[]; | ||
} |
Oops, something went wrong.