Skip to content

Commit 9542ba9

Browse files
committed
Refactor embedded flow exports in index.ts: change from type exports to direct exports for improved clarity and usability.
1 parent 383405d commit 9542ba9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/react/src/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,15 +280,15 @@ export {
280280
navigate,
281281
// Export `v2` models and types as first class citizens since they are
282282
// going to be the primary way to interact with embedded flows moving forward.
283-
type EmbeddedFlowComponentTypeV2 as EmbeddedFlowComponentType,
284-
type EmbeddedFlowActionVariantV2 as EmbeddedFlowActionVariant,
285-
type EmbeddedFlowTextVariantV2 as EmbeddedFlowTextVariant,
286-
type EmbeddedFlowEventTypeV2 as EmbeddedFlowEventType,
283+
EmbeddedFlowComponentTypeV2 as EmbeddedFlowComponentType,
284+
EmbeddedFlowActionVariantV2 as EmbeddedFlowActionVariant,
285+
EmbeddedFlowTextVariantV2 as EmbeddedFlowTextVariant,
286+
EmbeddedFlowEventTypeV2 as EmbeddedFlowEventType,
287287
type EmbeddedFlowComponentV2 as EmbeddedFlowComponent,
288288
type EmbeddedFlowResponseDataV2 as EmbeddedFlowResponseData,
289289
type EmbeddedFlowExecuteRequestConfigV2 as EmbeddedFlowExecuteRequestConfig,
290-
type EmbeddedSignInFlowStatusV2 as EmbeddedSignInFlowStatus,
291-
type EmbeddedSignInFlowTypeV2 as EmbeddedSignInFlowType,
290+
EmbeddedSignInFlowStatusV2 as EmbeddedSignInFlowStatus,
291+
EmbeddedSignInFlowTypeV2 as EmbeddedSignInFlowType,
292292
type ExtendedEmbeddedSignInFlowResponseV2 as ExtendedEmbeddedSignInFlowResponse,
293293
type EmbeddedSignInFlowResponseV2 as EmbeddedSignInFlowResponse,
294294
type EmbeddedSignInFlowCompleteResponseV2 as EmbeddedSignInFlowCompleteResponse,

0 commit comments

Comments
 (0)