Skip to content

Commit

Permalink
Fix stream state exports
Browse files Browse the repository at this point in the history
  • Loading branch information
alicja-gruzdz committed Feb 13, 2024
1 parent 92ddbeb commit 14a2156
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export * from "./telemetry-config";
export * from "./host-proxy";
export * from "./api-client/host-client";
export * from "./sd-content-type";
export * from "./sd-stream-handler";
export * from "./sd-topic-handler";
export * from "./topic-router";

Expand All @@ -60,6 +59,8 @@ export * from "./dto/index";

export * from "./rest-api-error/rest-api-error";

export { StreamState, StreamOptions, OriginType, StreamHandler, StreamOrigin } from "./sd-stream-handler";

// system-observable.ts
declare global {
interface SymbolConstructor {
Expand Down
2 changes: 2 additions & 0 deletions packages/types/src/sd-stream-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ export interface StreamHandler {
options(): StreamOptions
origin(): StreamOrigin
}

export { WorkState, WritableState, ReadableState, StreamType };

0 comments on commit 14a2156

Please sign in to comment.