mirror of
https://github.com/fmhy/edit.git
synced 2025-07-30 07:42:18 +10:00
fix(feedback): send correct type
This commit is contained in:
parent
3148eabe96
commit
0faac569e8
23 changed files with 527 additions and 140 deletions
266
docs/.vitepress/imports.d.ts
vendored
266
docs/.vitepress/imports.d.ts
vendored
|
@ -5,67 +5,79 @@
|
|||
// Generated by unplugin-auto-import
|
||||
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 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 markRaw: typeof import('vue')['markRaw']
|
||||
const nextTick: typeof import('vue')['nextTick']
|
||||
const onActivated: typeof import('vue')['onActivated']
|
||||
const onBeforeMount: typeof import('vue')['onBeforeMount']
|
||||
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 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 useData: typeof import('vitepress')['useData']
|
||||
const useRoute: typeof import('vitepress')['useRoute']
|
||||
const useRouter: typeof import('vitepress')['useRouter']
|
||||
const useSlots: typeof import('vue')['useSlots']
|
||||
const watch: typeof import('vue')['watch']
|
||||
const watchEffect: typeof import('vue')['watchEffect']
|
||||
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
||||
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
||||
const withBase: typeof import('vitepress')['withBase']
|
||||
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 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 markRaw: (typeof import('vue'))['markRaw']
|
||||
const nextTick: (typeof import('vue'))['nextTick']
|
||||
const onActivated: (typeof import('vue'))['onActivated']
|
||||
const onBeforeMount: (typeof import('vue'))['onBeforeMount']
|
||||
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 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 useData: (typeof import('vitepress'))['useData']
|
||||
const useRoute: (typeof import('vitepress'))['useRoute']
|
||||
const useRouter: (typeof import('vitepress'))['useRouter']
|
||||
const useSlots: (typeof import('vue'))['useSlots']
|
||||
const watch: (typeof import('vue'))['watch']
|
||||
const watchEffect: (typeof import('vue'))['watchEffect']
|
||||
const watchPostEffect: (typeof import('vue'))['watchPostEffect']
|
||||
const watchSyncEffect: (typeof import('vue'))['watchSyncEffect']
|
||||
const withBase: (typeof import('vitepress'))['withBase']
|
||||
}
|
||||
// for type re-export
|
||||
declare global {
|
||||
// @ts-ignore
|
||||
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
|
||||
export type {
|
||||
Component,
|
||||
ComponentPublicInstance,
|
||||
ComputedRef,
|
||||
ExtractDefaultPropTypes,
|
||||
ExtractPropTypes,
|
||||
ExtractPublicPropTypes,
|
||||
InjectionKey,
|
||||
PropType,
|
||||
Ref,
|
||||
VNode,
|
||||
WritableComputedRef
|
||||
} from 'vue'
|
||||
import('vue')
|
||||
}
|
||||
// for vue template auto import
|
||||
|
@ -73,61 +85,89 @@ 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 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 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 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 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 useData: UnwrapRef<typeof import('vitepress')['useData']>
|
||||
readonly useRoute: UnwrapRef<typeof import('vitepress')['useRoute']>
|
||||
readonly useRouter: UnwrapRef<typeof import('vitepress')['useRouter']>
|
||||
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
|
||||
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']>
|
||||
readonly withBase: UnwrapRef<typeof import('vitepress')['withBase']>
|
||||
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 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 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 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 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 useData: UnwrapRef<(typeof import('vitepress'))['useData']>
|
||||
readonly useRoute: UnwrapRef<(typeof import('vitepress'))['useRoute']>
|
||||
readonly useRouter: UnwrapRef<(typeof import('vitepress'))['useRouter']>
|
||||
readonly useSlots: UnwrapRef<(typeof import('vue'))['useSlots']>
|
||||
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']
|
||||
>
|
||||
readonly withBase: UnwrapRef<(typeof import('vitepress'))['withBase']>
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue