Rename LoginDeviceVerifyUserCode to LoginOauth2DeviceVerifyUserCode (as it should have been)
This commit is contained in:
parent
955b6cac45
commit
5063b1c7ab
@ -33,7 +33,7 @@ export type KcContext =
|
|||||||
| KcContext.LoginResetPassword
|
| KcContext.LoginResetPassword
|
||||||
| KcContext.LoginVerifyEmail
|
| KcContext.LoginVerifyEmail
|
||||||
| KcContext.Terms
|
| KcContext.Terms
|
||||||
| KcContext.LoginDeviceVerifyUserCode
|
| KcContext.LoginOauth2DeviceVerifyUserCode
|
||||||
| KcContext.LoginOauthGrant
|
| KcContext.LoginOauthGrant
|
||||||
| KcContext.LoginOtp
|
| KcContext.LoginOtp
|
||||||
| KcContext.LoginUsername
|
| KcContext.LoginUsername
|
||||||
@ -277,7 +277,7 @@ export declare namespace KcContext {
|
|||||||
__localizationRealmOverridesTermsText?: string;
|
__localizationRealmOverridesTermsText?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type LoginDeviceVerifyUserCode = Common & {
|
export type LoginOauth2DeviceVerifyUserCode = Common & {
|
||||||
pageId: "login-oauth2-device-verify-user-code.ftl";
|
pageId: "login-oauth2-device-verify-user-code.ftl";
|
||||||
url: {
|
url: {
|
||||||
oauth2DeviceVerificationAction: string;
|
oauth2DeviceVerificationAction: string;
|
||||||
|
@ -290,7 +290,7 @@ export const kcContextMocks = [
|
|||||||
...kcContextCommonMock,
|
...kcContextCommonMock,
|
||||||
pageId: "terms.ftl"
|
pageId: "terms.ftl"
|
||||||
}),
|
}),
|
||||||
id<KcContext.LoginDeviceVerifyUserCode>({
|
id<KcContext.LoginOauth2DeviceVerifyUserCode>({
|
||||||
...kcContextCommonMock,
|
...kcContextCommonMock,
|
||||||
pageId: "login-oauth2-device-verify-user-code.ftl",
|
pageId: "login-oauth2-device-verify-user-code.ftl",
|
||||||
url: loginUrl
|
url: loginUrl
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
import type { Meta, StoryObj } from "@storybook/react";
|
|
||||||
import { createKcPageStory } from "../KcPageStory";
|
|
||||||
|
|
||||||
const { KcPageStory } = createKcPageStory({ pageId: "login-device-verify-user-code.ftl" });
|
|
||||||
|
|
||||||
const meta = {
|
|
||||||
title: "login/login-device-verify-user-code.ftl",
|
|
||||||
component: KcPageStory
|
|
||||||
} satisfies Meta<typeof KcPageStory>;
|
|
||||||
|
|
||||||
export default meta;
|
|
||||||
|
|
||||||
type Story = StoryObj<typeof meta>;
|
|
||||||
|
|
||||||
export const Default: Story = {
|
|
||||||
render: () => <KcPageStory />
|
|
||||||
};
|
|
Loading…
x
Reference in New Issue
Block a user