Files
git.stella-ops.org/src/Platform/StellaOps.Platform.WebService/Contracts/SearchModels.cs

22 lines
464 B
C#

using System;
using System.Collections.Generic;
namespace StellaOps.Platform.WebService.Contracts;
public sealed record PlatformSearchItem(
string EntityId,
string EntityType,
string Title,
string Summary,
string Source,
string? Url,
double Score,
DateTimeOffset UpdatedAt);
public sealed record PlatformSearchResult(
IReadOnlyList<PlatformSearchItem> Items,
int Total,
int Limit,
int Offset,
string? Query);