Compare commits

..

No commits in common. "ce8cfd6a68d7b27f478c99dd5ae74a411d4d0c77" and "204e289627b08a96b947b6f23ed4a843d9e8abff" have entirely different histories.

4 changed files with 14 additions and 41 deletions

3
.gitignore vendored
View File

@ -1,3 +0,0 @@
node_modules
dist
.direnv

View File

@ -151,10 +151,7 @@ export type MutationGetUploadLinkArgs = {
export type MutationTerminateUploadStreamArgs = {
gameType?: InputMaybe<Scalars['String']['input']>;
tableSize?: InputMaybe<Scalars['String']['input']>;
videoId: Scalars['Int']['input'];
videoName?: InputMaybe<Scalars['String']['input']>;
};
export type OrFilter = {
@ -392,9 +389,6 @@ export type GetUploadLinkMutation = { __typename?: 'Mutation', getUploadLink: {
export type TerminateUploadStreamMutationVariables = Exact<{
videoId: Scalars['Int']['input'];
videoName?: InputMaybe<Scalars['String']['input']>;
gameType?: InputMaybe<Scalars['String']['input']>;
tableSize?: InputMaybe<Scalars['String']['input']>;
}>;
@ -597,13 +591,8 @@ export type GetUploadLinkMutationHookResult = ReturnType<typeof useGetUploadLink
export type GetUploadLinkMutationResult = Apollo.MutationResult<GetUploadLinkMutation>;
export type GetUploadLinkMutationOptions = Apollo.BaseMutationOptions<GetUploadLinkMutation, GetUploadLinkMutationVariables>;
export const TerminateUploadStreamDocument = gql`
mutation TerminateUploadStream($videoId: Int!, $videoName: String, $gameType: String, $tableSize: String) {
terminateUploadStream(
videoId: $videoId
videoName: $videoName
gameType: $gameType
tableSize: $tableSize
)
mutation TerminateUploadStream($videoId: Int!) {
terminateUploadStream(videoId: $videoId)
}
`;
export type TerminateUploadStreamMutationFn = Apollo.MutationFunction<TerminateUploadStreamMutation, TerminateUploadStreamMutationVariables>;
@ -622,9 +611,6 @@ export type TerminateUploadStreamMutationFn = Apollo.MutationFunction<TerminateU
* const [terminateUploadStreamMutation, { data, loading, error }] = useTerminateUploadStreamMutation({
* variables: {
* videoId: // value for 'videoId'
* videoName: // value for 'videoName'
* gameType: // value for 'gameType'
* tableSize: // value for 'tableSize'
* },
* });
*/

View File

@ -1,13 +1,13 @@
mutation CreateUploadStream(
$videoName: String!
$deviceType: DeviceTypeEnum
$osVersion: String
$appVersion: String
$browserName: String
$browserVersion: String
$locale: String
$timezone: String
$networkType: String
$videoName: String!,
$deviceType: DeviceTypeEnum,
$osVersion: String,
$appVersion: String,
$browserName: String,
$browserVersion: String,
$locale: String,
$timezone: String,
$networkType: String,
$ipAddress: String
) {
createUploadStream(
@ -35,16 +35,6 @@ mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
}
}
mutation TerminateUploadStream(
$videoId: Int!
$videoName: String
$gameType: String
$tableSize: String
) {
terminateUploadStream(
videoId: $videoId
videoName: $videoName
gameType: $gameType
tableSize: $tableSize
)
mutation TerminateUploadStream($videoId: Int!) {
terminateUploadStream(videoId: $videoId)
}

View File

@ -228,7 +228,7 @@ type Mutation {
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
createUploadStream(uploadMetadata: UploadMetadataInput, videoName: String = null): CreateUploadStreamReturn!
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
terminateUploadStream(videoId: Int!, videoName: String = null, gameType: String = null, tableSize: String = null): Boolean!
terminateUploadStream(videoId: Int!): Boolean!
}
input CreateBucketSetInput {