mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
feat: move oauthProviders to the store folder
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { writable } from 'svelte/store';
|
||||
import type { Models } from '@aw-labs/appwrite-console';
|
||||
import type { SvelteComponent } from 'svelte';
|
||||
import Apple from './_appleOAuth.svelte';
|
||||
import Microsoft from './_microsoftOAuth.svelte';
|
||||
import Okta from './_oktaOAuth.svelte';
|
||||
import Auth0 from './_auth0OAuth.svelte';
|
||||
import Main from './_mainOAuth.svelte';
|
||||
import Apple from '../../routes/console/[project]/users/_appleOAuth.svelte';
|
||||
import Microsoft from '../../routes/console/[project]/users/_microsoftOAuth.svelte';
|
||||
import Okta from '../../routes/console/[project]/users/_oktaOAuth.svelte';
|
||||
import Auth0 from '../../routes/console/[project]/users/_auth0OAuth.svelte';
|
||||
import Main from '../../routes/console/[project]/users/_mainOAuth.svelte';
|
||||
|
||||
export type Provider = {
|
||||
name: string;
|
||||
@@ -6,9 +6,9 @@
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { sdkForConsole } from '$lib/stores/sdk';
|
||||
import { project } from '../store';
|
||||
import { OAuthProviders } from './auth';
|
||||
import { authMethods } from '$lib/stores/authMethods';
|
||||
import type { Provider } from './auth';
|
||||
import { OAuthProviders } from '$lib/stores/oauthProviders';
|
||||
import type { Provider } from '$lib/stores/oauthProviders';
|
||||
|
||||
$: projectId = $project.$id;
|
||||
$: authMethods.load($project);
|
||||
|
||||
Reference in New Issue
Block a user