videosphere
    Preparing search index...

    Function getYoutubeImportLivestreamsPage

    • Returns a paginated slice of YouTube-importable livestreams and the filtered total.

      Parameters

      • userId: string

        Owner user id.

      • options: { limit: number; offset: number }

        Pagination options.

        • limit: number

          Maximum rows to return.

        • offset: number

          Number of rows to skip.

      Returns Promise<{ total: number; livestreams: Livestream[] }>

      Page slice and total importable count from an indexed MongoDB query.