diff --git a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Filters/EncodeFilterType.cs b/src/Service.Dashboard/src/HttpApi/Types/Encodes/Filters/EncodeFilterType.cs new file mode 100644 index 00000000..aba98bbb --- /dev/null +++ b/src/Service.Dashboard/src/HttpApi/Types/Encodes/Filters/EncodeFilterType.cs @@ -0,0 +1,14 @@ +using Giantnodes.Service.Dashboard.Domain.Aggregates.Encodes; +using HotChocolate.Data.Filters; + +namespace Giantnodes.Service.Dashboard.HttpApi.Types.Encodes.Filters; + +public class EncodeFilterType : FilterInputType +{ + protected override void Configure(IFilterInputTypeDescriptor descriptor) + { + descriptor + .Field(p => p.Id) + .Type(); + } +} \ No newline at end of file diff --git a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Filters/FileSystemEntryFilterType.cs b/src/Service.Dashboard/src/HttpApi/Types/Encodes/Filters/FileSystemEntryFilterType.cs deleted file mode 100644 index a55db402..00000000 --- a/src/Service.Dashboard/src/HttpApi/Types/Encodes/Filters/FileSystemEntryFilterType.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Giantnodes.Service.Dashboard.Domain.Aggregates.Entries; -using HotChocolate.Data.Filters; - -namespace Giantnodes.Service.Dashboard.HttpApi.Types.Entries.Filters; - -public class FileSystemEntryFilterType : FilterInputType -{ - protected override void Configure(IFilterInputTypeDescriptor descriptor) - { - descriptor - .Field(p => p.Id) - .Type(); - } -} \ No newline at end of file