csharpdeeb25a2 | 1 | #nullable enable |
| 2 | |
| 3 | using CascadeIDE.Models.Intercom; |
| 4 | |
| 5 | namespace CascadeIDE.Features.Chat.AnchorPeek; |
| 6 | |
| 7 | internal 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 | |
| 16 | internal readonly record struct FeedMessageAnchor(int MessageIndex, AttachmentAnchor Anchor); |
| 17 | |
View only · write via MCP/CIDE