Add start segment and end segment client side fields

This commit is contained in:
Ivan Malison 2025-02-26 19:29:15 -07:00
parent 9b27d288da
commit 0bcfd32b14
3 changed files with 18 additions and 0 deletions

View File

@ -4,6 +4,8 @@ directive @client on FIELD
extend type ShotGQL {
startTime: Float!
endTime: Float!
startSegment: Int!
endSegment: Int!
}
extend type UploadStreamGQL {

View File

@ -2608,6 +2608,7 @@ export type ShotGql = {
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
cueObjectFeatures?: Maybe<CueObjectFeaturesGql>;
endFrame: Scalars["Int"]["output"];
endSegment: Scalars["Int"]["output"];
endTime: Scalars["Float"]["output"];
falsePositiveScore?: Maybe<Scalars["Float"]["output"]>;
id: Scalars["Int"]["output"];
@ -2617,6 +2618,7 @@ export type ShotGql = {
runFeatures?: Maybe<RunFeaturesGql>;
serializedShotPaths?: Maybe<SerializedShotPathsGql>;
startFrame: Scalars["Int"]["output"];
startSegment: Scalars["Int"]["output"];
startTime: Scalars["Float"]["output"];
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
user?: Maybe<UserGql>;
@ -3536,6 +3538,8 @@ export type GetShotsWithMetadataFilterResultQuery = {
endFrame: number;
startTime: number;
endTime: number;
startSegment: number;
endSegment: number;
falsePositiveScore?: number | null;
createdAt?: any | null;
updatedAt?: any | null;
@ -3603,6 +3607,8 @@ export type GetShotsWithMetadataQuery = {
endFrame: number;
startTime: number;
endTime: number;
startSegment: number;
endSegment: number;
falsePositiveScore?: number | null;
createdAt?: any | null;
updatedAt?: any | null;
@ -3663,6 +3669,8 @@ export type GetShotsByIdsQuery = {
endFrame: number;
startTime: number;
endTime: number;
startSegment: number;
endSegment: number;
falsePositiveScore?: number | null;
createdAt?: any | null;
updatedAt?: any | null;
@ -3712,6 +3720,8 @@ export type ShotWithAllFeaturesFragment = {
endFrame: number;
startTime: number;
endTime: number;
startSegment: number;
endSegment: number;
falsePositiveScore?: number | null;
createdAt?: any | null;
updatedAt?: any | null;
@ -3774,6 +3784,8 @@ export type EditShotMutation = {
endFrame: number;
startTime: number;
endTime: number;
startSegment: number;
endSegment: number;
falsePositiveScore?: number | null;
createdAt?: any | null;
updatedAt?: any | null;
@ -4852,6 +4864,8 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
endFrame
startTime @client
endTime @client
startSegment @client
endSegment @client
user {
id
}

View File

@ -139,6 +139,8 @@ fragment ShotWithAllFeatures on ShotGQL {
endFrame
startTime @client
endTime @client
startSegment @client
endSegment @client
user {
id
}