auth: dodano guard ścieżek

This commit is contained in:
2023-01-31 17:13:34 +01:00
parent 6288fbbde1
commit 2cb8b1dc15
5 changed files with 47 additions and 24 deletions
+3 -2
View File
@@ -1,6 +1,5 @@
import { defineStore } from 'pinia';
import { AuthState, Availability, ChangeProp, HeaderTypes, IStore } from './types/types';
import { getAvailabilityValue } from './types/typeUitls';
import { AuthState, IStore } from './types/types';
export const useStore = defineStore('store', {
state: () =>
@@ -26,6 +25,8 @@ export const useStore = defineStore('store', {
alertMessage: '',
confirmMessage: '',
maxVisibleResults: 15,
changesResponse: [],
} as IStore),
});