pinia-orm-edge 1.8.1-28575903.ae3b7f2 → 1.8.1-28575925.676e9a0

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,4 +1,4 @@
1
- import { $ as CastAttribute, m as ModelFields } from './shared/pinia-orm.876a7cdc.cjs';
1
+ import { $ as CastAttribute, m as ModelFields } from './shared/pinia-orm.ed84a779.cjs';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
package/dist/casts.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, m as ModelFields } from './shared/pinia-orm.876a7cdc.mjs';
1
+ import { $ as CastAttribute, m as ModelFields } from './shared/pinia-orm.ed84a779.mjs';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
package/dist/casts.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, m as ModelFields } from './shared/pinia-orm.876a7cdc.js';
1
+ import { $ as CastAttribute, m as ModelFields } from './shared/pinia-orm.ed84a779.js';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1,5 +1,5 @@
1
- import { a0 as TypeDefault, af as PropertyDecorator, ag as TypeOptions, ah as UidOptions, M as Model, s as PrimaryKey, z as deleteModes, $ as CastAttribute, ai as Mutator } from './shared/pinia-orm.876a7cdc.cjs';
2
- export { aj as NanoidOptions } from './shared/pinia-orm.876a7cdc.cjs';
1
+ import { a0 as TypeDefault, af as PropertyDecorator, ag as TypeOptions, ah as UidOptions, M as Model, s as PrimaryKey, z as deleteModes, $ as CastAttribute, ai as Mutator } from './shared/pinia-orm.ed84a779.cjs';
2
+ export { aj as NanoidOptions } from './shared/pinia-orm.ed84a779.cjs';
3
3
  import 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
@@ -1,5 +1,5 @@
1
- import { a0 as TypeDefault, af as PropertyDecorator, ag as TypeOptions, ah as UidOptions, M as Model, s as PrimaryKey, z as deleteModes, $ as CastAttribute, ai as Mutator } from './shared/pinia-orm.876a7cdc.mjs';
2
- export { aj as NanoidOptions } from './shared/pinia-orm.876a7cdc.mjs';
1
+ import { a0 as TypeDefault, af as PropertyDecorator, ag as TypeOptions, ah as UidOptions, M as Model, s as PrimaryKey, z as deleteModes, $ as CastAttribute, ai as Mutator } from './shared/pinia-orm.ed84a779.mjs';
2
+ export { aj as NanoidOptions } from './shared/pinia-orm.ed84a779.mjs';
3
3
  import 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
@@ -1,5 +1,5 @@
1
- import { a0 as TypeDefault, af as PropertyDecorator, ag as TypeOptions, ah as UidOptions, M as Model, s as PrimaryKey, z as deleteModes, $ as CastAttribute, ai as Mutator } from './shared/pinia-orm.876a7cdc.js';
2
- export { aj as NanoidOptions } from './shared/pinia-orm.876a7cdc.js';
1
+ import { a0 as TypeDefault, af as PropertyDecorator, ag as TypeOptions, ah as UidOptions, M as Model, s as PrimaryKey, z as deleteModes, $ as CastAttribute, ai as Mutator } from './shared/pinia-orm.ed84a779.js';
2
+ export { aj as NanoidOptions } from './shared/pinia-orm.ed84a779.js';
3
3
  import 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
@@ -1,4 +1,4 @@
1
- import { M as Model, b as Collection } from './shared/pinia-orm.876a7cdc.cjs';
1
+ import { M as Model, b as Collection } from './shared/pinia-orm.ed84a779.cjs';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1,4 +1,4 @@
1
- import { M as Model, b as Collection } from './shared/pinia-orm.876a7cdc.mjs';
1
+ import { M as Model, b as Collection } from './shared/pinia-orm.ed84a779.mjs';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
package/dist/helpers.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { M as Model, b as Collection } from './shared/pinia-orm.876a7cdc.js';
1
+ import { M as Model, b as Collection } from './shared/pinia-orm.ed84a779.js';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
package/dist/index.cjs CHANGED
@@ -525,19 +525,19 @@ class Interpreter {
525
525
  function useStoreActions(query) {
526
526
  return {
527
527
  save(records, triggerQueryAction = true) {
528
- Object.assign(this.data, records);
528
+ this.data = Object.assign({}, this.data, records);
529
529
  if (triggerQueryAction && query) {
530
530
  query.newQuery(this.$id).save(Object.values(records));
531
531
  }
532
532
  },
533
533
  insert(records, triggerQueryAction = true) {
534
- Object.assign(this.data, records);
534
+ this.data = Object.assign({}, this.data, records);
535
535
  if (triggerQueryAction && query) {
536
536
  query.newQuery(this.$id).insert(Object.values(records));
537
537
  }
538
538
  },
539
539
  update(records, triggerQueryAction = true) {
540
- Object.assign(this.data, records);
540
+ this.data = Object.assign({}, this.data, records);
541
541
  if (triggerQueryAction && query) {
542
542
  query.newQuery(this.$id).update(Object.values(records));
543
543
  }
@@ -553,6 +553,9 @@ function useStoreActions(query) {
553
553
  query.newQuery(this.$id).newQuery(this.$id).destroy(ids);
554
554
  } else {
555
555
  ids.forEach((id) => delete this.data[id]);
556
+ if (this.data.__ob__) {
557
+ this.data.__ob__.dep.notify();
558
+ }
556
559
  }
557
560
  },
558
561
  /**
@@ -563,6 +566,9 @@ function useStoreActions(query) {
563
566
  query.whereId(ids).delete();
564
567
  } else {
565
568
  ids.forEach((id) => delete this.data[id]);
569
+ if (this.data.__ob__) {
570
+ this.data.__ob__.dep.notify();
571
+ }
566
572
  }
567
573
  },
568
574
  flush(_records, triggerQueryAction = true) {
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as Repository, C as Constructor, M as Model, Q as Query, D as DataStore, E as Elements, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.876a7cdc.cjs';
2
- export { A as AfterHook, x as Attribute, B as BeforeHook, J as BelongsTo, K as BelongsToMany, g as CacheConfigOptions, $ as CastAttribute, _ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, y as Dictionary, ad as EagerLoad, ae as EagerLoadConstraint, a as Element, a8 as Group, aa as GroupBy, ab as GroupByFields, G as GroupedCollection, L as HasMany, T as HasManyBy, U as HasManyThrough, O as HasOne, w as InheritanceTypes, h as InstallOptions, a2 as Interpreter, I as Item, v as MetaValues, f as ModelConfigOptions, m as ModelFields, t as ModelOptions, o as ModelRegistries, q as ModelRegistry, n as ModelSchemas, V as MorphMany, Z as MorphOne, X as MorphTo, Y as MorphToMany, N as NormalizedData, a7 as Order, a9 as OrderBy, ac as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, H as Relation, l as Schema, S as Schemas, a1 as Type, a0 as TypeDefault, a3 as Where, a6 as WhereGroup, a4 as WherePrimaryClosure, a5 as WhereSecondaryClosure, j as createORM, e as definePiniaOrmPlugin, z as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.876a7cdc.cjs';
1
+ import { R as Repository, C as Constructor, M as Model, Q as Query, D as DataStore, E as Elements, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.ed84a779.cjs';
2
+ export { A as AfterHook, x as Attribute, B as BeforeHook, J as BelongsTo, K as BelongsToMany, g as CacheConfigOptions, $ as CastAttribute, _ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, y as Dictionary, ad as EagerLoad, ae as EagerLoadConstraint, a as Element, a8 as Group, aa as GroupBy, ab as GroupByFields, G as GroupedCollection, L as HasMany, T as HasManyBy, U as HasManyThrough, O as HasOne, w as InheritanceTypes, h as InstallOptions, a2 as Interpreter, I as Item, v as MetaValues, f as ModelConfigOptions, m as ModelFields, t as ModelOptions, o as ModelRegistries, q as ModelRegistry, n as ModelSchemas, V as MorphMany, Z as MorphOne, X as MorphTo, Y as MorphToMany, N as NormalizedData, a7 as Order, a9 as OrderBy, ac as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, H as Relation, l as Schema, S as Schemas, a1 as Type, a0 as TypeDefault, a3 as Where, a6 as WhereGroup, a4 as WherePrimaryClosure, a5 as WhereSecondaryClosure, j as createORM, e as definePiniaOrmPlugin, z as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.ed84a779.cjs';
3
3
  import { Pinia } from 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as Repository, C as Constructor, M as Model, Q as Query, D as DataStore, E as Elements, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.876a7cdc.mjs';
2
- export { A as AfterHook, x as Attribute, B as BeforeHook, J as BelongsTo, K as BelongsToMany, g as CacheConfigOptions, $ as CastAttribute, _ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, y as Dictionary, ad as EagerLoad, ae as EagerLoadConstraint, a as Element, a8 as Group, aa as GroupBy, ab as GroupByFields, G as GroupedCollection, L as HasMany, T as HasManyBy, U as HasManyThrough, O as HasOne, w as InheritanceTypes, h as InstallOptions, a2 as Interpreter, I as Item, v as MetaValues, f as ModelConfigOptions, m as ModelFields, t as ModelOptions, o as ModelRegistries, q as ModelRegistry, n as ModelSchemas, V as MorphMany, Z as MorphOne, X as MorphTo, Y as MorphToMany, N as NormalizedData, a7 as Order, a9 as OrderBy, ac as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, H as Relation, l as Schema, S as Schemas, a1 as Type, a0 as TypeDefault, a3 as Where, a6 as WhereGroup, a4 as WherePrimaryClosure, a5 as WhereSecondaryClosure, j as createORM, e as definePiniaOrmPlugin, z as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.876a7cdc.mjs';
1
+ import { R as Repository, C as Constructor, M as Model, Q as Query, D as DataStore, E as Elements, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.ed84a779.mjs';
2
+ export { A as AfterHook, x as Attribute, B as BeforeHook, J as BelongsTo, K as BelongsToMany, g as CacheConfigOptions, $ as CastAttribute, _ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, y as Dictionary, ad as EagerLoad, ae as EagerLoadConstraint, a as Element, a8 as Group, aa as GroupBy, ab as GroupByFields, G as GroupedCollection, L as HasMany, T as HasManyBy, U as HasManyThrough, O as HasOne, w as InheritanceTypes, h as InstallOptions, a2 as Interpreter, I as Item, v as MetaValues, f as ModelConfigOptions, m as ModelFields, t as ModelOptions, o as ModelRegistries, q as ModelRegistry, n as ModelSchemas, V as MorphMany, Z as MorphOne, X as MorphTo, Y as MorphToMany, N as NormalizedData, a7 as Order, a9 as OrderBy, ac as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, H as Relation, l as Schema, S as Schemas, a1 as Type, a0 as TypeDefault, a3 as Where, a6 as WhereGroup, a4 as WherePrimaryClosure, a5 as WhereSecondaryClosure, j as createORM, e as definePiniaOrmPlugin, z as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.ed84a779.mjs';
3
3
  import { Pinia } from 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as Repository, C as Constructor, M as Model, Q as Query, D as DataStore, E as Elements, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.876a7cdc.js';
2
- export { A as AfterHook, x as Attribute, B as BeforeHook, J as BelongsTo, K as BelongsToMany, g as CacheConfigOptions, $ as CastAttribute, _ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, y as Dictionary, ad as EagerLoad, ae as EagerLoadConstraint, a as Element, a8 as Group, aa as GroupBy, ab as GroupByFields, G as GroupedCollection, L as HasMany, T as HasManyBy, U as HasManyThrough, O as HasOne, w as InheritanceTypes, h as InstallOptions, a2 as Interpreter, I as Item, v as MetaValues, f as ModelConfigOptions, m as ModelFields, t as ModelOptions, o as ModelRegistries, q as ModelRegistry, n as ModelSchemas, V as MorphMany, Z as MorphOne, X as MorphTo, Y as MorphToMany, N as NormalizedData, a7 as Order, a9 as OrderBy, ac as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, H as Relation, l as Schema, S as Schemas, a1 as Type, a0 as TypeDefault, a3 as Where, a6 as WhereGroup, a4 as WherePrimaryClosure, a5 as WhereSecondaryClosure, j as createORM, e as definePiniaOrmPlugin, z as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.876a7cdc.js';
1
+ import { R as Repository, C as Constructor, M as Model, Q as Query, D as DataStore, E as Elements, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.ed84a779.js';
2
+ export { A as AfterHook, x as Attribute, B as BeforeHook, J as BelongsTo, K as BelongsToMany, g as CacheConfigOptions, $ as CastAttribute, _ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, y as Dictionary, ad as EagerLoad, ae as EagerLoadConstraint, a as Element, a8 as Group, aa as GroupBy, ab as GroupByFields, G as GroupedCollection, L as HasMany, T as HasManyBy, U as HasManyThrough, O as HasOne, w as InheritanceTypes, h as InstallOptions, a2 as Interpreter, I as Item, v as MetaValues, f as ModelConfigOptions, m as ModelFields, t as ModelOptions, o as ModelRegistries, q as ModelRegistry, n as ModelSchemas, V as MorphMany, Z as MorphOne, X as MorphTo, Y as MorphToMany, N as NormalizedData, a7 as Order, a9 as OrderBy, ac as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, H as Relation, l as Schema, S as Schemas, a1 as Type, a0 as TypeDefault, a3 as Where, a6 as WhereGroup, a4 as WherePrimaryClosure, a5 as WhereSecondaryClosure, j as createORM, e as definePiniaOrmPlugin, z as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.ed84a779.js';
3
3
  import { Pinia } from 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
package/dist/index.mjs CHANGED
@@ -523,19 +523,19 @@ class Interpreter {
523
523
  function useStoreActions(query) {
524
524
  return {
525
525
  save(records, triggerQueryAction = true) {
526
- Object.assign(this.data, records);
526
+ this.data = Object.assign({}, this.data, records);
527
527
  if (triggerQueryAction && query) {
528
528
  query.newQuery(this.$id).save(Object.values(records));
529
529
  }
530
530
  },
531
531
  insert(records, triggerQueryAction = true) {
532
- Object.assign(this.data, records);
532
+ this.data = Object.assign({}, this.data, records);
533
533
  if (triggerQueryAction && query) {
534
534
  query.newQuery(this.$id).insert(Object.values(records));
535
535
  }
536
536
  },
537
537
  update(records, triggerQueryAction = true) {
538
- Object.assign(this.data, records);
538
+ this.data = Object.assign({}, this.data, records);
539
539
  if (triggerQueryAction && query) {
540
540
  query.newQuery(this.$id).update(Object.values(records));
541
541
  }
@@ -551,6 +551,9 @@ function useStoreActions(query) {
551
551
  query.newQuery(this.$id).newQuery(this.$id).destroy(ids);
552
552
  } else {
553
553
  ids.forEach((id) => delete this.data[id]);
554
+ if (this.data.__ob__) {
555
+ this.data.__ob__.dep.notify();
556
+ }
554
557
  }
555
558
  },
556
559
  /**
@@ -561,6 +564,9 @@ function useStoreActions(query) {
561
564
  query.whereId(ids).delete();
562
565
  } else {
563
566
  ids.forEach((id) => delete this.data[id]);
567
+ if (this.data.__ob__) {
568
+ this.data.__ob__.dep.notify();
569
+ }
564
570
  }
565
571
  },
566
572
  flush(_records, triggerQueryAction = true) {
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.cjs';
1
+ import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.cjs';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.mjs';
1
+ import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.mjs';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.js';
1
+ import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.js';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.cjs';
1
+ import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.cjs';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.mjs';
1
+ import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.mjs';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.js';
1
+ import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.js';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.cjs';
1
+ import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.cjs';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.mjs';
1
+ import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.mjs';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1,4 +1,4 @@
1
- import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.js';
1
+ import { $ as CastAttribute, aj as NanoidOptions, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.js';
2
2
  import 'pinia';
3
3
  import '@pinia-orm/normalizr';
4
4
  import '@/composables';
@@ -1827,9 +1827,7 @@ declare class Repository<M extends Model = Model> {
1827
1827
  update(this: any, records: Elements, triggerQueryAction?: boolean): void;
1828
1828
  fresh(this: any, records: Elements, triggerQueryAction?: boolean): void;
1829
1829
  destroy(this: any, ids: (string | number)[], triggerQueryAction?: boolean): void;
1830
- delete(this: any, ids: (string | number)[], triggerQueryAction?: boolean): void; /**
1831
- * Hydrated models. They are stored to prevent rerendering of child components.
1832
- */
1830
+ delete(this: any, ids: (string | number)[], triggerQueryAction?: boolean): void;
1833
1831
  flush(this: any, _records?: Elements | undefined, triggerQueryAction?: boolean): void;
1834
1832
  }>;
1835
1833
  /**
@@ -1827,9 +1827,7 @@ declare class Repository<M extends Model = Model> {
1827
1827
  update(this: any, records: Elements, triggerQueryAction?: boolean): void;
1828
1828
  fresh(this: any, records: Elements, triggerQueryAction?: boolean): void;
1829
1829
  destroy(this: any, ids: (string | number)[], triggerQueryAction?: boolean): void;
1830
- delete(this: any, ids: (string | number)[], triggerQueryAction?: boolean): void; /**
1831
- * Hydrated models. They are stored to prevent rerendering of child components.
1832
- */
1830
+ delete(this: any, ids: (string | number)[], triggerQueryAction?: boolean): void;
1833
1831
  flush(this: any, _records?: Elements | undefined, triggerQueryAction?: boolean): void;
1834
1832
  }>;
1835
1833
  /**
@@ -1827,9 +1827,7 @@ declare class Repository<M extends Model = Model> {
1827
1827
  update(this: any, records: Elements, triggerQueryAction?: boolean): void;
1828
1828
  fresh(this: any, records: Elements, triggerQueryAction?: boolean): void;
1829
1829
  destroy(this: any, ids: (string | number)[], triggerQueryAction?: boolean): void;
1830
- delete(this: any, ids: (string | number)[], triggerQueryAction?: boolean): void; /**
1831
- * Hydrated models. They are stored to prevent rerendering of child components.
1832
- */
1830
+ delete(this: any, ids: (string | number)[], triggerQueryAction?: boolean): void;
1833
1831
  flush(this: any, _records?: Elements | undefined, triggerQueryAction?: boolean): void;
1834
1832
  }>;
1835
1833
  /**
@@ -1,5 +1,5 @@
1
1
  import { V1Options } from 'uuid';
2
- import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.cjs';
2
+ import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.cjs';
3
3
  import 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
@@ -1,5 +1,5 @@
1
1
  import { V1Options } from 'uuid';
2
- import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.mjs';
2
+ import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.mjs';
3
3
  import 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
package/dist/uuid/v1.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { V1Options } from 'uuid';
2
- import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.js';
2
+ import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.js';
3
3
  import 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
@@ -1,5 +1,5 @@
1
1
  import { V4Options } from 'uuid';
2
- import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.cjs';
2
+ import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.cjs';
3
3
  import 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
@@ -1,5 +1,5 @@
1
1
  import { V4Options } from 'uuid';
2
- import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.mjs';
2
+ import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.mjs';
3
3
  import 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
package/dist/uuid/v4.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { V4Options } from 'uuid';
2
- import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.876a7cdc.js';
2
+ import { $ as CastAttribute, m as ModelFields, af as PropertyDecorator } from '../shared/pinia-orm.ed84a779.js';
3
3
  import 'pinia';
4
4
  import '@pinia-orm/normalizr';
5
5
  import '@/composables';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinia-orm-edge",
3
- "version": "1.8.1-28575903.ae3b7f2",
3
+ "version": "1.8.1-28575925.676e9a0",
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.6"
47
47
  },
48
48
  "dependencies": {
49
- "@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@1.8.1-28575903.ae3b7f2"
49
+ "@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@1.8.1-28575925.676e9a0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@nuxtjs/eslint-config-typescript": "^12.1.0",