Skip to content
Snippets Groups Projects
Commit 1d021c84 authored by Stefan Cruz's avatar Stefan Cruz
Browse files

chore: update source types

parent 8e35145f
No related branches found
No related tags found
No related merge requests found
......@@ -840,6 +840,8 @@ export type Channel = Node & {
* @deprecated Use `logolURL` field.
*/
thumbnails?: Maybe<Thumbnails>;
/** Required updates on the channel, as it does not respect the community guidelines. */
updateRequired?: Maybe<ChannelUpdateRequired>;
/** The videos of the channel. */
videos?: Maybe<VideoConnection>;
/**
......@@ -1245,6 +1247,13 @@ export type ChannelStatsViews = Node & {
total?: Maybe<Scalars['BigInt']['output']>;
};
 
/** Information about required updates on the channel. */
export type ChannelUpdateRequired = {
__typename?: 'ChannelUpdateRequired';
/** Indicates whether the name of the channel is required to be updated. */
name: Scalars['Boolean']['output'];
};
/** The possible sort options for channels. */
export enum ChannelsSort {
/** Sort by popular. */
......@@ -6066,11 +6075,16 @@ export type Recording = {
createdAt?: Maybe<Scalars['DateTime']['output']>;
/** The reactions created on the recording. */
reactions?: Maybe<ReactionConnection>;
/** The share urls of the recording. */
shareUrls?: Maybe<ShareUrls>;
/** The URL of the recording thumbnail image. */
thumbnail?: Maybe<Image>;
/** The title of the recording. */
title?: Maybe<Scalars['String']['output']>;
/** The URL of the recording. */
/**
* The URL of the recording.
* @deprecated Use `shareUrls.permalink` field.
*/
url?: Maybe<Scalars['String']['output']>;
};
 
......@@ -9247,6 +9261,7 @@ export type ResolversTypes = {
ChannelStatsReactions: ResolverTypeWrapper<ChannelStatsReactions>;
ChannelStatsVideos: ResolverTypeWrapper<ChannelStatsVideos>;
ChannelStatsViews: ResolverTypeWrapper<ChannelStatsViews>;
ChannelUpdateRequired: ResolverTypeWrapper<ChannelUpdateRequired>;
ChannelsSort: ChannelsSort;
ClearCollectionMediasInput: ClearCollectionMediasInput;
ClearCollectionMediasPayload: ResolverTypeWrapper<ClearCollectionMediasPayload>;
......@@ -9797,6 +9812,7 @@ export type ResolversParentTypes = {
ChannelStatsReactions: ChannelStatsReactions;
ChannelStatsVideos: ChannelStatsVideos;
ChannelStatsViews: ChannelStatsViews;
ChannelUpdateRequired: ChannelUpdateRequired;
ClearCollectionMediasInput: ClearCollectionMediasInput;
ClearCollectionMediasPayload: ClearCollectionMediasPayload;
ClearLikedVideosInput: ClearLikedVideosInput;
......@@ -10554,6 +10570,7 @@ export type ChannelResolvers<ContextType = any, ParentType extends ResolversPare
stats?: Resolver<Maybe<ResolversTypes['ChannelStats']>, ParentType, ContextType>;
tagline?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
thumbnails?: Resolver<Maybe<ResolversTypes['Thumbnails']>, ParentType, ContextType>;
updateRequired?: Resolver<Maybe<ResolversTypes['ChannelUpdateRequired']>, ParentType, ContextType>;
videos?: Resolver<Maybe<ResolversTypes['VideoConnection']>, ParentType, ContextType, RequireFields<ChannelVideosArgs, 'first' | 'page'>>;
viewCount?: Resolver<Maybe<ResolversTypes['BigInt']>, ParentType, ContextType>;
xid?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
......@@ -10673,6 +10690,11 @@ export type ChannelStatsViewsResolvers<ContextType = any, ParentType extends Res
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};
 
export type ChannelUpdateRequiredResolvers<ContextType = any, ParentType extends ResolversParentTypes['ChannelUpdateRequired'] = ResolversParentTypes['ChannelUpdateRequired']> = {
name?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};
export type ClearCollectionMediasPayloadResolvers<ContextType = any, ParentType extends ResolversParentTypes['ClearCollectionMediasPayload'] = ResolversParentTypes['ClearCollectionMediasPayload']> = {
clientMutationId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
status?: Resolver<Maybe<ResolversTypes['Status']>, ParentType, ContextType>;
......@@ -12286,6 +12308,7 @@ export type RecordingResolvers<ContextType = any, ParentType extends ResolversPa
createDate?: Resolver<ResolversTypes['DateTime'], ParentType, ContextType>;
createdAt?: Resolver<Maybe<ResolversTypes['DateTime']>, ParentType, ContextType>;
reactions?: Resolver<Maybe<ResolversTypes['ReactionConnection']>, ParentType, ContextType, RequireFields<RecordingReactionsArgs, 'first' | 'page'>>;
shareUrls?: Resolver<Maybe<ResolversTypes['ShareUrls']>, ParentType, ContextType>;
thumbnail?: Resolver<Maybe<ResolversTypes['Image']>, ParentType, ContextType, RequireFields<RecordingThumbnailArgs, 'height'>>;
title?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
url?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
......@@ -13324,6 +13347,7 @@ export type Resolvers<ContextType = any> = {
ChannelStatsReactions?: ChannelStatsReactionsResolvers<ContextType>;
ChannelStatsVideos?: ChannelStatsVideosResolvers<ContextType>;
ChannelStatsViews?: ChannelStatsViewsResolvers<ContextType>;
ChannelUpdateRequired?: ChannelUpdateRequiredResolvers<ContextType>;
ClearCollectionMediasPayload?: ClearCollectionMediasPayloadResolvers<ContextType>;
ClearLikedVideosPayload?: ClearLikedVideosPayloadResolvers<ContextType>;
ClearWatchLaterVideosPayload?: ClearWatchLaterVideosPayloadResolvers<ContextType>;
......
......@@ -4617,6 +4617,18 @@
"isDeprecated": true,
"deprecationReason": "Use `logolURL` field."
},
{
"name": "updateRequired",
"description": "Required updates on the channel, as it does not respect the community guidelines.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "ChannelUpdateRequired",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "videos",
"description": "The videos of the channel.",
......@@ -6036,6 +6048,33 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "ChannelUpdateRequired",
"description": "Information about required updates on the channel.",
"fields": [
{
"name": "name",
"description": "Indicates whether the name of the channel is required to be updated.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "ChannelsSort",
......@@ -28193,6 +28232,18 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "shareUrls",
"description": "The share urls of the recording.",
"args": [],
"type": {
"kind": "INTERFACE",
"name": "ShareUrls",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "thumbnail",
"description": "The URL of the recording thumbnail image.",
......@@ -28243,8 +28294,8 @@
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
"isDeprecated": true,
"deprecationReason": "Use `shareUrls.permalink` field."
}
],
"inputFields": null,
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment