mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-08-10 06:14:07 +08:00
refactor: standardize app property names and improve TypeScript definitions
- Updated property names in AppCard.vue, AppDetailModal.vue, AppGrid.vue, and other components to use camelCase for consistency. - Enhanced TypeScript definitions for props and emits in various components to improve type safety. - Refactored download status handling in processInstall.ts to align with updated App interface. - Improved error handling and type definitions in DownloadDetail.vue and related components. - Added optional properties and refined existing interfaces in typedefinition.ts for better clarity and usability.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ref } from "vue";
|
||||
import { DownloadItem } from './typedefinition';
|
||||
import type { DownloadItem } from './typedefinition';
|
||||
|
||||
export const downloads = ref(<DownloadItem[]>[]);
|
||||
export const downloads = ref<DownloadItem[]>([]);
|
||||
|
||||
Reference in New Issue
Block a user