Add global pinia type declaration for the custom unistorage option. Add typed interfaces for all Pinia stores and enforce type safety on state and actions. Add strict type annotations to all utility classes and helper functions. Fix API response typing in the quick booking list page. Remove unused iconsMap import in RefundPopup component. Update package build scripts and add missing terser dependency. Clean up outdated auto-generated component type definitions.
78 lines
4.3 KiB
TypeScript
78 lines
4.3 KiB
TypeScript
/* eslint-disable */
|
|
// @ts-nocheck
|
|
// biome-ignore lint: disable
|
|
// oxlint-disable
|
|
// ------
|
|
// Generated by unplugin-vue-components
|
|
// Read more: https://github.com/vuejs/core/pull/3399
|
|
import { GlobalComponents } from 'vue'
|
|
|
|
export {}
|
|
|
|
/* prettier-ignore */
|
|
declare module 'vue' {
|
|
export interface GlobalComponents {
|
|
Calender: typeof import('./src/components/Calender/index.vue')['default']
|
|
CustomEmpty: typeof import('./src/components/CustomEmpty/index.vue')['default']
|
|
DateRangeSection: typeof import('./src/components/DateRangeSection/index.vue')['default']
|
|
FormCard: typeof import('./src/components/FormCard/index.vue')['default']
|
|
GoodDetail: typeof import('./src/components/GoodDetail/index.vue')['default']
|
|
ImageSwiper: typeof import('./src/components/ImageSwiper/index.vue')['default']
|
|
ModuleTitle: typeof import('./src/components/ModuleTitle/index.vue')['default']
|
|
Qrcode: typeof import('./src/components/Qrcode/index.vue')['default']
|
|
RefundPopup: typeof import('./src/components/RefundPopup/index.vue')['default']
|
|
RouterLink: typeof import('vue-router')['RouterLink']
|
|
RouterView: typeof import('vue-router')['RouterView']
|
|
SpriteAnimator: typeof import('./src/components/SpriteAnimator/index.vue')['default']
|
|
Stepper: typeof import('./src/components/Stepper/index.vue')['default']
|
|
SumCard: typeof import('./src/components/SumCard/index.vue')['default']
|
|
SwipeCards: typeof import('./src/components/SwipeCards/index.vue')['default']
|
|
TopNavBar: typeof import('./src/components/TopNavBar/index.vue')['default']
|
|
UseDateRange: typeof import('./src/components/UseDateRange/index.vue')['default']
|
|
VanButton: typeof import('vant/es')['Button']
|
|
VanCell: typeof import('vant/es')['Cell']
|
|
VanDivider: typeof import('vant/es')['Divider']
|
|
VanField: typeof import('vant/es')['Field']
|
|
VanIcon: typeof import('vant/es')['Icon']
|
|
VanList: typeof import('vant/es')['List']
|
|
VanPopup: typeof import('vant/es')['Popup']
|
|
VanPullRefresh: typeof import('vant/es')['PullRefresh']
|
|
VanSearch: typeof import('vant/es')['Search']
|
|
VanSwipe: typeof import('vant/es')['Swipe']
|
|
VanSwipeItem: typeof import('vant/es')['SwipeItem']
|
|
ZnIcon: typeof import('./src/components/ZnIcon/index.vue')['default']
|
|
}
|
|
}
|
|
|
|
// For TSX support
|
|
declare global {
|
|
const Calender: typeof import('./src/components/Calender/index.vue')['default']
|
|
const CustomEmpty: typeof import('./src/components/CustomEmpty/index.vue')['default']
|
|
const DateRangeSection: typeof import('./src/components/DateRangeSection/index.vue')['default']
|
|
const FormCard: typeof import('./src/components/FormCard/index.vue')['default']
|
|
const GoodDetail: typeof import('./src/components/GoodDetail/index.vue')['default']
|
|
const ImageSwiper: typeof import('./src/components/ImageSwiper/index.vue')['default']
|
|
const ModuleTitle: typeof import('./src/components/ModuleTitle/index.vue')['default']
|
|
const Qrcode: typeof import('./src/components/Qrcode/index.vue')['default']
|
|
const RefundPopup: typeof import('./src/components/RefundPopup/index.vue')['default']
|
|
const RouterLink: typeof import('vue-router')['RouterLink']
|
|
const RouterView: typeof import('vue-router')['RouterView']
|
|
const SpriteAnimator: typeof import('./src/components/SpriteAnimator/index.vue')['default']
|
|
const Stepper: typeof import('./src/components/Stepper/index.vue')['default']
|
|
const SumCard: typeof import('./src/components/SumCard/index.vue')['default']
|
|
const SwipeCards: typeof import('./src/components/SwipeCards/index.vue')['default']
|
|
const TopNavBar: typeof import('./src/components/TopNavBar/index.vue')['default']
|
|
const UseDateRange: typeof import('./src/components/UseDateRange/index.vue')['default']
|
|
const VanButton: typeof import('vant/es')['Button']
|
|
const VanCell: typeof import('vant/es')['Cell']
|
|
const VanDivider: typeof import('vant/es')['Divider']
|
|
const VanField: typeof import('vant/es')['Field']
|
|
const VanIcon: typeof import('vant/es')['Icon']
|
|
const VanList: typeof import('vant/es')['List']
|
|
const VanPopup: typeof import('vant/es')['Popup']
|
|
const VanPullRefresh: typeof import('vant/es')['PullRefresh']
|
|
const VanSearch: typeof import('vant/es')['Search']
|
|
const VanSwipe: typeof import('vant/es')['Swipe']
|
|
const VanSwipeItem: typeof import('vant/es')['SwipeItem']
|
|
const ZnIcon: typeof import('./src/components/ZnIcon/index.vue')['default']
|
|
} |