pinia-orm-edge 1.10.0-28691799.920f43b → 1.10.0-28693034.220b093

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 { a0 as CastAttribute, m as ModelFields } from './shared/pinia-orm.67fc2547.cjs';
1
+ import { a0 as CastAttribute, m as ModelFields } from './shared/pinia-orm.e4d337f9.cjs';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
package/dist/casts.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, m as ModelFields } from './shared/pinia-orm.67fc2547.mjs';
1
+ import { a0 as CastAttribute, m as ModelFields } from './shared/pinia-orm.e4d337f9.mjs';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
package/dist/casts.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, m as ModelFields } from './shared/pinia-orm.67fc2547.js';
1
+ import { a0 as CastAttribute, m as ModelFields } from './shared/pinia-orm.e4d337f9.js';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -1,5 +1,5 @@
1
- import { a1 as TypeDefault, an as PropertyDecorator, ao as TypeOptions, ap as UidOptions, M as Model, s as PrimaryKey, H as deleteModes, a0 as CastAttribute, aj as Mutator } from './shared/pinia-orm.67fc2547.cjs';
2
- export { aq as NanoidOptions } from './shared/pinia-orm.67fc2547.cjs';
1
+ import { a1 as TypeDefault, an as PropertyDecorator, ao as TypeOptions, ap as UidOptions, M as Model, s as PrimaryKey, H as deleteModes, a0 as CastAttribute, aj as Mutator } from './shared/pinia-orm.e4d337f9.cjs';
2
+ export { aq as NanoidOptions } from './shared/pinia-orm.e4d337f9.cjs';
3
3
  import 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
@@ -1,5 +1,5 @@
1
- import { a1 as TypeDefault, an as PropertyDecorator, ao as TypeOptions, ap as UidOptions, M as Model, s as PrimaryKey, H as deleteModes, a0 as CastAttribute, aj as Mutator } from './shared/pinia-orm.67fc2547.mjs';
2
- export { aq as NanoidOptions } from './shared/pinia-orm.67fc2547.mjs';
1
+ import { a1 as TypeDefault, an as PropertyDecorator, ao as TypeOptions, ap as UidOptions, M as Model, s as PrimaryKey, H as deleteModes, a0 as CastAttribute, aj as Mutator } from './shared/pinia-orm.e4d337f9.mjs';
2
+ export { aq as NanoidOptions } from './shared/pinia-orm.e4d337f9.mjs';
3
3
  import 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
@@ -1,5 +1,5 @@
1
- import { a1 as TypeDefault, an as PropertyDecorator, ao as TypeOptions, ap as UidOptions, M as Model, s as PrimaryKey, H as deleteModes, a0 as CastAttribute, aj as Mutator } from './shared/pinia-orm.67fc2547.js';
2
- export { aq as NanoidOptions } from './shared/pinia-orm.67fc2547.js';
1
+ import { a1 as TypeDefault, an as PropertyDecorator, ao as TypeOptions, ap as UidOptions, M as Model, s as PrimaryKey, H as deleteModes, a0 as CastAttribute, aj as Mutator } from './shared/pinia-orm.e4d337f9.js';
2
+ export { aq as NanoidOptions } from './shared/pinia-orm.e4d337f9.js';
3
3
  import 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
@@ -1,4 +1,4 @@
1
- import { M as Model, b as Collection } from './shared/pinia-orm.67fc2547.cjs';
1
+ import { M as Model, b as Collection } from './shared/pinia-orm.e4d337f9.cjs';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -1,4 +1,4 @@
1
- import { M as Model, b as Collection } from './shared/pinia-orm.67fc2547.mjs';
1
+ import { M as Model, b as Collection } from './shared/pinia-orm.e4d337f9.mjs';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
package/dist/helpers.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { M as Model, b as Collection } from './shared/pinia-orm.67fc2547.js';
1
+ import { M as Model, b as Collection } from './shared/pinia-orm.e4d337f9.js';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
package/dist/index.cjs CHANGED
@@ -113,12 +113,6 @@ class Relation extends Attribute {
113
113
  ]);
114
114
  }
115
115
  }
116
- /**
117
- * Generate the index key defined by the primary key or keys (composite)
118
- */
119
- getKey(key) {
120
- return Utils.isArray(key) ? `[${key.join(",")}]` : key;
121
- }
122
116
  /**
123
117
  * Get the index key defined by the primary key or keys (composite)
124
118
  */
@@ -2370,9 +2364,7 @@ class HasMany extends Relation {
2370
2364
  match(relation, models, query) {
2371
2365
  const dictionary = this.buildDictionary(query.get(false));
2372
2366
  models.forEach((model) => {
2373
- const key = this.getKey(
2374
- Utils.isArray(this.localKey) ? this.localKey.map((key2) => model[key2]) : model[this.localKey]
2375
- );
2367
+ const key = this.getResolvedKey(model, this.localKey);
2376
2368
  dictionary[key] ? model.$setRelation(relation, dictionary[key]) : model.$setRelation(relation, []);
2377
2369
  });
2378
2370
  }
@@ -2381,9 +2373,7 @@ class HasMany extends Relation {
2381
2373
  */
2382
2374
  buildDictionary(results) {
2383
2375
  return this.mapToDictionary(results, (result) => {
2384
- const key = this.getKey(
2385
- Utils.isArray(this.foreignKey) ? this.foreignKey.map((key2) => result[key2]) : result[this.foreignKey]
2386
- );
2376
+ const key = this.getResolvedKey(result, this.foreignKey);
2387
2377
  return [key, result];
2388
2378
  });
2389
2379
  }
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.67fc2547.cjs';
2
- export { A as AfterHook, y as Attribute, B as BeforeHook, K as BelongsTo, L as BelongsToMany, am as CacheConfig, g as CacheConfigOptions, a0 as CastAttribute, $ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, z as Dictionary, ah as EagerLoad, ai as EagerLoadConstraint, a as Element, a6 as GetElementType, ac as Group, ae as GroupBy, af as GroupByFields, G as GroupedCollection, O as HasMany, U as HasManyBy, V as HasManyThrough, T as HasOne, w as InheritanceTypes, h as InstallOptions, a3 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, X as MorphMany, _ as MorphOne, Y as MorphTo, Z as MorphToMany, aj as Mutator, ak as MutatorFunctions, al as Mutators, a5 as NonMethodKeys, N as NormalizedData, ab as Order, ad as OrderBy, ag as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, J as Relation, l as Schema, S as Schemas, a2 as Type, a1 as TypeDefault, a7 as UltimateKeys, a4 as Where, aa as WhereGroup, a8 as WherePrimaryClosure, a9 as WhereSecondaryClosure, x as WithKeys, j as createORM, e as definePiniaOrmPlugin, H as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.67fc2547.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.e4d337f9.cjs';
2
+ export { A as AfterHook, y as Attribute, B as BeforeHook, K as BelongsTo, L as BelongsToMany, am as CacheConfig, g as CacheConfigOptions, a0 as CastAttribute, $ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, z as Dictionary, ah as EagerLoad, ai as EagerLoadConstraint, a as Element, a6 as GetElementType, ac as Group, ae as GroupBy, af as GroupByFields, G as GroupedCollection, O as HasMany, U as HasManyBy, V as HasManyThrough, T as HasOne, w as InheritanceTypes, h as InstallOptions, a3 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, X as MorphMany, _ as MorphOne, Y as MorphTo, Z as MorphToMany, aj as Mutator, ak as MutatorFunctions, al as Mutators, a5 as NonMethodKeys, N as NormalizedData, ab as Order, ad as OrderBy, ag as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, J as Relation, l as Schema, S as Schemas, a2 as Type, a1 as TypeDefault, a7 as UltimateKeys, a4 as Where, aa as WhereGroup, a8 as WherePrimaryClosure, a9 as WhereSecondaryClosure, x as WithKeys, j as createORM, e as definePiniaOrmPlugin, H as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.e4d337f9.cjs';
3
3
  import { Pinia } from 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
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.67fc2547.mjs';
2
- export { A as AfterHook, y as Attribute, B as BeforeHook, K as BelongsTo, L as BelongsToMany, am as CacheConfig, g as CacheConfigOptions, a0 as CastAttribute, $ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, z as Dictionary, ah as EagerLoad, ai as EagerLoadConstraint, a as Element, a6 as GetElementType, ac as Group, ae as GroupBy, af as GroupByFields, G as GroupedCollection, O as HasMany, U as HasManyBy, V as HasManyThrough, T as HasOne, w as InheritanceTypes, h as InstallOptions, a3 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, X as MorphMany, _ as MorphOne, Y as MorphTo, Z as MorphToMany, aj as Mutator, ak as MutatorFunctions, al as Mutators, a5 as NonMethodKeys, N as NormalizedData, ab as Order, ad as OrderBy, ag as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, J as Relation, l as Schema, S as Schemas, a2 as Type, a1 as TypeDefault, a7 as UltimateKeys, a4 as Where, aa as WhereGroup, a8 as WherePrimaryClosure, a9 as WhereSecondaryClosure, x as WithKeys, j as createORM, e as definePiniaOrmPlugin, H as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.67fc2547.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.e4d337f9.mjs';
2
+ export { A as AfterHook, y as Attribute, B as BeforeHook, K as BelongsTo, L as BelongsToMany, am as CacheConfig, g as CacheConfigOptions, a0 as CastAttribute, $ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, z as Dictionary, ah as EagerLoad, ai as EagerLoadConstraint, a as Element, a6 as GetElementType, ac as Group, ae as GroupBy, af as GroupByFields, G as GroupedCollection, O as HasMany, U as HasManyBy, V as HasManyThrough, T as HasOne, w as InheritanceTypes, h as InstallOptions, a3 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, X as MorphMany, _ as MorphOne, Y as MorphTo, Z as MorphToMany, aj as Mutator, ak as MutatorFunctions, al as Mutators, a5 as NonMethodKeys, N as NormalizedData, ab as Order, ad as OrderBy, ag as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, J as Relation, l as Schema, S as Schemas, a2 as Type, a1 as TypeDefault, a7 as UltimateKeys, a4 as Where, aa as WhereGroup, a8 as WherePrimaryClosure, a9 as WhereSecondaryClosure, x as WithKeys, j as createORM, e as definePiniaOrmPlugin, H as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.e4d337f9.mjs';
3
3
  import { Pinia } from 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
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.67fc2547.js';
2
- export { A as AfterHook, y as Attribute, B as BeforeHook, K as BelongsTo, L as BelongsToMany, am as CacheConfig, g as CacheConfigOptions, a0 as CastAttribute, $ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, z as Dictionary, ah as EagerLoad, ai as EagerLoadConstraint, a as Element, a6 as GetElementType, ac as Group, ae as GroupBy, af as GroupByFields, G as GroupedCollection, O as HasMany, U as HasManyBy, V as HasManyThrough, T as HasOne, w as InheritanceTypes, h as InstallOptions, a3 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, X as MorphMany, _ as MorphOne, Y as MorphTo, Z as MorphToMany, aj as Mutator, ak as MutatorFunctions, al as Mutators, a5 as NonMethodKeys, N as NormalizedData, ab as Order, ad as OrderBy, ag as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, J as Relation, l as Schema, S as Schemas, a2 as Type, a1 as TypeDefault, a7 as UltimateKeys, a4 as Where, aa as WhereGroup, a8 as WherePrimaryClosure, a9 as WhereSecondaryClosure, x as WithKeys, j as createORM, e as definePiniaOrmPlugin, H as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.67fc2547.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.e4d337f9.js';
2
+ export { A as AfterHook, y as Attribute, B as BeforeHook, K as BelongsTo, L as BelongsToMany, am as CacheConfig, g as CacheConfigOptions, a0 as CastAttribute, $ as Casts, b as Collection, i as CreatePiniaOrm, c as DataStoreState, k as Database, z as Dictionary, ah as EagerLoad, ai as EagerLoadConstraint, a as Element, a6 as GetElementType, ac as Group, ae as GroupBy, af as GroupByFields, G as GroupedCollection, O as HasMany, U as HasManyBy, V as HasManyThrough, T as HasOne, w as InheritanceTypes, h as InstallOptions, a3 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, X as MorphMany, _ as MorphOne, Y as MorphTo, Z as MorphToMany, aj as Mutator, ak as MutatorFunctions, al as Mutators, a5 as NonMethodKeys, N as NormalizedData, ab as Order, ad as OrderBy, ag as OrderDirection, d as PiniaOrmPlugin, P as PiniaOrmPluginContext, s as PrimaryKey, J as Relation, l as Schema, S as Schemas, a2 as Type, a1 as TypeDefault, a7 as UltimateKeys, a4 as Where, aa as WhereGroup, a8 as WherePrimaryClosure, a9 as WhereSecondaryClosure, x as WithKeys, j as createORM, e as definePiniaOrmPlugin, H as deleteModes, p as plugins, r as registerPlugins, u as useDataStore } from './shared/pinia-orm.e4d337f9.js';
3
3
  import { Pinia } from 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
package/dist/index.mjs CHANGED
@@ -111,12 +111,6 @@ class Relation extends Attribute {
111
111
  ]);
112
112
  }
113
113
  }
114
- /**
115
- * Generate the index key defined by the primary key or keys (composite)
116
- */
117
- getKey(key) {
118
- return isArray(key) ? `[${key.join(",")}]` : key;
119
- }
120
114
  /**
121
115
  * Get the index key defined by the primary key or keys (composite)
122
116
  */
@@ -2368,9 +2362,7 @@ class HasMany extends Relation {
2368
2362
  match(relation, models, query) {
2369
2363
  const dictionary = this.buildDictionary(query.get(false));
2370
2364
  models.forEach((model) => {
2371
- const key = this.getKey(
2372
- isArray(this.localKey) ? this.localKey.map((key2) => model[key2]) : model[this.localKey]
2373
- );
2365
+ const key = this.getResolvedKey(model, this.localKey);
2374
2366
  dictionary[key] ? model.$setRelation(relation, dictionary[key]) : model.$setRelation(relation, []);
2375
2367
  });
2376
2368
  }
@@ -2379,9 +2371,7 @@ class HasMany extends Relation {
2379
2371
  */
2380
2372
  buildDictionary(results) {
2381
2373
  return this.mapToDictionary(results, (result) => {
2382
- const key = this.getKey(
2383
- isArray(this.foreignKey) ? this.foreignKey.map((key2) => result[key2]) : result[this.foreignKey]
2384
- );
2374
+ const key = this.getResolvedKey(result, this.foreignKey);
2385
2375
  return [key, result];
2386
2376
  });
2387
2377
  }
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.cjs';
1
+ import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.cjs';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.mjs';
1
+ import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.mjs';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.js';
1
+ import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.js';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.cjs';
1
+ import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.cjs';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.mjs';
1
+ import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.mjs';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.js';
1
+ import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.js';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.cjs';
1
+ import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.cjs';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.mjs';
1
+ import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.mjs';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -1,4 +1,4 @@
1
- import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.js';
1
+ import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.js';
2
2
  import 'pinia';
3
3
  import '@/composables';
4
4
  import '@pinia-orm/normalizr';
@@ -735,10 +735,6 @@ declare abstract class Relation extends Attribute {
735
735
  * Call a function for a current key match
736
736
  */
737
737
  protected compositeKeyMapper(foreignKey: PrimaryKey, localKey: PrimaryKey, call: (foreignKey: string, localKey: string) => void): void;
738
- /**
739
- * Generate the index key defined by the primary key or keys (composite)
740
- */
741
- protected getKey(key: PrimaryKey): string;
742
738
  /**
743
739
  * Get the index key defined by the primary key or keys (composite)
744
740
  */
@@ -735,10 +735,6 @@ declare abstract class Relation extends Attribute {
735
735
  * Call a function for a current key match
736
736
  */
737
737
  protected compositeKeyMapper(foreignKey: PrimaryKey, localKey: PrimaryKey, call: (foreignKey: string, localKey: string) => void): void;
738
- /**
739
- * Generate the index key defined by the primary key or keys (composite)
740
- */
741
- protected getKey(key: PrimaryKey): string;
742
738
  /**
743
739
  * Get the index key defined by the primary key or keys (composite)
744
740
  */
@@ -735,10 +735,6 @@ declare abstract class Relation extends Attribute {
735
735
  * Call a function for a current key match
736
736
  */
737
737
  protected compositeKeyMapper(foreignKey: PrimaryKey, localKey: PrimaryKey, call: (foreignKey: string, localKey: string) => void): void;
738
- /**
739
- * Generate the index key defined by the primary key or keys (composite)
740
- */
741
- protected getKey(key: PrimaryKey): string;
742
738
  /**
743
739
  * Get the index key defined by the primary key or keys (composite)
744
740
  */
@@ -1,5 +1,5 @@
1
1
  import { V1Options } from 'uuid';
2
- import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.cjs';
2
+ import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.cjs';
3
3
  import 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
@@ -1,5 +1,5 @@
1
1
  import { V1Options } from 'uuid';
2
- import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.mjs';
2
+ import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.mjs';
3
3
  import 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
package/dist/uuid/v1.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { V1Options } from 'uuid';
2
- import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.js';
2
+ import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.js';
3
3
  import 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
@@ -1,5 +1,5 @@
1
1
  import { V4Options } from 'uuid';
2
- import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.cjs';
2
+ import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.cjs';
3
3
  import 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
@@ -1,5 +1,5 @@
1
1
  import { V4Options } from 'uuid';
2
- import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.mjs';
2
+ import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.mjs';
3
3
  import 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
package/dist/uuid/v4.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { V4Options } from 'uuid';
2
- import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.67fc2547.js';
2
+ import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.e4d337f9.js';
3
3
  import 'pinia';
4
4
  import '@/composables';
5
5
  import '@pinia-orm/normalizr';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinia-orm-edge",
3
- "version": "1.10.0-28691799.920f43b",
3
+ "version": "1.10.0-28693034.220b093",
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.10.0-28691799.920f43b"
49
+ "@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@1.10.0-28693034.220b093"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@nuxt/eslint-config": "^0.3.13",