update getUploadLink call with headers'
This commit is contained in:
parent
32ec7a2339
commit
b051809869
@ -516,7 +516,15 @@ export type GetUploadLinkMutationVariables = Exact<{
|
|||||||
|
|
||||||
export type GetUploadLinkMutation = {
|
export type GetUploadLinkMutation = {
|
||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
getUploadLink: { __typename?: "GetUploadLinkReturn"; uploadUrl: string };
|
getUploadLink: {
|
||||||
|
__typename?: "GetUploadLinkReturn";
|
||||||
|
uploadUrl: string;
|
||||||
|
headers: Array<{
|
||||||
|
__typename?: "Header";
|
||||||
|
key: string;
|
||||||
|
value: string;
|
||||||
|
} | null>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TerminateUploadStreamMutationVariables = Exact<{
|
export type TerminateUploadStreamMutationVariables = Exact<{
|
||||||
@ -906,6 +914,10 @@ export const GetUploadLinkDocument = gql`
|
|||||||
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
||||||
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) {
|
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) {
|
||||||
uploadUrl
|
uploadUrl
|
||||||
|
headers {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
@ -31,6 +31,10 @@ mutation CreateUploadStream(
|
|||||||
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
||||||
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) {
|
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) {
|
||||||
uploadUrl
|
uploadUrl
|
||||||
|
headers {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user