@gov-cy/govcy-express-services 1.4.0-alpha.0 → 1.4.1
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 +7 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2700,7 +2700,13 @@ const service = initializeGovCyExpressService({
|
|
|
2700
2700
|
}
|
|
2701
2701
|
],
|
|
2702
2702
|
false,
|
|
2703
|
-
{
|
|
2703
|
+
{ // other custom properties if needed like nextPage or initial data
|
|
2704
|
+
nextPage: "/cso/memberships", // custom property nextPage. Not needed by Express but useful for the custom logic
|
|
2705
|
+
data : // custom initial data. Useful when you need the data model to be standard or pre-populated
|
|
2706
|
+
{
|
|
2707
|
+
something: "",
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2704
2710
|
);
|
|
2705
2711
|
|
|
2706
2712
|
// ==========================================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gov-cy/govcy-express-services",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "An Express-based system that dynamically renders services using @gov-cy/govcy-frontend-renderer and posts data to a submission API.",
|
|
5
5
|
"author": "DMRID - DSF Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"chai-http": "^5.1.1",
|
|
76
76
|
"coverage-badges-cli": "^2.2.0",
|
|
77
77
|
"mocha": "^11.1.0",
|
|
78
|
-
"mochawesome": "^7.1.
|
|
78
|
+
"mochawesome": "^7.1.4",
|
|
79
79
|
"nodemon": "^3.0.2",
|
|
80
80
|
"pa11y": "^8.0.0",
|
|
81
81
|
"sinon": "^20.0.0"
|