gg-express 1.0.68 → 1.0.69

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/package.json +2 -2
  2. package/src/GGExpress.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gg-express",
3
- "version": "1.0.68",
3
+ "version": "1.0.69",
4
4
  "description": "",
5
5
  "main": "dist/GGExpress.js",
6
6
  "scripts": {
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/express": "^5.0.0",
27
- "typescript": "^5.6.3"
27
+ "typescript": "^5.8.3"
28
28
  },
29
29
  "keywords": [
30
30
  "express",
package/src/GGExpress.ts CHANGED
@@ -106,7 +106,7 @@ type MyResponse<
106
106
 
107
107
  const myExpressRouteList: {
108
108
  method: "get" | "post" | "put" | "delete"
109
- url: string
109
+ url: string | string[]
110
110
  requireParams: requireParamsStructure
111
111
  responseStructure: responseStructure
112
112
  }[] = []
@@ -134,7 +134,7 @@ export default class GGExpress<appName extends string> {
134
134
  L extends M["isPartialParameter"]
135
135
  >(
136
136
  method: "get" | "post" | "put" | "delete",
137
- url: string,
137
+ url: string | string[],
138
138
  options: {
139
139
  requireParams: M
140
140
  responseStructure: R