Compare commits
9 Commits
2a267ce961
...
processing
| Author | SHA1 | Date | |
|---|---|---|---|
| 9abb533be8 | |||
| c76220b65f | |||
| 1218ecdaaa | |||
| dfd03a225a | |||
| adbe1c0f2b | |||
| e1cc8b3ee1 | |||
| c3156bac05 | |||
| aba0b16a51 | |||
|
|
82cec7d7cb |
@@ -21,7 +21,7 @@
|
|||||||
in
|
in
|
||||||
with pkgs; {
|
with pkgs; {
|
||||||
devShell = mkShell {
|
devShell = mkShell {
|
||||||
buildInputs = [nodejs yarn watchman alejandra nodePackages.prettier just protobuf];
|
buildInputs = [nodejs yarn watchman alejandra nodePackages.prettier just protobuf black];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,7 +102,6 @@ class CollisionInfo(_message.Message):
|
|||||||
key: _Optional[int] = ...,
|
key: _Optional[int] = ...,
|
||||||
value: _Optional[_Union[Point, _Mapping]] = ...,
|
value: _Optional[_Union[Point, _Mapping]] = ...,
|
||||||
) -> None: ...
|
) -> None: ...
|
||||||
|
|
||||||
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
||||||
BALL_IDENTIFIERS_FIELD_NUMBER: _ClassVar[int]
|
BALL_IDENTIFIERS_FIELD_NUMBER: _ClassVar[int]
|
||||||
WALL_IDENTIFIER_FIELD_NUMBER: _ClassVar[int]
|
WALL_IDENTIFIER_FIELD_NUMBER: _ClassVar[int]
|
||||||
|
|||||||
109
src/index.tsx
109
src/index.tsx
@@ -273,6 +273,7 @@ export type DeployedConfigGql = {
|
|||||||
__typename?: "DeployedConfigGQL";
|
__typename?: "DeployedConfigGQL";
|
||||||
allowNewUsers: Scalars["Boolean"]["output"];
|
allowNewUsers: Scalars["Boolean"]["output"];
|
||||||
bannerMessages: Array<BannerGql>;
|
bannerMessages: Array<BannerGql>;
|
||||||
|
bucketUrl: Scalars["String"]["output"];
|
||||||
defaultAndroidRecordingFormat: StreamSegmentTypeEnum;
|
defaultAndroidRecordingFormat: StreamSegmentTypeEnum;
|
||||||
devMode: Scalars["Boolean"]["output"];
|
devMode: Scalars["Boolean"]["output"];
|
||||||
environment: Scalars["String"]["output"];
|
environment: Scalars["String"]["output"];
|
||||||
@@ -3491,6 +3492,8 @@ export type VideoProcessingGql = {
|
|||||||
errors: Array<VideoProcessingErrorGql>;
|
errors: Array<VideoProcessingErrorGql>;
|
||||||
framesProcessed?: Maybe<Scalars["Int"]["output"]>;
|
framesProcessed?: Maybe<Scalars["Int"]["output"]>;
|
||||||
id: Scalars["Int"]["output"];
|
id: Scalars["Int"]["output"];
|
||||||
|
labels: Array<Scalars["String"]["output"]>;
|
||||||
|
parentProcessingId?: Maybe<Scalars["Int"]["output"]>;
|
||||||
progressPercentage?: Maybe<Scalars["Float"]["output"]>;
|
progressPercentage?: Maybe<Scalars["Float"]["output"]>;
|
||||||
status: ProcessingStatusEnum;
|
status: ProcessingStatusEnum;
|
||||||
statuses: Array<VideoProcessingStatusGql>;
|
statuses: Array<VideoProcessingStatusGql>;
|
||||||
@@ -3977,6 +3980,7 @@ export type GetDeployedConfigQuery = {
|
|||||||
minimumAllowedAppVersion: string;
|
minimumAllowedAppVersion: string;
|
||||||
subscriptionGatingEnabled: boolean;
|
subscriptionGatingEnabled: boolean;
|
||||||
defaultAndroidRecordingFormat: StreamSegmentTypeEnum;
|
defaultAndroidRecordingFormat: StreamSegmentTypeEnum;
|
||||||
|
bucketUrl: string;
|
||||||
bannerMessages: Array<{
|
bannerMessages: Array<{
|
||||||
__typename?: "BannerGQL";
|
__typename?: "BannerGQL";
|
||||||
color: string;
|
color: string;
|
||||||
@@ -4211,6 +4215,21 @@ export type VideoCardFieldsFragment = {
|
|||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetVideoFeedSessionCountQueryVariables = Exact<{
|
||||||
|
limit?: Scalars["Int"]["input"];
|
||||||
|
filters?: InputMaybe<VideoFilterInput>;
|
||||||
|
includePrivate?: InputMaybe<IncludePrivateEnum>;
|
||||||
|
feedInput?: InputMaybe<VideoFeedInputGql>;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type GetVideoFeedSessionCountQuery = {
|
||||||
|
__typename?: "Query";
|
||||||
|
getFeedVideos: {
|
||||||
|
__typename?: "VideoHistoryGQL";
|
||||||
|
videos: Array<{ __typename?: "VideoGQL"; id: number; totalShots: number }>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
export type GetVideoFeedQueryVariables = Exact<{
|
export type GetVideoFeedQueryVariables = Exact<{
|
||||||
limit?: Scalars["Int"]["input"];
|
limit?: Scalars["Int"]["input"];
|
||||||
after?: InputMaybe<Scalars["String"]["input"]>;
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
@@ -8219,6 +8238,7 @@ export const GetDeployedConfigDocument = gql`
|
|||||||
priority
|
priority
|
||||||
}
|
}
|
||||||
defaultAndroidRecordingFormat
|
defaultAndroidRecordingFormat
|
||||||
|
bucketUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -8519,6 +8539,95 @@ export type GetFeedQueryResult = Apollo.QueryResult<
|
|||||||
GetFeedQuery,
|
GetFeedQuery,
|
||||||
GetFeedQueryVariables
|
GetFeedQueryVariables
|
||||||
>;
|
>;
|
||||||
|
export const GetVideoFeedSessionCountDocument = gql`
|
||||||
|
query GetVideoFeedSessionCount(
|
||||||
|
$limit: Int! = 100
|
||||||
|
$filters: VideoFilterInput = null
|
||||||
|
$includePrivate: IncludePrivateEnum = MINE
|
||||||
|
$feedInput: VideoFeedInputGQL = null
|
||||||
|
) {
|
||||||
|
getFeedVideos(
|
||||||
|
limit: $limit
|
||||||
|
filters: $filters
|
||||||
|
includePrivate: $includePrivate
|
||||||
|
feedInput: $feedInput
|
||||||
|
) {
|
||||||
|
videos {
|
||||||
|
id
|
||||||
|
totalShots
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useGetVideoFeedSessionCountQuery__
|
||||||
|
*
|
||||||
|
* To run a query within a React component, call `useGetVideoFeedSessionCountQuery` and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useGetVideoFeedSessionCountQuery` 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 } = useGetVideoFeedSessionCountQuery({
|
||||||
|
* variables: {
|
||||||
|
* limit: // value for 'limit'
|
||||||
|
* filters: // value for 'filters'
|
||||||
|
* includePrivate: // value for 'includePrivate'
|
||||||
|
* feedInput: // value for 'feedInput'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useGetVideoFeedSessionCountQuery(
|
||||||
|
baseOptions?: Apollo.QueryHookOptions<
|
||||||
|
GetVideoFeedSessionCountQuery,
|
||||||
|
GetVideoFeedSessionCountQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useQuery<
|
||||||
|
GetVideoFeedSessionCountQuery,
|
||||||
|
GetVideoFeedSessionCountQueryVariables
|
||||||
|
>(GetVideoFeedSessionCountDocument, options);
|
||||||
|
}
|
||||||
|
export function useGetVideoFeedSessionCountLazyQuery(
|
||||||
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
||||||
|
GetVideoFeedSessionCountQuery,
|
||||||
|
GetVideoFeedSessionCountQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useLazyQuery<
|
||||||
|
GetVideoFeedSessionCountQuery,
|
||||||
|
GetVideoFeedSessionCountQueryVariables
|
||||||
|
>(GetVideoFeedSessionCountDocument, options);
|
||||||
|
}
|
||||||
|
export function useGetVideoFeedSessionCountSuspenseQuery(
|
||||||
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
||||||
|
GetVideoFeedSessionCountQuery,
|
||||||
|
GetVideoFeedSessionCountQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useSuspenseQuery<
|
||||||
|
GetVideoFeedSessionCountQuery,
|
||||||
|
GetVideoFeedSessionCountQueryVariables
|
||||||
|
>(GetVideoFeedSessionCountDocument, options);
|
||||||
|
}
|
||||||
|
export type GetVideoFeedSessionCountQueryHookResult = ReturnType<
|
||||||
|
typeof useGetVideoFeedSessionCountQuery
|
||||||
|
>;
|
||||||
|
export type GetVideoFeedSessionCountLazyQueryHookResult = ReturnType<
|
||||||
|
typeof useGetVideoFeedSessionCountLazyQuery
|
||||||
|
>;
|
||||||
|
export type GetVideoFeedSessionCountSuspenseQueryHookResult = ReturnType<
|
||||||
|
typeof useGetVideoFeedSessionCountSuspenseQuery
|
||||||
|
>;
|
||||||
|
export type GetVideoFeedSessionCountQueryResult = Apollo.QueryResult<
|
||||||
|
GetVideoFeedSessionCountQuery,
|
||||||
|
GetVideoFeedSessionCountQueryVariables
|
||||||
|
>;
|
||||||
export const GetVideoFeedDocument = gql`
|
export const GetVideoFeedDocument = gql`
|
||||||
query GetVideoFeed(
|
query GetVideoFeed(
|
||||||
$limit: Int! = 5
|
$limit: Int! = 5
|
||||||
|
|||||||
@@ -15,5 +15,6 @@ query getDeployedConfig {
|
|||||||
priority
|
priority
|
||||||
}
|
}
|
||||||
defaultAndroidRecordingFormat
|
defaultAndroidRecordingFormat
|
||||||
|
bucketUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,6 +90,26 @@ fragment VideoCardFields on VideoGQL {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Lightweight version of GetVideoFeed for counting sessions only
|
||||||
|
query GetVideoFeedSessionCount(
|
||||||
|
$limit: Int! = 100
|
||||||
|
$filters: VideoFilterInput = null
|
||||||
|
$includePrivate: IncludePrivateEnum = MINE
|
||||||
|
$feedInput: VideoFeedInputGQL = null
|
||||||
|
) {
|
||||||
|
getFeedVideos(
|
||||||
|
limit: $limit
|
||||||
|
filters: $filters
|
||||||
|
includePrivate: $includePrivate
|
||||||
|
feedInput: $feedInput
|
||||||
|
) {
|
||||||
|
videos {
|
||||||
|
id
|
||||||
|
totalShots
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
query GetVideoFeed(
|
query GetVideoFeed(
|
||||||
$limit: Int! = 5
|
$limit: Int! = 5
|
||||||
$after: String = null
|
$after: String = null
|
||||||
|
|||||||
@@ -605,6 +605,8 @@ type IntPoint2D {
|
|||||||
|
|
||||||
type VideoProcessingGQL {
|
type VideoProcessingGQL {
|
||||||
id: Int!
|
id: Int!
|
||||||
|
parentProcessingId: Int
|
||||||
|
labels: [String!]!
|
||||||
errors: [VideoProcessingErrorGQL!]!
|
errors: [VideoProcessingErrorGQL!]!
|
||||||
status: ProcessingStatusEnum!
|
status: ProcessingStatusEnum!
|
||||||
statuses: [VideoProcessingStatusGQL!]!
|
statuses: [VideoProcessingStatusGQL!]!
|
||||||
@@ -669,6 +671,7 @@ type DeployedConfigGQL {
|
|||||||
subscriptionGatingEnabled: Boolean!
|
subscriptionGatingEnabled: Boolean!
|
||||||
bannerMessages: [BannerGQL!]!
|
bannerMessages: [BannerGQL!]!
|
||||||
defaultAndroidRecordingFormat: StreamSegmentTypeEnum!
|
defaultAndroidRecordingFormat: StreamSegmentTypeEnum!
|
||||||
|
bucketUrl: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type BannerGQL {
|
type BannerGQL {
|
||||||
|
|||||||
Reference in New Issue
Block a user