mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2025-12-07 21:13:11 +00:00
When all notifications are deleted, the persistentNotifications array
becomes empty ([]). The backend doesn't accept an empty array as a
valid value, requiring an empty object ({}) instead. This fix modifies
both index.vue and UrgentTestDialog.vue to save {} when the
notification list is empty.
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
68 lines
4.9 KiB
TypeScript
68 lines
4.9 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
|
|
|
|
export {}
|
|
|
|
/* prettier-ignore */
|
|
declare module 'vue' {
|
|
export interface GlobalComponents {
|
|
404: typeof import('./src/components/error/404.vue')['default']
|
|
AboutCard: typeof import('./src/components/settings/AboutCard.vue')['default']
|
|
AlternativeCodeDialog: typeof import('./src/components/auth/AlternativeCodeDialog.vue')['default']
|
|
AppHeader: typeof import('./src/components/AppHeader.vue')['default']
|
|
AttendanceManagementDialog: typeof import('./src/components/attendance/AttendanceManagementDialog.vue')['default']
|
|
AttendanceSidebar: typeof import('./src/components/attendance/AttendanceSidebar.vue')['default']
|
|
CacheManager: typeof import('./src/components/CacheManager.vue')['default']
|
|
ChatWidget: typeof import('./src/components/ChatWidget.vue')['default']
|
|
CloudNamespaceInfoCard: typeof import('./src/components/settings/cards/CloudNamespaceInfoCard.vue')['default']
|
|
DataProviderSettingsCard: typeof import('./src/components/settings/cards/DataProviderSettingsCard.vue')['default']
|
|
DeviceAuthDialog: typeof import('./src/components/auth/DeviceAuthDialog.vue')['default']
|
|
DisplaySettingsCard: typeof import('./src/components/settings/cards/DisplaySettingsCard.vue')['default']
|
|
EchoChamberCard: typeof import('./src/components/settings/cards/EchoChamberCard.vue')['default']
|
|
EditSettingsCard: typeof import('./src/components/settings/cards/EditSettingsCard.vue')['default']
|
|
EventSender: typeof import('./src/components/EventSender.vue')['default']
|
|
ExamConfigEditor: typeof import('./src/components/ExamConfigEditor.vue')['default']
|
|
FirstTimeGuide: typeof import('./src/components/auth/FirstTimeGuide.vue')['default']
|
|
FloatingICP: typeof import('./src/components/FloatingICP.vue')['default']
|
|
FloatingToolbar: typeof import('./src/components/FloatingToolbar.vue')['default']
|
|
GlobalMessage: typeof import('./src/components/GlobalMessage.vue')['default']
|
|
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
|
|
HomeActions: typeof import('./src/components/home/HomeActions.vue')['default']
|
|
HomeworkEditDialog: typeof import('./src/components/HomeworkEditDialog.vue')['default']
|
|
HomeworkGrid: typeof import('./src/components/home/HomeworkGrid.vue')['default']
|
|
HomeworkTemplateCard: typeof import('./src/components/settings/cards/HomeworkTemplateCard.vue')['default']
|
|
InitServiceChooser: typeof import('./src/components/InitServiceChooser.vue')['default']
|
|
KvDatabaseCard: typeof import('./src/components/settings/cards/KvDatabaseCard.vue')['default']
|
|
KvInitialize: typeof import('./src/components/KvInitialize.vue')['default']
|
|
MessageLog: typeof import('./src/components/MessageLog.vue')['default']
|
|
MigrationTool: typeof import('./src/components/MigrationTool.vue')['default']
|
|
ProgressiveRegisterPage: typeof import('./src/components/auth/ProgressiveRegisterPage.vue')['default']
|
|
RandomPicker: typeof import('./src/components/RandomPicker.vue')['default']
|
|
RandomPickerCard: typeof import('./src/components/settings/cards/RandomPickerCard.vue')['default']
|
|
RateLimitModal: typeof import('./src/components/RateLimitModal.vue')['default']
|
|
ReadOnlyTokenWarning: typeof import('./src/components/ReadOnlyTokenWarning.vue')['default']
|
|
RefreshSettingsCard: typeof import('./src/components/settings/cards/RefreshSettingsCard.vue')['default']
|
|
RouterLink: typeof import('vue-router')['RouterLink']
|
|
RouterView: typeof import('vue-router')['RouterView']
|
|
ServerSettingsCard: typeof import('./src/components/settings/cards/ServerSettingsCard.vue')['default']
|
|
SettingGroup: typeof import('./src/components/settings/SettingGroup.vue')['default']
|
|
SettingItem: typeof import('./src/components/settings/SettingItem.vue')['default']
|
|
SettingsCard: typeof import('./src/components/SettingsCard.vue')['default']
|
|
SettingsExplorer: typeof import('./src/components/settings/SettingsExplorer.vue')['default']
|
|
SettingsLinkGenerator: typeof import('./src/components/SettingsLinkGenerator.vue')['default']
|
|
StudentListCard: typeof import('./src/components/settings/StudentListCard.vue')['default']
|
|
StudentNameManager: typeof import('./src/components/StudentNameManager.vue')['default']
|
|
SubjectManagementCard: typeof import('./src/components/settings/cards/SubjectManagementCard.vue')['default']
|
|
ThemeSettingsCard: typeof import('./src/components/settings/cards/ThemeSettingsCard.vue')['default']
|
|
TokenInputDialog: typeof import('./src/components/auth/TokenInputDialog.vue')['default']
|
|
UnsavedWarning: typeof import('./src/components/common/UnsavedWarning.vue')['default']
|
|
UrgentNotification: typeof import('./src/components/UrgentNotification.vue')['default']
|
|
UrgentTestDialog: typeof import('./src/components/UrgentTestDialog.vue')['default']
|
|
}
|
|
}
|