Convert all store files from JavaScript to TypeScript
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import moment from 'moment';
|
||||
import apiError from '@/module/apiError.js';
|
||||
import Swal from 'sweetalert2';
|
||||
import { uploadFailedFirst, uploadFailedSecond, uploadloader, uploadSuccess, deleteSuccess } from '@/module/alertModal.js';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
|
||||
export const useFilesStore = defineStore('filesStore', {
|
||||
state: () => ({
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineStore } from 'pinia';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData.js';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData';
|
||||
import { INSIGHTS_FIELDS_AND_LABELS } from '@/constants/constants';
|
||||
import ImgCapsuleGlow1 from '@/assets/capsule1-glow.svg';
|
||||
import ImgCapsuleGlow2 from '@/assets/capsule2-glow.svg';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineStore } from 'pinia';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData.js';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData';
|
||||
import { INSIGHTS_FIELDS_AND_LABELS } from '@/constants/constants';
|
||||
import ImgCapsuleGlow1 from '@/assets/capsule1-glow.svg';
|
||||
import ImgCapsuleGlow2 from '@/assets/capsule2-glow.svg';
|
||||
|
||||
Reference in New Issue
Block a user