Compare commits
31 Commits
loewy/incl
...
8fabfd67cf
Author | SHA1 | Date | |
---|---|---|---|
8fabfd67cf | |||
e6960038f2 | |||
b6ec7ed39d | |||
545ba638c2 | |||
94e4e55558 | |||
2536f5db6b | |||
ffd0814a98 | |||
55bfe42484 | |||
dabb0d1d9c | |||
a538c1d81c | |||
872bce3adb | |||
457d375bed | |||
12798e368c | |||
a3d6e6e19e | |||
f7a6e393e7 | |||
ee11e506ed | |||
90ec47848b | |||
21acb5219d | |||
087d511efc | |||
7cc0dca821 | |||
f826121aa3 | |||
2aadb8b49b | |||
5468b7ccda | |||
08dfafe1a3 | |||
36b6804719 | |||
0120c15064 | |||
9cc99d956a | |||
985fa8b8e5 | |||
c4868e7ebe | |||
58e1c18034 | |||
592dea0ca2 |
449
src/index.tsx
449
src/index.tsx
@@ -117,6 +117,11 @@ export type BucketSetInputGql = {
|
|||||||
feature: Scalars["String"]["input"];
|
feature: Scalars["String"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export enum ClientUploadStatusEnum {
|
||||||
|
UploadDisabled = "UPLOAD_DISABLED",
|
||||||
|
UploadEnabled = "UPLOAD_ENABLED",
|
||||||
|
}
|
||||||
|
|
||||||
export type CreateBucketSetInput = {
|
export type CreateBucketSetInput = {
|
||||||
buckets: Array<BucketInputGql>;
|
buckets: Array<BucketInputGql>;
|
||||||
feature: Scalars["String"]["input"];
|
feature: Scalars["String"]["input"];
|
||||||
@@ -1979,6 +1984,7 @@ export type MakePercentageIntervalGql = {
|
|||||||
export type MedalGql = {
|
export type MedalGql = {
|
||||||
__typename?: "MedalGQL";
|
__typename?: "MedalGQL";
|
||||||
count: Scalars["Int"]["output"];
|
count: Scalars["Int"]["output"];
|
||||||
|
nickname?: Maybe<Scalars["String"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type MedalScope =
|
export type MedalScope =
|
||||||
@@ -2210,6 +2216,7 @@ export type QueryGetBucketSetArgs = {
|
|||||||
export type QueryGetFeedVideosArgs = {
|
export type QueryGetFeedVideosArgs = {
|
||||||
after?: InputMaybe<Scalars["String"]["input"]>;
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
filters?: InputMaybe<VideoFilterInput>;
|
filters?: InputMaybe<VideoFilterInput>;
|
||||||
|
includeCallersVideos?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
limit?: Scalars["Int"]["input"];
|
limit?: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2227,6 +2234,7 @@ export type QueryGetOrderedShotsArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type QueryGetPlayTimeArgs = {
|
export type QueryGetPlayTimeArgs = {
|
||||||
|
filters?: InputMaybe<VideoFilterInput>;
|
||||||
userId: Scalars["Int"]["input"];
|
userId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2297,17 +2305,6 @@ export type QueryWaitForArgs = {
|
|||||||
|
|
||||||
export type RequestedMedalsGql = {
|
export type RequestedMedalsGql = {
|
||||||
__typename?: "RequestedMedalsGQL";
|
__typename?: "RequestedMedalsGQL";
|
||||||
dayStreak2?: Maybe<MedalGql>;
|
|
||||||
dayStreak3?: Maybe<MedalGql>;
|
|
||||||
dayStreak4?: Maybe<MedalGql>;
|
|
||||||
dayStreak5?: Maybe<MedalGql>;
|
|
||||||
dayStreak6?: Maybe<MedalGql>;
|
|
||||||
dayStreak7?: Maybe<MedalGql>;
|
|
||||||
dayStreak14?: Maybe<MedalGql>;
|
|
||||||
dayStreak21?: Maybe<MedalGql>;
|
|
||||||
dayStreak30?: Maybe<MedalGql>;
|
|
||||||
dayStreak60?: Maybe<MedalGql>;
|
|
||||||
dayStreak90?: Maybe<MedalGql>;
|
|
||||||
distanceOver66?: Maybe<MedalGql>;
|
distanceOver66?: Maybe<MedalGql>;
|
||||||
distanceOver78?: Maybe<MedalGql>;
|
distanceOver78?: Maybe<MedalGql>;
|
||||||
distanceOver90?: Maybe<MedalGql>;
|
distanceOver90?: Maybe<MedalGql>;
|
||||||
@@ -2554,6 +2551,7 @@ export type UploadSegmentGql = {
|
|||||||
|
|
||||||
export type UploadStreamGql = {
|
export type UploadStreamGql = {
|
||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
|
clientUploadStatus?: Maybe<ClientUploadStatusEnum>;
|
||||||
createdAt: Scalars["DateTime"]["output"];
|
createdAt: Scalars["DateTime"]["output"];
|
||||||
errors: Array<StreamErrorGql>;
|
errors: Array<StreamErrorGql>;
|
||||||
id: Scalars["ID"]["output"];
|
id: Scalars["ID"]["output"];
|
||||||
@@ -2607,6 +2605,8 @@ export type UserRelationshipsResult = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type VideoFilterInput = {
|
export type VideoFilterInput = {
|
||||||
|
createdAt?: InputMaybe<DateRangeFilter>;
|
||||||
|
excludeVideosWithNoShots?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
isStreamCompleted?: InputMaybe<Scalars["Boolean"]["input"]>;
|
isStreamCompleted?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
requireCursorCompletion?: Scalars["Boolean"]["input"];
|
requireCursorCompletion?: Scalars["Boolean"]["input"];
|
||||||
};
|
};
|
||||||
@@ -2646,6 +2646,7 @@ export type VideoHistoryGql = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type VideoMetadataInput = {
|
export type VideoMetadataInput = {
|
||||||
|
clientUploadStatus?: InputMaybe<ClientUploadStatusEnum>;
|
||||||
endStream?: Scalars["Boolean"]["input"];
|
endStream?: Scalars["Boolean"]["input"];
|
||||||
endTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
endTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||||
framesPerSecond?: InputMaybe<Scalars["Float"]["input"]>;
|
framesPerSecond?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
@@ -2776,9 +2777,15 @@ export type GetFeedQuery = {
|
|||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
startTime?: any | null;
|
startTime?: any | null;
|
||||||
endTime?: any | null;
|
endTime?: any | null;
|
||||||
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
owner?: { __typename?: "UserGQL"; username: string } | null;
|
owner?: {
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
} | null;
|
||||||
stream?: {
|
stream?: {
|
||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
id: string;
|
id: string;
|
||||||
@@ -2789,6 +2796,19 @@ export type GetFeedQuery = {
|
|||||||
name: string;
|
name: string;
|
||||||
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
||||||
}>;
|
}>;
|
||||||
|
currentProcessing?: {
|
||||||
|
__typename?: "VideoProcessingGQL";
|
||||||
|
id: number;
|
||||||
|
status: ProcessingStatusEnum;
|
||||||
|
errors: Array<{
|
||||||
|
__typename?: "VideoProcessingErrorGQL";
|
||||||
|
message: string;
|
||||||
|
}>;
|
||||||
|
statuses: Array<{
|
||||||
|
__typename?: "VideoProcessingStatusGQL";
|
||||||
|
status: ProcessingStatusEnum;
|
||||||
|
}>;
|
||||||
|
} | null;
|
||||||
}>;
|
}>;
|
||||||
pageInfo: {
|
pageInfo: {
|
||||||
__typename?: "PageInfoGQL";
|
__typename?: "PageInfoGQL";
|
||||||
@@ -2810,6 +2830,7 @@ export type VideoCardFieldsFragment = {
|
|||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
startTime?: any | null;
|
startTime?: any | null;
|
||||||
endTime?: any | null;
|
endTime?: any | null;
|
||||||
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
owner?: {
|
owner?: {
|
||||||
@@ -2844,6 +2865,7 @@ export type GetVideoFeedQueryVariables = Exact<{
|
|||||||
limit?: Scalars["Int"]["input"];
|
limit?: Scalars["Int"]["input"];
|
||||||
after?: InputMaybe<Scalars["String"]["input"]>;
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
filters?: InputMaybe<VideoFilterInput>;
|
filters?: InputMaybe<VideoFilterInput>;
|
||||||
|
includeCallersVideos?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetVideoFeedQuery = {
|
export type GetVideoFeedQuery = {
|
||||||
@@ -2862,6 +2884,7 @@ export type GetVideoFeedQuery = {
|
|||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
startTime?: any | null;
|
startTime?: any | null;
|
||||||
endTime?: any | null;
|
endTime?: any | null;
|
||||||
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
owner?: {
|
owner?: {
|
||||||
@@ -2916,6 +2939,118 @@ export type GetVideoMakePercentageIntervalsQuery = {
|
|||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetMedalsQueryVariables = Exact<{
|
||||||
|
scope: MedalScope;
|
||||||
|
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type GetMedalsQuery = {
|
||||||
|
__typename?: "Query";
|
||||||
|
getMedals: {
|
||||||
|
__typename?: "RequestedMedalsGQL";
|
||||||
|
distanceOver66?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
distanceOver78?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
distanceOver90?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
runLength3?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
runLength5?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
runLength8?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
runLength10?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
runLength15?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
runLength20?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
runLength25?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
runLength30?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
runLength40?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
runLength50?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
totalMakes25?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
totalMakes50?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
totalMakes75?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
totalMakes100?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
totalMakes200?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
totalMakes300?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
totalMakes400?: {
|
||||||
|
__typename?: "MedalGQL";
|
||||||
|
count: number;
|
||||||
|
nickname?: string | null;
|
||||||
|
} | null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
export type GetSerializedShotPathsQueryVariables = Exact<{
|
export type GetSerializedShotPathsQueryVariables = Exact<{
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
}>;
|
}>;
|
||||||
@@ -3006,12 +3141,14 @@ export type GetShotsWithJustIdsQueryVariables = Exact<{
|
|||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
||||||
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
countRespectsLimit?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetShotsWithJustIdsQuery = {
|
export type GetShotsWithJustIdsQuery = {
|
||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getOrderedShots: {
|
getOrderedShots: {
|
||||||
__typename?: "GetShotsResult";
|
__typename?: "GetShotsResult";
|
||||||
|
count?: number | null;
|
||||||
shots: Array<{ __typename?: "ShotGQL"; id: number; videoId: number }>;
|
shots: Array<{ __typename?: "ShotGQL"; id: number; videoId: number }>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -3058,6 +3195,7 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
|||||||
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
||||||
marginOfErrorInDegrees?: number | null;
|
marginOfErrorInDegrees?: number | null;
|
||||||
intendedPocketType?: PocketEnum | null;
|
intendedPocketType?: PocketEnum | null;
|
||||||
|
difficulty?: number | null;
|
||||||
} | null;
|
} | null;
|
||||||
pocketingIntentionInfo?: {
|
pocketingIntentionInfo?: {
|
||||||
__typename?: "PocketingIntentionInfoGQL";
|
__typename?: "PocketingIntentionInfoGQL";
|
||||||
@@ -3124,6 +3262,7 @@ export type GetShotsWithMetadataQuery = {
|
|||||||
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
||||||
marginOfErrorInDegrees?: number | null;
|
marginOfErrorInDegrees?: number | null;
|
||||||
intendedPocketType?: PocketEnum | null;
|
intendedPocketType?: PocketEnum | null;
|
||||||
|
difficulty?: number | null;
|
||||||
} | null;
|
} | null;
|
||||||
pocketingIntentionInfo?: {
|
pocketingIntentionInfo?: {
|
||||||
__typename?: "PocketingIntentionInfoGQL";
|
__typename?: "PocketingIntentionInfoGQL";
|
||||||
@@ -3183,6 +3322,7 @@ export type GetShotsByIdsQuery = {
|
|||||||
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
||||||
marginOfErrorInDegrees?: number | null;
|
marginOfErrorInDegrees?: number | null;
|
||||||
intendedPocketType?: PocketEnum | null;
|
intendedPocketType?: PocketEnum | null;
|
||||||
|
difficulty?: number | null;
|
||||||
} | null;
|
} | null;
|
||||||
pocketingIntentionInfo?: {
|
pocketingIntentionInfo?: {
|
||||||
__typename?: "PocketingIntentionInfoGQL";
|
__typename?: "PocketingIntentionInfoGQL";
|
||||||
@@ -3231,6 +3371,7 @@ export type ShotWithAllFeaturesFragment = {
|
|||||||
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
||||||
marginOfErrorInDegrees?: number | null;
|
marginOfErrorInDegrees?: number | null;
|
||||||
intendedPocketType?: PocketEnum | null;
|
intendedPocketType?: PocketEnum | null;
|
||||||
|
difficulty?: number | null;
|
||||||
} | null;
|
} | null;
|
||||||
pocketingIntentionInfo?: {
|
pocketingIntentionInfo?: {
|
||||||
__typename?: "PocketingIntentionInfoGQL";
|
__typename?: "PocketingIntentionInfoGQL";
|
||||||
@@ -3310,11 +3451,13 @@ export type GetLoggedInUserQuery = {
|
|||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
|
videosPrivateByDefault?: boolean | null;
|
||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type GetUserPlayTimeQueryVariables = Exact<{
|
export type GetUserPlayTimeQueryVariables = Exact<{
|
||||||
userId: Scalars["Int"]["input"];
|
userId: Scalars["Int"]["input"];
|
||||||
|
filters?: InputMaybe<VideoFilterInput>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetUserPlayTimeQuery = {
|
export type GetUserPlayTimeQuery = {
|
||||||
@@ -3437,6 +3580,25 @@ export type DoesUsernameExistQuery = {
|
|||||||
doesUsernameExist: boolean;
|
doesUsernameExist: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type EditUserMutationVariables = Exact<{
|
||||||
|
username?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
|
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type EditUserMutation = {
|
||||||
|
__typename?: "Mutation";
|
||||||
|
editUser: {
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
firebaseUid?: string | null;
|
||||||
|
username: string;
|
||||||
|
fargoRating?: number | null;
|
||||||
|
updatedAt?: any | null;
|
||||||
|
videosPrivateByDefault?: boolean | null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
||||||
@@ -3490,6 +3652,7 @@ export type GetStreamMonitoringDetailsQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
currentProcessing?: {
|
currentProcessing?: {
|
||||||
__typename?: "VideoProcessingGQL";
|
__typename?: "VideoProcessingGQL";
|
||||||
|
id: number;
|
||||||
errors: Array<{
|
errors: Array<{
|
||||||
__typename?: "VideoProcessingErrorGQL";
|
__typename?: "VideoProcessingErrorGQL";
|
||||||
message: string;
|
message: string;
|
||||||
@@ -4120,6 +4283,7 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|||||||
updatedAt
|
updatedAt
|
||||||
startTime
|
startTime
|
||||||
endTime
|
endTime
|
||||||
|
private
|
||||||
elapsedTime
|
elapsedTime
|
||||||
screenshotUri
|
screenshotUri
|
||||||
stream {
|
stream {
|
||||||
@@ -4173,6 +4337,7 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
|||||||
targetPocketAngleDirection
|
targetPocketAngleDirection
|
||||||
marginOfErrorInDegrees
|
marginOfErrorInDegrees
|
||||||
intendedPocketType
|
intendedPocketType
|
||||||
|
difficulty
|
||||||
}
|
}
|
||||||
pocketingIntentionInfo {
|
pocketingIntentionInfo {
|
||||||
ballId
|
ballId
|
||||||
@@ -4470,32 +4635,7 @@ export const GetFeedDocument = gql`
|
|||||||
) {
|
) {
|
||||||
getUserVideos(limit: $limit, after: $after, filters: $filters) {
|
getUserVideos(limit: $limit, after: $after, filters: $filters) {
|
||||||
videos {
|
videos {
|
||||||
id
|
...VideoCardFields
|
||||||
owner {
|
|
||||||
username
|
|
||||||
}
|
|
||||||
name
|
|
||||||
screenshotUri
|
|
||||||
totalShotsMade
|
|
||||||
totalShots
|
|
||||||
makePercentage
|
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
startTime
|
|
||||||
endTime
|
|
||||||
elapsedTime
|
|
||||||
screenshotUri
|
|
||||||
stream {
|
|
||||||
id
|
|
||||||
isCompleted
|
|
||||||
}
|
|
||||||
tableSize
|
|
||||||
tags {
|
|
||||||
tagClasses {
|
|
||||||
name
|
|
||||||
}
|
|
||||||
name
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
pageInfo {
|
pageInfo {
|
||||||
hasNextPage
|
hasNextPage
|
||||||
@@ -4503,6 +4643,7 @@ export const GetFeedDocument = gql`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
${VideoCardFieldsFragmentDoc}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -4570,8 +4711,14 @@ export const GetVideoFeedDocument = gql`
|
|||||||
$limit: Int! = 5
|
$limit: Int! = 5
|
||||||
$after: String = null
|
$after: String = null
|
||||||
$filters: VideoFilterInput = null
|
$filters: VideoFilterInput = null
|
||||||
|
$includeCallersVideos: Boolean = null
|
||||||
|
) {
|
||||||
|
getFeedVideos(
|
||||||
|
limit: $limit
|
||||||
|
after: $after
|
||||||
|
filters: $filters
|
||||||
|
includeCallersVideos: $includeCallersVideos
|
||||||
) {
|
) {
|
||||||
getFeedVideos(limit: $limit, after: $after, filters: $filters) {
|
|
||||||
videos {
|
videos {
|
||||||
...VideoCardFields
|
...VideoCardFields
|
||||||
}
|
}
|
||||||
@@ -4599,6 +4746,7 @@ export const GetVideoFeedDocument = gql`
|
|||||||
* limit: // value for 'limit'
|
* limit: // value for 'limit'
|
||||||
* after: // value for 'after'
|
* after: // value for 'after'
|
||||||
* filters: // value for 'filters'
|
* filters: // value for 'filters'
|
||||||
|
* includeCallersVideos: // value for 'includeCallersVideos'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
@@ -4732,6 +4880,154 @@ export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult<
|
|||||||
GetVideoMakePercentageIntervalsQuery,
|
GetVideoMakePercentageIntervalsQuery,
|
||||||
GetVideoMakePercentageIntervalsQueryVariables
|
GetVideoMakePercentageIntervalsQueryVariables
|
||||||
>;
|
>;
|
||||||
|
export const GetMedalsDocument = gql`
|
||||||
|
query getMedals($scope: MedalScope!, $userId: Int) {
|
||||||
|
getMedals(scope: $scope, userId: $userId) {
|
||||||
|
distanceOver66 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
distanceOver78 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
distanceOver90 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength3 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength5 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength8 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength10 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength15 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength20 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength25 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength30 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength40 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength50 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes25 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes50 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes75 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes100 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes200 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes300 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes400 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useGetMedalsQuery__
|
||||||
|
*
|
||||||
|
* To run a query within a React component, call `useGetMedalsQuery` and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useGetMedalsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
||||||
|
* you can use to render your UI.
|
||||||
|
*
|
||||||
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* const { data, loading, error } = useGetMedalsQuery({
|
||||||
|
* variables: {
|
||||||
|
* scope: // value for 'scope'
|
||||||
|
* userId: // value for 'userId'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useGetMedalsQuery(
|
||||||
|
baseOptions: Apollo.QueryHookOptions<GetMedalsQuery, GetMedalsQueryVariables>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useQuery<GetMedalsQuery, GetMedalsQueryVariables>(
|
||||||
|
GetMedalsDocument,
|
||||||
|
options,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
export function useGetMedalsLazyQuery(
|
||||||
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
||||||
|
GetMedalsQuery,
|
||||||
|
GetMedalsQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useLazyQuery<GetMedalsQuery, GetMedalsQueryVariables>(
|
||||||
|
GetMedalsDocument,
|
||||||
|
options,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
export function useGetMedalsSuspenseQuery(
|
||||||
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
||||||
|
GetMedalsQuery,
|
||||||
|
GetMedalsQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useSuspenseQuery<GetMedalsQuery, GetMedalsQueryVariables>(
|
||||||
|
GetMedalsDocument,
|
||||||
|
options,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
export type GetMedalsQueryHookResult = ReturnType<typeof useGetMedalsQuery>;
|
||||||
|
export type GetMedalsLazyQueryHookResult = ReturnType<
|
||||||
|
typeof useGetMedalsLazyQuery
|
||||||
|
>;
|
||||||
|
export type GetMedalsSuspenseQueryHookResult = ReturnType<
|
||||||
|
typeof useGetMedalsSuspenseQuery
|
||||||
|
>;
|
||||||
|
export type GetMedalsQueryResult = Apollo.QueryResult<
|
||||||
|
GetMedalsQuery,
|
||||||
|
GetMedalsQueryVariables
|
||||||
|
>;
|
||||||
export const GetSerializedShotPathsDocument = gql`
|
export const GetSerializedShotPathsDocument = gql`
|
||||||
query GetSerializedShotPaths($filterInput: FilterInput!) {
|
query GetSerializedShotPaths($filterInput: FilterInput!) {
|
||||||
getShots(filterInput: $filterInput) {
|
getShots(filterInput: $filterInput) {
|
||||||
@@ -5047,12 +5343,15 @@ export const GetShotsWithJustIdsDocument = gql`
|
|||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsOrdering: GetShotsOrdering
|
$shotsOrdering: GetShotsOrdering
|
||||||
$limit: Int
|
$limit: Int
|
||||||
|
$countRespectsLimit: Boolean
|
||||||
) {
|
) {
|
||||||
getOrderedShots(
|
getOrderedShots(
|
||||||
filterInput: $filterInput
|
filterInput: $filterInput
|
||||||
shotsOrdering: $shotsOrdering
|
shotsOrdering: $shotsOrdering
|
||||||
limit: $limit
|
limit: $limit
|
||||||
|
countRespectsLimit: $countRespectsLimit
|
||||||
) {
|
) {
|
||||||
|
count
|
||||||
shots {
|
shots {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
@@ -5076,6 +5375,7 @@ export const GetShotsWithJustIdsDocument = gql`
|
|||||||
* filterInput: // value for 'filterInput'
|
* filterInput: // value for 'filterInput'
|
||||||
* shotsOrdering: // value for 'shotsOrdering'
|
* shotsOrdering: // value for 'shotsOrdering'
|
||||||
* limit: // value for 'limit'
|
* limit: // value for 'limit'
|
||||||
|
* countRespectsLimit: // value for 'countRespectsLimit'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
@@ -5519,6 +5819,7 @@ export const GetLoggedInUserDocument = gql`
|
|||||||
activeVideoId
|
activeVideoId
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
|
videosPrivateByDefault
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -5588,8 +5889,8 @@ export type GetLoggedInUserQueryResult = Apollo.QueryResult<
|
|||||||
GetLoggedInUserQueryVariables
|
GetLoggedInUserQueryVariables
|
||||||
>;
|
>;
|
||||||
export const GetUserPlayTimeDocument = gql`
|
export const GetUserPlayTimeDocument = gql`
|
||||||
query GetUserPlayTime($userId: Int!) {
|
query GetUserPlayTime($userId: Int!, $filters: VideoFilterInput) {
|
||||||
getPlayTime(userId: $userId) {
|
getPlayTime(userId: $userId, filters: $filters) {
|
||||||
totalSeconds
|
totalSeconds
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5608,6 +5909,7 @@ export const GetUserPlayTimeDocument = gql`
|
|||||||
* const { data, loading, error } = useGetUserPlayTimeQuery({
|
* const { data, loading, error } = useGetUserPlayTimeQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* userId: // value for 'userId'
|
* userId: // value for 'userId'
|
||||||
|
* filters: // value for 'filters'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
@@ -6170,6 +6472,70 @@ export type DoesUsernameExistQueryResult = Apollo.QueryResult<
|
|||||||
DoesUsernameExistQuery,
|
DoesUsernameExistQuery,
|
||||||
DoesUsernameExistQueryVariables
|
DoesUsernameExistQueryVariables
|
||||||
>;
|
>;
|
||||||
|
export const EditUserDocument = gql`
|
||||||
|
mutation editUser(
|
||||||
|
$username: String
|
||||||
|
$fargoRating: Int
|
||||||
|
$videosPrivateByDefault: Boolean
|
||||||
|
) {
|
||||||
|
editUser(
|
||||||
|
input: {
|
||||||
|
username: $username
|
||||||
|
fargoRating: $fargoRating
|
||||||
|
videosPrivateByDefault: $videosPrivateByDefault
|
||||||
|
}
|
||||||
|
) {
|
||||||
|
id
|
||||||
|
firebaseUid
|
||||||
|
username
|
||||||
|
fargoRating
|
||||||
|
updatedAt
|
||||||
|
videosPrivateByDefault
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
export type EditUserMutationFn = Apollo.MutationFunction<
|
||||||
|
EditUserMutation,
|
||||||
|
EditUserMutationVariables
|
||||||
|
>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useEditUserMutation__
|
||||||
|
*
|
||||||
|
* To run a mutation, you first call `useEditUserMutation` within a React component and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useEditUserMutation` returns a tuple that includes:
|
||||||
|
* - A mutate function that you can call at any time to execute the mutation
|
||||||
|
* - An object with fields that represent the current status of the mutation's execution
|
||||||
|
*
|
||||||
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* const [editUserMutation, { data, loading, error }] = useEditUserMutation({
|
||||||
|
* variables: {
|
||||||
|
* username: // value for 'username'
|
||||||
|
* fargoRating: // value for 'fargoRating'
|
||||||
|
* videosPrivateByDefault: // value for 'videosPrivateByDefault'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useEditUserMutation(
|
||||||
|
baseOptions?: Apollo.MutationHookOptions<
|
||||||
|
EditUserMutation,
|
||||||
|
EditUserMutationVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useMutation<EditUserMutation, EditUserMutationVariables>(
|
||||||
|
EditUserDocument,
|
||||||
|
options,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
export type EditUserMutationHookResult = ReturnType<typeof useEditUserMutation>;
|
||||||
|
export type EditUserMutationResult = Apollo.MutationResult<EditUserMutation>;
|
||||||
|
export type EditUserMutationOptions = Apollo.BaseMutationOptions<
|
||||||
|
EditUserMutation,
|
||||||
|
EditUserMutationVariables
|
||||||
|
>;
|
||||||
export const GetStreamMonitoringDetailsDocument = gql`
|
export const GetStreamMonitoringDetailsDocument = gql`
|
||||||
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
||||||
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
||||||
@@ -6191,6 +6557,7 @@ export const GetStreamMonitoringDetailsDocument = gql`
|
|||||||
initPlaylistUploadStatus
|
initPlaylistUploadStatus
|
||||||
}
|
}
|
||||||
currentProcessing {
|
currentProcessing {
|
||||||
|
id
|
||||||
errors {
|
errors {
|
||||||
message
|
message
|
||||||
startSegmentIndex
|
startSegmentIndex
|
||||||
|
@@ -6,32 +6,7 @@ query GetFeed(
|
|||||||
) {
|
) {
|
||||||
getUserVideos(limit: $limit, after: $after, filters: $filters) {
|
getUserVideos(limit: $limit, after: $after, filters: $filters) {
|
||||||
videos {
|
videos {
|
||||||
id
|
...VideoCardFields
|
||||||
owner {
|
|
||||||
username
|
|
||||||
}
|
|
||||||
name
|
|
||||||
screenshotUri
|
|
||||||
totalShotsMade
|
|
||||||
totalShots
|
|
||||||
makePercentage
|
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
startTime
|
|
||||||
endTime
|
|
||||||
elapsedTime
|
|
||||||
screenshotUri
|
|
||||||
stream {
|
|
||||||
id
|
|
||||||
isCompleted
|
|
||||||
}
|
|
||||||
tableSize
|
|
||||||
tags {
|
|
||||||
tagClasses {
|
|
||||||
name
|
|
||||||
}
|
|
||||||
name
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
pageInfo {
|
pageInfo {
|
||||||
hasNextPage
|
hasNextPage
|
||||||
@@ -56,6 +31,7 @@ fragment VideoCardFields on VideoGQL {
|
|||||||
updatedAt
|
updatedAt
|
||||||
startTime
|
startTime
|
||||||
endTime
|
endTime
|
||||||
|
private
|
||||||
elapsedTime
|
elapsedTime
|
||||||
screenshotUri
|
screenshotUri
|
||||||
stream {
|
stream {
|
||||||
@@ -85,8 +61,14 @@ query GetVideoFeed(
|
|||||||
$limit: Int! = 5
|
$limit: Int! = 5
|
||||||
$after: String = null
|
$after: String = null
|
||||||
$filters: VideoFilterInput = null
|
$filters: VideoFilterInput = null
|
||||||
|
$includeCallersVideos: Boolean = null
|
||||||
) {
|
) {
|
||||||
getFeedVideos(limit: $limit, after: $after, filters: $filters) {
|
getFeedVideos(
|
||||||
|
limit: $limit
|
||||||
|
after: $after
|
||||||
|
filters: $filters
|
||||||
|
includeCallersVideos: $includeCallersVideos
|
||||||
|
) {
|
||||||
videos {
|
videos {
|
||||||
...VideoCardFields
|
...VideoCardFields
|
||||||
}
|
}
|
||||||
|
84
src/operations/medals.gql
Normal file
84
src/operations/medals.gql
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
query getMedals($scope: MedalScope!, $userId: Int) {
|
||||||
|
getMedals(scope: $scope, userId: $userId) {
|
||||||
|
distanceOver66 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
distanceOver78 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
distanceOver90 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength3 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength5 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength8 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength10 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength15 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength20 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength25 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength30 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength40 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
runLength50 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes25 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes50 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes75 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes100 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes200 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes300 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
totalMakes400 {
|
||||||
|
count
|
||||||
|
nickname
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -66,12 +66,15 @@ query GetShotsWithJustIds(
|
|||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsOrdering: GetShotsOrdering
|
$shotsOrdering: GetShotsOrdering
|
||||||
$limit: Int
|
$limit: Int
|
||||||
|
$countRespectsLimit: Boolean
|
||||||
) {
|
) {
|
||||||
getOrderedShots(
|
getOrderedShots(
|
||||||
filterInput: $filterInput
|
filterInput: $filterInput
|
||||||
shotsOrdering: $shotsOrdering
|
shotsOrdering: $shotsOrdering
|
||||||
limit: $limit
|
limit: $limit
|
||||||
|
countRespectsLimit: $countRespectsLimit
|
||||||
) {
|
) {
|
||||||
|
count
|
||||||
shots {
|
shots {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
@@ -156,6 +159,7 @@ fragment ShotWithAllFeatures on ShotGQL {
|
|||||||
targetPocketAngleDirection
|
targetPocketAngleDirection
|
||||||
marginOfErrorInDegrees
|
marginOfErrorInDegrees
|
||||||
intendedPocketType
|
intendedPocketType
|
||||||
|
difficulty
|
||||||
}
|
}
|
||||||
pocketingIntentionInfo {
|
pocketingIntentionInfo {
|
||||||
ballId
|
ballId
|
||||||
|
@@ -41,11 +41,12 @@ query getLoggedInUser {
|
|||||||
activeVideoId
|
activeVideoId
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
|
videosPrivateByDefault
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
query GetUserPlayTime($userId: Int!) {
|
query GetUserPlayTime($userId: Int!, $filters: VideoFilterInput) {
|
||||||
getPlayTime(userId: $userId) {
|
getPlayTime(userId: $userId, filters: $filters) {
|
||||||
totalSeconds
|
totalSeconds
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -135,3 +136,24 @@ query getUserFollowingFollowers {
|
|||||||
query doesUsernameExist($candidateUsername: String!) {
|
query doesUsernameExist($candidateUsername: String!) {
|
||||||
doesUsernameExist(candidateUsername: $candidateUsername)
|
doesUsernameExist(candidateUsername: $candidateUsername)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mutation editUser(
|
||||||
|
$username: String
|
||||||
|
$fargoRating: Int
|
||||||
|
$videosPrivateByDefault: Boolean
|
||||||
|
) {
|
||||||
|
editUser(
|
||||||
|
input: {
|
||||||
|
username: $username
|
||||||
|
fargoRating: $fargoRating
|
||||||
|
videosPrivateByDefault: $videosPrivateByDefault
|
||||||
|
}
|
||||||
|
) {
|
||||||
|
id
|
||||||
|
firebaseUid
|
||||||
|
username
|
||||||
|
fargoRating
|
||||||
|
updatedAt
|
||||||
|
videosPrivateByDefault
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -18,6 +18,7 @@ query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
|||||||
initPlaylistUploadStatus
|
initPlaylistUploadStatus
|
||||||
}
|
}
|
||||||
currentProcessing {
|
currentProcessing {
|
||||||
|
id
|
||||||
errors {
|
errors {
|
||||||
message
|
message
|
||||||
startSegmentIndex
|
startSegmentIndex
|
||||||
|
@@ -46,7 +46,7 @@ type Query {
|
|||||||
limit: Int = 100
|
limit: Int = 100
|
||||||
after: String = null
|
after: String = null
|
||||||
): UserRelationshipsResult!
|
): UserRelationshipsResult!
|
||||||
getPlayTime(userId: Int!): UserPlayTimeGQL!
|
getPlayTime(userId: Int!, filters: VideoFilterInput = null): UserPlayTimeGQL!
|
||||||
getUserVideos(
|
getUserVideos(
|
||||||
userId: Int = null
|
userId: Int = null
|
||||||
limit: Int! = 5
|
limit: Int! = 5
|
||||||
@@ -59,6 +59,7 @@ type Query {
|
|||||||
getFeedVideos(
|
getFeedVideos(
|
||||||
limit: Int! = 5
|
limit: Int! = 5
|
||||||
after: String = null
|
after: String = null
|
||||||
|
includeCallersVideos: Boolean = true
|
||||||
filters: VideoFilterInput = null
|
filters: VideoFilterInput = null
|
||||||
): VideoHistoryGQL!
|
): VideoHistoryGQL!
|
||||||
}
|
}
|
||||||
@@ -295,21 +296,11 @@ type RequestedMedalsGQL {
|
|||||||
totalMakes500: MedalGQL
|
totalMakes500: MedalGQL
|
||||||
totalMakes750: MedalGQL
|
totalMakes750: MedalGQL
|
||||||
totalMakes1000: MedalGQL
|
totalMakes1000: MedalGQL
|
||||||
dayStreak2: MedalGQL
|
|
||||||
dayStreak3: MedalGQL
|
|
||||||
dayStreak4: MedalGQL
|
|
||||||
dayStreak5: MedalGQL
|
|
||||||
dayStreak6: MedalGQL
|
|
||||||
dayStreak7: MedalGQL
|
|
||||||
dayStreak14: MedalGQL
|
|
||||||
dayStreak21: MedalGQL
|
|
||||||
dayStreak30: MedalGQL
|
|
||||||
dayStreak60: MedalGQL
|
|
||||||
dayStreak90: MedalGQL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type MedalGQL {
|
type MedalGQL {
|
||||||
count: Int!
|
count: Int!
|
||||||
|
nickname: String
|
||||||
}
|
}
|
||||||
|
|
||||||
input MedalScope @oneOf {
|
input MedalScope @oneOf {
|
||||||
@@ -461,6 +452,7 @@ type UploadStreamGQL {
|
|||||||
createdAt: DateTime!
|
createdAt: DateTime!
|
||||||
updatedAt: DateTime!
|
updatedAt: DateTime!
|
||||||
segments: [UploadSegmentGQL!]!
|
segments: [UploadSegmentGQL!]!
|
||||||
|
clientUploadStatus: ClientUploadStatusEnum
|
||||||
resolution: VideoResolutionGQL!
|
resolution: VideoResolutionGQL!
|
||||||
streamSegmentType: StreamSegmentTypeEnum!
|
streamSegmentType: StreamSegmentTypeEnum!
|
||||||
}
|
}
|
||||||
@@ -485,6 +477,11 @@ type UploadSegmentGQL {
|
|||||||
linksRequested: Int!
|
linksRequested: Int!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum ClientUploadStatusEnum {
|
||||||
|
UPLOAD_ENABLED
|
||||||
|
UPLOAD_DISABLED
|
||||||
|
}
|
||||||
|
|
||||||
type VideoResolutionGQL {
|
type VideoResolutionGQL {
|
||||||
width: Int
|
width: Int
|
||||||
height: Int
|
height: Int
|
||||||
@@ -624,6 +621,13 @@ type UserPlayTimeGQL {
|
|||||||
totalSeconds: Float!
|
totalSeconds: Float!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input VideoFilterInput {
|
||||||
|
isStreamCompleted: Boolean = null
|
||||||
|
requireCursorCompletion: Boolean! = true
|
||||||
|
createdAt: DateRangeFilter = null
|
||||||
|
excludeVideosWithNoShots: Boolean = null
|
||||||
|
}
|
||||||
|
|
||||||
type VideoHistoryGQL {
|
type VideoHistoryGQL {
|
||||||
videos: [VideoGQL!]!
|
videos: [VideoGQL!]!
|
||||||
pageInfo: PageInfoGQL!
|
pageInfo: PageInfoGQL!
|
||||||
@@ -634,11 +638,6 @@ type PageInfoGQL {
|
|||||||
endCursor: String
|
endCursor: String
|
||||||
}
|
}
|
||||||
|
|
||||||
input VideoFilterInput {
|
|
||||||
isStreamCompleted: Boolean = null
|
|
||||||
requireCursorCompletion: Boolean! = true
|
|
||||||
}
|
|
||||||
|
|
||||||
type TagGQL {
|
type TagGQL {
|
||||||
name: String!
|
name: String!
|
||||||
id: Int!
|
id: Int!
|
||||||
@@ -778,6 +777,7 @@ input VideoMetadataInput {
|
|||||||
streamSegmentType: StreamSegmentTypeEnum = null
|
streamSegmentType: StreamSegmentTypeEnum = null
|
||||||
private: Boolean = null
|
private: Boolean = null
|
||||||
endStream: Boolean! = false
|
endStream: Boolean! = false
|
||||||
|
clientUploadStatus: ClientUploadStatusEnum = null
|
||||||
resolution: VideoResolution = null
|
resolution: VideoResolution = null
|
||||||
framesPerSecond: Float = null
|
framesPerSecond: Float = null
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user