auto imports.
This commit is contained in:
38
src/auto-imports.d.ts
vendored
38
src/auto-imports.d.ts
vendored
@@ -4,10 +4,27 @@
|
|||||||
// Generated by unplugin-auto-import
|
// Generated by unplugin-auto-import
|
||||||
export {}
|
export {}
|
||||||
declare global {
|
declare global {
|
||||||
|
const CODE_TEMPLATES: typeof import('./utils/constants')['CODE_TEMPLATES']
|
||||||
|
const CONTEST_STATUS: typeof import('./utils/constants')['CONTEST_STATUS']
|
||||||
|
const CONTEST_TYPE: typeof import('./utils/constants')['CONTEST_TYPE']
|
||||||
|
const ContestStatus: typeof import('./utils/constants')['ContestStatus']
|
||||||
|
const ContestType: typeof import('./utils/constants')['ContestType']
|
||||||
|
const DEAD_RESULTS: typeof import('./utils/constants')['DEAD_RESULTS']
|
||||||
|
const DIFFICULTY: typeof import('./utils/constants')['DIFFICULTY']
|
||||||
const EffectScope: typeof import('vue')['EffectScope']
|
const EffectScope: typeof import('vue')['EffectScope']
|
||||||
|
const JUDGE_STATUS: typeof import('./utils/constants')['JUDGE_STATUS']
|
||||||
|
const LANGUAGE_FORMAT_VALUE: typeof import('./utils/constants')['LANGUAGE_FORMAT_VALUE']
|
||||||
|
const LANGUAGE_ID: typeof import('./utils/constants')['LANGUAGE_ID']
|
||||||
|
const LANGUAGE_SHOW_VALUE: typeof import('./utils/constants')['LANGUAGE_SHOW_VALUE']
|
||||||
|
const PROBLEM_PERMISSION: typeof import('./utils/constants')['PROBLEM_PERMISSION']
|
||||||
|
const SOURCES: typeof import('./utils/constants')['SOURCES']
|
||||||
|
const STORAGE_KEY: typeof import('./utils/constants')['STORAGE_KEY']
|
||||||
|
const SubmissionStatus: typeof import('./utils/constants')['SubmissionStatus']
|
||||||
|
const USER_TYPE: typeof import('./utils/constants')['USER_TYPE']
|
||||||
const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate']
|
const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate']
|
||||||
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
|
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
|
||||||
const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
|
const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
|
||||||
|
const buildProblemCodeKey: typeof import('./utils/functions')['buildProblemCodeKey']
|
||||||
const computed: typeof import('vue')['computed']
|
const computed: typeof import('vue')['computed']
|
||||||
const computedAsync: typeof import('@vueuse/core')['computedAsync']
|
const computedAsync: typeof import('@vueuse/core')['computedAsync']
|
||||||
const computedEager: typeof import('@vueuse/core')['computedEager']
|
const computedEager: typeof import('@vueuse/core')['computedEager']
|
||||||
@@ -22,23 +39,35 @@ declare global {
|
|||||||
const createPinia: typeof import('pinia')['createPinia']
|
const createPinia: typeof import('pinia')['createPinia']
|
||||||
const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn']
|
const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn']
|
||||||
const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable']
|
const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable']
|
||||||
|
const createTestSubmission: typeof import('./utils/judge')['createTestSubmission']
|
||||||
const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn']
|
const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn']
|
||||||
const customRef: typeof import('vue')['customRef']
|
const customRef: typeof import('vue')['customRef']
|
||||||
|
const debounce: typeof import('./utils/functions')['debounce']
|
||||||
const debouncedRef: typeof import('@vueuse/core')['debouncedRef']
|
const debouncedRef: typeof import('@vueuse/core')['debouncedRef']
|
||||||
const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch']
|
const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch']
|
||||||
|
const decode: typeof import('./utils/functions')['decode']
|
||||||
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
|
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
|
||||||
const defineComponent: typeof import('vue')['defineComponent']
|
const defineComponent: typeof import('vue')['defineComponent']
|
||||||
const defineStore: typeof import('pinia')['defineStore']
|
const defineStore: typeof import('pinia')['defineStore']
|
||||||
|
const download: typeof import('./utils/download')['default']
|
||||||
|
const duration: typeof import('./utils/functions')['duration']
|
||||||
const eagerComputed: typeof import('@vueuse/core')['eagerComputed']
|
const eagerComputed: typeof import('@vueuse/core')['eagerComputed']
|
||||||
const effectScope: typeof import('vue')['effectScope']
|
const effectScope: typeof import('vue')['effectScope']
|
||||||
|
const encode: typeof import('./utils/functions')['encode']
|
||||||
const extendRef: typeof import('@vueuse/core')['extendRef']
|
const extendRef: typeof import('@vueuse/core')['extendRef']
|
||||||
|
const filterEmptyValue: typeof import('./utils/functions')['filterEmptyValue']
|
||||||
|
const getACRate: typeof import('./utils/functions')['getACRate']
|
||||||
const getActivePinia: typeof import('pinia')['getActivePinia']
|
const getActivePinia: typeof import('pinia')['getActivePinia']
|
||||||
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
||||||
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
||||||
|
const getTagColor: typeof import('./utils/functions')['getTagColor']
|
||||||
|
const getUserRole: typeof import('./utils/functions')['getUserRole']
|
||||||
const h: typeof import('vue')['h']
|
const h: typeof import('vue')['h']
|
||||||
|
const http: typeof import('./utils/http')['default']
|
||||||
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
|
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
|
||||||
const inject: typeof import('vue')['inject']
|
const inject: typeof import('vue')['inject']
|
||||||
const isDefined: typeof import('@vueuse/core')['isDefined']
|
const isDefined: typeof import('@vueuse/core')['isDefined']
|
||||||
|
const isLowVersion: typeof import('./utils/functions')['isLowVersion']
|
||||||
const isProxy: typeof import('vue')['isProxy']
|
const isProxy: typeof import('vue')['isProxy']
|
||||||
const isReactive: typeof import('vue')['isReactive']
|
const isReactive: typeof import('vue')['isReactive']
|
||||||
const isReadonly: typeof import('vue')['isReadonly']
|
const isReadonly: typeof import('vue')['isReadonly']
|
||||||
@@ -70,7 +99,9 @@ declare global {
|
|||||||
const onStartTyping: typeof import('@vueuse/core')['onStartTyping']
|
const onStartTyping: typeof import('@vueuse/core')['onStartTyping']
|
||||||
const onUnmounted: typeof import('vue')['onUnmounted']
|
const onUnmounted: typeof import('vue')['onUnmounted']
|
||||||
const onUpdated: typeof import('vue')['onUpdated']
|
const onUpdated: typeof import('vue')['onUpdated']
|
||||||
|
const parseTime: typeof import('./utils/functions')['parseTime']
|
||||||
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
|
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
|
||||||
|
const protocol: typeof import('./utils/functions')['protocol']
|
||||||
const provide: typeof import('vue')['provide']
|
const provide: typeof import('vue')['provide']
|
||||||
const reactify: typeof import('@vueuse/core')['reactify']
|
const reactify: typeof import('@vueuse/core')['reactify']
|
||||||
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
|
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
|
||||||
@@ -88,12 +119,16 @@ declare global {
|
|||||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||||
const resolveRef: typeof import('@vueuse/core')['resolveRef']
|
const resolveRef: typeof import('@vueuse/core')['resolveRef']
|
||||||
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
|
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
|
||||||
|
const secondsToDuration: typeof import('./utils/functions')['secondsToDuration']
|
||||||
const setActivePinia: typeof import('pinia')['setActivePinia']
|
const setActivePinia: typeof import('pinia')['setActivePinia']
|
||||||
const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix']
|
const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix']
|
||||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||||
const shallowRef: typeof import('vue')['shallowRef']
|
const shallowRef: typeof import('vue')['shallowRef']
|
||||||
|
const storage: typeof import('./utils/storage')['default']
|
||||||
const storeToRefs: typeof import('pinia')['storeToRefs']
|
const storeToRefs: typeof import('pinia')['storeToRefs']
|
||||||
|
const submissionMemoryFormat: typeof import('./utils/functions')['submissionMemoryFormat']
|
||||||
|
const submissionTimeFormat: typeof import('./utils/functions')['submissionTimeFormat']
|
||||||
const syncRef: typeof import('@vueuse/core')['syncRef']
|
const syncRef: typeof import('@vueuse/core')['syncRef']
|
||||||
const syncRefs: typeof import('@vueuse/core')['syncRefs']
|
const syncRefs: typeof import('@vueuse/core')['syncRefs']
|
||||||
const templateRef: typeof import('@vueuse/core')['templateRef']
|
const templateRef: typeof import('@vueuse/core')['templateRef']
|
||||||
@@ -109,6 +144,7 @@ declare global {
|
|||||||
const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted']
|
const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted']
|
||||||
const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose']
|
const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose']
|
||||||
const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted']
|
const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted']
|
||||||
|
const unique: typeof import('./utils/functions')['unique']
|
||||||
const unref: typeof import('vue')['unref']
|
const unref: typeof import('vue')['unref']
|
||||||
const unrefElement: typeof import('@vueuse/core')['unrefElement']
|
const unrefElement: typeof import('@vueuse/core')['unrefElement']
|
||||||
const until: typeof import('@vueuse/core')['until']
|
const until: typeof import('@vueuse/core')['until']
|
||||||
@@ -290,4 +326,6 @@ declare global {
|
|||||||
declare global {
|
declare global {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
|
export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
|
||||||
|
// @ts-ignore
|
||||||
|
export type { RouteLocationRaw } from 'vue-router'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,7 +73,13 @@ export default defineConfig({
|
|||||||
"useLoadingBar",
|
"useLoadingBar",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
from: "vue-router",
|
||||||
|
imports: ["RouteLocationRaw"],
|
||||||
|
type: true,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
dirs: ["./src/utils"],
|
||||||
dts: "./src/auto-imports.d.ts",
|
dts: "./src/auto-imports.d.ts",
|
||||||
}),
|
}),
|
||||||
Components({
|
Components({
|
||||||
|
|||||||
Reference in New Issue
Block a user