diff --git a/platforms/cloudflare.ts b/platforms/cloudflare.ts index e6670721..c89b7587 100644 --- a/platforms/cloudflare.ts +++ b/platforms/cloudflare.ts @@ -1,4 +1,5 @@ import type { Requester, UpstashRequest, UpstashResponse } from "../pkg/http"; +import { Pipeline } from "../pkg/pipeline"; import { HttpClient, RequesterConfig } from "../pkg/http"; import * as core from "../pkg/redis"; import { VERSION } from "../version"; @@ -8,7 +9,7 @@ type Env = { }; export type * from "../pkg/commands/types"; -export type { Requester, UpstashRequest, UpstashResponse }; +export type { Requester, UpstashRequest, UpstashResponse, Pipeline }; /** * Connection credentials for upstash redis. * Get them from https://console.upstash.com/redis/ diff --git a/platforms/fastly.ts b/platforms/fastly.ts index 47607c7b..6127b172 100644 --- a/platforms/fastly.ts +++ b/platforms/fastly.ts @@ -1,10 +1,11 @@ import type { Requester, RequesterConfig, UpstashRequest, UpstashResponse } from "../pkg/http"; +import { Pipeline } from "../pkg/pipeline"; import { HttpClient } from "../pkg/http"; import * as core from "../pkg/redis"; import { VERSION } from "../version"; export type * from "../pkg/commands/types"; -export type { Requester, UpstashRequest, UpstashResponse }; +export type { Requester, UpstashRequest, UpstashResponse, Pipeline }; /** * Connection credentials for upstash redis. diff --git a/platforms/nodejs.ts b/platforms/nodejs.ts index 3e3c9c54..48f05fe4 100644 --- a/platforms/nodejs.ts +++ b/platforms/nodejs.ts @@ -7,6 +7,7 @@ import { UpstashRequest, UpstashResponse, } from "../pkg/http"; +import { Pipeline } from "../pkg/pipeline"; import * as core from "../pkg/redis"; import { VERSION } from "../version"; @@ -17,7 +18,7 @@ if (typeof atob === "undefined") { global.atob = (b64: string) => Buffer.from(b64, "base64").toString("utf-8"); } export type * from "../pkg/commands/types"; -export type { Requester, UpstashRequest, UpstashResponse }; +export type { Requester, UpstashRequest, UpstashResponse, Pipeline }; /** * Connection credentials for upstash redis.