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

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

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

export default new GraphQLInputObjectType({
  name: GET_AIW_TAGLOG_DATA_PAYLOAD,
  fields: {
    videoId: {
      type: GraphQLString,
    },
    startTime: {
      type: GraphQLInt,
    },
    next: {
      type: GraphQLInt,
    },
    previous: {
      type: GraphQLInt,
    },
  },
});
