Function validateContentForDownload

  • Determines if the user is eligible for bulk download based on the size and item count of the content.

    Parameters

    • slugs: string[]

      An array of item slugs to be validated for download.

    Returns Promise<{
        message?: string;
        valid: boolean;
    }>

    A Promise that resolves when the validation is complete.