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

import { createModuleNameFromMetaUrl } from '../../../_helpers/common';

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

export default new GraphQLInputObjectType({
  name: PAYLOAD_GET_SSO_ITEM,
  fields: {
    id: {
      type: GraphQLInt,
    },
    provider: {
      type: GraphQLString,
    },
  },
});
