index.ts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. export {
  2. ref,
  3. shallowRef,
  4. isRef,
  5. toRef,
  6. toValue,
  7. toRefs,
  8. unref,
  9. proxyRefs,
  10. customRef,
  11. triggerRef,
  12. type Ref,
  13. type MaybeRef,
  14. type MaybeRefOrGetter,
  15. type ToRef,
  16. type ToRefs,
  17. type UnwrapRef,
  18. type ShallowRef,
  19. type ShallowUnwrapRef,
  20. type RefUnwrapBailTypes,
  21. type CustomRefFactory,
  22. } from './ref'
  23. export {
  24. reactive,
  25. readonly,
  26. isReactive,
  27. isReadonly,
  28. isShallow,
  29. isProxy,
  30. shallowReactive,
  31. shallowReadonly,
  32. markRaw,
  33. toRaw,
  34. toReactive,
  35. toReadonly,
  36. type Raw,
  37. type DeepReadonly,
  38. type ShallowReactive,
  39. type UnwrapNestedRefs,
  40. type Reactive,
  41. type ReactiveMarker,
  42. } from './reactive'
  43. export {
  44. computed,
  45. type ComputedRef,
  46. type WritableComputedRef,
  47. type WritableComputedOptions,
  48. type ComputedGetter,
  49. type ComputedSetter,
  50. type ComputedRefImpl,
  51. } from './computed'
  52. export {
  53. effect,
  54. stop,
  55. enableTracking,
  56. pauseTracking,
  57. resetTracking,
  58. onEffectCleanup,
  59. ReactiveEffect,
  60. EffectFlags,
  61. type ReactiveEffectRunner,
  62. type ReactiveEffectOptions,
  63. type EffectScheduler,
  64. type DebuggerOptions,
  65. type DebuggerEvent,
  66. type DebuggerEventExtraInfo,
  67. } from './effect'
  68. export {
  69. trigger,
  70. track,
  71. ITERATE_KEY,
  72. ARRAY_ITERATE_KEY,
  73. MAP_KEY_ITERATE_KEY,
  74. } from './dep'
  75. export {
  76. effectScope,
  77. EffectScope,
  78. getCurrentScope,
  79. onScopeDispose,
  80. } from './effectScope'
  81. export { reactiveReadArray, shallowReadArray } from './arrayInstrumentations'
  82. export { TrackOpTypes, TriggerOpTypes, ReactiveFlags } from './constants'
  83. export {
  84. watch,
  85. getCurrentWatcher,
  86. traverse,
  87. onWatcherCleanup,
  88. WatchErrorCodes,
  89. type WatchOptions,
  90. type WatchScheduler,
  91. type WatchStopHandle,
  92. type WatchHandle,
  93. type WatchEffect,
  94. type WatchSource,
  95. type WatchCallback,
  96. type OnCleanup,
  97. } from './watch'