Forge
csharpdeeb25a2
1#nullable enable
2
3using CascadeIDE.Models.Intercom;
4
5namespace CascadeIDE.Features.Chat.AnchorPeek;
6
7internal sealed record AnchorPeekResolveContext(
8 int SelectedMessageIndex,
9 IReadOnlyList<AttachmentAnchor> SelectedMessageAnchors,
10 IReadOnlyDictionary<string, AttachmentAnchor> PendingDrafts,
11 IReadOnlyList<FeedMessageAnchor> AllMessageAnchors)
12{
13 public static AnchorPeekResolveContext Empty { get; } = new(-1, [], new Dictionary<string, AttachmentAnchor>(), []);
14}
15
16internal readonly record struct FeedMessageAnchor(int MessageIndex, AttachmentAnchor Anchor);
17
View only · write via MCP/CIDE