Compare commits
6 Commits
loewy/sess
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| d7b0b21430 | |||
| f173466b2f | |||
|
|
df69d154a5 | ||
| 0bceb5d300 | |||
| f58048768c | |||
| 3e6dabe12a |
@@ -4318,7 +4318,7 @@ export type VideoExportJobGql = {
|
||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
downloadUrl?: Maybe<Scalars["String"]["output"]>;
|
||||
expiresAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
fileSizeBytes?: Maybe<Scalars["Int"]["output"]>;
|
||||
fileSizeBytes?: Maybe<Scalars["BigInt"]["output"]>;
|
||||
id: Scalars["Int"]["output"];
|
||||
mode: VideoExportModeEnum;
|
||||
runId?: Maybe<Scalars["Int"]["output"]>;
|
||||
@@ -6890,8 +6890,10 @@ export type ReactToVideoMutation = {
|
||||
};
|
||||
|
||||
export type GetShotLabVideosQueryVariables = Exact<{
|
||||
userId: Scalars["Int"]["input"];
|
||||
feedInput: VideoFeedInputGql;
|
||||
includePrivate: IncludePrivateEnum;
|
||||
limit?: Scalars["Int"]["input"];
|
||||
after?: InputMaybe<Scalars["String"]["input"]>;
|
||||
}>;
|
||||
|
||||
export type GetShotLabVideosQuery = {
|
||||
@@ -6919,6 +6921,11 @@ export type GetShotLabVideosQuery = {
|
||||
lastSegmentUploadedAt?: any | null;
|
||||
} | null;
|
||||
}>;
|
||||
pageInfo: {
|
||||
__typename?: "PageInfoGQL";
|
||||
hasNextPage: boolean;
|
||||
endCursor?: string | null;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -9274,7 +9281,7 @@ export type VideoExportJobFieldsFragment = {
|
||||
shotIds?: Array<number> | null;
|
||||
runId?: number | null;
|
||||
downloadUrl?: string | null;
|
||||
fileSizeBytes?: number | null;
|
||||
fileSizeBytes?: any | null;
|
||||
expiresAt?: any | null;
|
||||
createdAt?: any | null;
|
||||
};
|
||||
@@ -9296,7 +9303,7 @@ export type RequestVideoExportMutation = {
|
||||
shotIds?: Array<number> | null;
|
||||
runId?: number | null;
|
||||
downloadUrl?: string | null;
|
||||
fileSizeBytes?: number | null;
|
||||
fileSizeBytes?: any | null;
|
||||
expiresAt?: any | null;
|
||||
createdAt?: any | null;
|
||||
};
|
||||
@@ -9328,7 +9335,7 @@ export type VideoExportJobQuery = {
|
||||
shotIds?: Array<number> | null;
|
||||
runId?: number | null;
|
||||
downloadUrl?: string | null;
|
||||
fileSizeBytes?: number | null;
|
||||
fileSizeBytes?: any | null;
|
||||
expiresAt?: any | null;
|
||||
createdAt?: any | null;
|
||||
} | null;
|
||||
@@ -9352,7 +9359,7 @@ export type MyVideoExportsQuery = {
|
||||
shotIds?: Array<number> | null;
|
||||
runId?: number | null;
|
||||
downloadUrl?: string | null;
|
||||
fileSizeBytes?: number | null;
|
||||
fileSizeBytes?: any | null;
|
||||
expiresAt?: any | null;
|
||||
createdAt?: any | null;
|
||||
}>;
|
||||
@@ -15170,12 +15177,18 @@ export type ReactToVideoMutationOptions = Apollo.BaseMutationOptions<
|
||||
ReactToVideoMutationVariables
|
||||
>;
|
||||
export const GetShotLabVideosDocument = gql`
|
||||
query GetShotLabVideos($userId: Int!, $limit: Int! = 25) {
|
||||
query GetShotLabVideos(
|
||||
$feedInput: VideoFeedInputGQL!
|
||||
$includePrivate: IncludePrivateEnum!
|
||||
$limit: Int! = 25
|
||||
$after: String = null
|
||||
) {
|
||||
getFeedVideos(
|
||||
limit: $limit
|
||||
after: $after
|
||||
includeCallersVideos: false
|
||||
includePrivate: MINE
|
||||
feedInput: { userId: $userId }
|
||||
includePrivate: $includePrivate
|
||||
feedInput: $feedInput
|
||||
) {
|
||||
videos {
|
||||
id
|
||||
@@ -15195,6 +15208,10 @@ export const GetShotLabVideosDocument = gql`
|
||||
lastSegmentUploadedAt
|
||||
}
|
||||
}
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
endCursor
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -15211,8 +15228,10 @@ export const GetShotLabVideosDocument = gql`
|
||||
* @example
|
||||
* const { data, loading, error } = useGetShotLabVideosQuery({
|
||||
* variables: {
|
||||
* userId: // value for 'userId'
|
||||
* feedInput: // value for 'feedInput'
|
||||
* includePrivate: // value for 'includePrivate'
|
||||
* limit: // value for 'limit'
|
||||
* after: // value for 'after'
|
||||
* },
|
||||
* });
|
||||
*/
|
||||
|
||||
@@ -1,12 +1,19 @@
|
||||
# Lightweight two-step picker data for Shot Lab's video-first source: the
|
||||
# caller's recent videos (completed or still uploading), then that video's
|
||||
# shots. The stream fields hint at "actively updating" without gating.
|
||||
query GetShotLabVideos($userId: Int!, $limit: Int! = 25) {
|
||||
# Lightweight two-step picker data for Shot Lab's video-first source: recent
|
||||
# videos from the requested audience (mine, followed users, or public), then
|
||||
# that video's shots. The stream fields hint at "actively updating" without
|
||||
# gating.
|
||||
query GetShotLabVideos(
|
||||
$feedInput: VideoFeedInputGQL!
|
||||
$includePrivate: IncludePrivateEnum!
|
||||
$limit: Int! = 25
|
||||
$after: String = null
|
||||
) {
|
||||
getFeedVideos(
|
||||
limit: $limit
|
||||
after: $after
|
||||
includeCallersVideos: false
|
||||
includePrivate: MINE
|
||||
feedInput: { userId: $userId }
|
||||
includePrivate: $includePrivate
|
||||
feedInput: $feedInput
|
||||
) {
|
||||
videos {
|
||||
id
|
||||
@@ -26,6 +33,10 @@ query GetShotLabVideos($userId: Int!, $limit: Int! = 25) {
|
||||
lastSegmentUploadedAt
|
||||
}
|
||||
}
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
endCursor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -536,19 +536,6 @@ type GetUploadLinksReturn {
|
||||
stream: UploadStreamGQL
|
||||
}
|
||||
|
||||
type SegmentUploadLink {
|
||||
segmentIndex: Int!
|
||||
uploadUrl: String!
|
||||
headers: [Header]!
|
||||
}
|
||||
|
||||
type UploadLinkBatch {
|
||||
links: [SegmentUploadLink!]!
|
||||
alreadyUploaded: [Int!]!
|
||||
}
|
||||
|
||||
union UploadLinkBatchGetUploadLinkErrors = UploadLinkBatch | GetUploadLinkErrors
|
||||
|
||||
type HLSPlaylistGQL {
|
||||
videoId: Int!
|
||||
m3u8Text: String!
|
||||
@@ -1314,6 +1301,12 @@ type SegmentAlreadyUploadedErr {
|
||||
segmentId: Int!
|
||||
}
|
||||
|
||||
type SegmentUploadLink {
|
||||
segmentIndex: Int!
|
||||
uploadUrl: String!
|
||||
headers: [Header]!
|
||||
}
|
||||
|
||||
type SerializedShotPathsGQL {
|
||||
b64EncodedBuffer: String
|
||||
}
|
||||
@@ -1800,6 +1793,13 @@ type UploadLink {
|
||||
headers: [Header]!
|
||||
}
|
||||
|
||||
type UploadLinkBatch {
|
||||
links: [SegmentUploadLink!]!
|
||||
alreadyUploaded: [Int!]!
|
||||
}
|
||||
|
||||
union UploadLinkBatchGetUploadLinkErrors = UploadLinkBatch | GetUploadLinkErrors
|
||||
|
||||
union UploadLinkGetProfileUploadLinkErrors =
|
||||
UploadLink
|
||||
| GetProfileUploadLinkErrors
|
||||
@@ -1934,7 +1934,7 @@ type VideoExportJobGQL {
|
||||
shotIds: [Int!]
|
||||
runId: Int
|
||||
downloadUrl: String
|
||||
fileSizeBytes: Int
|
||||
fileSizeBytes: BigInt
|
||||
expiresAt: DateTime
|
||||
createdAt: DateTime
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user