diff --git a/.changeset/seven-wasps-act.md b/.changeset/seven-wasps-act.md new file mode 100644 index 00000000..b77eda9c --- /dev/null +++ b/.changeset/seven-wasps-act.md @@ -0,0 +1,5 @@ +--- +'@asgardeo/react': patch +--- + +Refactor flows v2 models exports diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 2e703c6b..4f8e6f89 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -280,26 +280,26 @@ export { navigate, // Export `v2` models and types as first class citizens since they are // going to be the primary way to interact with embedded flows moving forward. - type EmbeddedFlowComponentTypeV2, - type EmbeddedFlowActionVariantV2, - type EmbeddedFlowTextVariantV2, - type EmbeddedFlowEventTypeV2, - type EmbeddedFlowComponentV2, - type EmbeddedFlowResponseDataV2, - type EmbeddedFlowExecuteRequestConfigV2, - type EmbeddedSignInFlowStatusV2, - type EmbeddedSignInFlowTypeV2, - type ExtendedEmbeddedSignInFlowResponseV2, - type EmbeddedSignInFlowResponseV2, - type EmbeddedSignInFlowCompleteResponseV2, - type EmbeddedSignInFlowInitiateRequestV2, - type EmbeddedSignInFlowRequestV2, - type EmbeddedSignUpFlowStatusV2, - type EmbeddedSignUpFlowTypeV2, - type ExtendedEmbeddedSignUpFlowResponseV2, - type EmbeddedSignUpFlowResponseV2, - type EmbeddedSignUpFlowCompleteResponseV2, - type EmbeddedSignUpFlowInitiateRequestV2, - type EmbeddedSignUpFlowRequestV2, - type EmbeddedSignUpFlowErrorResponseV2, + EmbeddedFlowComponentTypeV2 as EmbeddedFlowComponentType, + EmbeddedFlowActionVariantV2 as EmbeddedFlowActionVariant, + EmbeddedFlowTextVariantV2 as EmbeddedFlowTextVariant, + EmbeddedFlowEventTypeV2 as EmbeddedFlowEventType, + type EmbeddedFlowComponentV2 as EmbeddedFlowComponent, + type EmbeddedFlowResponseDataV2 as EmbeddedFlowResponseData, + type EmbeddedFlowExecuteRequestConfigV2 as EmbeddedFlowExecuteRequestConfig, + EmbeddedSignInFlowStatusV2 as EmbeddedSignInFlowStatus, + EmbeddedSignInFlowTypeV2 as EmbeddedSignInFlowType, + type ExtendedEmbeddedSignInFlowResponseV2 as ExtendedEmbeddedSignInFlowResponse, + type EmbeddedSignInFlowResponseV2 as EmbeddedSignInFlowResponse, + type EmbeddedSignInFlowCompleteResponseV2 as EmbeddedSignInFlowCompleteResponse, + type EmbeddedSignInFlowInitiateRequestV2 as EmbeddedSignInFlowInitiateRequest, + type EmbeddedSignInFlowRequestV2 as EmbeddedSignInFlowRequest, + type EmbeddedSignUpFlowStatusV2 as EmbeddedSignUpFlowStatus, + type EmbeddedSignUpFlowTypeV2 as EmbeddedSignUpFlowType, + type ExtendedEmbeddedSignUpFlowResponseV2 as ExtendedEmbeddedSignUpFlowResponse, + type EmbeddedSignUpFlowResponseV2 as EmbeddedSignUpFlowResponse, + type EmbeddedSignUpFlowCompleteResponseV2 as EmbeddedSignUpFlowCompleteResponse, + type EmbeddedSignUpFlowInitiateRequestV2 as EmbeddedSignUpFlowInitiateRequest, + type EmbeddedSignUpFlowRequestV2 as EmbeddedSignUpFlowRequest, + type EmbeddedSignUpFlowErrorResponseV2 as EmbeddedSignUpFlowErrorResponse, } from '@asgardeo/browser';