Skip to content

Commit 2af6534

Browse files
committed
feat: add figma OAuth provider
1 parent 0959b59 commit 2af6534

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/lib/stores/oauth-providers.ts

+6
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ export const oAuthProviders: Record<string, Provider> = {
101101
docs: 'https://developers.facebook.com/',
102102
component: Main
103103
},
104+
figma: {
105+
name: 'Figma',
106+
icon: 'figma',
107+
docs: 'https://www.figma.com/developers/api',
108+
component: Main
109+
},
104110
github: {
105111
name: 'GitHub',
106112
icon: 'github',

src/routes/console/project-[project]/auth/settings/+page.svelte

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
</script>
4444

4545
{#if $authMethods && $project}
46+
${console.log($project.oAuthProviders)}
4647
<Container>
4748
<CardGrid>
4849
<Heading tag="h2" size="7">Auth methods</Heading>

src/routes/console/project-[project]/store.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { page } from '$app/stores';
2-
import type { Models } from '@appwrite.io/console';
2+
import type { Models } from '../';
33
import type { BarSeriesOption } from 'echarts/charts';
44
import { derived, writable } from 'svelte/store';
55

0 commit comments

Comments
 (0)