pinia-orm-edge 1.9.0-28585831.26cab8e → 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/casts.d.cts +1 -1
- package/dist/casts.d.mts +1 -1
- package/dist/casts.d.ts +1 -1
- package/dist/decorators.d.cts +2 -2
- package/dist/decorators.d.mts +2 -2
- package/dist/decorators.d.ts +2 -2
- package/dist/helpers.d.cts +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/helpers.d.ts +1 -1
- package/dist/index.cjs +9 -8
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +9 -8
- package/dist/nanoid/async.d.cts +1 -1
- package/dist/nanoid/async.d.mts +1 -1
- package/dist/nanoid/async.d.ts +1 -1
- package/dist/nanoid/index.d.cts +1 -1
- package/dist/nanoid/index.d.mts +1 -1
- package/dist/nanoid/index.d.ts +1 -1
- package/dist/nanoid/non-secure.d.cts +1 -1
- package/dist/nanoid/non-secure.d.mts +1 -1
- package/dist/nanoid/non-secure.d.ts +1 -1
- package/dist/shared/{pinia-orm.b5d0a9df.d.cts → pinia-orm.f37062c8.d.cts} +1 -1
- package/dist/shared/{pinia-orm.b5d0a9df.d.mts → pinia-orm.f37062c8.d.mts} +1 -1
- package/dist/shared/{pinia-orm.b5d0a9df.d.ts → pinia-orm.f37062c8.d.ts} +1 -1
- package/dist/uuid/v1.d.cts +1 -1
- package/dist/uuid/v1.d.mts +1 -1
- package/dist/uuid/v1.d.ts +1 -1
- package/dist/uuid/v4.d.cts +1 -1
- package/dist/uuid/v4.d.mts +1 -1
- package/dist/uuid/v4.d.ts +1 -1
- package/package.json +2 -2
package/dist/casts.d.cts
CHANGED
package/dist/casts.d.mts
CHANGED
package/dist/casts.d.ts
CHANGED
package/dist/decorators.d.cts
CHANGED
@@ -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.
|
2
|
-
export { aq as NanoidOptions } from './shared/pinia-orm.
|
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.f37062c8.cjs';
|
2
|
+
export { aq as NanoidOptions } from './shared/pinia-orm.f37062c8.cjs';
|
3
3
|
import 'pinia';
|
4
4
|
import '@pinia-orm/normalizr';
|
5
5
|
import '@/composables';
|
package/dist/decorators.d.mts
CHANGED
@@ -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.
|
2
|
-
export { aq as NanoidOptions } from './shared/pinia-orm.
|
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.f37062c8.mjs';
|
2
|
+
export { aq as NanoidOptions } from './shared/pinia-orm.f37062c8.mjs';
|
3
3
|
import 'pinia';
|
4
4
|
import '@pinia-orm/normalizr';
|
5
5
|
import '@/composables';
|
package/dist/decorators.d.ts
CHANGED
@@ -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.
|
2
|
-
export { aq as NanoidOptions } from './shared/pinia-orm.
|
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.f37062c8.js';
|
2
|
+
export { aq as NanoidOptions } from './shared/pinia-orm.f37062c8.js';
|
3
3
|
import 'pinia';
|
4
4
|
import '@pinia-orm/normalizr';
|
5
5
|
import '@/composables';
|
package/dist/helpers.d.cts
CHANGED
package/dist/helpers.d.mts
CHANGED
package/dist/helpers.d.ts
CHANGED
package/dist/index.cjs
CHANGED
@@ -1347,17 +1347,17 @@ class Query {
|
|
1347
1347
|
for (const id in elements) {
|
1348
1348
|
const record = elements[id];
|
1349
1349
|
const existing = currentData[id];
|
1350
|
-
let model = existing ? this.hydrate(
|
1351
|
-
const isSaving = model.$self().saving(model,
|
1352
|
-
const isUpdatingOrCreating = existing ? model.$self().updating(model,
|
1350
|
+
let model = existing ? Object.assign(this.hydrate(existing, { operation: "set", action: "update" }), record) : this.hydrate(record, { operation: "set", action: "save" });
|
1351
|
+
const isSaving = model.$self().saving(model, record);
|
1352
|
+
const isUpdatingOrCreating = existing ? model.$self().updating(model, record) : model.$self().creating(model, record);
|
1353
1353
|
if (isSaving === false || isUpdatingOrCreating === false) {
|
1354
1354
|
continue;
|
1355
1355
|
}
|
1356
1356
|
if (model.$isDirty()) {
|
1357
1357
|
model = this.hydrate(model.$getAttributes(), { operation: "set", action: existing ? "update" : "save" });
|
1358
1358
|
}
|
1359
|
-
afterSavingHooks.push(() => model.$self().saved(model,
|
1360
|
-
afterSavingHooks.push(() => existing ? model.$self().updated(model,
|
1359
|
+
afterSavingHooks.push(() => model.$self().saved(model, record));
|
1360
|
+
afterSavingHooks.push(() => existing ? model.$self().updated(model, record) : model.$self().created(model, record));
|
1361
1361
|
newData[id] = model.$getAttributes();
|
1362
1362
|
if (Object.values(model.$types()).length > 0 && !newData[id][model.$typeKey()]) {
|
1363
1363
|
newData[id][model.$typeKey()] = record[model.$typeKey()];
|
@@ -1388,11 +1388,12 @@ class Query {
|
|
1388
1388
|
return [];
|
1389
1389
|
}
|
1390
1390
|
const newModels = models.map((model) => {
|
1391
|
-
const
|
1392
|
-
if (model.$self().updating(
|
1391
|
+
const oldModelUpdate = Object.assign(this.hydrate(model.$getAttributes(), { action: "update", operation: "set" }), record);
|
1392
|
+
if (model.$self().updating(oldModelUpdate, record) === false) {
|
1393
1393
|
return model;
|
1394
1394
|
}
|
1395
|
-
newModel.$
|
1395
|
+
const newModel = oldModelUpdate.$isDirty() ? this.hydrate({ ...model.$getAttributes(), ...record }, { action: "update", operation: "set" }) : oldModelUpdate;
|
1396
|
+
newModel.$self().updated(newModel, record);
|
1396
1397
|
return newModel;
|
1397
1398
|
});
|
1398
1399
|
this.commit("update", this.compile(newModels));
|
package/dist/index.d.cts
CHANGED
@@ -1,10 +1,10 @@
|
|
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.
|
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.
|
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.f37062c8.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.f37062c8.cjs';
|
3
3
|
import { Pinia } from 'pinia';
|
4
4
|
import '@pinia-orm/normalizr';
|
5
5
|
import '@/composables';
|
6
6
|
|
7
|
-
declare function useRepo<R extends Repository
|
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
@@ -1,10 +1,10 @@
|
|
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.
|
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.
|
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.f37062c8.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.f37062c8.mjs';
|
3
3
|
import { Pinia } from 'pinia';
|
4
4
|
import '@pinia-orm/normalizr';
|
5
5
|
import '@/composables';
|
6
6
|
|
7
|
-
declare function useRepo<R extends Repository
|
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
@@ -1,10 +1,10 @@
|
|
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.
|
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.
|
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.f37062c8.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.f37062c8.js';
|
3
3
|
import { Pinia } from 'pinia';
|
4
4
|
import '@pinia-orm/normalizr';
|
5
5
|
import '@/composables';
|
6
6
|
|
7
|
-
declare function useRepo<R extends Repository
|
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.mjs
CHANGED
@@ -1345,17 +1345,17 @@ class Query {
|
|
1345
1345
|
for (const id in elements) {
|
1346
1346
|
const record = elements[id];
|
1347
1347
|
const existing = currentData[id];
|
1348
|
-
let model = existing ? this.hydrate(
|
1349
|
-
const isSaving = model.$self().saving(model,
|
1350
|
-
const isUpdatingOrCreating = existing ? model.$self().updating(model,
|
1348
|
+
let model = existing ? Object.assign(this.hydrate(existing, { operation: "set", action: "update" }), record) : this.hydrate(record, { operation: "set", action: "save" });
|
1349
|
+
const isSaving = model.$self().saving(model, record);
|
1350
|
+
const isUpdatingOrCreating = existing ? model.$self().updating(model, record) : model.$self().creating(model, record);
|
1351
1351
|
if (isSaving === false || isUpdatingOrCreating === false) {
|
1352
1352
|
continue;
|
1353
1353
|
}
|
1354
1354
|
if (model.$isDirty()) {
|
1355
1355
|
model = this.hydrate(model.$getAttributes(), { operation: "set", action: existing ? "update" : "save" });
|
1356
1356
|
}
|
1357
|
-
afterSavingHooks.push(() => model.$self().saved(model,
|
1358
|
-
afterSavingHooks.push(() => existing ? model.$self().updated(model,
|
1357
|
+
afterSavingHooks.push(() => model.$self().saved(model, record));
|
1358
|
+
afterSavingHooks.push(() => existing ? model.$self().updated(model, record) : model.$self().created(model, record));
|
1359
1359
|
newData[id] = model.$getAttributes();
|
1360
1360
|
if (Object.values(model.$types()).length > 0 && !newData[id][model.$typeKey()]) {
|
1361
1361
|
newData[id][model.$typeKey()] = record[model.$typeKey()];
|
@@ -1386,11 +1386,12 @@ class Query {
|
|
1386
1386
|
return [];
|
1387
1387
|
}
|
1388
1388
|
const newModels = models.map((model) => {
|
1389
|
-
const
|
1390
|
-
if (model.$self().updating(
|
1389
|
+
const oldModelUpdate = Object.assign(this.hydrate(model.$getAttributes(), { action: "update", operation: "set" }), record);
|
1390
|
+
if (model.$self().updating(oldModelUpdate, record) === false) {
|
1391
1391
|
return model;
|
1392
1392
|
}
|
1393
|
-
newModel.$
|
1393
|
+
const newModel = oldModelUpdate.$isDirty() ? this.hydrate({ ...model.$getAttributes(), ...record }, { action: "update", operation: "set" }) : oldModelUpdate;
|
1394
|
+
newModel.$self().updated(newModel, record);
|
1394
1395
|
return newModel;
|
1395
1396
|
});
|
1396
1397
|
this.commit("update", this.compile(newModels));
|
package/dist/nanoid/async.d.cts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.cjs';
|
2
2
|
import 'pinia';
|
3
3
|
import '@pinia-orm/normalizr';
|
4
4
|
import '@/composables';
|
package/dist/nanoid/async.d.mts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.mjs';
|
2
2
|
import 'pinia';
|
3
3
|
import '@pinia-orm/normalizr';
|
4
4
|
import '@/composables';
|
package/dist/nanoid/async.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.js';
|
2
2
|
import 'pinia';
|
3
3
|
import '@pinia-orm/normalizr';
|
4
4
|
import '@/composables';
|
package/dist/nanoid/index.d.cts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.cjs';
|
2
2
|
import 'pinia';
|
3
3
|
import '@pinia-orm/normalizr';
|
4
4
|
import '@/composables';
|
package/dist/nanoid/index.d.mts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.mjs';
|
2
2
|
import 'pinia';
|
3
3
|
import '@pinia-orm/normalizr';
|
4
4
|
import '@/composables';
|
package/dist/nanoid/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.js';
|
2
2
|
import 'pinia';
|
3
3
|
import '@pinia-orm/normalizr';
|
4
4
|
import '@/composables';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.cjs';
|
2
2
|
import 'pinia';
|
3
3
|
import '@pinia-orm/normalizr';
|
4
4
|
import '@/composables';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.mjs';
|
2
2
|
import 'pinia';
|
3
3
|
import '@pinia-orm/normalizr';
|
4
4
|
import '@/composables';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a0 as CastAttribute, aq as NanoidOptions, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.js';
|
2
2
|
import 'pinia';
|
3
3
|
import '@pinia-orm/normalizr';
|
4
4
|
import '@/composables';
|
@@ -1670,7 +1670,7 @@ declare class Model {
|
|
1670
1670
|
* by the attributes default value.
|
1671
1671
|
*/
|
1672
1672
|
$fill(attributes?: Element, options?: ModelOptions): this;
|
1673
|
-
|
1673
|
+
$fillMeta(action?: string): void;
|
1674
1674
|
/**
|
1675
1675
|
* Fill the given attribute with a given value specified by the given key.
|
1676
1676
|
*/
|
@@ -1670,7 +1670,7 @@ declare class Model {
|
|
1670
1670
|
* by the attributes default value.
|
1671
1671
|
*/
|
1672
1672
|
$fill(attributes?: Element, options?: ModelOptions): this;
|
1673
|
-
|
1673
|
+
$fillMeta(action?: string): void;
|
1674
1674
|
/**
|
1675
1675
|
* Fill the given attribute with a given value specified by the given key.
|
1676
1676
|
*/
|
@@ -1670,7 +1670,7 @@ declare class Model {
|
|
1670
1670
|
* by the attributes default value.
|
1671
1671
|
*/
|
1672
1672
|
$fill(attributes?: Element, options?: ModelOptions): this;
|
1673
|
-
|
1673
|
+
$fillMeta(action?: string): void;
|
1674
1674
|
/**
|
1675
1675
|
* Fill the given attribute with a given value specified by the given key.
|
1676
1676
|
*/
|
package/dist/uuid/v1.d.cts
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.
|
2
|
+
import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.cjs';
|
3
3
|
import 'pinia';
|
4
4
|
import '@pinia-orm/normalizr';
|
5
5
|
import '@/composables';
|
package/dist/uuid/v1.d.mts
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.
|
2
|
+
import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.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 { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
2
|
+
import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.js';
|
3
3
|
import 'pinia';
|
4
4
|
import '@pinia-orm/normalizr';
|
5
5
|
import '@/composables';
|
package/dist/uuid/v4.d.cts
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.
|
2
|
+
import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.cjs';
|
3
3
|
import 'pinia';
|
4
4
|
import '@pinia-orm/normalizr';
|
5
5
|
import '@/composables';
|
package/dist/uuid/v4.d.mts
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.
|
2
|
+
import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.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 { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.
|
2
|
+
import { a0 as CastAttribute, m as ModelFields, an as PropertyDecorator } from '../shared/pinia-orm.f37062c8.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.9.
|
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.
|
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",
|