add Data Support ...

This commit is contained in:
2025-12-06 22:23:17 +03:30
parent 15171511f5
commit 3ea6eb2012
13 changed files with 226 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
using System;
using xDataService.GraphQL;
using xFileService.Models.Entities;
namespace xFileService.DataHelper.GraphQL
{
public class XFileGraphType : XBaseGraphObjectType<XFile, Guid>
{
public XFileGraphType() : base()
{
Field(x => x.Type);
Field(x => x.OwnerId);
Field(x => x.Name);
Field(x => x.Path);
Field(x => x.Thumb);
Field(x => x.ThumbPath);
Field(x => x.UploadedOn);
Field(x => x.FileName);
}
}
}