pinia-orm-edge 1.10.2-28995616.71fb0dc → 1.11.0-28995653.3e41ed5

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/casts.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, q as ModelFields } from './shared/pinia-orm.Bzthh6rU.cjs';
1
+ import { a2 as CastAttribute, q as ModelFields } from './shared/pinia-orm.BcBqSZTx.cjs';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
package/dist/casts.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, q as ModelFields } from './shared/pinia-orm.Bzthh6rU.mjs';
1
+ import { a2 as CastAttribute, q as ModelFields } from './shared/pinia-orm.BcBqSZTx.mjs';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
package/dist/casts.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, q as ModelFields } from './shared/pinia-orm.Bzthh6rU.js';
1
+ import { a2 as CastAttribute, q as ModelFields } from './shared/pinia-orm.BcBqSZTx.js';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,7 +1,7 @@
1
- import { a3 as TypeDefault, aq as PropertyDecorator, ar as TypeOptions, as as UidOptions, M as Model, w as PrimaryKey, L as deleteModes, a2 as CastAttribute, am as Mutator } from './shared/pinia-orm.Bzthh6rU.cjs';
2
- export { at as NanoidOptions } from './shared/pinia-orm.Bzthh6rU.cjs';
1
+ import { a3 as TypeDefault, aq as PropertyDecorator, ar as TypeOptions, as as UidOptions, M as Model, w as PrimaryKey, L as deleteModes, a2 as CastAttribute, am as Mutator } from './shared/pinia-orm.BcBqSZTx.cjs';
2
+ export { at as NanoidOptions } from './shared/pinia-orm.BcBqSZTx.cjs';
3
3
  import 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
@@ -1,7 +1,7 @@
1
- import { a3 as TypeDefault, aq as PropertyDecorator, ar as TypeOptions, as as UidOptions, M as Model, w as PrimaryKey, L as deleteModes, a2 as CastAttribute, am as Mutator } from './shared/pinia-orm.Bzthh6rU.mjs';
2
- export { at as NanoidOptions } from './shared/pinia-orm.Bzthh6rU.mjs';
1
+ import { a3 as TypeDefault, aq as PropertyDecorator, ar as TypeOptions, as as UidOptions, M as Model, w as PrimaryKey, L as deleteModes, a2 as CastAttribute, am as Mutator } from './shared/pinia-orm.BcBqSZTx.mjs';
2
+ export { at as NanoidOptions } from './shared/pinia-orm.BcBqSZTx.mjs';
3
3
  import 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
@@ -1,7 +1,7 @@
1
- import { a3 as TypeDefault, aq as PropertyDecorator, ar as TypeOptions, as as UidOptions, M as Model, w as PrimaryKey, L as deleteModes, a2 as CastAttribute, am as Mutator } from './shared/pinia-orm.Bzthh6rU.js';
2
- export { at as NanoidOptions } from './shared/pinia-orm.Bzthh6rU.js';
1
+ import { a3 as TypeDefault, aq as PropertyDecorator, ar as TypeOptions, as as UidOptions, M as Model, w as PrimaryKey, L as deleteModes, a2 as CastAttribute, am as Mutator } from './shared/pinia-orm.BcBqSZTx.js';
2
+ export { at as NanoidOptions } from './shared/pinia-orm.BcBqSZTx.js';
3
3
  import 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
@@ -1,6 +1,6 @@
1
- import { M as Model, b as Collection } from './shared/pinia-orm.Bzthh6rU.cjs';
1
+ import { M as Model, b as Collection } from './shared/pinia-orm.BcBqSZTx.cjs';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,6 +1,6 @@
1
- import { M as Model, b as Collection } from './shared/pinia-orm.Bzthh6rU.mjs';
1
+ import { M as Model, b as Collection } from './shared/pinia-orm.BcBqSZTx.mjs';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
package/dist/helpers.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { M as Model, b as Collection } from './shared/pinia-orm.Bzthh6rU.js';
1
+ import { M as Model, b as Collection } from './shared/pinia-orm.BcBqSZTx.js';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { R as Repository, C as Constructor, M as Model, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.Bzthh6rU.cjs';
2
- export { A as AfterHook, J as Attribute, B as BeforeHook, Q as BelongsTo, T as BelongsToMany, ap as CacheConfig, h as CacheConfigOptions, a2 as CastAttribute, a1 as Casts, b as Collection, k as CreatePiniaOrm, d as DataStore, D as DataStoreState, m as Database, K as Dictionary, ak as EagerLoad, al as EagerLoadConstraint, E as Element, a as Elements, a9 as GetElementType, af as Group, ah as GroupBy, ai as GroupByFields, G as GroupedCollection, U as HasMany, X as HasManyBy, Y as HasManyThrough, V as HasOne, z as InheritanceTypes, j as InstallOptions, a5 as Interpreter, I as Item, y as MetaValues, g as ModelConfigOptions, q as ModelFields, x as ModelOptions, t as ModelRegistries, v as ModelRegistry, s as ModelSchemas, Z as MorphMany, a0 as MorphOne, _ as MorphTo, $ as MorphToMany, am as Mutator, an as MutatorFunctions, ao as Mutators, a8 as NonMethodKeys, N as NormalizedData, ae as Order, ag as OrderBy, aj as OrderDirection, i as PiniaConfigOptions, e as PiniaOrmPlugin, P as PiniaOrmPluginContext, w as PrimaryKey, a6 as Query, O as Relation, o as Schema, n as Schemas, S as StoreActions, a4 as Type, a3 as TypeDefault, aa as UltimateKeys, a7 as Where, ad as WhereGroup, ab as WherePrimaryClosure, ac as WhereSecondaryClosure, H as WithKeys, l as createORM, f as definePiniaOrmPlugin, L as deleteModes, p as plugins, r as registerPlugins, c as useDataStore, u as useStoreActions } from './shared/pinia-orm.Bzthh6rU.cjs';
1
+ import { R as Repository, C as Constructor, M as Model, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.BcBqSZTx.cjs';
2
+ export { A as AfterHook, J as Attribute, B as BeforeHook, Q as BelongsTo, T as BelongsToMany, ap as CacheConfig, h as CacheConfigOptions, a2 as CastAttribute, a1 as Casts, b as Collection, k as CreatePiniaOrm, d as DataStore, D as DataStoreState, m as Database, K as Dictionary, ak as EagerLoad, al as EagerLoadConstraint, E as Element, a as Elements, a9 as GetElementType, af as Group, ah as GroupBy, ai as GroupByFields, G as GroupedCollection, U as HasMany, X as HasManyBy, Y as HasManyThrough, V as HasOne, z as InheritanceTypes, j as InstallOptions, a5 as Interpreter, I as Item, y as MetaValues, g as ModelConfigOptions, q as ModelFields, x as ModelOptions, t as ModelRegistries, v as ModelRegistry, s as ModelSchemas, Z as MorphMany, a0 as MorphOne, _ as MorphTo, $ as MorphToMany, am as Mutator, an as MutatorFunctions, ao as Mutators, a8 as NonMethodKeys, N as NormalizedData, ae as Order, ag as OrderBy, aj as OrderDirection, i as PiniaConfigOptions, e as PiniaOrmPlugin, P as PiniaOrmPluginContext, w as PrimaryKey, a6 as Query, O as Relation, o as Schema, n as Schemas, S as StoreActions, a4 as Type, a3 as TypeDefault, aa as UltimateKeys, a7 as Where, ad as WhereGroup, ab as WherePrimaryClosure, ac as WhereSecondaryClosure, H as WithKeys, l as createORM, f as definePiniaOrmPlugin, L as deleteModes, p as plugins, r as registerPlugins, c as useDataStore, u as useStoreActions } from './shared/pinia-orm.BcBqSZTx.cjs';
3
3
  import { Pinia } from 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { R as Repository, C as Constructor, M as Model, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.Bzthh6rU.mjs';
2
- export { A as AfterHook, J as Attribute, B as BeforeHook, Q as BelongsTo, T as BelongsToMany, ap as CacheConfig, h as CacheConfigOptions, a2 as CastAttribute, a1 as Casts, b as Collection, k as CreatePiniaOrm, d as DataStore, D as DataStoreState, m as Database, K as Dictionary, ak as EagerLoad, al as EagerLoadConstraint, E as Element, a as Elements, a9 as GetElementType, af as Group, ah as GroupBy, ai as GroupByFields, G as GroupedCollection, U as HasMany, X as HasManyBy, Y as HasManyThrough, V as HasOne, z as InheritanceTypes, j as InstallOptions, a5 as Interpreter, I as Item, y as MetaValues, g as ModelConfigOptions, q as ModelFields, x as ModelOptions, t as ModelRegistries, v as ModelRegistry, s as ModelSchemas, Z as MorphMany, a0 as MorphOne, _ as MorphTo, $ as MorphToMany, am as Mutator, an as MutatorFunctions, ao as Mutators, a8 as NonMethodKeys, N as NormalizedData, ae as Order, ag as OrderBy, aj as OrderDirection, i as PiniaConfigOptions, e as PiniaOrmPlugin, P as PiniaOrmPluginContext, w as PrimaryKey, a6 as Query, O as Relation, o as Schema, n as Schemas, S as StoreActions, a4 as Type, a3 as TypeDefault, aa as UltimateKeys, a7 as Where, ad as WhereGroup, ab as WherePrimaryClosure, ac as WhereSecondaryClosure, H as WithKeys, l as createORM, f as definePiniaOrmPlugin, L as deleteModes, p as plugins, r as registerPlugins, c as useDataStore, u as useStoreActions } from './shared/pinia-orm.Bzthh6rU.mjs';
1
+ import { R as Repository, C as Constructor, M as Model, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.BcBqSZTx.mjs';
2
+ export { A as AfterHook, J as Attribute, B as BeforeHook, Q as BelongsTo, T as BelongsToMany, ap as CacheConfig, h as CacheConfigOptions, a2 as CastAttribute, a1 as Casts, b as Collection, k as CreatePiniaOrm, d as DataStore, D as DataStoreState, m as Database, K as Dictionary, ak as EagerLoad, al as EagerLoadConstraint, E as Element, a as Elements, a9 as GetElementType, af as Group, ah as GroupBy, ai as GroupByFields, G as GroupedCollection, U as HasMany, X as HasManyBy, Y as HasManyThrough, V as HasOne, z as InheritanceTypes, j as InstallOptions, a5 as Interpreter, I as Item, y as MetaValues, g as ModelConfigOptions, q as ModelFields, x as ModelOptions, t as ModelRegistries, v as ModelRegistry, s as ModelSchemas, Z as MorphMany, a0 as MorphOne, _ as MorphTo, $ as MorphToMany, am as Mutator, an as MutatorFunctions, ao as Mutators, a8 as NonMethodKeys, N as NormalizedData, ae as Order, ag as OrderBy, aj as OrderDirection, i as PiniaConfigOptions, e as PiniaOrmPlugin, P as PiniaOrmPluginContext, w as PrimaryKey, a6 as Query, O as Relation, o as Schema, n as Schemas, S as StoreActions, a4 as Type, a3 as TypeDefault, aa as UltimateKeys, a7 as Where, ad as WhereGroup, ab as WherePrimaryClosure, ac as WhereSecondaryClosure, H as WithKeys, l as createORM, f as definePiniaOrmPlugin, L as deleteModes, p as plugins, r as registerPlugins, c as useDataStore, u as useStoreActions } from './shared/pinia-orm.BcBqSZTx.mjs';
3
3
  import { Pinia } from 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { R as Repository, C as Constructor, M as Model, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.Bzthh6rU.js';
2
- export { A as AfterHook, J as Attribute, B as BeforeHook, Q as BelongsTo, T as BelongsToMany, ap as CacheConfig, h as CacheConfigOptions, a2 as CastAttribute, a1 as Casts, b as Collection, k as CreatePiniaOrm, d as DataStore, D as DataStoreState, m as Database, K as Dictionary, ak as EagerLoad, al as EagerLoadConstraint, E as Element, a as Elements, a9 as GetElementType, af as Group, ah as GroupBy, ai as GroupByFields, G as GroupedCollection, U as HasMany, X as HasManyBy, Y as HasManyThrough, V as HasOne, z as InheritanceTypes, j as InstallOptions, a5 as Interpreter, I as Item, y as MetaValues, g as ModelConfigOptions, q as ModelFields, x as ModelOptions, t as ModelRegistries, v as ModelRegistry, s as ModelSchemas, Z as MorphMany, a0 as MorphOne, _ as MorphTo, $ as MorphToMany, am as Mutator, an as MutatorFunctions, ao as Mutators, a8 as NonMethodKeys, N as NormalizedData, ae as Order, ag as OrderBy, aj as OrderDirection, i as PiniaConfigOptions, e as PiniaOrmPlugin, P as PiniaOrmPluginContext, w as PrimaryKey, a6 as Query, O as Relation, o as Schema, n as Schemas, S as StoreActions, a4 as Type, a3 as TypeDefault, aa as UltimateKeys, a7 as Where, ad as WhereGroup, ab as WherePrimaryClosure, ac as WhereSecondaryClosure, H as WithKeys, l as createORM, f as definePiniaOrmPlugin, L as deleteModes, p as plugins, r as registerPlugins, c as useDataStore, u as useStoreActions } from './shared/pinia-orm.Bzthh6rU.js';
1
+ import { R as Repository, C as Constructor, M as Model, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.BcBqSZTx.js';
2
+ export { A as AfterHook, J as Attribute, B as BeforeHook, Q as BelongsTo, T as BelongsToMany, ap as CacheConfig, h as CacheConfigOptions, a2 as CastAttribute, a1 as Casts, b as Collection, k as CreatePiniaOrm, d as DataStore, D as DataStoreState, m as Database, K as Dictionary, ak as EagerLoad, al as EagerLoadConstraint, E as Element, a as Elements, a9 as GetElementType, af as Group, ah as GroupBy, ai as GroupByFields, G as GroupedCollection, U as HasMany, X as HasManyBy, Y as HasManyThrough, V as HasOne, z as InheritanceTypes, j as InstallOptions, a5 as Interpreter, I as Item, y as MetaValues, g as ModelConfigOptions, q as ModelFields, x as ModelOptions, t as ModelRegistries, v as ModelRegistry, s as ModelSchemas, Z as MorphMany, a0 as MorphOne, _ as MorphTo, $ as MorphToMany, am as Mutator, an as MutatorFunctions, ao as Mutators, a8 as NonMethodKeys, N as NormalizedData, ae as Order, ag as OrderBy, aj as OrderDirection, i as PiniaConfigOptions, e as PiniaOrmPlugin, P as PiniaOrmPluginContext, w as PrimaryKey, a6 as Query, O as Relation, o as Schema, n as Schemas, S as StoreActions, a4 as Type, a3 as TypeDefault, aa as UltimateKeys, a7 as Where, ad as WhereGroup, ab as WherePrimaryClosure, ac as WhereSecondaryClosure, H as WithKeys, l as createORM, f as definePiniaOrmPlugin, L as deleteModes, p as plugins, r as registerPlugins, c as useDataStore, u as useStoreActions } from './shared/pinia-orm.BcBqSZTx.js';
3
3
  import { Pinia } from 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.cjs';
1
+ import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.cjs';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.mjs';
1
+ import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.mjs';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.js';
1
+ import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.js';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.cjs';
1
+ import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.cjs';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.mjs';
1
+ import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.mjs';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.js';
1
+ import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.js';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.cjs';
1
+ import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.cjs';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.mjs';
1
+ import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.mjs';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,6 +1,6 @@
1
- import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.js';
1
+ import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.js';
2
2
  import 'pinia';
3
- import 'vue-demi';
3
+ import 'vue';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as pinia from 'pinia';
2
2
  import { PiniaPlugin, DefineStoreOptionsBase, DefineSetupStoreOptions, Pinia } from 'pinia';
3
- import * as vue_demi from 'vue-demi';
3
+ import * as vue from 'vue';
4
4
  import { schema, Schema as Schema$1 } from '@pinia-orm/normalizr';
5
5
  import * as __composables from '@/composables';
6
6
 
@@ -301,7 +301,7 @@ declare class Interpreter {
301
301
  private getSchema;
302
302
  }
303
303
 
304
- declare function useDataStore<S extends DataStoreState, T extends DataStore = DataStore>(id: string, options: DefineStoreOptionsBase<S, T>, customOptions?: DefineSetupStoreOptions<string, S, T, any>, query?: Query<any>): pinia.StoreDefinition<string, pinia._UnwrapAll<Pick<{
304
+ declare function useDataStore<S extends DataStoreState, T extends DataStore = DataStore>(id: string, options: DefineStoreOptionsBase<S, T>, customOptions?: DefineSetupStoreOptions<string, S, T, any>, query?: Query<any>): pinia.StoreDefinition<string, Pick<{
305
305
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
306
306
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
307
307
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -309,8 +309,8 @@ declare function useDataStore<S extends DataStoreState, T extends DataStore = Da
309
309
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
310
310
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
311
311
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
312
- data: vue_demi.Ref<Record<string, any>>;
313
- }, "data">>, Pick<{
312
+ data: vue.Ref<Record<string, any>>;
313
+ }, "data">, Pick<{
314
314
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
315
315
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
316
316
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -318,7 +318,7 @@ declare function useDataStore<S extends DataStoreState, T extends DataStore = Da
318
318
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
319
319
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
320
320
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
321
- data: vue_demi.Ref<Record<string, any>>;
321
+ data: vue.Ref<Record<string, any>>;
322
322
  }, never>, Pick<{
323
323
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
324
324
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -327,7 +327,7 @@ declare function useDataStore<S extends DataStoreState, T extends DataStore = Da
327
327
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
328
328
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
329
329
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
330
- data: vue_demi.Ref<Record<string, any>>;
330
+ data: vue.Ref<Record<string, any>>;
331
331
  }, "insert" | "flush" | "delete" | "update" | "destroy" | "save" | "fresh">>;
332
332
  interface DataStoreState {
333
333
  data: Record<string, any>;
@@ -1952,7 +1952,7 @@ declare class Repository<M extends Model = Model> {
1952
1952
  /**
1953
1953
  * Returns the pinia store used with this model
1954
1954
  */
1955
- piniaStore<S extends DataStoreState = DataStoreState>(): pinia.Store<string, pinia._UnwrapAll<Pick<{
1955
+ piniaStore<S extends DataStoreState = DataStoreState>(): pinia.Store<string, Pick<{
1956
1956
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1957
1957
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1958
1958
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -1960,8 +1960,8 @@ declare class Repository<M extends Model = Model> {
1960
1960
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1961
1961
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1962
1962
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
1963
- data: vue_demi.Ref<Record<string, any>>;
1964
- }, "data">>, Pick<{
1963
+ data: vue.Ref<Record<string, any>>;
1964
+ }, "data">, Pick<{
1965
1965
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1966
1966
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1967
1967
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -1969,7 +1969,7 @@ declare class Repository<M extends Model = Model> {
1969
1969
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1970
1970
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1971
1971
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
1972
- data: vue_demi.Ref<Record<string, any>>;
1972
+ data: vue.Ref<Record<string, any>>;
1973
1973
  }, never>, Pick<{
1974
1974
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1975
1975
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -1978,7 +1978,7 @@ declare class Repository<M extends Model = Model> {
1978
1978
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1979
1979
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1980
1980
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
1981
- data: vue_demi.Ref<Record<string, any>>;
1981
+ data: vue.Ref<Record<string, any>>;
1982
1982
  }, "insert" | "flush" | "delete" | "update" | "destroy" | "save" | "fresh">>;
1983
1983
  /**
1984
1984
  * Create a new repository with the given model.
@@ -1,6 +1,6 @@
1
1
  import * as pinia from 'pinia';
2
2
  import { PiniaPlugin, DefineStoreOptionsBase, DefineSetupStoreOptions, Pinia } from 'pinia';
3
- import * as vue_demi from 'vue-demi';
3
+ import * as vue from 'vue';
4
4
  import { schema, Schema as Schema$1 } from '@pinia-orm/normalizr';
5
5
  import * as __composables from '@/composables';
6
6
 
@@ -301,7 +301,7 @@ declare class Interpreter {
301
301
  private getSchema;
302
302
  }
303
303
 
304
- declare function useDataStore<S extends DataStoreState, T extends DataStore = DataStore>(id: string, options: DefineStoreOptionsBase<S, T>, customOptions?: DefineSetupStoreOptions<string, S, T, any>, query?: Query<any>): pinia.StoreDefinition<string, pinia._UnwrapAll<Pick<{
304
+ declare function useDataStore<S extends DataStoreState, T extends DataStore = DataStore>(id: string, options: DefineStoreOptionsBase<S, T>, customOptions?: DefineSetupStoreOptions<string, S, T, any>, query?: Query<any>): pinia.StoreDefinition<string, Pick<{
305
305
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
306
306
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
307
307
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -309,8 +309,8 @@ declare function useDataStore<S extends DataStoreState, T extends DataStore = Da
309
309
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
310
310
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
311
311
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
312
- data: vue_demi.Ref<Record<string, any>>;
313
- }, "data">>, Pick<{
312
+ data: vue.Ref<Record<string, any>>;
313
+ }, "data">, Pick<{
314
314
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
315
315
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
316
316
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -318,7 +318,7 @@ declare function useDataStore<S extends DataStoreState, T extends DataStore = Da
318
318
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
319
319
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
320
320
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
321
- data: vue_demi.Ref<Record<string, any>>;
321
+ data: vue.Ref<Record<string, any>>;
322
322
  }, never>, Pick<{
323
323
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
324
324
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -327,7 +327,7 @@ declare function useDataStore<S extends DataStoreState, T extends DataStore = Da
327
327
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
328
328
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
329
329
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
330
- data: vue_demi.Ref<Record<string, any>>;
330
+ data: vue.Ref<Record<string, any>>;
331
331
  }, "insert" | "flush" | "delete" | "update" | "destroy" | "save" | "fresh">>;
332
332
  interface DataStoreState {
333
333
  data: Record<string, any>;
@@ -1952,7 +1952,7 @@ declare class Repository<M extends Model = Model> {
1952
1952
  /**
1953
1953
  * Returns the pinia store used with this model
1954
1954
  */
1955
- piniaStore<S extends DataStoreState = DataStoreState>(): pinia.Store<string, pinia._UnwrapAll<Pick<{
1955
+ piniaStore<S extends DataStoreState = DataStoreState>(): pinia.Store<string, Pick<{
1956
1956
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1957
1957
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1958
1958
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -1960,8 +1960,8 @@ declare class Repository<M extends Model = Model> {
1960
1960
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1961
1961
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1962
1962
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
1963
- data: vue_demi.Ref<Record<string, any>>;
1964
- }, "data">>, Pick<{
1963
+ data: vue.Ref<Record<string, any>>;
1964
+ }, "data">, Pick<{
1965
1965
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1966
1966
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1967
1967
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -1969,7 +1969,7 @@ declare class Repository<M extends Model = Model> {
1969
1969
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1970
1970
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1971
1971
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
1972
- data: vue_demi.Ref<Record<string, any>>;
1972
+ data: vue.Ref<Record<string, any>>;
1973
1973
  }, never>, Pick<{
1974
1974
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1975
1975
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -1978,7 +1978,7 @@ declare class Repository<M extends Model = Model> {
1978
1978
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1979
1979
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1980
1980
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
1981
- data: vue_demi.Ref<Record<string, any>>;
1981
+ data: vue.Ref<Record<string, any>>;
1982
1982
  }, "insert" | "flush" | "delete" | "update" | "destroy" | "save" | "fresh">>;
1983
1983
  /**
1984
1984
  * Create a new repository with the given model.
@@ -1,6 +1,6 @@
1
1
  import * as pinia from 'pinia';
2
2
  import { PiniaPlugin, DefineStoreOptionsBase, DefineSetupStoreOptions, Pinia } from 'pinia';
3
- import * as vue_demi from 'vue-demi';
3
+ import * as vue from 'vue';
4
4
  import { schema, Schema as Schema$1 } from '@pinia-orm/normalizr';
5
5
  import * as __composables from '@/composables';
6
6
 
@@ -301,7 +301,7 @@ declare class Interpreter {
301
301
  private getSchema;
302
302
  }
303
303
 
304
- declare function useDataStore<S extends DataStoreState, T extends DataStore = DataStore>(id: string, options: DefineStoreOptionsBase<S, T>, customOptions?: DefineSetupStoreOptions<string, S, T, any>, query?: Query<any>): pinia.StoreDefinition<string, pinia._UnwrapAll<Pick<{
304
+ declare function useDataStore<S extends DataStoreState, T extends DataStore = DataStore>(id: string, options: DefineStoreOptionsBase<S, T>, customOptions?: DefineSetupStoreOptions<string, S, T, any>, query?: Query<any>): pinia.StoreDefinition<string, Pick<{
305
305
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
306
306
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
307
307
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -309,8 +309,8 @@ declare function useDataStore<S extends DataStoreState, T extends DataStore = Da
309
309
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
310
310
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
311
311
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
312
- data: vue_demi.Ref<Record<string, any>>;
313
- }, "data">>, Pick<{
312
+ data: vue.Ref<Record<string, any>>;
313
+ }, "data">, Pick<{
314
314
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
315
315
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
316
316
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -318,7 +318,7 @@ declare function useDataStore<S extends DataStoreState, T extends DataStore = Da
318
318
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
319
319
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
320
320
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
321
- data: vue_demi.Ref<Record<string, any>>;
321
+ data: vue.Ref<Record<string, any>>;
322
322
  }, never>, Pick<{
323
323
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
324
324
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -327,7 +327,7 @@ declare function useDataStore<S extends DataStoreState, T extends DataStore = Da
327
327
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
328
328
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
329
329
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
330
- data: vue_demi.Ref<Record<string, any>>;
330
+ data: vue.Ref<Record<string, any>>;
331
331
  }, "insert" | "flush" | "delete" | "update" | "destroy" | "save" | "fresh">>;
332
332
  interface DataStoreState {
333
333
  data: Record<string, any>;
@@ -1952,7 +1952,7 @@ declare class Repository<M extends Model = Model> {
1952
1952
  /**
1953
1953
  * Returns the pinia store used with this model
1954
1954
  */
1955
- piniaStore<S extends DataStoreState = DataStoreState>(): pinia.Store<string, pinia._UnwrapAll<Pick<{
1955
+ piniaStore<S extends DataStoreState = DataStoreState>(): pinia.Store<string, Pick<{
1956
1956
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1957
1957
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1958
1958
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -1960,8 +1960,8 @@ declare class Repository<M extends Model = Model> {
1960
1960
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1961
1961
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1962
1962
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
1963
- data: vue_demi.Ref<Record<string, any>>;
1964
- }, "data">>, Pick<{
1963
+ data: vue.Ref<Record<string, any>>;
1964
+ }, "data">, Pick<{
1965
1965
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1966
1966
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1967
1967
  update(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -1969,7 +1969,7 @@ declare class Repository<M extends Model = Model> {
1969
1969
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1970
1970
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1971
1971
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
1972
- data: vue_demi.Ref<Record<string, any>>;
1972
+ data: vue.Ref<Record<string, any>>;
1973
1973
  }, never>, Pick<{
1974
1974
  save(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
1975
1975
  insert(this: DataStore, records: Elements, triggerQueryAction?: boolean): void;
@@ -1978,7 +1978,7 @@ declare class Repository<M extends Model = Model> {
1978
1978
  destroy(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1979
1979
  delete(this: DataStore, ids: (string | number)[], triggerQueryAction?: boolean): void;
1980
1980
  flush(this: DataStore, _records?: Elements, triggerQueryAction?: boolean): void;
1981
- data: vue_demi.Ref<Record<string, any>>;
1981
+ data: vue.Ref<Record<string, any>>;
1982
1982
  }, "insert" | "flush" | "delete" | "update" | "destroy" | "save" | "fresh">>;
1983
1983
  /**
1984
1984
  * Create a new repository with the given model.
@@ -1,7 +1,7 @@
1
1
  import { V1Options } from 'uuid';
2
- import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.cjs';
2
+ import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.cjs';
3
3
  import 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { V1Options } from 'uuid';
2
- import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.mjs';
2
+ import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.mjs';
3
3
  import 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
package/dist/uuid/v1.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { V1Options } from 'uuid';
2
- import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.js';
2
+ import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.js';
3
3
  import 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { V4Options } from 'uuid';
2
- import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.cjs';
2
+ import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.cjs';
3
3
  import 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { V4Options } from 'uuid';
2
- import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.mjs';
2
+ import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.mjs';
3
3
  import 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
package/dist/uuid/v4.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { V4Options } from 'uuid';
2
- import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.Bzthh6rU.js';
2
+ import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.BcBqSZTx.js';
3
3
  import 'pinia';
4
- import 'vue-demi';
4
+ import 'vue';
5
5
  import '@pinia-orm/normalizr';
6
6
  import '@/composables';
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinia-orm-edge",
3
- "version": "1.10.2-28995616.71fb0dc",
3
+ "version": "1.11.0-28995653.3e41ed5",
4
4
  "description": "The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store.",
5
5
  "keywords": [
6
6
  "vue",
@@ -43,10 +43,10 @@
43
43
  "README.md"
44
44
  ],
45
45
  "peerDependencies": {
46
- "pinia": "^2.1.7"
46
+ "pinia": "^3.0.1"
47
47
  },
48
48
  "dependencies": {
49
- "@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@1.10.2-28995616.71fb0dc",
49
+ "@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@1.11.0-28995653.3e41ed5",
50
50
  "vue-demi": "^0.14.10"
51
51
  },
52
52
  "devDependencies": {
@@ -68,7 +68,7 @@
68
68
  "happy-dom": "^16.0.1",
69
69
  "mkdist": "^2.1.0",
70
70
  "nanoid": "4.0.2",
71
- "pinia": "^2.1.7",
71
+ "pinia": "^3.0.1",
72
72
  "prettier": "^3.3.2",
73
73
  "size-limit": "^11.1.4",
74
74
  "std-env": "^3.7.0",