phecda-vue 4.0.5 → 4.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -16,9 +16,6 @@ type Raw<T> = T & {
16
16
  type ReplaceInstanceValues<I> = {
17
17
  [P in keyof I]: I[P] extends (...args: any[]) => any ? I[P] : I[P] extends Raw<infer O> ? O : Ref<I[P]>;
18
18
  };
19
- type SchemaToObj<S> = {
20
- [P in keyof S]: S[P] extends object ? SchemaToObj<S[P]> : (S[P] extends string ? any : S[P]);
21
- };
22
19
 
23
20
  declare function useRaw<T extends Construct>(model: T): InstanceType<T>;
24
21
  declare function getRaw<T extends Construct>(model: T): InstanceType<T>;
@@ -39,4 +36,4 @@ declare function WatchEffect(option?: WatchOptions): (proto: any, key: string) =
39
36
  declare function markRaw<T extends object>(value: T): Raw<T>;
40
37
  declare function createSharedReactive<F extends (...args: any) => any>(composable: F): () => ReturnType<F>;
41
38
 
42
- export { type Raw, RawSymbol, type ReplaceInstanceValues, type SchemaToObj, Shallow, VuePhecda, WatchEffect, createPhecda, createSharedReactive, getPhecda, getR, getRaw, getV, markRaw, phecdaSymbol, useEvent, usePhecda, useR, useRaw, useV };
39
+ export { type Raw, RawSymbol, type ReplaceInstanceValues, Shallow, VuePhecda, WatchEffect, createPhecda, createSharedReactive, getPhecda, getR, getRaw, getV, markRaw, phecdaSymbol, useEvent, usePhecda, useR, useRaw, useV };
package/dist/index.d.ts CHANGED
@@ -16,9 +16,6 @@ type Raw<T> = T & {
16
16
  type ReplaceInstanceValues<I> = {
17
17
  [P in keyof I]: I[P] extends (...args: any[]) => any ? I[P] : I[P] extends Raw<infer O> ? O : Ref<I[P]>;
18
18
  };
19
- type SchemaToObj<S> = {
20
- [P in keyof S]: S[P] extends object ? SchemaToObj<S[P]> : (S[P] extends string ? any : S[P]);
21
- };
22
19
 
23
20
  declare function useRaw<T extends Construct>(model: T): InstanceType<T>;
24
21
  declare function getRaw<T extends Construct>(model: T): InstanceType<T>;
@@ -39,4 +36,4 @@ declare function WatchEffect(option?: WatchOptions): (proto: any, key: string) =
39
36
  declare function markRaw<T extends object>(value: T): Raw<T>;
40
37
  declare function createSharedReactive<F extends (...args: any) => any>(composable: F): () => ReturnType<F>;
41
38
 
42
- export { type Raw, RawSymbol, type ReplaceInstanceValues, type SchemaToObj, Shallow, VuePhecda, WatchEffect, createPhecda, createSharedReactive, getPhecda, getR, getRaw, getV, markRaw, phecdaSymbol, useEvent, usePhecda, useR, useRaw, useV };
39
+ export { type Raw, RawSymbol, type ReplaceInstanceValues, Shallow, VuePhecda, WatchEffect, createPhecda, createSharedReactive, getPhecda, getR, getRaw, getV, markRaw, phecdaSymbol, useEvent, usePhecda, useR, useRaw, useV };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phecda-vue",
3
- "version": "4.0.5",
3
+ "version": "4.0.7",
4
4
  "description": "provide phecda function to vue",
5
5
  "author": "fgsreally",
6
6
  "license": "MIT",
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@vue/devtools-api": "^6.6.3",
20
20
  "vue": "^3.2.45",
21
- "phecda-web": "2.0.5"
21
+ "phecda-web": "2.0.7"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@vue/test-utils": "^2.4.6",