This commit is contained in:
parent
f136ddb9ca
commit
e151f39582
@ -186,12 +186,29 @@ export type DoesNotOwnShotErrOtherErrorNeedsNote =
|
||||
| DoesNotOwnShotErr
|
||||
| OtherErrorNeedsNote;
|
||||
|
||||
export type EditShotReturn = {
|
||||
__typename?: "EditShotReturn";
|
||||
error?: Maybe<DoesNotOwnShotErr>;
|
||||
shot?: Maybe<ShotGql>;
|
||||
};
|
||||
|
||||
export type EditUserInputGql = {
|
||||
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
username?: InputMaybe<Scalars["String"]["input"]>;
|
||||
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
};
|
||||
|
||||
export type EditableShotFieldInputGql = {
|
||||
backcut?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
excludeFromStats?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
intendedPocketType?: InputMaybe<PocketEnum>;
|
||||
make?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
notes?: InputMaybe<Scalars["String"]["input"]>;
|
||||
shotDirection?: InputMaybe<ShotDirectionEnum>;
|
||||
spinType?: InputMaybe<SpinTypeEnum>;
|
||||
targetPocketAngleDirection?: InputMaybe<ShotDirectionEnum>;
|
||||
};
|
||||
|
||||
export type EnumAggregation = {
|
||||
feature: Scalars["String"]["input"];
|
||||
};
|
||||
@ -2034,6 +2051,7 @@ export type Mutation = {
|
||||
createUploadStream: CreateUploadStreamReturn;
|
||||
deleteVideo: Scalars["Boolean"]["output"];
|
||||
editProfileImageUri: UserGql;
|
||||
editShot: EditShotReturn;
|
||||
editUploadStream: Scalars["Boolean"]["output"];
|
||||
editUser: UserGql;
|
||||
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
||||
@ -2069,6 +2087,11 @@ export type MutationEditProfileImageUriArgs = {
|
||||
profileImageUri: Scalars["String"]["input"];
|
||||
};
|
||||
|
||||
export type MutationEditShotArgs = {
|
||||
fieldsToEdit: EditableShotFieldInputGql;
|
||||
shotId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationEditUploadStreamArgs = {
|
||||
videoId: Scalars["Int"]["input"];
|
||||
videoMetadata: VideoMetadataInput;
|
||||
|
@ -707,6 +707,10 @@ scalar JSON
|
||||
type Mutation {
|
||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||
editShot(
|
||||
shotId: Int!
|
||||
fieldsToEdit: EditableShotFieldInputGQL!
|
||||
): EditShotReturn!
|
||||
addAnnotationToShot(
|
||||
shotId: Int!
|
||||
annotationName: String!
|
||||
@ -744,6 +748,27 @@ input CreateBucketSetInput {
|
||||
buckets: [BucketInputGQL!]!
|
||||
}
|
||||
|
||||
type EditShotReturn {
|
||||
shot: ShotGQL
|
||||
error: DoesNotOwnShotErr
|
||||
}
|
||||
|
||||
type DoesNotOwnShotErr {
|
||||
shotId: Int!
|
||||
msg: String
|
||||
}
|
||||
|
||||
input EditableShotFieldInputGQL {
|
||||
intendedPocketType: PocketEnum
|
||||
shotDirection: ShotDirectionEnum
|
||||
spinType: SpinTypeEnum
|
||||
targetPocketAngleDirection: ShotDirectionEnum
|
||||
make: Boolean
|
||||
backcut: Boolean
|
||||
excludeFromStats: Boolean
|
||||
notes: String
|
||||
}
|
||||
|
||||
type AddShotAnnotationReturn {
|
||||
value: SuccessfulAddAddShotAnnotationErrors!
|
||||
}
|
||||
@ -764,11 +789,6 @@ union DoesNotOwnShotErrOtherErrorNeedsNote =
|
||||
DoesNotOwnShotErr
|
||||
| OtherErrorNeedsNote
|
||||
|
||||
type DoesNotOwnShotErr {
|
||||
shotId: Int!
|
||||
msg: String
|
||||
}
|
||||
|
||||
type OtherErrorNeedsNote {
|
||||
msg: String
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user