blob: d66c8338c2cc0ddc5413af1d0d10c75006de9221 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { defineStore } from "pinia";
interface LoginOption {
name: string;
identifier: string;
type: string;
}
export const useLoginOptionsStore = defineStore('loginOptions', () => {
const loginOptions = ref([] as LoginOption[])
const status = ref('idle' as 'idle' | 'pending')
return {loginOptions, status}
})
|