-
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.
Merge pull request #94 from Axinom/releases/iteration-73-merge
- Loading branch information
Showing
68 changed files
with
3,343 additions
and
968 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
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
17 changes: 17 additions & 0 deletions
17
libs/media-messages/src/generated/types/payloads/publish/types/cue-point.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,17 @@ | ||
/** | ||
* Cue point metadata. | ||
*/ | ||
export interface CuePoint { | ||
/** | ||
* Key of the cue point type. | ||
*/ | ||
cue_point_type_key: string; | ||
/** | ||
* Time in seconds at which the cue point is triggered within the video. | ||
*/ | ||
time_in_seconds: number; | ||
/** | ||
* Additional data associated with the cue point. | ||
*/ | ||
value?: string | null; | ||
} |
1 change: 1 addition & 0 deletions
1
libs/media-messages/src/generated/types/payloads/publish/types/index.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,3 +1,4 @@ | ||
export * from './cue-point'; | ||
export * from './format'; | ||
export * from './genre'; | ||
export * from './image'; | ||
|
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
52 changes: 52 additions & 0 deletions
52
services/catalog/service/migrations/committed/000008-add-video-cue-points-tables.sql
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,52 @@ | ||
--! Previous: sha1:ac06834674084dc237f4ac9168dfc87d7e85931c | ||
--! Hash: sha1:75abcc71fe97b30f08804271eb66200151400e8c | ||
--! Message: add-video-cue-points-tables | ||
|
||
DROP TABLE IF EXISTS app_public.movie_video_cue_points CASCADE; | ||
CREATE TABLE app_public.movie_video_cue_points( | ||
id INTEGER PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, | ||
movie_video_id INTEGER REFERENCES movie_videos ON DELETE CASCADE, | ||
cue_point_type_key TEXT NOT NULL, | ||
time_in_seconds NUMERIC(13,5) NOT NULL, | ||
value TEXT | ||
); | ||
SELECT ax_define.define_index('movie_video_id', 'movie_video_cue_points', 'app_public'); | ||
|
||
|
||
DROP TABLE IF EXISTS app_public.episode_video_cue_points CASCADE; | ||
CREATE TABLE app_public.episode_video_cue_points( | ||
id INTEGER PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, | ||
episode_video_id INTEGER REFERENCES episode_videos ON DELETE CASCADE, | ||
cue_point_type_key TEXT NOT NULL, | ||
time_in_seconds NUMERIC(13,5) NOT NULL, | ||
value TEXT | ||
); | ||
SELECT ax_define.define_index('episode_video_id', 'episode_video_cue_points', 'app_public'); | ||
|
||
|
||
DROP TABLE IF EXISTS app_public.season_video_cue_points CASCADE; | ||
CREATE TABLE app_public.season_video_cue_points( | ||
id INTEGER PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, | ||
season_video_id INTEGER REFERENCES season_videos ON DELETE CASCADE, | ||
cue_point_type_key TEXT NOT NULL, | ||
time_in_seconds NUMERIC(13,5) NOT NULL, | ||
value TEXT | ||
); | ||
SELECT ax_define.define_index('season_video_id', 'season_video_cue_points', 'app_public'); | ||
|
||
|
||
DROP TABLE IF EXISTS app_public.tvshow_video_cue_points CASCADE; | ||
CREATE TABLE app_public.tvshow_video_cue_points( | ||
id INTEGER PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, | ||
tvshow_video_id INTEGER REFERENCES tvshow_videos ON DELETE CASCADE, | ||
cue_point_type_key TEXT NOT NULL, | ||
time_in_seconds NUMERIC(13,5) NOT NULL, | ||
value TEXT | ||
); | ||
SELECT ax_define.define_index('tvshow_video_id', 'tvshow_video_cue_points', 'app_public'); | ||
|
||
GRANT SELECT, INSERT, UPDATE, DELETE ON | ||
app_public.movie_video_cue_points, | ||
app_public.episode_video_cue_points, | ||
app_public.season_video_cue_points, | ||
app_public.tvshow_video_cue_points TO ":DATABASE_GQL_ROLE"; |
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
Oops, something went wrong.