Compare commits

...

3 Commits

Author SHA1 Message Date
8463ebf0e7 Merge pull request 'Add streamSegmentType to feed and playlist shot operations' (#181) from loewy/add-stream-type-to-get-shots into master
Reviewed-on: #181
2025-05-08 16:19:06 -06:00
753179ca58 add streamsegmentType to get feed
All checks were successful
Tests / Tests (pull_request) Successful in 9s
2025-05-08 14:15:57 -07:00
9ee5c721c1 add stream type to get shost for playlist 2025-05-08 13:44:58 -07:00
3 changed files with 64 additions and 0 deletions

View File

@ -3191,6 +3191,7 @@ export type GetFeedQuery = {
id: string;
lastIntendedSegmentBound?: number | null;
isCompleted: boolean;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
tags: Array<{
__typename?: "VideoTag";
@ -3264,6 +3265,7 @@ export type VideoCardFieldsFragment = {
id: string;
lastIntendedSegmentBound?: number | null;
isCompleted: boolean;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
tags: Array<{
__typename?: "VideoTag";
@ -3340,6 +3342,7 @@ export type GetVideoFeedQuery = {
id: string;
lastIntendedSegmentBound?: number | null;
isCompleted: boolean;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
tags: Array<{
__typename?: "VideoTag";
@ -3831,6 +3834,15 @@ export type GetShotsWithMetadataFilterResultQuery = {
name: string;
};
}>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
}>;
};
};
@ -3900,6 +3912,15 @@ export type GetShotsWithMetadataQuery = {
name: string;
};
}>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
}>;
};
};
@ -3958,6 +3979,15 @@ export type GetShotsByIdsQuery = {
notes: string;
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string };
}>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
}>;
};
@ -4009,6 +4039,15 @@ export type ShotWithAllFeaturesFragment = {
notes: string;
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string };
}>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
};
export type EditShotMutationVariables = Exact<{
@ -4077,6 +4116,15 @@ export type EditShotMutation = {
name: string;
};
}>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
} | null;
};
};
@ -5100,6 +5148,7 @@ export const VideoCardFieldsFragmentDoc = gql`
id
lastIntendedSegmentBound
isCompleted
streamSegmentType
}
tableSize
tags {
@ -5205,6 +5254,13 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
}
notes
}
video {
id
stream {
id
streamSegmentType
}
}
}
`;
export const UserFragmentFragmentDoc = gql`

View File

@ -40,6 +40,7 @@ fragment VideoCardFields on VideoGQL {
id
lastIntendedSegmentBound
isCompleted
streamSegmentType
}
tableSize
tags {

View File

@ -185,6 +185,13 @@ fragment ShotWithAllFeatures on ShotGQL {
}
notes
}
video {
id
stream {
id
streamSegmentType
}
}
}
mutation EditShot($shotId: Int!, $fieldsToEdit: EditableShotFieldInputGQL!) {