vue3-core/packages/reactivity/src/index.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

91 lines
1.6 KiB
TypeScript
Raw Normal View History

export {
ref,
shallowRef,
isRef,
toRef,
toValue,
toRefs,
unref,
proxyRefs,
customRef,
triggerRef,
type Ref,
type MaybeRef,
type MaybeRefOrGetter,
type ToRef,
type ToRefs,
type UnwrapRef,
type ShallowRef,
type ShallowUnwrapRef,
type RefUnwrapBailTypes,
type CustomRefFactory,
} from './ref'
2019-06-12 00:03:50 +08:00
export {
2019-08-16 21:42:46 +08:00
reactive,
2019-08-23 21:38:32 +08:00
readonly,
isReactive,
2019-08-23 21:38:32 +08:00
isReadonly,
2022-01-18 09:17:22 +08:00
isShallow,
isProxy,
shallowReactive,
shallowReadonly,
markRaw,
toRaw,
toReactive,
toReadonly,
type Raw,
type DeepReadonly,
type ShallowReactive,
type UnwrapNestedRefs,
2019-08-16 21:42:46 +08:00
} from './reactive'
2019-09-07 00:58:31 +08:00
export {
computed,
type ComputedRef,
type WritableComputedRef,
type WritableComputedOptions,
type ComputedGetter,
type ComputedSetter,
type ComputedRefImpl,
2019-09-07 00:58:31 +08:00
} from './computed'
2019-06-12 00:03:50 +08:00
export {
effect,
stop,
enableTracking,
2019-09-05 06:20:47 +08:00
pauseTracking,
resetTracking,
onEffectCleanup,
2018-11-14 00:03:35 +08:00
ReactiveEffect,
EffectFlags,
type ReactiveEffectRunner,
type ReactiveEffectOptions,
type EffectScheduler,
type DebuggerOptions,
type DebuggerEvent,
type DebuggerEventExtraInfo,
2018-11-14 00:03:35 +08:00
} from './effect'
export {
trigger,
track,
ITERATE_KEY,
ARRAY_ITERATE_KEY,
MAP_KEY_ITERATE_KEY,
} from './dep'
export {
effectScope,
EffectScope,
getCurrentScope,
onScopeDispose,
} from './effectScope'
export { reactiveReadArray, shallowReadArray } from './arrayInstrumentations'
export { TrackOpTypes, TriggerOpTypes, ReactiveFlags } from './constants'
export {
baseWatch,
onEffectCleanup,
traverse,
BaseWatchErrorCodes,
type BaseWatchOptions,
type BaseWatchMiddleware,
type Scheduler,
2024-01-19 16:59:03 +08:00
type SchedulerJob,
} from './baseWatch'