@ccci/micro-server 1.0.106 → 1.0.108

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 (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -119246,6 +119246,7 @@ class BaseRouter {
119246
119246
  this.delete = this.delete.bind(this);
119247
119247
  this.archives = this.archives.bind(this);
119248
119248
  this.restore = this.restore.bind(this);
119249
+ this.count = this.count.bind(this);
119249
119250
  }
119250
119251
  async get(req, res, next) {
119251
119252
  let response4;
@@ -119331,9 +119332,9 @@ class BaseRouter {
119331
119332
  return [
119332
119333
  { method: GET, path: "/", function: this.get },
119333
119334
  { method: POST, path: "/", function: this.post },
119334
- { method: GET, path: "/:id", function: this.getId },
119335
119335
  { method: GET, path: "/archives", function: this.archives },
119336
119336
  { method: GET, path: "/count", function: this.count },
119337
+ { method: GET, path: "/:id", function: this.getId },
119337
119338
  { method: PUT, path: "/:id", function: this.update },
119338
119339
  { method: DELETE, path: "/:id", function: this.delete },
119339
119340
  { method: PUT, path: "/restore/:id", function: this.restore }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.106",
3
+ "version": "1.0.108",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",