This commit is contained in:
2026-05-27 16:10:55 +03:30
parent 08e70f5095
commit 441d9f06a4
3 changed files with 7 additions and 30 deletions
+7
View File
@@ -0,0 +1,7 @@
namespace xModels.Base
{
public class XBaseValueContainer<T>
{
public T Value { get; set; }
}
}
-14
View File
@@ -1,14 +0,0 @@
namespace xModels.Dtos {
/// <summary>
/// Request a Page of Data based on Cursor ...
/// this only be Used in GraphQL ...
/// </summary>
public class XPageRequest {
public int? First { get; set; }
public int? Last { get; set; }
public string After { get; set; } = "";
public string Before { get; set; } = "";
public string SortBy { get; set; } = "";
public bool DescendingSort { get; set; }
}
}
-16
View File
@@ -1,16 +0,0 @@
using System.Collections.Generic;
namespace xModels.Dtos {
/// <summary>
/// Result of a Requested Page of Data based on Cursor ...
/// this only be Used in GraphQL ...
/// </summary>
/// <typeparam name="T"></typeparam>
public class XPageResponse<T> {
public List<T> Nodes { get; set; }
public int TotalCount { get; set; }
public bool HasNextPage { get; set; }
public bool HasPreviousPage { get; set; }
}
}