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.
Files changed (42) hide show
  1. package/lib/app/behaviour/sluggable_behaviour.js +0 -0
  2. package/lib/app/datasource/mongo_datasource.js +94 -1
  3. package/lib/app/element/time_ago.js +0 -0
  4. package/lib/app/helper/alchemy_helper.js +8 -4
  5. package/lib/app/helper_controller/controller.js +1 -0
  6. package/lib/app/helper_datasource/00-nosql_datasource.js +0 -0
  7. package/lib/app/helper_field/{date_field.js → 11-date_field.js} +1 -3
  8. package/lib/app/helper_field/15-local_temporal_field.js +100 -0
  9. package/lib/app/helper_field/20-decimal_field.js +105 -0
  10. package/lib/app/helper_field/big_int_field.js +7 -13
  11. package/lib/app/helper_field/fixed_decimal_field.js +44 -0
  12. package/lib/app/helper_field/local_date_field.js +39 -0
  13. package/lib/app/helper_field/local_date_time_field.js +39 -0
  14. package/lib/app/helper_field/local_time_field.js +39 -0
  15. package/lib/app/helper_field/mixed_field.js +73 -0
  16. package/lib/app/helper_field/schema_field.js +121 -35
  17. package/lib/app/helper_model/criteria.js +13 -0
  18. package/lib/app/helper_model/document.js +229 -0
  19. package/lib/app/helper_model/field_set.js +0 -0
  20. package/lib/app/helper_model/model.js +91 -18
  21. package/lib/app/model/alchemy_task_history_model.js +0 -0
  22. package/lib/bootstrap.js +0 -0
  23. package/lib/class/conduit.js +2 -2
  24. package/lib/class/datasource.js +80 -0
  25. package/lib/class/document.js +27 -0
  26. package/lib/class/field.js +110 -0
  27. package/lib/class/inode_file.js +0 -0
  28. package/lib/class/model.js +50 -28
  29. package/lib/class/path_evaluator.js +16 -9
  30. package/lib/class/route.js +4 -1
  31. package/lib/class/router.js +4 -2
  32. package/lib/class/schema_client.js +163 -20
  33. package/lib/class/session.js +0 -0
  34. package/lib/class/task.js +48 -2
  35. package/lib/class/task_service.js +37 -8
  36. package/lib/core/base.js +19 -4
  37. package/lib/core/client_alchemy.js +84 -1
  38. package/lib/core/middleware.js +27 -7
  39. package/lib/init/alchemy.js +4 -1
  40. package/lib/init/constants.js +23 -0
  41. package/lib/init/requirements.js +0 -0
  42. package/package.json +3 -3
@@ -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
  *
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.19",
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.13",
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.12",
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",