V13-FE-011: finalize search list layout slice

This commit is contained in:
2026-08-09 02:57:26 +09:00
parent 9efd202e76
commit 6422cb2b13
984 changed files with 120811 additions and 1498 deletions
@@ -0,0 +1,48 @@
using System.Text.Json;
namespace Kbx.Shared.ExternalData;
public enum KbxExternalDataState { Fresh, Stale, Expired, Unavailable }
public enum KbxExternalDataFreshnessMode { Strict, StaleWhileRevalidate, ProviderDefined }
public sealed record KbxExternalDataProvenance(
string DatasetId,
string ProviderId,
string ProviderOperationId,
string SourceLabel,
KbxExternalDataState State,
DateTimeOffset? ProviderObservedAt,
DateTimeOffset RequestedAt,
DateTimeOffset ReceivedAt,
DateTimeOffset IngestedAt,
DateTimeOffset? FreshUntil,
DateTimeOffset? UsableUntil,
string PayloadSha256,
string NormalizerVersion,
bool CacheHit,
bool RefreshInProgress = false,
string? Warning = null);
public sealed record KbxExternalDataEnvelope<T>(T? Data, KbxExternalDataProvenance Provenance);
public sealed record KbxExternalDataCacheEntry(
Guid TenantId,
string DatasetId,
string ProviderId,
string CacheKey,
JsonDocument RequestDescriptor,
JsonDocument NormalizedData,
DateTimeOffset? ProviderObservedAt,
DateTimeOffset RequestedAt,
DateTimeOffset ReceivedAt,
DateTimeOffset IngestedAt,
DateTimeOffset? FreshUntil,
DateTimeOffset? UsableUntil,
string PayloadSha256,
string NormalizerVersion,
string State,
string CorrelationId);
public sealed record KbxCompanyProfileSnapshot(string CorpCode, string CorpName, string? StockCode, string? BusinessNumber);
public sealed record KbxDisclosureSummarySnapshot(string ReceiptNo, string CorpCode, string CorpName, string ReportName, string ReceiptDate);
public sealed record KbxMarketPriceSnapshot(string MarketDivisionCode, string StockCode, decimal CurrentPrice);