mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
11 lines
273 B
TypeScript
11 lines
273 B
TypeScript
import type { Instance } from "@versia/client/schemas";
|
|
import type { z } from "zod";
|
|
|
|
export const useSSOConfig = (): Ref<z.infer<
|
|
typeof Instance.shape.sso
|
|
> | null> => {
|
|
const instance = useInstance();
|
|
|
|
return computed(() => instance.value?.sso || null);
|
|
};
|