Merge master into short-share-links-gql
All checks were successful
Tests / Tests (pull_request) Successful in 34s
All checks were successful
Tests / Tests (pull_request) Successful in 34s
gql master added Shot Lab video feed scopes and pagination (operations-only: recorded_shots.gql + codegen output) while this branch added createShotShareLink. The two touch disjoint parts of the generated index.tsx, so the merge is textual only. Verified rather than trusted: re-ran graphql-codegen after the merge and src/index.tsx came back byte-identical (same md5), so the merged generated file is exactly what codegen produces. Reverted prettier's schema.gql reformat, which CI's own prettier undoes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user