vike 0.4.228-commit-558224a → 0.4.228-commit-8d90991
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.
|
@@ -3,26 +3,30 @@ export type { VikePackages };
|
|
|
3
3
|
declare global {
|
|
4
4
|
/** Refine Vike types. */
|
|
5
5
|
namespace Vike {
|
|
6
|
-
/** Extend
|
|
7
|
-
*
|
|
8
|
-
* For example:
|
|
9
|
-
* - You can refine the type of `Config['Page']`.
|
|
10
|
-
* - You can define the type of custom configurations created with `config.meta` (https://vike.dev/meta)
|
|
6
|
+
/** Extend the `Config` type (`import type { Config } from 'vike/types'`).
|
|
11
7
|
*
|
|
12
8
|
* https://vike.dev/meta#typescript
|
|
13
9
|
*/
|
|
14
10
|
interface Config {
|
|
15
11
|
}
|
|
16
|
-
/** Extend
|
|
17
|
-
*
|
|
18
|
-
* For example:
|
|
19
|
-
* - You can refine the type of `PageContext['Page']`.
|
|
20
|
-
* - You can define the type of custom `pageContext` values such as `pageContext.user`, see https://vike.dev/pageContext#custom
|
|
12
|
+
/** Extend the `PageContext` type (`import type { PageContext } from 'vike/types'`).
|
|
21
13
|
*
|
|
22
14
|
* https://vike.dev/pageContext#typescript
|
|
23
15
|
*/
|
|
24
16
|
interface PageContext {
|
|
25
17
|
}
|
|
18
|
+
/** Extend the `PageContextClient` type (`import type { PageContextClient } from 'vike/types'`).
|
|
19
|
+
*
|
|
20
|
+
* https://vike.dev/pageContext#typescript
|
|
21
|
+
*/
|
|
22
|
+
interface PageContextClient {
|
|
23
|
+
}
|
|
24
|
+
/** Extend the `PageContextServer` type (`import type { PageContextServer } from 'vike/types'`).
|
|
25
|
+
*
|
|
26
|
+
* https://vike.dev/pageContext#typescript
|
|
27
|
+
*/
|
|
28
|
+
interface PageContextServer {
|
|
29
|
+
}
|
|
26
30
|
/** Refine the `pageContext.config` type.
|
|
27
31
|
*
|
|
28
32
|
* It's used for cumulative configs: the `pageContext.config[configName]` type is an `array` whereas `Config[configName]` isn't.
|
|
@@ -37,6 +41,18 @@ declare global {
|
|
|
37
41
|
*/
|
|
38
42
|
interface GlobalContext {
|
|
39
43
|
}
|
|
44
|
+
/** Extend the `GlobalContextClient` type (`import type { GlobalContextClient } from 'vike/types'`).
|
|
45
|
+
*
|
|
46
|
+
* https://vike.dev/globalContext#typescript
|
|
47
|
+
*/
|
|
48
|
+
interface GlobalContextClient {
|
|
49
|
+
}
|
|
50
|
+
/** Extend the `GlobalContextServer` type (`import type { GlobalContextServer } from 'vike/types'`).
|
|
51
|
+
*
|
|
52
|
+
* https://vike.dev/globalContext#typescript
|
|
53
|
+
*/
|
|
54
|
+
interface GlobalContextServer {
|
|
55
|
+
}
|
|
40
56
|
}
|
|
41
57
|
/** This namespace is only used by:
|
|
42
58
|
* - `vike-react`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PROJECT_VERSION: "0.4.228-commit-
|
|
1
|
+
export declare const PROJECT_VERSION: "0.4.228-commit-8d90991";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Automatically updated by @brillout/release-me
|
|
2
|
-
export const PROJECT_VERSION = '0.4.228-commit-
|
|
2
|
+
export const PROJECT_VERSION = '0.4.228-commit-8d90991';
|