This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "multipart-downloader" | |
version = "0.1.0" | |
edition = "2021" | |
[dependencies] | |
reqwest = { version = "0.12.9", features = ["json", "stream"] } | |
tokio = { version = "1", features = ["full"] } | |
futures = "0.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from "axios"; | |
import * as fs from "node:fs"; | |
import * as path from "node:path"; | |
interface DownloadSegment { | |
start: number; | |
end: number; | |
index: number; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BullMQAdapter } from "@bull-board/api/bullMQAdapter"; | |
import { ExpressAdapter } from "@bull-board/express"; | |
import { BullBoardModule } from "@bull-board/nestjs"; | |
import { BullModule } from "@nestjs/bullmq"; | |
import { Module } from "@nestjs/common"; | |
import { ConfigModule, ConfigService } from "@nestjs/config"; | |
import { FinlensQueue, FinlensRedisDb, Validator } from "@authlayer/core"; | |
import { envSchema } from "../helpers/env-schema"; |