pinia-orm-edge 1.10.2-28925154.307285d → 1.10.2-28995613.4bc658f
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.cjs +1 -1
- package/dist/casts.d.cts +1 -1
- package/dist/casts.d.mts +1 -1
- package/dist/casts.d.ts +1 -1
- package/dist/casts.mjs +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.cjs +1 -1
- package/dist/helpers.d.cts +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/helpers.d.ts +1 -1
- package/dist/helpers.mjs +1 -1
- package/dist/index.cjs +470 -623
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +470 -623
- package/dist/nanoid/async.cjs +2 -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/async.mjs +2 -8
- package/dist/nanoid/index.cjs +2 -8
- 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/index.mjs +2 -8
- package/dist/nanoid/non-secure.cjs +2 -8
- 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/nanoid/non-secure.mjs +2 -8
- package/dist/shared/{pinia-orm.4ff2e12f.mjs → pinia-orm.C7bM_uXu.mjs} +12 -18
- package/dist/shared/{pinia-orm.a661fdf8.cjs → pinia-orm.CO4kZz81.cjs} +1 -1
- package/dist/shared/{pinia-orm.7ddc00a8.mjs → pinia-orm.DGc38JnV.mjs} +1 -1
- package/dist/shared/{pinia-orm.a7e3e0f3.cjs → pinia-orm.DWjxIbAJ.cjs} +12 -18
- package/dist/uuid/v1.cjs +2 -8
- 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/v1.mjs +2 -8
- package/dist/uuid/v4.cjs +2 -8
- 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/dist/uuid/v4.mjs +2 -8
- package/package.json +8 -8
- /package/dist/shared/{pinia-orm.cf7a7464.d.cts → pinia-orm.Bzthh6rU.d.cts} +0 -0
- /package/dist/shared/{pinia-orm.cf7a7464.d.mts → pinia-orm.Bzthh6rU.d.mts} +0 -0
- /package/dist/shared/{pinia-orm.cf7a7464.d.ts → pinia-orm.Bzthh6rU.d.ts} +0 -0
package/dist/nanoid/async.cjs
CHANGED
@@ -1,15 +1,10 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
const async = require('nanoid/async');
|
4
|
-
const CastAttribute = require('../shared/pinia-orm.
|
4
|
+
const CastAttribute = require('../shared/pinia-orm.DWjxIbAJ.cjs');
|
5
5
|
|
6
|
-
var __defProp = Object.defineProperty;
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
8
|
-
var __publicField = (obj, key, value) => {
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
10
|
-
return value;
|
11
|
-
};
|
12
6
|
class UidCast extends CastAttribute.CastAttribute {
|
7
|
+
static parameters;
|
13
8
|
/**
|
14
9
|
* Create a new String attribute instance.
|
15
10
|
*/
|
@@ -28,7 +23,6 @@ class UidCast extends CastAttribute.CastAttribute {
|
|
28
23
|
return value ?? await nanoid(this.$parameters?.size);
|
29
24
|
}
|
30
25
|
}
|
31
|
-
__publicField(UidCast, "parameters");
|
32
26
|
|
33
27
|
function Uid(options) {
|
34
28
|
return (target, propertyKey) => {
|
package/dist/nanoid/async.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.Bzthh6rU.cjs';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue-demi';
|
4
4
|
import '@pinia-orm/normalizr';
|
package/dist/nanoid/async.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.Bzthh6rU.mjs';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue-demi';
|
4
4
|
import '@pinia-orm/normalizr';
|
package/dist/nanoid/async.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.Bzthh6rU.js';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue-demi';
|
4
4
|
import '@pinia-orm/normalizr';
|
package/dist/nanoid/async.mjs
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
import { customAlphabet, nanoid } from 'nanoid/async';
|
2
|
-
import { C as CastAttribute } from '../shared/pinia-orm.
|
2
|
+
import { C as CastAttribute } from '../shared/pinia-orm.C7bM_uXu.mjs';
|
3
3
|
|
4
|
-
var __defProp = Object.defineProperty;
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
6
|
-
var __publicField = (obj, key, value) => {
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
8
|
-
return value;
|
9
|
-
};
|
10
4
|
class UidCast extends CastAttribute {
|
5
|
+
static parameters;
|
11
6
|
/**
|
12
7
|
* Create a new String attribute instance.
|
13
8
|
*/
|
@@ -26,7 +21,6 @@ class UidCast extends CastAttribute {
|
|
26
21
|
return value ?? await nanoid$1(this.$parameters?.size);
|
27
22
|
}
|
28
23
|
}
|
29
|
-
__publicField(UidCast, "parameters");
|
30
24
|
|
31
25
|
function Uid(options) {
|
32
26
|
return (target, propertyKey) => {
|
package/dist/nanoid/index.cjs
CHANGED
@@ -1,15 +1,10 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
const nanoid = require('nanoid');
|
4
|
-
const CastAttribute = require('../shared/pinia-orm.
|
4
|
+
const CastAttribute = require('../shared/pinia-orm.DWjxIbAJ.cjs');
|
5
5
|
|
6
|
-
var __defProp = Object.defineProperty;
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
8
|
-
var __publicField = (obj, key, value) => {
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
10
|
-
return value;
|
11
|
-
};
|
12
6
|
class UidCast extends CastAttribute.CastAttribute {
|
7
|
+
static parameters;
|
13
8
|
/**
|
14
9
|
* Create a new String attribute instance.
|
15
10
|
*/
|
@@ -28,7 +23,6 @@ class UidCast extends CastAttribute.CastAttribute {
|
|
28
23
|
return value ?? nanoid$1(this.$parameters?.size);
|
29
24
|
}
|
30
25
|
}
|
31
|
-
__publicField(UidCast, "parameters");
|
32
26
|
|
33
27
|
function Uid(options) {
|
34
28
|
return (target, propertyKey) => {
|
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.Bzthh6rU.cjs';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue-demi';
|
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.Bzthh6rU.mjs';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue-demi';
|
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.Bzthh6rU.js';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue-demi';
|
4
4
|
import '@pinia-orm/normalizr';
|
package/dist/nanoid/index.mjs
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
import { customAlphabet, nanoid } from 'nanoid';
|
2
|
-
import { C as CastAttribute } from '../shared/pinia-orm.
|
2
|
+
import { C as CastAttribute } from '../shared/pinia-orm.C7bM_uXu.mjs';
|
3
3
|
|
4
|
-
var __defProp = Object.defineProperty;
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
6
|
-
var __publicField = (obj, key, value) => {
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
8
|
-
return value;
|
9
|
-
};
|
10
4
|
class UidCast extends CastAttribute {
|
5
|
+
static parameters;
|
11
6
|
/**
|
12
7
|
* Create a new String attribute instance.
|
13
8
|
*/
|
@@ -26,7 +21,6 @@ class UidCast extends CastAttribute {
|
|
26
21
|
return value ?? nanoid$1(this.$parameters?.size);
|
27
22
|
}
|
28
23
|
}
|
29
|
-
__publicField(UidCast, "parameters");
|
30
24
|
|
31
25
|
function Uid(options) {
|
32
26
|
return (target, propertyKey) => {
|
@@ -1,15 +1,10 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
const nonSecure = require('nanoid/non-secure');
|
4
|
-
const CastAttribute = require('../shared/pinia-orm.
|
4
|
+
const CastAttribute = require('../shared/pinia-orm.DWjxIbAJ.cjs');
|
5
5
|
|
6
|
-
var __defProp = Object.defineProperty;
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
8
|
-
var __publicField = (obj, key, value) => {
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
10
|
-
return value;
|
11
|
-
};
|
12
6
|
class UidCast extends CastAttribute.CastAttribute {
|
7
|
+
static parameters;
|
13
8
|
/**
|
14
9
|
* Create a new String attribute instance.
|
15
10
|
*/
|
@@ -28,7 +23,6 @@ class UidCast extends CastAttribute.CastAttribute {
|
|
28
23
|
return value ?? nanoid(this.$parameters?.size);
|
29
24
|
}
|
30
25
|
}
|
31
|
-
__publicField(UidCast, "parameters");
|
32
26
|
|
33
27
|
function Uid(options) {
|
34
28
|
return (target, propertyKey) => {
|
@@ -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.Bzthh6rU.cjs';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue-demi';
|
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.Bzthh6rU.mjs';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue-demi';
|
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.Bzthh6rU.js';
|
2
2
|
import 'pinia';
|
3
3
|
import 'vue-demi';
|
4
4
|
import '@pinia-orm/normalizr';
|
@@ -1,13 +1,8 @@
|
|
1
1
|
import { customAlphabet, nanoid } from 'nanoid/non-secure';
|
2
|
-
import { C as CastAttribute } from '../shared/pinia-orm.
|
2
|
+
import { C as CastAttribute } from '../shared/pinia-orm.C7bM_uXu.mjs';
|
3
3
|
|
4
|
-
var __defProp = Object.defineProperty;
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
6
|
-
var __publicField = (obj, key, value) => {
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
8
|
-
return value;
|
9
|
-
};
|
10
4
|
class UidCast extends CastAttribute {
|
5
|
+
static parameters;
|
11
6
|
/**
|
12
7
|
* Create a new String attribute instance.
|
13
8
|
*/
|
@@ -26,7 +21,6 @@ class UidCast extends CastAttribute {
|
|
26
21
|
return value ?? nanoid$1(this.$parameters?.size);
|
27
22
|
}
|
28
23
|
}
|
29
|
-
__publicField(UidCast, "parameters");
|
30
24
|
|
31
25
|
function Uid(options) {
|
32
26
|
return (target, propertyKey) => {
|
@@ -1,18 +1,20 @@
|
|
1
|
-
var __defProp = Object.defineProperty;
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
3
|
-
var __publicField = (obj, key, value) => {
|
4
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
5
|
-
return value;
|
6
|
-
};
|
7
1
|
class CastAttribute {
|
2
|
+
/**
|
3
|
+
* The model instance.
|
4
|
+
*/
|
5
|
+
static attributes;
|
6
|
+
/**
|
7
|
+
* Cast parameters
|
8
|
+
*/
|
9
|
+
static parameters;
|
10
|
+
/**
|
11
|
+
* Default parameters
|
12
|
+
*/
|
13
|
+
$parameters = {};
|
8
14
|
/**
|
9
15
|
* Create a new Attribute instance.
|
10
16
|
*/
|
11
17
|
constructor(attributes) {
|
12
|
-
/**
|
13
|
-
* Default parameters
|
14
|
-
*/
|
15
|
-
__publicField(this, "$parameters", {});
|
16
18
|
this.$self().attributes = attributes;
|
17
19
|
this.$parameters = {
|
18
20
|
...this.$parameters,
|
@@ -54,13 +56,5 @@ class CastAttribute {
|
|
54
56
|
return new this(attributes);
|
55
57
|
}
|
56
58
|
}
|
57
|
-
/**
|
58
|
-
* The model instance.
|
59
|
-
*/
|
60
|
-
__publicField(CastAttribute, "attributes");
|
61
|
-
/**
|
62
|
-
* Cast parameters
|
63
|
-
*/
|
64
|
-
__publicField(CastAttribute, "parameters");
|
65
59
|
|
66
60
|
export { CastAttribute as C };
|
@@ -127,7 +127,7 @@ function generateId(size2, alphabet) {
|
|
127
127
|
return id;
|
128
128
|
}
|
129
129
|
function generateKey(key, params) {
|
130
|
-
const keyValues =
|
130
|
+
const keyValues = { key, params } ;
|
131
131
|
const stringifiedKey = JSON.stringify(keyValues);
|
132
132
|
return typeof process === "undefined" ? btoa(stringifiedKey) : stringifiedKey;
|
133
133
|
}
|
@@ -125,7 +125,7 @@ function generateId(size2, alphabet) {
|
|
125
125
|
return id;
|
126
126
|
}
|
127
127
|
function generateKey(key, params) {
|
128
|
-
const keyValues =
|
128
|
+
const keyValues = { key, params } ;
|
129
129
|
const stringifiedKey = JSON.stringify(keyValues);
|
130
130
|
return typeof process === "undefined" ? btoa(stringifiedKey) : stringifiedKey;
|
131
131
|
}
|
@@ -1,20 +1,22 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
5
|
-
var __publicField = (obj, key, value) => {
|
6
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
7
|
-
return value;
|
8
|
-
};
|
9
3
|
class CastAttribute {
|
4
|
+
/**
|
5
|
+
* The model instance.
|
6
|
+
*/
|
7
|
+
static attributes;
|
8
|
+
/**
|
9
|
+
* Cast parameters
|
10
|
+
*/
|
11
|
+
static parameters;
|
12
|
+
/**
|
13
|
+
* Default parameters
|
14
|
+
*/
|
15
|
+
$parameters = {};
|
10
16
|
/**
|
11
17
|
* Create a new Attribute instance.
|
12
18
|
*/
|
13
19
|
constructor(attributes) {
|
14
|
-
/**
|
15
|
-
* Default parameters
|
16
|
-
*/
|
17
|
-
__publicField(this, "$parameters", {});
|
18
20
|
this.$self().attributes = attributes;
|
19
21
|
this.$parameters = {
|
20
22
|
...this.$parameters,
|
@@ -56,13 +58,5 @@ class CastAttribute {
|
|
56
58
|
return new this(attributes);
|
57
59
|
}
|
58
60
|
}
|
59
|
-
/**
|
60
|
-
* The model instance.
|
61
|
-
*/
|
62
|
-
__publicField(CastAttribute, "attributes");
|
63
|
-
/**
|
64
|
-
* Cast parameters
|
65
|
-
*/
|
66
|
-
__publicField(CastAttribute, "parameters");
|
67
61
|
|
68
62
|
exports.CastAttribute = CastAttribute;
|
package/dist/uuid/v1.cjs
CHANGED
@@ -1,15 +1,10 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
const uuid = require('uuid');
|
4
|
-
const CastAttribute = require('../shared/pinia-orm.
|
4
|
+
const CastAttribute = require('../shared/pinia-orm.DWjxIbAJ.cjs');
|
5
5
|
|
6
|
-
var __defProp = Object.defineProperty;
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
8
|
-
var __publicField = (obj, key, value) => {
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
10
|
-
return value;
|
11
|
-
};
|
12
6
|
class UidCast extends CastAttribute.CastAttribute {
|
7
|
+
static parameters;
|
13
8
|
/**
|
14
9
|
* Create a new String attribute instance.
|
15
10
|
*/
|
@@ -27,7 +22,6 @@ class UidCast extends CastAttribute.CastAttribute {
|
|
27
22
|
return value ?? uuid.v1(this.$parameters);
|
28
23
|
}
|
29
24
|
}
|
30
|
-
__publicField(UidCast, "parameters");
|
31
25
|
|
32
26
|
function Uid(options) {
|
33
27
|
return (target, propertyKey) => {
|
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.Bzthh6rU.cjs';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue-demi';
|
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.Bzthh6rU.mjs';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue-demi';
|
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.Bzthh6rU.js';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue-demi';
|
5
5
|
import '@pinia-orm/normalizr';
|
package/dist/uuid/v1.mjs
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
import { v1 } from 'uuid';
|
2
|
-
import { C as CastAttribute } from '../shared/pinia-orm.
|
2
|
+
import { C as CastAttribute } from '../shared/pinia-orm.C7bM_uXu.mjs';
|
3
3
|
|
4
|
-
var __defProp = Object.defineProperty;
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
6
|
-
var __publicField = (obj, key, value) => {
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
8
|
-
return value;
|
9
|
-
};
|
10
4
|
class UidCast extends CastAttribute {
|
5
|
+
static parameters;
|
11
6
|
/**
|
12
7
|
* Create a new String attribute instance.
|
13
8
|
*/
|
@@ -25,7 +20,6 @@ class UidCast extends CastAttribute {
|
|
25
20
|
return value ?? v1(this.$parameters);
|
26
21
|
}
|
27
22
|
}
|
28
|
-
__publicField(UidCast, "parameters");
|
29
23
|
|
30
24
|
function Uid(options) {
|
31
25
|
return (target, propertyKey) => {
|
package/dist/uuid/v4.cjs
CHANGED
@@ -1,15 +1,10 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
const uuid = require('uuid');
|
4
|
-
const CastAttribute = require('../shared/pinia-orm.
|
4
|
+
const CastAttribute = require('../shared/pinia-orm.DWjxIbAJ.cjs');
|
5
5
|
|
6
|
-
var __defProp = Object.defineProperty;
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
8
|
-
var __publicField = (obj, key, value) => {
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
10
|
-
return value;
|
11
|
-
};
|
12
6
|
class UidCast extends CastAttribute.CastAttribute {
|
7
|
+
static parameters;
|
13
8
|
/**
|
14
9
|
* Create a new String attribute instance.
|
15
10
|
*/
|
@@ -27,7 +22,6 @@ class UidCast extends CastAttribute.CastAttribute {
|
|
27
22
|
return value ?? uuid.v4(this.$parameters);
|
28
23
|
}
|
29
24
|
}
|
30
|
-
__publicField(UidCast, "parameters");
|
31
25
|
|
32
26
|
function Uid(options) {
|
33
27
|
return (target, propertyKey) => {
|
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.Bzthh6rU.cjs';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue-demi';
|
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.Bzthh6rU.mjs';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue-demi';
|
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.Bzthh6rU.js';
|
3
3
|
import 'pinia';
|
4
4
|
import 'vue-demi';
|
5
5
|
import '@pinia-orm/normalizr';
|
package/dist/uuid/v4.mjs
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
import { v4 } from 'uuid';
|
2
|
-
import { C as CastAttribute } from '../shared/pinia-orm.
|
2
|
+
import { C as CastAttribute } from '../shared/pinia-orm.C7bM_uXu.mjs';
|
3
3
|
|
4
|
-
var __defProp = Object.defineProperty;
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
6
|
-
var __publicField = (obj, key, value) => {
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
8
|
-
return value;
|
9
|
-
};
|
10
4
|
class UidCast extends CastAttribute {
|
5
|
+
static parameters;
|
11
6
|
/**
|
12
7
|
* Create a new String attribute instance.
|
13
8
|
*/
|
@@ -25,7 +20,6 @@ class UidCast extends CastAttribute {
|
|
25
20
|
return value ?? v4(this.$parameters);
|
26
21
|
}
|
27
22
|
}
|
28
|
-
__publicField(UidCast, "parameters");
|
29
23
|
|
30
24
|
function Uid(options) {
|
31
25
|
return (target, propertyKey) => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "pinia-orm-edge",
|
3
|
-
"version": "1.10.2-
|
3
|
+
"version": "1.10.2-28995613.4bc658f",
|
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.2-
|
49
|
+
"@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@1.10.2-28995613.4bc658f",
|
50
50
|
"vue-demi": "^0.14.10"
|
51
51
|
},
|
52
52
|
"devDependencies": {
|
@@ -54,12 +54,12 @@
|
|
54
54
|
"@nuxtjs/eslint-config-typescript": "^12.1.0",
|
55
55
|
"@pinia/testing": "^0.1.3",
|
56
56
|
"@size-limit/preset-small-lib": "^11.1.4",
|
57
|
-
"@types/node": "^
|
57
|
+
"@types/node": "^22.10.5",
|
58
58
|
"@types/prettier": "^3.0.0",
|
59
59
|
"@types/uuid": "^10.0.0",
|
60
60
|
"@typescript-eslint/parser": "^8.16.0",
|
61
|
-
"@vitest/coverage-v8": "^
|
62
|
-
"@vitest/ui": "^
|
61
|
+
"@vitest/coverage-v8": "^3.0.5",
|
62
|
+
"@vitest/ui": "^3.0.5",
|
63
63
|
"@vue/composition-api": "^1.7.2",
|
64
64
|
"@vue/test-utils": "^2.4.6",
|
65
65
|
"c8": "^10.1.2",
|
@@ -74,10 +74,10 @@
|
|
74
74
|
"std-env": "^3.7.0",
|
75
75
|
"tsup": "^8.1.0",
|
76
76
|
"typescript": "^5.7.2",
|
77
|
-
"unbuild": "^
|
77
|
+
"unbuild": "^3.1.0",
|
78
78
|
"uuid": "^10.0.0",
|
79
79
|
"vite": "^5.3.3",
|
80
|
-
"vitest": "^
|
80
|
+
"vitest": "^3.0.5",
|
81
81
|
"vue": "^3.4.31",
|
82
82
|
"vue2": "npm:vue@^2.7.3"
|
83
83
|
},
|
@@ -100,7 +100,7 @@
|
|
100
100
|
}
|
101
101
|
],
|
102
102
|
"volta": {
|
103
|
-
"node": "
|
103
|
+
"node": "22.12.0"
|
104
104
|
},
|
105
105
|
"repository": {
|
106
106
|
"type": "git",
|
File without changes
|
File without changes
|
File without changes
|