1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2025-12-07 21:13:11 +00:00

chore: remove accidentally committed generated files and update .gitignore

Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-11-30 10:07:41 +00:00
parent 5d3721d069
commit 8d8e338d34
5 changed files with 7 additions and 12457 deletions

7
.gitignore vendored
View File

@ -172,3 +172,10 @@ dist
vite.config.*.timestamp-*.mjs vite.config.*.timestamp-*.mjs
*.timestamp-* *.timestamp-*
# Auto-generated TypeScript definition files
auto-imports.d.ts
components.d.ts
typed-router.d.ts
# npm lockfile (this project uses pnpm)
package-lock.json

149
auto-imports.d.ts vendored
View File

@ -1,149 +0,0 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
// biome-ignore lint: disable
export {}
declare global {
const EffectScope: typeof import('vue').EffectScope
const computed: typeof import('vue').computed
const createApp: typeof import('vue').createApp
const customRef: typeof import('vue').customRef
const defineAsyncComponent: typeof import('vue').defineAsyncComponent
const defineComponent: typeof import('vue').defineComponent
const effectScope: typeof import('vue').effectScope
const getCurrentInstance: typeof import('vue').getCurrentInstance
const getCurrentScope: typeof import('vue').getCurrentScope
const getCurrentWatcher: typeof import('vue').getCurrentWatcher
const h: typeof import('vue').h
const inject: typeof import('vue').inject
const isProxy: typeof import('vue').isProxy
const isReactive: typeof import('vue').isReactive
const isReadonly: typeof import('vue').isReadonly
const isRef: typeof import('vue').isRef
const isShallow: typeof import('vue').isShallow
const markRaw: typeof import('vue').markRaw
const nextTick: typeof import('vue').nextTick
const onActivated: typeof import('vue').onActivated
const onBeforeMount: typeof import('vue').onBeforeMount
const onBeforeRouteLeave: typeof import('vue-router').onBeforeRouteLeave
const onBeforeRouteUpdate: typeof import('vue-router').onBeforeRouteUpdate
const onBeforeUnmount: typeof import('vue').onBeforeUnmount
const onBeforeUpdate: typeof import('vue').onBeforeUpdate
const onDeactivated: typeof import('vue').onDeactivated
const onErrorCaptured: typeof import('vue').onErrorCaptured
const onMounted: typeof import('vue').onMounted
const onRenderTracked: typeof import('vue').onRenderTracked
const onRenderTriggered: typeof import('vue').onRenderTriggered
const onScopeDispose: typeof import('vue').onScopeDispose
const onServerPrefetch: typeof import('vue').onServerPrefetch
const onUnmounted: typeof import('vue').onUnmounted
const onUpdated: typeof import('vue').onUpdated
const onWatcherCleanup: typeof import('vue').onWatcherCleanup
const provide: typeof import('vue').provide
const reactive: typeof import('vue').reactive
const readonly: typeof import('vue').readonly
const ref: typeof import('vue').ref
const resolveComponent: typeof import('vue').resolveComponent
const shallowReactive: typeof import('vue').shallowReactive
const shallowReadonly: typeof import('vue').shallowReadonly
const shallowRef: typeof import('vue').shallowRef
const toRaw: typeof import('vue').toRaw
const toRef: typeof import('vue').toRef
const toRefs: typeof import('vue').toRefs
const toValue: typeof import('vue').toValue
const triggerRef: typeof import('vue').triggerRef
const unref: typeof import('vue').unref
const useAttrs: typeof import('vue').useAttrs
const useCssModule: typeof import('vue').useCssModule
const useCssVars: typeof import('vue').useCssVars
const useId: typeof import('vue').useId
const useLink: typeof import('vue-router').useLink
const useModel: typeof import('vue').useModel
const useRoute: typeof import('vue-router').useRoute
const useRouter: typeof import('vue-router').useRouter
const useSlots: typeof import('vue').useSlots
const useTemplateRef: typeof import('vue').useTemplateRef
const watch: typeof import('vue').watch
const watchEffect: typeof import('vue').watchEffect
const watchPostEffect: typeof import('vue').watchPostEffect
const watchSyncEffect: typeof import('vue').watchSyncEffect
}
// for type re-export
declare global {
// @ts-ignore
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
import('vue')
}
// for vue template auto import
import { UnwrapRef } from 'vue'
declare module 'vue' {
interface GlobalComponents {}
interface ComponentCustomProperties {
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
readonly computed: UnwrapRef<typeof import('vue')['computed']>
readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
readonly getCurrentWatcher: UnwrapRef<typeof import('vue')['getCurrentWatcher']>
readonly h: UnwrapRef<typeof import('vue')['h']>
readonly inject: UnwrapRef<typeof import('vue')['inject']>
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>
readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
readonly provide: UnwrapRef<typeof import('vue')['provide']>
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
readonly ref: UnwrapRef<typeof import('vue')['ref']>
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
readonly unref: UnwrapRef<typeof import('vue')['unref']>
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
readonly useId: UnwrapRef<typeof import('vue')['useId']>
readonly useLink: UnwrapRef<typeof import('vue-router')['useLink']>
readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']>
readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
readonly watch: UnwrapRef<typeof import('vue')['watch']>
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
}
}

67
components.d.ts vendored
View File

@ -1,67 +0,0 @@
/* 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']
}
}

11995
package-lock.json generated

File diff suppressed because it is too large Load Diff

246
typed-router.d.ts vendored
View File

@ -1,246 +0,0 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection ES6UnusedImports
// Generated by unplugin-vue-router. !! DO NOT MODIFY THIS FILE !!
// It's recommended to commit this file.
// Make sure to add this file to your tsconfig.json file as an "includes" or "files" entry.
declare module 'vue-router/auto-resolver' {
export type ParamParserCustom = never
}
declare module 'vue-router/auto-routes' {
import type {
RouteRecordInfo,
ParamValue,
ParamValueOneOrMore,
ParamValueZeroOrMore,
ParamValueZeroOrOne,
} from 'vue-router'
/**
* Route name map generated by unplugin-vue-router
*/
export interface RouteNamedMap {
'/': RouteRecordInfo<
'/',
'/',
Record<never, never>,
Record<never, never>,
| never
>,
'/404': RouteRecordInfo<
'/404',
'/404',
Record<never, never>,
Record<never, never>,
| never
>,
'/authorize': RouteRecordInfo<
'/authorize',
'/authorize',
Record<never, never>,
Record<never, never>,
| never
>,
'/CacheManagement': RouteRecordInfo<
'/CacheManagement',
'/CacheManagement',
Record<never, never>,
Record<never, never>,
| never
>,
'/cses2wakeup': RouteRecordInfo<
'/cses2wakeup',
'/cses2wakeup',
Record<never, never>,
Record<never, never>,
| never
>,
'/DataMigration': RouteRecordInfo<
'/DataMigration',
'/DataMigration',
Record<never, never>,
Record<never, never>,
| never
>,
'/debug': RouteRecordInfo<
'/debug',
'/debug',
Record<never, never>,
Record<never, never>,
| never
>,
'/debug-init': RouteRecordInfo<
'/debug-init',
'/debug-init',
Record<never, never>,
Record<never, never>,
| never
>,
'/debug-socket': RouteRecordInfo<
'/debug-socket',
'/debug-socket',
Record<never, never>,
Record<never, never>,
| never
>,
'/exam-editor/[id]': RouteRecordInfo<
'/exam-editor/[id]',
'/exam-editor/:id',
{ id: ParamValue<true> },
{ id: ParamValue<false> },
| never
>,
'/exam-player': RouteRecordInfo<
'/exam-player',
'/exam-player',
Record<never, never>,
Record<never, never>,
| never
>,
'/examschedule': RouteRecordInfo<
'/examschedule',
'/examschedule',
Record<never, never>,
Record<never, never>,
| never
>,
'/list/': RouteRecordInfo<
'/list/',
'/list',
Record<never, never>,
Record<never, never>,
| never
>,
'/list/[id]': RouteRecordInfo<
'/list/[id]',
'/list/:id',
{ id: ParamValue<true> },
{ id: ParamValue<false> },
| never
>,
'/settings': RouteRecordInfo<
'/settings',
'/settings',
Record<never, never>,
Record<never, never>,
| never
>,
}
/**
* Route file to route info map by unplugin-vue-router.
* Used by the \`sfc-typed-router\` Volar plugin to automatically type \`useRoute()\`.
*
* Each key is a file path relative to the project root with 2 properties:
* - routes: union of route names of the possible routes when in this page (passed to useRoute<...>())
* - views: names of nested views (can be passed to <RouterView name="...">)
*
* @internal
*/
export interface _RouteFileInfoMap {
'src/pages/index.vue': {
routes:
| '/'
views:
| never
}
'src/pages/404.vue': {
routes:
| '/404'
views:
| never
}
'src/pages/authorize.vue': {
routes:
| '/authorize'
views:
| never
}
'src/pages/CacheManagement.vue': {
routes:
| '/CacheManagement'
views:
| never
}
'src/pages/cses2wakeup.vue': {
routes:
| '/cses2wakeup'
views:
| never
}
'src/pages/DataMigration.vue': {
routes:
| '/DataMigration'
views:
| never
}
'src/pages/debug.vue': {
routes:
| '/debug'
views:
| never
}
'src/pages/debug-init.vue': {
routes:
| '/debug-init'
views:
| never
}
'src/pages/debug-socket.vue': {
routes:
| '/debug-socket'
views:
| never
}
'src/pages/exam-editor/[id].vue': {
routes:
| '/exam-editor/[id]'
views:
| never
}
'src/pages/exam-player.vue': {
routes:
| '/exam-player'
views:
| never
}
'src/pages/examschedule.vue': {
routes:
| '/examschedule'
views:
| never
}
'src/pages/list/index.vue': {
routes:
| '/list/'
views:
| never
}
'src/pages/list/[id].vue': {
routes:
| '/list/[id]'
views:
| never
}
'src/pages/settings.vue': {
routes:
| '/settings'
views:
| never
}
}
/**
* Get a union of possible route names in a certain route component file.
* Used by the \`sfc-typed-router\` Volar plugin to automatically type \`useRoute()\`.
*
* @internal
*/
export type _RouteNamesForFilePath<FilePath extends string> =
_RouteFileInfoMap extends Record<FilePath, infer Info>
? Info['routes']
: keyof RouteNamedMap
}