@appsemble/utils 0.20.25 → 0.20.26
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/README.md +4 -4
- package/api/components/schemas/StorageAppendActionDefinition.js +1 -1
- package/api/components/schemas/StorageAppendActionDefinition.js.map +1 -1
- package/api/components/schemas/StorageAppendActionDefinition.ts +1 -1
- package/api/components/schemas/StorageDeleteActionDefinition.js +1 -1
- package/api/components/schemas/StorageDeleteActionDefinition.js.map +1 -1
- package/api/components/schemas/StorageDeleteActionDefinition.ts +1 -1
- package/api/components/schemas/StorageReadActionDefinition.js +1 -1
- package/api/components/schemas/StorageReadActionDefinition.js.map +1 -1
- package/api/components/schemas/StorageReadActionDefinition.ts +1 -1
- package/api/components/schemas/StorageSubtractActionDefinition.js +1 -1
- package/api/components/schemas/StorageSubtractActionDefinition.js.map +1 -1
- package/api/components/schemas/StorageSubtractActionDefinition.ts +1 -1
- package/api/components/schemas/StorageUpdateActionDefinition.js +1 -1
- package/api/components/schemas/StorageUpdateActionDefinition.js.map +1 -1
- package/api/components/schemas/StorageUpdateActionDefinition.ts +1 -1
- package/api/components/schemas/StorageWriteActionDefinition.js +1 -1
- package/api/components/schemas/StorageWriteActionDefinition.js.map +1 -1
- package/api/components/schemas/StorageWriteActionDefinition.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#  Appsemble Utilities
|
|
2
2
|
|
|
3
3
|
> Internal utility functions used across multiple Appsemble projects.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/utils)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.20.26)
|
|
7
|
+
[](https://codecov.io/gl/appsemble/appsemble)
|
|
8
8
|
[](https://prettier.io)
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
@@ -21,5 +21,5 @@ not guaranteed.
|
|
|
21
21
|
|
|
22
22
|
## License
|
|
23
23
|
|
|
24
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.
|
|
24
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.26/LICENSE.md) ©
|
|
25
25
|
[Appsemble](https://appsemble.com)
|
|
@@ -34,7 +34,7 @@ remapBefore:
|
|
|
34
34
|
description: 'The data to write on top of the storage entry.',
|
|
35
35
|
},
|
|
36
36
|
storage: {
|
|
37
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
37
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
38
38
|
description: 'The mechanism used to store the data.',
|
|
39
39
|
default: 'indexedDB',
|
|
40
40
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageAppendActionDefinition.js","sourceRoot":"","sources":["StorageAppendActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAClF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC;IAClC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,gBAAgB,CAAC;YACxB,WAAW,EAAE;;;;;;;;;;;;;;;;CAgBlB;SACI;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,+BAA+B;SAC7C;QACD,KAAK,EAAE;YACL,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,gDAAgD;SAC9D;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"StorageAppendActionDefinition.js","sourceRoot":"","sources":["StorageAppendActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAClF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC;IAClC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,gBAAgB,CAAC;YACxB,WAAW,EAAE;;;;;;;;;;;;;;;;CAgBlB;SACI;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,+BAA+B;SAC7C;QACD,KAAK,EAAE;YACL,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,gDAAgD;SAC9D;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,CAAC;YACnE,WAAW,EAAE,uCAAuC;YACpD,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAC,CAAC"}
|
|
@@ -35,7 +35,7 @@ remapBefore:
|
|
|
35
35
|
description: 'The data to write on top of the storage entry.',
|
|
36
36
|
},
|
|
37
37
|
storage: {
|
|
38
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
38
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
39
39
|
description: 'The mechanism used to store the data.',
|
|
40
40
|
default: 'indexedDB',
|
|
41
41
|
},
|
|
@@ -22,7 +22,7 @@ storage: localStorage
|
|
|
22
22
|
description: 'The key of the storage entry to remove.',
|
|
23
23
|
},
|
|
24
24
|
storage: {
|
|
25
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
25
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
26
26
|
description: 'The mechanism used to remove the data from.',
|
|
27
27
|
default: 'indexedDB',
|
|
28
28
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageDeleteActionDefinition.js","sourceRoot":"","sources":["StorageDeleteActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAClF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;IACzB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,gBAAgB,CAAC;YACxB,WAAW,EAAE;;;;;;;;OAQZ;SACF;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,yCAAyC;SACvD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"StorageDeleteActionDefinition.js","sourceRoot":"","sources":["StorageDeleteActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAClF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;IACzB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,gBAAgB,CAAC;YACxB,WAAW,EAAE;;;;;;;;OAQZ;SACF;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,yCAAyC;SACvD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,CAAC;YACnE,WAAW,EAAE,6CAA6C;YAC1D,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAC,CAAC"}
|
|
@@ -23,7 +23,7 @@ storage: localStorage
|
|
|
23
23
|
description: 'The key of the storage entry to remove.',
|
|
24
24
|
},
|
|
25
25
|
storage: {
|
|
26
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
26
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
27
27
|
description: 'The mechanism used to remove the data from.',
|
|
28
28
|
default: 'indexedDB',
|
|
29
29
|
},
|
|
@@ -23,7 +23,7 @@ storage: localStorage
|
|
|
23
23
|
description: 'The key of the storage entry.',
|
|
24
24
|
},
|
|
25
25
|
storage: {
|
|
26
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
26
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
27
27
|
description: 'The mechanism used to read the data from.',
|
|
28
28
|
default: 'indexedDB',
|
|
29
29
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageReadActionDefinition.js","sourceRoot":"","sources":["StorageReadActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,2BAA2B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAChF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;IACzB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,cAAc,CAAC;YACtB,WAAW,EAAE;;;;;;;;;OASZ;SACF;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,+BAA+B;SAC7C;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"StorageReadActionDefinition.js","sourceRoot":"","sources":["StorageReadActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,2BAA2B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAChF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;IACzB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,cAAc,CAAC;YACtB,WAAW,EAAE;;;;;;;;;OASZ;SACF;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,+BAA+B;SAC7C;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,CAAC;YACnE,WAAW,EAAE,2CAA2C;YACxD,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAC,CAAC"}
|
|
@@ -24,7 +24,7 @@ storage: localStorage
|
|
|
24
24
|
description: 'The key of the storage entry.',
|
|
25
25
|
},
|
|
26
26
|
storage: {
|
|
27
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
27
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
28
28
|
description: 'The mechanism used to read the data from.',
|
|
29
29
|
default: 'indexedDB',
|
|
30
30
|
},
|
|
@@ -26,7 +26,7 @@ storage: localStorage
|
|
|
26
26
|
description: 'The key of the storage entry.',
|
|
27
27
|
},
|
|
28
28
|
storage: {
|
|
29
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
29
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
30
30
|
description: 'The mechanism used to read the data from.',
|
|
31
31
|
default: 'indexedDB',
|
|
32
32
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageSubtractActionDefinition.js","sourceRoot":"","sources":["StorageSubtractActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,+BAA+B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IACpF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;IACzB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,kBAAkB,CAAC;YAC1B,WAAW,EAAE;;;;;;;;;;;;SAYV;SACJ;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,+BAA+B;SAC7C;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"StorageSubtractActionDefinition.js","sourceRoot":"","sources":["StorageSubtractActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,+BAA+B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IACpF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;IACzB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,kBAAkB,CAAC;YAC1B,WAAW,EAAE;;;;;;;;;;;;SAYV;SACJ;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,+BAA+B;SAC7C;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,CAAC;YACnE,WAAW,EAAE,2CAA2C;YACxD,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAC,CAAC"}
|
|
@@ -27,7 +27,7 @@ storage: localStorage
|
|
|
27
27
|
description: 'The key of the storage entry.',
|
|
28
28
|
},
|
|
29
29
|
storage: {
|
|
30
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
30
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
31
31
|
description: 'The mechanism used to read the data from.',
|
|
32
32
|
default: 'indexedDB',
|
|
33
33
|
},
|
|
@@ -37,7 +37,7 @@ remapBefore:
|
|
|
37
37
|
description: 'The data to update the specified item with.',
|
|
38
38
|
},
|
|
39
39
|
storage: {
|
|
40
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
40
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
41
41
|
description: 'The mechanism used to store the data.',
|
|
42
42
|
default: 'indexedDB',
|
|
43
43
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageUpdateActionDefinition.js","sourceRoot":"","sources":["StorageUpdateActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAClF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC;IAClC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,gBAAgB,CAAC;YACxB,WAAW,EAAE;;;;;;;;;;;;;;;OAeZ;SACF;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,+BAA+B;SAC7C;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,4CAA4C;SAC1D;QACD,KAAK,EAAE;YACL,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,6CAA6C;SAC3D;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"StorageUpdateActionDefinition.js","sourceRoot":"","sources":["StorageUpdateActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAClF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC;IAClC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,gBAAgB,CAAC;YACxB,WAAW,EAAE;;;;;;;;;;;;;;;OAeZ;SACF;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,+BAA+B;SAC7C;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,4CAA4C;SAC1D;QACD,KAAK,EAAE;YACL,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,6CAA6C;SAC3D;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,CAAC;YACnE,WAAW,EAAE,uCAAuC;YACpD,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAC,CAAC"}
|
|
@@ -38,7 +38,7 @@ remapBefore:
|
|
|
38
38
|
description: 'The data to update the specified item with.',
|
|
39
39
|
},
|
|
40
40
|
storage: {
|
|
41
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
41
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
42
42
|
description: 'The mechanism used to store the data.',
|
|
43
43
|
default: 'indexedDB',
|
|
44
44
|
},
|
|
@@ -33,7 +33,7 @@ remapBefore:
|
|
|
33
33
|
description: 'The data to write to the storage entry.',
|
|
34
34
|
},
|
|
35
35
|
storage: {
|
|
36
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
36
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
37
37
|
description: 'The mechanism used to store the data.',
|
|
38
38
|
default: 'indexedDB',
|
|
39
39
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageWriteActionDefinition.js","sourceRoot":"","sources":["StorageWriteActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IACjF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC;IAClC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,eAAe,CAAC;YACvB,WAAW,EAAE;;;;;;;;;;;;;;;OAeZ;SACF;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,+BAA+B;SAC7C;QACD,KAAK,EAAE;YACL,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,yCAAyC;SACvD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"StorageWriteActionDefinition.js","sourceRoot":"","sources":["StorageWriteActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IACjF,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC;IAClC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,eAAe,CAAC;YACvB,WAAW,EAAE;;;;;;;;;;;;;;;OAeZ;SACF;QACD,GAAG,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,+BAA+B;SAC7C;QACD,KAAK,EAAE;YACL,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,yCAAyC;SACvD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,CAAC;YACnE,WAAW,EAAE,uCAAuC;YACpD,OAAO,EAAE,WAAW;SACrB;KACF;CACF,CAAC,CAAC"}
|
|
@@ -34,7 +34,7 @@ remapBefore:
|
|
|
34
34
|
description: 'The data to write to the storage entry.',
|
|
35
35
|
},
|
|
36
36
|
storage: {
|
|
37
|
-
enum: ['indexedDB', 'localStorage', 'sessionStorage'],
|
|
37
|
+
enum: ['indexedDB', 'localStorage', 'sessionStorage', 'appStorage'],
|
|
38
38
|
description: 'The mechanism used to store the data.',
|
|
39
39
|
default: 'indexedDB',
|
|
40
40
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/utils",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.26",
|
|
4
4
|
"description": "Utility functions used in Appsemble internally",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@appsemble/types": "0.20.
|
|
34
|
+
"@appsemble/types": "0.20.26",
|
|
35
35
|
"axios": "^0.27.0",
|
|
36
36
|
"cron-parser": "^4.0.0",
|
|
37
37
|
"date-fns": "^2.0.0",
|