pinia-orm-edge 2.0.0-28996950.cb0f4c0 → 2.0.0-29018591.be8604a
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.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- 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.eiCLbQIe.d.cts → pinia-orm.WrUgKber.d.cts} +7 -7
- package/dist/shared/{pinia-orm.eiCLbQIe.d.mts → pinia-orm.WrUgKber.d.mts} +7 -7
- package/dist/shared/{pinia-orm.eiCLbQIe.d.ts → pinia-orm.WrUgKber.d.ts} +7 -7
- 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 +5 -7
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 { 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.
|
2
|
-
export { at as NanoidOptions } from './shared/pinia-orm.
|
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.WrUgKber.cjs';
|
2
|
+
export { at as NanoidOptions } from './shared/pinia-orm.WrUgKber.cjs';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue';
|
5
5
|
import '@pinia-orm/normalizr';
|
package/dist/decorators.d.mts
CHANGED
@@ -1,5 +1,5 @@
|
|
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.
|
2
|
-
export { at as NanoidOptions } from './shared/pinia-orm.
|
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.WrUgKber.mjs';
|
2
|
+
export { at as NanoidOptions } from './shared/pinia-orm.WrUgKber.mjs';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue';
|
5
5
|
import '@pinia-orm/normalizr';
|
package/dist/decorators.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
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.
|
2
|
-
export { at as NanoidOptions } from './shared/pinia-orm.
|
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.WrUgKber.js';
|
2
|
+
export { at as NanoidOptions } from './shared/pinia-orm.WrUgKber.js';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue';
|
5
5
|
import '@pinia-orm/normalizr';
|
package/dist/helpers.d.cts
CHANGED
package/dist/helpers.d.mts
CHANGED
package/dist/helpers.d.ts
CHANGED
package/dist/index.d.cts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { R as Repository, C as Constructor, M as Model, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.
|
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.
|
1
|
+
import { R as Repository, C as Constructor, M as Model, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.WrUgKber.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.WrUgKber.cjs';
|
3
3
|
import { Pinia } from 'pinia';
|
4
4
|
import 'vue';
|
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, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.
|
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.
|
1
|
+
import { R as Repository, C as Constructor, M as Model, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.WrUgKber.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.WrUgKber.mjs';
|
3
3
|
import { Pinia } from 'pinia';
|
4
4
|
import 'vue';
|
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, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.
|
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.
|
1
|
+
import { R as Repository, C as Constructor, M as Model, W as WeakCache, F as FilledInstallOptions } from './shared/pinia-orm.WrUgKber.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.WrUgKber.js';
|
3
3
|
import { Pinia } from 'pinia';
|
4
4
|
import 'vue';
|
5
5
|
import '@pinia-orm/normalizr';
|
package/dist/nanoid/index.d.cts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.cjs';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue';
|
4
4
|
import '@pinia-orm/normalizr';
|
package/dist/nanoid/index.d.mts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.mjs';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue';
|
4
4
|
import '@pinia-orm/normalizr';
|
package/dist/nanoid/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.js';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue';
|
4
4
|
import '@pinia-orm/normalizr';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.cjs';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue';
|
4
4
|
import '@pinia-orm/normalizr';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.mjs';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue';
|
4
4
|
import '@pinia-orm/normalizr';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
1
|
+
import { a2 as CastAttribute, at as NanoidOptions, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.js';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue';
|
4
4
|
import '@pinia-orm/normalizr';
|
@@ -141,7 +141,7 @@ declare class Attr extends Type {
|
|
141
141
|
make(value: any): any;
|
142
142
|
}
|
143
143
|
|
144
|
-
declare class String
|
144
|
+
declare class String extends Type {
|
145
145
|
/**
|
146
146
|
* Create a new String attribute instance.
|
147
147
|
*/
|
@@ -163,7 +163,7 @@ declare class Number extends Type {
|
|
163
163
|
make(value: any): number | null;
|
164
164
|
}
|
165
165
|
|
166
|
-
declare class Boolean
|
166
|
+
declare class Boolean extends Type {
|
167
167
|
/**
|
168
168
|
* Create a new Boolean attribute instance.
|
169
169
|
*/
|
@@ -427,7 +427,7 @@ declare class Query<M extends Model = Model> {
|
|
427
427
|
/**
|
428
428
|
* The relationships that should be eager loaded.
|
429
429
|
*/
|
430
|
-
protected eagerLoad: EagerLoad<M> |
|
430
|
+
protected eagerLoad: EagerLoad<M> | object;
|
431
431
|
/**
|
432
432
|
* The pinia store.
|
433
433
|
*/
|
@@ -1554,7 +1554,7 @@ declare class Model {
|
|
1554
1554
|
/**
|
1555
1555
|
* Create a new String attribute instance.
|
1556
1556
|
*/
|
1557
|
-
static string(value: TypeDefault<string>): String
|
1557
|
+
static string(value: TypeDefault<string>): String;
|
1558
1558
|
/**
|
1559
1559
|
* Create a new Number attribute instance.
|
1560
1560
|
*/
|
@@ -1562,7 +1562,7 @@ declare class Model {
|
|
1562
1562
|
/**
|
1563
1563
|
* Create a new Boolean attribute instance.
|
1564
1564
|
*/
|
1565
|
-
static boolean(value: TypeDefault<boolean>): Boolean
|
1565
|
+
static boolean(value: TypeDefault<boolean>): Boolean;
|
1566
1566
|
/**
|
1567
1567
|
* Create a new Uid attribute instance.
|
1568
1568
|
*/
|
@@ -1676,7 +1676,7 @@ declare class Model {
|
|
1676
1676
|
/**
|
1677
1677
|
* Get the namespace.
|
1678
1678
|
*/
|
1679
|
-
$namespace():
|
1679
|
+
$namespace(): string;
|
1680
1680
|
/**
|
1681
1681
|
* Get the store name.
|
1682
1682
|
*/
|
@@ -1807,7 +1807,7 @@ declare class Model {
|
|
1807
1807
|
/**
|
1808
1808
|
* Checks if attributes were changed
|
1809
1809
|
*/
|
1810
|
-
$isDirty($attribute?: keyof ModelFields):
|
1810
|
+
$isDirty($attribute?: keyof ModelFields): boolean;
|
1811
1811
|
/**
|
1812
1812
|
* Get the serialized model attributes.
|
1813
1813
|
*/
|
@@ -141,7 +141,7 @@ declare class Attr extends Type {
|
|
141
141
|
make(value: any): any;
|
142
142
|
}
|
143
143
|
|
144
|
-
declare class String
|
144
|
+
declare class String extends Type {
|
145
145
|
/**
|
146
146
|
* Create a new String attribute instance.
|
147
147
|
*/
|
@@ -163,7 +163,7 @@ declare class Number extends Type {
|
|
163
163
|
make(value: any): number | null;
|
164
164
|
}
|
165
165
|
|
166
|
-
declare class Boolean
|
166
|
+
declare class Boolean extends Type {
|
167
167
|
/**
|
168
168
|
* Create a new Boolean attribute instance.
|
169
169
|
*/
|
@@ -427,7 +427,7 @@ declare class Query<M extends Model = Model> {
|
|
427
427
|
/**
|
428
428
|
* The relationships that should be eager loaded.
|
429
429
|
*/
|
430
|
-
protected eagerLoad: EagerLoad<M> |
|
430
|
+
protected eagerLoad: EagerLoad<M> | object;
|
431
431
|
/**
|
432
432
|
* The pinia store.
|
433
433
|
*/
|
@@ -1554,7 +1554,7 @@ declare class Model {
|
|
1554
1554
|
/**
|
1555
1555
|
* Create a new String attribute instance.
|
1556
1556
|
*/
|
1557
|
-
static string(value: TypeDefault<string>): String
|
1557
|
+
static string(value: TypeDefault<string>): String;
|
1558
1558
|
/**
|
1559
1559
|
* Create a new Number attribute instance.
|
1560
1560
|
*/
|
@@ -1562,7 +1562,7 @@ declare class Model {
|
|
1562
1562
|
/**
|
1563
1563
|
* Create a new Boolean attribute instance.
|
1564
1564
|
*/
|
1565
|
-
static boolean(value: TypeDefault<boolean>): Boolean
|
1565
|
+
static boolean(value: TypeDefault<boolean>): Boolean;
|
1566
1566
|
/**
|
1567
1567
|
* Create a new Uid attribute instance.
|
1568
1568
|
*/
|
@@ -1676,7 +1676,7 @@ declare class Model {
|
|
1676
1676
|
/**
|
1677
1677
|
* Get the namespace.
|
1678
1678
|
*/
|
1679
|
-
$namespace():
|
1679
|
+
$namespace(): string;
|
1680
1680
|
/**
|
1681
1681
|
* Get the store name.
|
1682
1682
|
*/
|
@@ -1807,7 +1807,7 @@ declare class Model {
|
|
1807
1807
|
/**
|
1808
1808
|
* Checks if attributes were changed
|
1809
1809
|
*/
|
1810
|
-
$isDirty($attribute?: keyof ModelFields):
|
1810
|
+
$isDirty($attribute?: keyof ModelFields): boolean;
|
1811
1811
|
/**
|
1812
1812
|
* Get the serialized model attributes.
|
1813
1813
|
*/
|
@@ -141,7 +141,7 @@ declare class Attr extends Type {
|
|
141
141
|
make(value: any): any;
|
142
142
|
}
|
143
143
|
|
144
|
-
declare class String
|
144
|
+
declare class String extends Type {
|
145
145
|
/**
|
146
146
|
* Create a new String attribute instance.
|
147
147
|
*/
|
@@ -163,7 +163,7 @@ declare class Number extends Type {
|
|
163
163
|
make(value: any): number | null;
|
164
164
|
}
|
165
165
|
|
166
|
-
declare class Boolean
|
166
|
+
declare class Boolean extends Type {
|
167
167
|
/**
|
168
168
|
* Create a new Boolean attribute instance.
|
169
169
|
*/
|
@@ -427,7 +427,7 @@ declare class Query<M extends Model = Model> {
|
|
427
427
|
/**
|
428
428
|
* The relationships that should be eager loaded.
|
429
429
|
*/
|
430
|
-
protected eagerLoad: EagerLoad<M> |
|
430
|
+
protected eagerLoad: EagerLoad<M> | object;
|
431
431
|
/**
|
432
432
|
* The pinia store.
|
433
433
|
*/
|
@@ -1554,7 +1554,7 @@ declare class Model {
|
|
1554
1554
|
/**
|
1555
1555
|
* Create a new String attribute instance.
|
1556
1556
|
*/
|
1557
|
-
static string(value: TypeDefault<string>): String
|
1557
|
+
static string(value: TypeDefault<string>): String;
|
1558
1558
|
/**
|
1559
1559
|
* Create a new Number attribute instance.
|
1560
1560
|
*/
|
@@ -1562,7 +1562,7 @@ declare class Model {
|
|
1562
1562
|
/**
|
1563
1563
|
* Create a new Boolean attribute instance.
|
1564
1564
|
*/
|
1565
|
-
static boolean(value: TypeDefault<boolean>): Boolean
|
1565
|
+
static boolean(value: TypeDefault<boolean>): Boolean;
|
1566
1566
|
/**
|
1567
1567
|
* Create a new Uid attribute instance.
|
1568
1568
|
*/
|
@@ -1676,7 +1676,7 @@ declare class Model {
|
|
1676
1676
|
/**
|
1677
1677
|
* Get the namespace.
|
1678
1678
|
*/
|
1679
|
-
$namespace():
|
1679
|
+
$namespace(): string;
|
1680
1680
|
/**
|
1681
1681
|
* Get the store name.
|
1682
1682
|
*/
|
@@ -1807,7 +1807,7 @@ declare class Model {
|
|
1807
1807
|
/**
|
1808
1808
|
* Checks if attributes were changed
|
1809
1809
|
*/
|
1810
|
-
$isDirty($attribute?: keyof ModelFields):
|
1810
|
+
$isDirty($attribute?: keyof ModelFields): boolean;
|
1811
1811
|
/**
|
1812
1812
|
* Get the serialized model attributes.
|
1813
1813
|
*/
|
package/dist/uuid/v1.d.cts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { V1Options } from 'uuid';
|
2
|
-
import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
2
|
+
import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.cjs';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue';
|
5
5
|
import '@pinia-orm/normalizr';
|
package/dist/uuid/v1.d.mts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { V1Options } from 'uuid';
|
2
|
-
import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
2
|
+
import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.mjs';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue';
|
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 { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
2
|
+
import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.js';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue';
|
5
5
|
import '@pinia-orm/normalizr';
|
package/dist/uuid/v4.d.cts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { V4Options } from 'uuid';
|
2
|
-
import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
2
|
+
import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.cjs';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue';
|
5
5
|
import '@pinia-orm/normalizr';
|
package/dist/uuid/v4.d.mts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { V4Options } from 'uuid';
|
2
|
-
import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
2
|
+
import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.mjs';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue';
|
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 { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.
|
2
|
+
import { a2 as CastAttribute, q as ModelFields, aq as PropertyDecorator } from '../shared/pinia-orm.WrUgKber.js';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue';
|
5
5
|
import '@pinia-orm/normalizr';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "pinia-orm-edge",
|
3
|
-
"version": "2.0.0-
|
3
|
+
"version": "2.0.0-29018591.be8604a",
|
4
4
|
"description": "The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store.",
|
5
5
|
"keywords": [
|
6
6
|
"vue",
|
@@ -46,24 +46,22 @@
|
|
46
46
|
"pinia": "^3.0.1"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@2.0.0-
|
49
|
+
"@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@2.0.0-29018591.be8604a"
|
50
50
|
},
|
51
51
|
"devDependencies": {
|
52
|
-
"@nuxt/eslint-config": "^
|
53
|
-
"@nuxtjs/eslint-config-typescript": "^12.1.0",
|
52
|
+
"@nuxt/eslint-config": "^1.1.0",
|
54
53
|
"@pinia/testing": "^0.1.3",
|
55
54
|
"@size-limit/preset-small-lib": "^11.1.4",
|
56
55
|
"@types/node": "^22.10.5",
|
57
56
|
"@types/prettier": "^3.0.0",
|
58
57
|
"@types/uuid": "^10.0.0",
|
59
|
-
"@typescript-eslint/parser": "^8.16.0",
|
60
58
|
"@vitest/coverage-v8": "^3.0.5",
|
61
59
|
"@vitest/ui": "^3.0.5",
|
62
60
|
"@vue/composition-api": "^1.7.2",
|
63
61
|
"@vue/test-utils": "^2.4.6",
|
64
62
|
"c8": "^10.1.2",
|
65
63
|
"core-js": "^3.37.1",
|
66
|
-
"eslint": "^9.
|
64
|
+
"eslint": "^9.21.0",
|
67
65
|
"happy-dom": "^16.0.1",
|
68
66
|
"mkdist": "^2.1.0",
|
69
67
|
"nanoid": "^5.1.0",
|
@@ -72,7 +70,7 @@
|
|
72
70
|
"size-limit": "^11.1.4",
|
73
71
|
"std-env": "^3.7.0",
|
74
72
|
"tsup": "^8.1.0",
|
75
|
-
"typescript": "^5.
|
73
|
+
"typescript": "^5.8.2",
|
76
74
|
"unbuild": "^3.1.0",
|
77
75
|
"uuid": "^10.0.0",
|
78
76
|
"vite": "^5.3.3",
|