mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-14 00:07:41 +00:00
lint
This commit is contained in:
@@ -19,10 +19,7 @@ import {
|
|||||||
import { create } from "@zitadel/client";
|
import { create } from "@zitadel/client";
|
||||||
import { AutoLinkingOption } from "@zitadel/proto/zitadel/idp/v2/idp_pb";
|
import { AutoLinkingOption } from "@zitadel/proto/zitadel/idp/v2/idp_pb";
|
||||||
import { OrganizationSchema } from "@zitadel/proto/zitadel/object/v2/object_pb";
|
import { OrganizationSchema } from "@zitadel/proto/zitadel/object/v2/object_pb";
|
||||||
import {
|
import { AddHumanUserRequestSchema } from "@zitadel/proto/zitadel/user/v2/user_service_pb";
|
||||||
AddHumanUserRequest,
|
|
||||||
AddHumanUserRequestSchema,
|
|
||||||
} from "@zitadel/proto/zitadel/user/v2/user_service_pb";
|
|
||||||
import { getLocale, getTranslations } from "next-intl/server";
|
import { getLocale, getTranslations } from "next-intl/server";
|
||||||
import { headers } from "next/headers";
|
import { headers } from "next/headers";
|
||||||
|
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
import { create } from "@zitadel/client";
|
|
||||||
import { IDPType } from "@zitadel/proto/zitadel/idp/v2/idp_pb";
|
import { IDPType } from "@zitadel/proto/zitadel/idp/v2/idp_pb";
|
||||||
import { IdentityProviderType } from "@zitadel/proto/zitadel/settings/v2/login_settings_pb";
|
import { IdentityProviderType } from "@zitadel/proto/zitadel/settings/v2/login_settings_pb";
|
||||||
import { IDPInformation } from "@zitadel/proto/zitadel/user/v2/idp_pb";
|
|
||||||
import {
|
|
||||||
AddHumanUserRequest,
|
|
||||||
AddHumanUserRequestSchema,
|
|
||||||
} from "@zitadel/proto/zitadel/user/v2/user_service_pb";
|
|
||||||
|
|
||||||
// This maps the IdentityProviderType to a slug which is used in the /success and /failure routes
|
// This maps the IdentityProviderType to a slug which is used in the /success and /failure routes
|
||||||
export function idpTypeToSlug(idpType: IdentityProviderType) {
|
export function idpTypeToSlug(idpType: IdentityProviderType) {
|
||||||
|
Reference in New Issue
Block a user