feat: add account-scoped data synchronization
This commit is contained in:
@@ -1,6 +1,25 @@
|
||||
namespace WxAgent.Service;
|
||||
|
||||
public sealed record Page<T>(IReadOnlyList<T> Items, int Limit, int Offset, bool HasMore, int? NextOffset);
|
||||
public static class ReadCoverageStates
|
||||
{
|
||||
public const string Complete = "complete";
|
||||
public const string Partial = "partial";
|
||||
public const string Unknown = "unknown";
|
||||
}
|
||||
|
||||
public sealed record ReadCoverage(
|
||||
string State,
|
||||
string Source,
|
||||
int ObservedCount,
|
||||
int AuthorizedScopeCount,
|
||||
int MatchedScopeCount,
|
||||
DateTimeOffset ObservedAt,
|
||||
string? ErrorCode = null);
|
||||
|
||||
public sealed record Page<T>(IReadOnlyList<T> Items, int Limit, int Offset, bool HasMore, int? NextOffset)
|
||||
{
|
||||
public ReadCoverage? Coverage { get; init; }
|
||||
}
|
||||
public sealed record AccountInfo(string AccountId, string? DisplayName, string? WechatId, string? Region, string DataFingerprint, bool IsUiBindingKnown, AccountBinding? Binding = null, string BindingStatus = "Unbound");
|
||||
public sealed record SessionInfo(string Name, string AutomationId, bool IsCurrent);
|
||||
public sealed record MessageInfo(string Fingerprint, string Type, string? Sender, string? Summary, string? Content);
|
||||
|
||||
Reference in New Issue
Block a user