package dev.photosync.core.provider;

import java.util.List;

/** The assets of one {@link TimelineBucket}, newest first. */
public record BucketPage(TimelineBucket bucket, List<RemoteAsset> assets) {

    public BucketPage {
        assets = assets == null ? List.of() : List.copyOf(assets);
    }
}
