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

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

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

export default new GraphQLInputObjectType({
  name: GET_AIW_TAGLOG_TAG_INFO_PAYLOAD,
  fields: {
    videoId: {
      type: GraphQLString,
    },
    tagId: {
      type: GraphQLString,
    },
    uid: {
      type: GraphQLString,
    },
    labelId: {
      type: GraphQLString,
    },
    labelValue: {
      type: GraphQLString,
    },
    text: {
      type: GraphQLString,
    },
    isIab: {
      type: GraphQLBoolean,
    },
  },
});
