Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko committed Sep 22, 2023
1 parent 4d3d3cc commit 9b64e29
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/react-components/ory/user-auth-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,25 +72,25 @@ export type UserAuthCardProps = {
} & UserAuthFormAdditionalProps &
(
| {
flow: LoginFlow
flowType: "login"
additionalProps?: LoginSectionAdditionalProps
}
flow: LoginFlow
flowType: "login"
additionalProps?: LoginSectionAdditionalProps
}
| {
flow: RegistrationFlow
flowType: "registration"
additionalProps?: RegistrationSectionAdditionalProps
}
flow: RegistrationFlow
flowType: "registration"
additionalProps?: RegistrationSectionAdditionalProps
}
| {
flow: RecoveryFlow
flowType: "recovery"
additionalProps?: RecoverySectionAdditionalProps
}
flow: RecoveryFlow
flowType: "recovery"
additionalProps?: RecoverySectionAdditionalProps
}
| {
flow: VerificationFlow
flowType: "verification"
additionalProps?: VerificationSectionAdditionalProps
}
flow: VerificationFlow
flowType: "verification"
additionalProps?: VerificationSectionAdditionalProps
}
)

/**
Expand Down
3 changes: 3 additions & 0 deletions src/stories/Ory/login-data.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

import { LoginFlow } from "@ory/client"

export const loginFlow: LoginFlow = {
Expand Down
3 changes: 3 additions & 0 deletions src/stories/Ory/recovery-data.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

import { RecoveryFlow } from "@ory/client"

export const recoveryFlow: RecoveryFlow = {
Expand Down
3 changes: 3 additions & 0 deletions src/stories/Ory/registration-data.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

import { RegistrationFlow } from "@ory/client"

export const registrationFlow: RegistrationFlow = {
Expand Down
3 changes: 3 additions & 0 deletions src/stories/Ory/settings-data.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

import { SettingsFlow } from "@ory/client"

export const settingsFlow: SettingsFlow = {
Expand Down
3 changes: 3 additions & 0 deletions src/stories/Ory/svg.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

declare module "*.svg" {
const content: React.FunctionComponent<React.SVGAttributes<SVGElement>>
export default content
Expand Down
3 changes: 3 additions & 0 deletions src/stories/Ory/verification-data.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

import { VerificationFlow } from "@ory/client"

export const verificationFlow: VerificationFlow = {
Expand Down

0 comments on commit 9b64e29

Please sign in to comment.