alchemymvc 1.3.19 → 1.3.21
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/lib/app/behaviour/sluggable_behaviour.js +0 -0
- package/lib/app/datasource/mongo_datasource.js +94 -1
- package/lib/app/element/time_ago.js +0 -0
- package/lib/app/helper/alchemy_helper.js +8 -4
- package/lib/app/helper_controller/controller.js +1 -0
- package/lib/app/helper_datasource/00-nosql_datasource.js +0 -0
- package/lib/app/helper_field/{date_field.js → 11-date_field.js} +1 -3
- package/lib/app/helper_field/15-local_temporal_field.js +100 -0
- package/lib/app/helper_field/20-decimal_field.js +105 -0
- package/lib/app/helper_field/big_int_field.js +7 -13
- package/lib/app/helper_field/fixed_decimal_field.js +44 -0
- package/lib/app/helper_field/local_date_field.js +39 -0
- package/lib/app/helper_field/local_date_time_field.js +39 -0
- package/lib/app/helper_field/local_time_field.js +39 -0
- package/lib/app/helper_field/mixed_field.js +73 -0
- package/lib/app/helper_field/schema_field.js +121 -35
- package/lib/app/helper_model/criteria.js +13 -0
- package/lib/app/helper_model/document.js +229 -0
- package/lib/app/helper_model/field_set.js +0 -0
- package/lib/app/helper_model/model.js +91 -18
- package/lib/app/model/alchemy_task_history_model.js +0 -0
- package/lib/bootstrap.js +0 -0
- package/lib/class/conduit.js +2 -2
- package/lib/class/datasource.js +80 -0
- package/lib/class/document.js +27 -0
- package/lib/class/field.js +110 -0
- package/lib/class/inode_file.js +0 -0
- package/lib/class/model.js +50 -28
- package/lib/class/path_evaluator.js +16 -9
- package/lib/class/route.js +4 -1
- package/lib/class/router.js +4 -2
- package/lib/class/schema_client.js +163 -20
- package/lib/class/session.js +0 -0
- package/lib/class/task.js +48 -2
- package/lib/class/task_service.js +37 -8
- package/lib/core/base.js +19 -4
- package/lib/core/client_alchemy.js +84 -1
- package/lib/core/middleware.js +27 -7
- package/lib/init/alchemy.js +4 -1
- package/lib/init/constants.js +23 -0
- package/lib/init/requirements.js +0 -0
- package/package.json +3 -3
package/lib/init/constants.js
CHANGED
|
@@ -59,6 +59,29 @@ DEFINE('Classes', Blast.Classes);
|
|
|
59
59
|
*/
|
|
60
60
|
DEFINE('Types', Blast.Types);
|
|
61
61
|
|
|
62
|
+
/**
|
|
63
|
+
* The new Local Date/Time classes
|
|
64
|
+
*
|
|
65
|
+
* @author Jelle De Loecker <jelle@elevenways.be>
|
|
66
|
+
* @since 1.3.20
|
|
67
|
+
* @version 1.3.20
|
|
68
|
+
*/
|
|
69
|
+
DEFINE('LocalDateTime', Blast.Classes.Develry.LocalDateTime);
|
|
70
|
+
DEFINE('LocalDate', Blast.Classes.Develry.LocalDate);
|
|
71
|
+
DEFINE('LocalTime', Blast.Classes.Develry.LocalTime);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* The new Decimal classes
|
|
75
|
+
*
|
|
76
|
+
* @author Jelle De Loecker <jelle@elevenways.be>
|
|
77
|
+
* @since 1.3.20
|
|
78
|
+
* @version 1.3.20
|
|
79
|
+
*/
|
|
80
|
+
DEFINE('Decimal', Blast.Classes.Develry.Decimal);
|
|
81
|
+
DEFINE('MutableDecimal', Blast.Classes.Develry.MutableDecimal);
|
|
82
|
+
DEFINE('FixedDecimal', Blast.Classes.Develry.FixedDecimal);
|
|
83
|
+
DEFINE('MutableFixedDecimal', Blast.Classes.Develry.MutableFixedDecimal);
|
|
84
|
+
|
|
62
85
|
/**
|
|
63
86
|
* Path to the directory of the server.js file
|
|
64
87
|
*
|
package/lib/init/requirements.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alchemymvc",
|
|
3
3
|
"description": "MVC framework for Node.js",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.21",
|
|
5
5
|
"author": "Jelle De Loecker <jelle@elevenways.be>",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"alchemy",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"chokidar" : "~3.5.3",
|
|
23
23
|
"formidable" : "~3.5.1",
|
|
24
24
|
"graceful-fs" : "~4.2.11",
|
|
25
|
-
"hawkejs" : "~2.3.
|
|
25
|
+
"hawkejs" : "~2.3.15",
|
|
26
26
|
"jsondiffpatch" : "~0.5.0",
|
|
27
27
|
"mime" : "~3.0.0",
|
|
28
28
|
"minimist" : "~1.2.5",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"mongodb" : "~6.1.0",
|
|
32
32
|
"ncp" : "~2.0.0",
|
|
33
33
|
"postcss" : "~8.4.31",
|
|
34
|
-
"protoblast" : "~0.8.
|
|
34
|
+
"protoblast" : "~0.8.15",
|
|
35
35
|
"semver" : "~7.5.4",
|
|
36
36
|
"socket.io" : "~4.7.2",
|
|
37
37
|
"@11ways/socket.io-stream" : "~0.9.2",
|