Compare commits
1 Commits
dean/camer
...
add-upload
| Author | SHA1 | Date | |
|---|---|---|---|
| 6bcf9a2487 |
@@ -140,18 +140,6 @@ export type BucketSetInputGql = {
|
|||||||
feature: Scalars["String"]["input"];
|
feature: Scalars["String"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CameraClaimGql = {
|
|
||||||
__typename?: "CameraClaimGQL";
|
|
||||||
cameraId: Scalars["Int"]["output"];
|
|
||||||
createdAt: Scalars["DateTime"]["output"];
|
|
||||||
endedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
||||||
expiresAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
||||||
id: Scalars["Int"]["output"];
|
|
||||||
status: ClaimStatusEnum;
|
|
||||||
userId: Scalars["Int"]["output"];
|
|
||||||
videoId?: Maybe<Scalars["Int"]["output"]>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type CancellationFeedbackMetadataInput = {
|
export type CancellationFeedbackMetadataInput = {
|
||||||
appVersion?: InputMaybe<Scalars["String"]["input"]>;
|
appVersion?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
gitRevision?: InputMaybe<Scalars["String"]["input"]>;
|
gitRevision?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
@@ -212,21 +200,6 @@ export type ChallengeInvitation = {
|
|||||||
status: Scalars["String"]["output"];
|
status: Scalars["String"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export enum ClaimStatusEnum {
|
|
||||||
Active = "ACTIVE",
|
|
||||||
CodeExpired = "CODE_EXPIRED",
|
|
||||||
CodeIssued = "CODE_ISSUED",
|
|
||||||
EndedByUser = "ENDED_BY_USER",
|
|
||||||
Expired = "EXPIRED",
|
|
||||||
Ingesting = "INGESTING",
|
|
||||||
ReleasedInactive = "RELEASED_INACTIVE",
|
|
||||||
Requested = "REQUESTED",
|
|
||||||
Scanning = "SCANNING",
|
|
||||||
ScanConfirmed = "SCAN_CONFIRMED",
|
|
||||||
StreamLost = "STREAM_LOST",
|
|
||||||
StreamUnreachable = "STREAM_UNREACHABLE",
|
|
||||||
}
|
|
||||||
|
|
||||||
export enum ClientUploadStatusEnum {
|
export enum ClientUploadStatusEnum {
|
||||||
UploadDisabled = "UPLOAD_DISABLED",
|
UploadDisabled = "UPLOAD_DISABLED",
|
||||||
UploadEnabled = "UPLOAD_ENABLED",
|
UploadEnabled = "UPLOAD_ENABLED",
|
||||||
@@ -2415,7 +2388,6 @@ export type Mutation = {
|
|||||||
blockContent: Scalars["Boolean"]["output"];
|
blockContent: Scalars["Boolean"]["output"];
|
||||||
blockUser: Scalars["Boolean"]["output"];
|
blockUser: Scalars["Boolean"]["output"];
|
||||||
cancelSubscription: UserSubscriptionStatusGql;
|
cancelSubscription: UserSubscriptionStatusGql;
|
||||||
claimCamera: CameraClaimGql;
|
|
||||||
commentOnVideo: Scalars["Boolean"]["output"];
|
commentOnVideo: Scalars["Boolean"]["output"];
|
||||||
createBucketSet: BucketSetGql;
|
createBucketSet: BucketSetGql;
|
||||||
createChallenge: Challenge;
|
createChallenge: Challenge;
|
||||||
@@ -2434,9 +2406,7 @@ export type Mutation = {
|
|||||||
editShot: EditShotReturn;
|
editShot: EditShotReturn;
|
||||||
editUploadStream: Scalars["Boolean"]["output"];
|
editUploadStream: Scalars["Boolean"]["output"];
|
||||||
editUser: UserGql;
|
editUser: UserGql;
|
||||||
endClaim: CameraClaimGql;
|
|
||||||
ensureStripeCustomerExists: UserGql;
|
ensureStripeCustomerExists: UserGql;
|
||||||
extendClaim: CameraClaimGql;
|
|
||||||
finalizePlayerAssignments: Array<PlayerClusterGql>;
|
finalizePlayerAssignments: Array<PlayerClusterGql>;
|
||||||
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
||||||
followUser: UserGql;
|
followUser: UserGql;
|
||||||
@@ -2478,11 +2448,6 @@ export type MutationBlockUserArgs = {
|
|||||||
userId: Scalars["Int"]["input"];
|
userId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type MutationClaimCameraArgs = {
|
|
||||||
cameraId: Scalars["Int"]["input"];
|
|
||||||
durationMinutes?: Scalars["Int"]["input"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type MutationCommentOnVideoArgs = {
|
export type MutationCommentOnVideoArgs = {
|
||||||
message: Scalars["String"]["input"];
|
message: Scalars["String"]["input"];
|
||||||
parentCommentId?: InputMaybe<Scalars["Int"]["input"]>;
|
parentCommentId?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
@@ -2566,15 +2531,6 @@ export type MutationEditUserArgs = {
|
|||||||
input: EditUserInputGql;
|
input: EditUserInputGql;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type MutationEndClaimArgs = {
|
|
||||||
claimId: Scalars["Int"]["input"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type MutationExtendClaimArgs = {
|
|
||||||
additionalMinutes?: Scalars["Int"]["input"];
|
|
||||||
claimId: Scalars["Int"]["input"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type MutationFinalizePlayerAssignmentsArgs = {
|
export type MutationFinalizePlayerAssignmentsArgs = {
|
||||||
input: FinalizePlayerAssignmentsInput;
|
input: FinalizePlayerAssignmentsInput;
|
||||||
};
|
};
|
||||||
@@ -2857,7 +2813,6 @@ export type Query = {
|
|||||||
challengeLeaderboard: Array<ChallengeEntry>;
|
challengeLeaderboard: Array<ChallengeEntry>;
|
||||||
challenges: Array<Challenge>;
|
challenges: Array<Challenge>;
|
||||||
doesUsernameExist: Scalars["Boolean"]["output"];
|
doesUsernameExist: Scalars["Boolean"]["output"];
|
||||||
getActiveClaim?: Maybe<CameraClaimGql>;
|
|
||||||
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
||||||
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGql;
|
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGql;
|
||||||
getBucketSet?: Maybe<BucketSetGql>;
|
getBucketSet?: Maybe<BucketSetGql>;
|
||||||
@@ -2884,7 +2839,6 @@ export type Query = {
|
|||||||
getUserVideos: VideoHistoryGql;
|
getUserVideos: VideoHistoryGql;
|
||||||
getUsernames: Array<Scalars["String"]["output"]>;
|
getUsernames: Array<Scalars["String"]["output"]>;
|
||||||
getUsersMatching: Array<UserGql>;
|
getUsersMatching: Array<UserGql>;
|
||||||
getVenues: Array<VenueGql>;
|
|
||||||
getVideo: VideoGql;
|
getVideo: VideoGql;
|
||||||
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
||||||
getVideos: Array<VideoGql>;
|
getVideos: Array<VideoGql>;
|
||||||
@@ -3588,24 +3542,6 @@ export type UserSubscriptionStatusGql = {
|
|||||||
validUntil?: Maybe<Scalars["DateTime"]["output"]>;
|
validUntil?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type VenueCameraGql = {
|
|
||||||
__typename?: "VenueCameraGQL";
|
|
||||||
enabled: Scalars["Boolean"]["output"];
|
|
||||||
id: Scalars["Int"]["output"];
|
|
||||||
isAvailable: Scalars["Boolean"]["output"];
|
|
||||||
tableLabel: Scalars["String"]["output"];
|
|
||||||
venueId: Scalars["Int"]["output"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type VenueGql = {
|
|
||||||
__typename?: "VenueGQL";
|
|
||||||
cameras: Array<VenueCameraGql>;
|
|
||||||
id: Scalars["Int"]["output"];
|
|
||||||
latitude?: Maybe<Scalars["Float"]["output"]>;
|
|
||||||
longitude?: Maybe<Scalars["Float"]["output"]>;
|
|
||||||
name: Scalars["String"]["output"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type VideoFeedInputGql =
|
export type VideoFeedInputGql =
|
||||||
| {
|
| {
|
||||||
allUsers: Scalars["Boolean"]["input"];
|
allUsers: Scalars["Boolean"]["input"];
|
||||||
@@ -6960,8 +6896,10 @@ export type UploadStreamWithDetailsFragment = {
|
|||||||
startTime?: any | null;
|
startTime?: any | null;
|
||||||
stream?: {
|
stream?: {
|
||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
|
id: string;
|
||||||
isCompleted: boolean;
|
isCompleted: boolean;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
uploadCompletionCursor: number;
|
uploadCompletionCursor: number;
|
||||||
uploadsCompleted: number;
|
uploadsCompleted: number;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -6984,8 +6922,10 @@ export type GetUploadStreamsWithDetailsQuery = {
|
|||||||
startTime?: any | null;
|
startTime?: any | null;
|
||||||
stream?: {
|
stream?: {
|
||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
|
id: string;
|
||||||
isCompleted: boolean;
|
isCompleted: boolean;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
uploadCompletionCursor: number;
|
uploadCompletionCursor: number;
|
||||||
uploadsCompleted: number;
|
uploadsCompleted: number;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -7373,8 +7313,10 @@ export const UploadStreamWithDetailsFragmentDoc = gql`
|
|||||||
name
|
name
|
||||||
startTime
|
startTime
|
||||||
stream {
|
stream {
|
||||||
|
id
|
||||||
isCompleted
|
isCompleted
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
|
streamSegmentType
|
||||||
uploadCompletionCursor
|
uploadCompletionCursor
|
||||||
uploadsCompleted
|
uploadsCompleted
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -113,8 +113,10 @@ fragment UploadStreamWithDetails on VideoGQL {
|
|||||||
name
|
name
|
||||||
startTime
|
startTime
|
||||||
stream {
|
stream {
|
||||||
|
id
|
||||||
isCompleted
|
isCompleted
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
|
streamSegmentType
|
||||||
uploadCompletionCursor
|
uploadCompletionCursor
|
||||||
uploadsCompleted
|
uploadsCompleted
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ type Query {
|
|||||||
myChallengeInvitations: [ChallengeInvitation!]!
|
myChallengeInvitations: [ChallengeInvitation!]!
|
||||||
ruleSets: [RuleSet!]!
|
ruleSets: [RuleSet!]!
|
||||||
myChallengeEntries: [ChallengeEntry!]!
|
myChallengeEntries: [ChallengeEntry!]!
|
||||||
getVenues: [VenueGQL!]!
|
|
||||||
getActiveClaim: CameraClaimGQL
|
|
||||||
getDeployedConfig: DeployedConfigGQL!
|
getDeployedConfig: DeployedConfigGQL!
|
||||||
waitFor(duration: Float!): Float!
|
waitFor(duration: Float!): Float!
|
||||||
getFeedVideos(
|
getFeedVideos(
|
||||||
@@ -683,48 +681,6 @@ type PlayerSummaryGQL {
|
|||||||
averageTimeBetweenShots: Float
|
averageTimeBetweenShots: Float
|
||||||
}
|
}
|
||||||
|
|
||||||
type VenueGQL {
|
|
||||||
id: Int!
|
|
||||||
name: String!
|
|
||||||
latitude: Float
|
|
||||||
longitude: Float
|
|
||||||
cameras: [VenueCameraGQL!]!
|
|
||||||
}
|
|
||||||
|
|
||||||
type VenueCameraGQL {
|
|
||||||
id: Int!
|
|
||||||
venueId: Int!
|
|
||||||
tableLabel: String!
|
|
||||||
enabled: Boolean!
|
|
||||||
isAvailable: Boolean!
|
|
||||||
}
|
|
||||||
|
|
||||||
type CameraClaimGQL {
|
|
||||||
id: Int!
|
|
||||||
cameraId: Int!
|
|
||||||
userId: Int!
|
|
||||||
videoId: Int
|
|
||||||
status: ClaimStatusEnum!
|
|
||||||
expiresAt: DateTime
|
|
||||||
endedAt: DateTime
|
|
||||||
createdAt: DateTime!
|
|
||||||
}
|
|
||||||
|
|
||||||
enum ClaimStatusEnum {
|
|
||||||
REQUESTED
|
|
||||||
CODE_ISSUED
|
|
||||||
SCANNING
|
|
||||||
SCAN_CONFIRMED
|
|
||||||
INGESTING
|
|
||||||
ACTIVE
|
|
||||||
ENDED_BY_USER
|
|
||||||
EXPIRED
|
|
||||||
STREAM_LOST
|
|
||||||
STREAM_UNREACHABLE
|
|
||||||
CODE_EXPIRED
|
|
||||||
RELEASED_INACTIVE
|
|
||||||
}
|
|
||||||
|
|
||||||
type DeployedConfigGQL {
|
type DeployedConfigGQL {
|
||||||
allowNewUsers: Boolean!
|
allowNewUsers: Boolean!
|
||||||
firebase: Boolean!
|
firebase: Boolean!
|
||||||
@@ -1173,9 +1129,6 @@ type Mutation {
|
|||||||
submitChallengeEntry(entryId: ID!, videoId: ID!): ChallengeEntry!
|
submitChallengeEntry(entryId: ID!, videoId: ID!): ChallengeEntry!
|
||||||
dismissChallenge(challengeId: ID!): Boolean!
|
dismissChallenge(challengeId: ID!): Boolean!
|
||||||
undismissChallenge(challengeId: ID!): Boolean!
|
undismissChallenge(challengeId: ID!): Boolean!
|
||||||
claimCamera(cameraId: Int!, durationMinutes: Int! = 60): CameraClaimGQL!
|
|
||||||
endClaim(claimId: Int!): CameraClaimGQL!
|
|
||||||
extendClaim(claimId: Int!, additionalMinutes: Int! = 60): CameraClaimGQL!
|
|
||||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||||
reactToVideo(videoId: Int!, reaction: ReactionEnum): Boolean!
|
reactToVideo(videoId: Int!, reaction: ReactionEnum): Boolean!
|
||||||
commentOnVideo(
|
commentOnVideo(
|
||||||
|
|||||||
Reference in New Issue
Block a user