import { GraphQLInputObjectType, GraphQLString } from 'graphql';

import { createModuleNameFromMetaUrl } from '@/graphql/services/_helpers/common';

export const SET_AIW_THUMBNAIL_DRAFT_PAYLOAD = createModuleNameFromMetaUrl(import.meta.url);

export default new GraphQLInputObjectType({
  name: SET_AIW_THUMBNAIL_DRAFT_PAYLOAD,
  fields: {
    videoId: {
      type: GraphQLString,
    },
    uid: {
      type: GraphQLString,
    },
    thumbnail: {
      type: GraphQLString,
    },
  },
});
