@types/sap__approuter 14.3.2 → 16.6.0

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.
sap__approuter/README.md CHANGED
@@ -8,8 +8,8 @@ This package contains type definitions for @sap/approuter (https://www.npmjs.com
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sap__approuter.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 29 Nov 2023 13:08:30 GMT
12
- * Dependencies: [@types/http-server](https://npmjs.com/package/@types/http-server), [@types/node](https://npmjs.com/package/@types/node), [@types/verror](https://npmjs.com/package/@types/verror)
11
+ * Last updated: Fri, 02 Aug 2024 05:07:22 GMT
12
+ * Dependencies: [@types/http-server](https://npmjs.com/package/@types/http-server), [@types/node](https://npmjs.com/package/@types/node)
13
13
 
14
14
  # Credits
15
15
  These definitions were written by [Nico Blum](https://github.com/nbblum), and [Laurens von Assel](https://github.com/biolauri).
sap__approuter/index.d.ts CHANGED
@@ -108,9 +108,12 @@ declare namespace approuter {
108
108
 
109
109
  type RouterConfig = unknown;
110
110
 
111
+ /**
112
+ * lib/configuration/schemas/options-schema.json
113
+ */
111
114
  interface StartOptions {
112
115
  /** A TCP port the application router will listen to */
113
- port?: string;
116
+ port?: string | number;
114
117
 
115
118
  /** The working directory for the application router, should contain the xs-app.json file */
116
119
  workingDir?: string;
@@ -119,13 +122,13 @@ declare namespace approuter {
119
122
  extensions?: Extensions[];
120
123
 
121
124
  /** An object representing the content which is usually put in xs-app.json file. If this property is present it will take precedence over the content of xs-app.json. */
122
- xsAppConfig?: ComSapXsappSchema_82;
125
+ xsappConfig?: ComSapXsappSchema_82;
123
126
 
124
127
  /**
125
128
  * Options similar to [https.createServer](https://nodejs.org/api/https.html#https_https_createserver_options_requestlistener).
126
129
  * If this property is present, application router will be started as an https server.
127
130
  */
128
- httpsConfig?: ServerOptions;
131
+ httpsOptions?: ServerOptions;
129
132
 
130
133
  /**
131
134
  * Provide custom access token
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sap__approuter",
3
- "version": "14.3.2",
3
+ "version": "16.6.0",
4
4
  "description": "TypeScript definitions for @sap/approuter",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sap__approuter",
6
6
  "license": "MIT",
@@ -26,9 +26,8 @@
26
26
  "scripts": {},
27
27
  "dependencies": {
28
28
  "@types/http-server": "*",
29
- "@types/node": "*",
30
- "@types/verror": "*"
29
+ "@types/node": "*"
31
30
  },
32
- "typesPublisherContentHash": "e06bafbc8452e284b708f640bc11cef75aef577c429bcd01f0185f0c62f1cb13",
33
- "typeScriptVersion": "4.6"
31
+ "typesPublisherContentHash": "ba0377e8691012335b861275eb56e11f986c3fe6dc777f7a4f24b740093d7505",
32
+ "typeScriptVersion": "4.8"
34
33
  }