diff --git a/packages/atlas/src/MainLayout.tsx b/packages/atlas/src/MainLayout.tsx index 7e0e436dcf..c01db037dc 100644 --- a/packages/atlas/src/MainLayout.tsx +++ b/packages/atlas/src/MainLayout.tsx @@ -45,6 +45,21 @@ const LoadablePlaygroundLayout = loadable( ) export const MainLayout: FC = () => { + return ( + <> + + + + } /> + } /> + } /> + } /> + + + ) +} + +const MiscUtils = () => { useTimeMismatchWarning() const scrollPosition = useRef(0) const location = useLocation() @@ -111,15 +126,5 @@ export const MainLayout: FC = () => { }, parseInt(transitions.timings.routing) + ROUTING_ANIMATION_OFFSET) }, [location, cachedLocation, locationState, navigationType, clearOverlays]) - return ( - <> - - - } /> - } /> - } /> - } /> - - - ) + return null } diff --git a/packages/atlas/src/api/queries/__generated__/baseTypes.generated.ts b/packages/atlas/src/api/queries/__generated__/baseTypes.generated.ts index 4557e21846..fdaaed4e7e 100644 --- a/packages/atlas/src/api/queries/__generated__/baseTypes.generated.ts +++ b/packages/atlas/src/api/queries/__generated__/baseTypes.generated.ts @@ -2453,6 +2453,8 @@ export enum CommentOrderByInput { VideoHasMarketingDesc = 'video_hasMarketing_DESC', VideoIdAsc = 'video_id_ASC', VideoIdDesc = 'video_id_DESC', + VideoIncludeInHomeFeedAsc = 'video_includeInHomeFeed_ASC', + VideoIncludeInHomeFeedDesc = 'video_includeInHomeFeed_DESC', VideoIsCensoredAsc = 'video_isCensored_ASC', VideoIsCensoredDesc = 'video_isCensored_DESC', VideoIsCommentSectionEnabledAsc = 'video_isCommentSectionEnabled_ASC', @@ -2465,6 +2467,8 @@ export enum CommentOrderByInput { VideoIsPublicDesc = 'video_isPublic_DESC', VideoIsReactionFeatureEnabledAsc = 'video_isReactionFeatureEnabled_ASC', VideoIsReactionFeatureEnabledDesc = 'video_isReactionFeatureEnabled_DESC', + VideoIsShortAsc = 'video_isShort_ASC', + VideoIsShortDesc = 'video_isShort_DESC', VideoLanguageAsc = 'video_language_ASC', VideoLanguageDesc = 'video_language_DESC', VideoOrionLanguageAsc = 'video_orionLanguage_ASC', @@ -2574,6 +2578,8 @@ export enum CommentReactionOrderByInput { VideoHasMarketingDesc = 'video_hasMarketing_DESC', VideoIdAsc = 'video_id_ASC', VideoIdDesc = 'video_id_DESC', + VideoIncludeInHomeFeedAsc = 'video_includeInHomeFeed_ASC', + VideoIncludeInHomeFeedDesc = 'video_includeInHomeFeed_DESC', VideoIsCensoredAsc = 'video_isCensored_ASC', VideoIsCensoredDesc = 'video_isCensored_DESC', VideoIsCommentSectionEnabledAsc = 'video_isCommentSectionEnabled_ASC', @@ -2586,6 +2592,8 @@ export enum CommentReactionOrderByInput { VideoIsPublicDesc = 'video_isPublic_DESC', VideoIsReactionFeatureEnabledAsc = 'video_isReactionFeatureEnabled_ASC', VideoIsReactionFeatureEnabledDesc = 'video_isReactionFeatureEnabled_DESC', + VideoIsShortAsc = 'video_isShort_ASC', + VideoIsShortDesc = 'video_isShort_DESC', VideoLanguageAsc = 'video_language_ASC', VideoLanguageDesc = 'video_language_DESC', VideoOrionLanguageAsc = 'video_orionLanguage_ASC', @@ -5099,6 +5107,7 @@ export type Mutation = { setNewAppRootDomain: AppRootDomain setNewNotificationAssetRoot: SetNewNotificationAssetRootResult setNewNotificationCenterPath: Scalars['Int'] + setOrUnsetPublicFeedVideos: SetOrUnsetPublicFeedResult setSupportedCategories: SetSupportedCategoriesResult setVideoHero: SetVideoHeroResult setVideoViewPerUserTimeLimit: VideoViewPerUserTimeLimit @@ -5211,6 +5220,11 @@ export type MutationSetNewNotificationCenterPathArgs = { newMaxAttempts: Scalars['Int'] } +export type MutationSetOrUnsetPublicFeedVideosArgs = { + operation: PublicFeedOperationType + videoIds: Array +} + export type MutationSetSupportedCategoriesArgs = { supportNewCategories?: InputMaybe supportNoCategoryVideos?: InputMaybe @@ -6390,6 +6404,7 @@ export enum OperatorPermission { SetChannelWeights = 'SET_CHANNEL_WEIGHTS', SetFeaturedNfts = 'SET_FEATURED_NFTS', SetKillSwitch = 'SET_KILL_SWITCH', + SetPublicFeedVideos = 'SET_PUBLIC_FEED_VIDEOS', SetSupportedCategories = 'SET_SUPPORTED_CATEGORIES', SetVideoHero = 'SET_VIDEO_HERO', SetVideoViewPerUserTimeLimit = 'SET_VIDEO_VIEW_PER_USER_TIME_LIMIT', @@ -6479,6 +6494,8 @@ export enum OwnedNftOrderByInput { VideoHasMarketingDesc = 'video_hasMarketing_DESC', VideoIdAsc = 'video_id_ASC', VideoIdDesc = 'video_id_DESC', + VideoIncludeInHomeFeedAsc = 'video_includeInHomeFeed_ASC', + VideoIncludeInHomeFeedDesc = 'video_includeInHomeFeed_DESC', VideoIsCensoredAsc = 'video_isCensored_ASC', VideoIsCensoredDesc = 'video_isCensored_DESC', VideoIsCommentSectionEnabledAsc = 'video_isCommentSectionEnabled_ASC', @@ -6491,6 +6508,8 @@ export enum OwnedNftOrderByInput { VideoIsPublicDesc = 'video_isPublic_DESC', VideoIsReactionFeatureEnabledAsc = 'video_isReactionFeatureEnabled_ASC', VideoIsReactionFeatureEnabledDesc = 'video_isReactionFeatureEnabled_DESC', + VideoIsShortAsc = 'video_isShort_ASC', + VideoIsShortDesc = 'video_isShort_DESC', VideoLanguageAsc = 'video_language_ASC', VideoLanguageDesc = 'video_language_DESC', VideoOrionLanguageAsc = 'video_orionLanguage_ASC', @@ -6643,6 +6662,11 @@ export type ProcessorState = { lastProcessedBlock: Scalars['Int'] } +export enum PublicFeedOperationType { + Set = 'SET', + Unset = 'UNSET', +} + export type Query = { __typename?: 'Query' accountById?: Maybe @@ -6747,6 +6771,7 @@ export type Query = { distributionBucketOperatorsConnection: DistributionBucketOperatorsConnection distributionBuckets: Array distributionBucketsConnection: DistributionBucketsConnection + dumbPublicFeedVideos: Array