| 1234567891011121314151617181920 |
- import { defineStore } from 'pinia'
- import { ref } from 'vue'
- import type { Ref } from 'vue'
- import type { MenuGroup, MenuItem } from '~/types/layout'
- export const useHelloAssoStore = defineStore('helloasso', () => {
- /**
- * Le code d'autorisation Helloasso obtenu via la mire d'autorisation
- */
- const authorizationCode: Ref<string | null> = ref(null)
- const setAuthorizationCode = (code: string | null) => {
- authorizationCode.value = code
- }
- return {
- authorizationCode,
- setAuthorizationCode
- }
- })
|