Add time to segment information
This commit is contained in:
parent
0bcfd32b14
commit
9d912ed21e
@ -1,11 +1,16 @@
|
||||
# see: https://www.apollographql.com/docs/react/local-state/managing-state-with-field-policies/
|
||||
directive @client on FIELD
|
||||
|
||||
type SegmentInfo {
|
||||
index: Int!
|
||||
time: Float!
|
||||
}
|
||||
|
||||
extend type ShotGQL {
|
||||
startTime: Float!
|
||||
endTime: Float!
|
||||
startSegment: Int!
|
||||
endSegment: Int!
|
||||
startSegment: SegmentInfo!
|
||||
endSegment: SegmentInfo!
|
||||
}
|
||||
|
||||
extend type UploadStreamGQL {
|
||||
|
@ -2556,6 +2556,12 @@ export type SegmentEndFramesGql = {
|
||||
segmentEndFrames: Array<Scalars["Int"]["output"]>;
|
||||
};
|
||||
|
||||
export type SegmentInfo = {
|
||||
__typename?: "SegmentInfo";
|
||||
index: Scalars["Int"]["output"];
|
||||
time: Scalars["Float"]["output"];
|
||||
};
|
||||
|
||||
export type SegmentStartTimesGql = {
|
||||
__typename?: "SegmentStartTimesGQL";
|
||||
id: Scalars["Int"]["output"];
|
||||
@ -2608,7 +2614,7 @@ export type ShotGql = {
|
||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
cueObjectFeatures?: Maybe<CueObjectFeaturesGql>;
|
||||
endFrame: Scalars["Int"]["output"];
|
||||
endSegment: Scalars["Int"]["output"];
|
||||
endSegment: SegmentInfo;
|
||||
endTime: Scalars["Float"]["output"];
|
||||
falsePositiveScore?: Maybe<Scalars["Float"]["output"]>;
|
||||
id: Scalars["Int"]["output"];
|
||||
@ -2618,7 +2624,7 @@ export type ShotGql = {
|
||||
runFeatures?: Maybe<RunFeaturesGql>;
|
||||
serializedShotPaths?: Maybe<SerializedShotPathsGql>;
|
||||
startFrame: Scalars["Int"]["output"];
|
||||
startSegment: Scalars["Int"]["output"];
|
||||
startSegment: SegmentInfo;
|
||||
startTime: Scalars["Float"]["output"];
|
||||
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
user?: Maybe<UserGql>;
|
||||
@ -3538,11 +3544,11 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
||||
endFrame: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
startSegment: number;
|
||||
endSegment: number;
|
||||
falsePositiveScore?: number | null;
|
||||
createdAt?: any | null;
|
||||
updatedAt?: any | null;
|
||||
startSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
||||
endSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
||||
user?: { __typename?: "UserGQL"; id: number } | null;
|
||||
cueObjectFeatures?: {
|
||||
__typename?: "CueObjectFeaturesGQL";
|
||||
@ -3607,11 +3613,11 @@ export type GetShotsWithMetadataQuery = {
|
||||
endFrame: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
startSegment: number;
|
||||
endSegment: number;
|
||||
falsePositiveScore?: number | null;
|
||||
createdAt?: any | null;
|
||||
updatedAt?: any | null;
|
||||
startSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
||||
endSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
||||
user?: { __typename?: "UserGQL"; id: number } | null;
|
||||
cueObjectFeatures?: {
|
||||
__typename?: "CueObjectFeaturesGQL";
|
||||
@ -3669,11 +3675,11 @@ export type GetShotsByIdsQuery = {
|
||||
endFrame: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
startSegment: number;
|
||||
endSegment: number;
|
||||
falsePositiveScore?: number | null;
|
||||
createdAt?: any | null;
|
||||
updatedAt?: any | null;
|
||||
startSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
||||
endSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
||||
user?: { __typename?: "UserGQL"; id: number } | null;
|
||||
cueObjectFeatures?: {
|
||||
__typename?: "CueObjectFeaturesGQL";
|
||||
@ -3720,11 +3726,11 @@ export type ShotWithAllFeaturesFragment = {
|
||||
endFrame: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
startSegment: number;
|
||||
endSegment: number;
|
||||
falsePositiveScore?: number | null;
|
||||
createdAt?: any | null;
|
||||
updatedAt?: any | null;
|
||||
startSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
||||
endSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
||||
user?: { __typename?: "UserGQL"; id: number } | null;
|
||||
cueObjectFeatures?: {
|
||||
__typename?: "CueObjectFeaturesGQL";
|
||||
@ -3784,11 +3790,11 @@ export type EditShotMutation = {
|
||||
endFrame: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
startSegment: number;
|
||||
endSegment: number;
|
||||
falsePositiveScore?: number | null;
|
||||
createdAt?: any | null;
|
||||
updatedAt?: any | null;
|
||||
startSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
||||
endSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
||||
user?: { __typename?: "UserGQL"; id: number } | null;
|
||||
cueObjectFeatures?: {
|
||||
__typename?: "CueObjectFeaturesGQL";
|
||||
@ -4864,8 +4870,14 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
||||
endFrame
|
||||
startTime @client
|
||||
endTime @client
|
||||
startSegment @client
|
||||
endSegment @client
|
||||
startSegment @client {
|
||||
index
|
||||
time
|
||||
}
|
||||
endSegment @client {
|
||||
index
|
||||
time
|
||||
}
|
||||
user {
|
||||
id
|
||||
}
|
||||
|
@ -139,8 +139,14 @@ fragment ShotWithAllFeatures on ShotGQL {
|
||||
endFrame
|
||||
startTime @client
|
||||
endTime @client
|
||||
startSegment @client
|
||||
endSegment @client
|
||||
startSegment @client {
|
||||
index
|
||||
time
|
||||
}
|
||||
endSegment @client {
|
||||
index
|
||||
time
|
||||
}
|
||||
user {
|
||||
id
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user