26 lines
656 B
C#
26 lines
656 B
C#
using System;
|
|
using xDataService.Configuration;
|
|
using xDataService.GraphQL;
|
|
using xFileService.Interfaces.Entities;
|
|
using xFileService.Models.Entities;
|
|
|
|
namespace xFileService.Providers.GraphQL
|
|
{
|
|
public class XFileGraphQLTypeHelper : XBaseGraphQLTypeHelper<XFile, Guid>, IXFileGraphQLTypeHelper
|
|
{
|
|
public XFileGraphQLTypeHelper(
|
|
XDataServiceConfiguration configuration
|
|
) : base(configuration)
|
|
{ }
|
|
|
|
public override string GetInQueryCollectionName()
|
|
{
|
|
return "files";
|
|
}
|
|
|
|
public override string GetInQuerySingleName()
|
|
{
|
|
return "file";
|
|
}
|
|
}
|
|
} |