Skip to content
Open
1 change: 1 addition & 0 deletions integrations/react/src/future/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export type { ActivityComponentType as ActivityComponentTypeByParams } from "../__internal__/ActivityComponentType";
export * from "../__internal__/activity/useActivity";
export * from "../__internal__/MonolithicActivityComponentType";
export * from "../__internal__/StackflowReactPlugin";
export * from "../__internal__/StructuredActivityComponentType";
export * from "../__internal__/stack/useStack";
Expand Down
2 changes: 1 addition & 1 deletion integrations/react/src/future/loader/loaderPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type {
ActivityDefinition,
RegisteredActivityName,
} from "@stackflow/config";
import type { ActivityComponentType } from "../../__internal__/ActivityComponentType";
import type { StackflowReactPlugin } from "../../__internal__/StackflowReactPlugin";
import {
getContentComponent,
Expand All @@ -14,6 +13,7 @@ import {
PromiseStatus,
resolve,
} from "../../__internal__/utils/SyncInspectablePromise";
import type { ActivityComponentType } from "../ActivityComponentType";
import type { StackflowInput } from "../stackflow";

export function loaderPlugin<
Expand Down
4 changes: 4 additions & 0 deletions integrations/react/src/stable/ActivityComponentType.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import type { StaticActivityComponentType } from "../__internal__/StaticActivityComponentType";

export type ActivityComponentType<T extends { [K in keyof T]: any } = {}> =
StaticActivityComponentType<T>;
2 changes: 1 addition & 1 deletion integrations/react/src/stable/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export * from "../__internal__/activity/useActivity";
export * from "../__internal__/activity/useActivityParams";
export type { MonolithicActivityComponentType as ActivityComponentType } from "../__internal__/MonolithicActivityComponentType";
export * from "../__internal__/StackflowReactPlugin";
export * from "../__internal__/stack/useStack";
export type { ActivityComponentType } from "./ActivityComponentType";
export * from "./stackflow";
export * from "./useActions";
export * from "./useActiveEffect";
Expand Down
Loading