pinia-orm-edge 1.9.0-28585987.4ecf93f → 1.9.1-28593945.37e7354

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.cts CHANGED
@@ -4,7 +4,7 @@ import { Pinia } from 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
7
- declare function useRepo<R extends Repository>(repository: R | Constructor<R>, pinia?: Pinia): R;
7
+ declare function useRepo<R extends Repository<any>>(repository: R | Constructor<R>, pinia?: Pinia): R;
8
8
  declare function useRepo<M extends Model>(model: Constructor<M>, pinia?: Pinia): Repository<M>;
9
9
 
10
10
  declare function useStoreActions(query?: Query): {
package/dist/index.d.mts CHANGED
@@ -4,7 +4,7 @@ import { Pinia } from 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
7
- declare function useRepo<R extends Repository>(repository: R | Constructor<R>, pinia?: Pinia): R;
7
+ declare function useRepo<R extends Repository<any>>(repository: R | Constructor<R>, pinia?: Pinia): R;
8
8
  declare function useRepo<M extends Model>(model: Constructor<M>, pinia?: Pinia): Repository<M>;
9
9
 
10
10
  declare function useStoreActions(query?: Query): {
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { Pinia } from 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
7
- declare function useRepo<R extends Repository>(repository: R | Constructor<R>, pinia?: Pinia): R;
7
+ declare function useRepo<R extends Repository<any>>(repository: R | Constructor<R>, pinia?: Pinia): R;
8
8
  declare function useRepo<M extends Model>(model: Constructor<M>, pinia?: Pinia): Repository<M>;
9
9
 
10
10
  declare function useStoreActions(query?: Query): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinia-orm-edge",
3
- "version": "1.9.0-28585987.4ecf93f",
3
+ "version": "1.9.1-28593945.37e7354",
4
4
  "description": "The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store.",
5
5
  "keywords": [
6
6
  "vue",
@@ -46,7 +46,7 @@
46
46
  "pinia": "^2.1.7"
47
47
  },
48
48
  "dependencies": {
49
- "@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@1.9.0-28585987.4ecf93f"
49
+ "@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@1.9.1-28593945.37e7354"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@nuxt/eslint-config": "^0.3.10",