Files
speckle-sharp-sdk/src/Speckle.Sdk/Api/GraphQL/Inputs/CommentInputs.cs
T
Jedd Morgan 0f8752d5ab feat(api): Improvements to GrahpQL error handling (#304)
* Graphql extras

* extra server resource test

* usings

* Fixed test
2025-05-20 12:44:23 +00:00

20 lines
671 B
C#

namespace Speckle.Sdk.Api.GraphQL.Inputs;
internal record CommentContentInput(IReadOnlyCollection<string>? blobIds, object? doc);
internal record CreateCommentInput(
CommentContentInput content,
string projectId,
string resourceIdString,
string? screenshot,
object? viewerState
);
internal record EditCommentInput(CommentContentInput content, string commentId, string projectId);
internal record CreateCommentReplyInput(CommentContentInput content, string threadId, string projectId);
public record MarkCommentViewedInput(string commentId, string projectId);
public record ArchiveCommentInput(string commentId, string projectId, bool archived = true);