Skip to content

Commit 4a141b4

Browse files
authored
fix: add Pipeline to exports (#1121)
1 parent cac6492 commit 4a141b4

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

platforms/cloudflare.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { Requester, UpstashRequest, UpstashResponse } from "../pkg/http";
2+
import { Pipeline } from "../pkg/pipeline";
23
import { HttpClient, RequesterConfig } from "../pkg/http";
34
import * as core from "../pkg/redis";
45
import { VERSION } from "../version";
@@ -8,7 +9,7 @@ type Env = {
89
};
910

1011
export type * from "../pkg/commands/types";
11-
export type { Requester, UpstashRequest, UpstashResponse };
12+
export type { Requester, UpstashRequest, UpstashResponse, Pipeline };
1213
/**
1314
* Connection credentials for upstash redis.
1415
* Get them from https://console.upstash.com/redis/<uuid>

platforms/fastly.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import type { Requester, RequesterConfig, UpstashRequest, UpstashResponse } from "../pkg/http";
2+
import { Pipeline } from "../pkg/pipeline";
23
import { HttpClient } from "../pkg/http";
34
import * as core from "../pkg/redis";
45
import { VERSION } from "../version";
56

67
export type * from "../pkg/commands/types";
7-
export type { Requester, UpstashRequest, UpstashResponse };
8+
export type { Requester, UpstashRequest, UpstashResponse, Pipeline };
89

910
/**
1011
* Connection credentials for upstash redis.

platforms/nodejs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
UpstashRequest,
88
UpstashResponse,
99
} from "../pkg/http";
10+
import { Pipeline } from "../pkg/pipeline";
1011
import * as core from "../pkg/redis";
1112
import { VERSION } from "../version";
1213

@@ -17,7 +18,7 @@ if (typeof atob === "undefined") {
1718
global.atob = (b64: string) => Buffer.from(b64, "base64").toString("utf-8");
1819
}
1920
export type * from "../pkg/commands/types";
20-
export type { Requester, UpstashRequest, UpstashResponse };
21+
export type { Requester, UpstashRequest, UpstashResponse, Pipeline };
2122

2223
/**
2324
* Connection credentials for upstash redis.

0 commit comments

Comments
 (0)