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

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

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

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