@sitevision/api 2023.7.1 → 2023.8.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/common/router/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitevision/api",
|
|
3
|
-
"version": "2023.
|
|
3
|
+
"version": "2023.8.1",
|
|
4
4
|
"author": "Sitevision AB",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"access": "public",
|
|
31
31
|
"directory": "dist"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "84e58906704af5e7bcc97eae2a5b4b4c89a8031f"
|
|
34
34
|
}
|
package/server/hooks/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface HooksResponse {
|
|
|
9
9
|
* @param url The URL to redirect to
|
|
10
10
|
* @param statusCode The HTTP status code to use for the redirect. Defaults to 302. Introduced in Sitevision 2023.03.1.
|
|
11
11
|
*/
|
|
12
|
-
redirect(url: string, statusCode?: 301 | 302);
|
|
12
|
+
redirect(url: string, statusCode?: 301 | 302 | 303 | 307 | 308): void;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export interface Hooks {
|