Skip to content

Commit bb942b2

Browse files
committed
export context types
1 parent 2d81c87 commit bb942b2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/strategies/DeltaTime/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
type IngestionStrategyExternalCustomer,
66
} from "../../strategy";
77

8-
type DeltaTimeStrategyContext = IngestionStrategyContext & {
8+
export type DeltaTimeStrategyContext = IngestionStrategyContext & {
99
deltaTime: number;
1010
strategy: "DeltaTime";
1111
};

src/strategies/LLM/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
import type { CostMetadataInput } from "@polar-sh/sdk/models/components/costmetadatainput.js";
1515
import type { LLMMetadata } from "@polar-sh/sdk/models/components/llmmetadata.js";
1616

17-
type LLMStrategyContext = IngestionContext<{
17+
export type LLMStrategyContext = IngestionContext<{
1818
inputTokens: number;
1919
outputTokens: number;
2020
totalTokens: number;

src/strategies/S3/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
type IngestionStrategyExternalCustomer,
88
} from "../../strategy";
99

10-
type S3StrategyContext = IngestionStrategyContext & {
10+
export type S3StrategyContext = IngestionStrategyContext & {
1111
bucket?: string;
1212
key?: string;
1313
contentType?: string;

src/strategies/Stream/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
type IngestionStrategyExternalCustomer,
88
} from "../../strategy";
99

10-
type StreamStrategyContext = IngestionStrategyContext & {
10+
export type StreamStrategyContext = IngestionStrategyContext & {
1111
bytes: number;
1212
strategy: "Stream";
1313
};

0 commit comments

Comments
 (0)