namespace OpenNest.Data;
///
/// The read side of the server drawing library that browsing and adding to a nest use.
/// is the only production implementation.
///
public interface IDrawingLibrary
{
/// One bounded page of drawings matching the query, filtered and ordered by the server.
Task QueryAsync(DrawingLibraryQuery query, CancellationToken cancellationToken = default);
/// The exact package of one immutable revision, or null when the drawing or revision is unknown.
Task GetRevisionPackageAsync(Guid id, int revision, CancellationToken cancellationToken = default);
}