import { GraphQLBoolean, GraphQLInputObjectType, GraphQLString } from 'graphql';

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

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

export default new GraphQLInputObjectType({
  name: GENERATE_AIW_THUMBNAIL_OPTIONS_PAYLOAD,
  fields: {
    videoId: {
      type: GraphQLString,
    },
    notifyByEmail: {
      type: GraphQLBoolean,
    },
  },
});
