@uniformdev/canvas-next 20.42.2-alpha.6 → 20.43.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.
- package/dist/route/index.d.mts +1 -10
- package/dist/route/index.d.ts +1 -10
- package/package.json +8 -8
package/dist/route/index.d.mts
CHANGED
|
@@ -38,15 +38,6 @@ type RouteHandlerOptions<TContext, TResult, TSuccessResult> = {
|
|
|
38
38
|
*/
|
|
39
39
|
handleNotFound?: HandleRouteNotFoundFunction<TContext, TResult>;
|
|
40
40
|
};
|
|
41
|
-
/**
|
|
42
|
-
* Schema that comes out of route API handler in case of a composition route response.
|
|
43
|
-
* Should be used together as UniformAppProps<RouteCompositionResult> in Next.js app.
|
|
44
|
-
*/
|
|
45
|
-
type RouteCompositionResult<TData = RootComponentInstance> = {
|
|
46
|
-
matchedRoute: string;
|
|
47
|
-
dynamicInputs: Record<string, string>;
|
|
48
|
-
data: TData;
|
|
49
|
-
};
|
|
50
41
|
|
|
51
42
|
/**
|
|
52
43
|
* Creates an implementation of `getServerSideProps` using the Uniform Route API.
|
|
@@ -133,4 +124,4 @@ declare const getStaticPaths: () => Promise<{
|
|
|
133
124
|
fallback: boolean;
|
|
134
125
|
}>;
|
|
135
126
|
|
|
136
|
-
export { type HandleRouteCompositionFunction, type HandleRouteNotFoundFunction, type HandleRouteRedirectFunction, type
|
|
127
|
+
export { type HandleRouteCompositionFunction, type HandleRouteNotFoundFunction, type HandleRouteRedirectFunction, type RouteHandlerOptions, getServerSideProps, getStaticPaths, getStaticProps, prependLocale, withUniformGetServerSideProps, withUniformGetStaticPaths, withUniformGetStaticProps };
|
package/dist/route/index.d.ts
CHANGED
|
@@ -38,15 +38,6 @@ type RouteHandlerOptions<TContext, TResult, TSuccessResult> = {
|
|
|
38
38
|
*/
|
|
39
39
|
handleNotFound?: HandleRouteNotFoundFunction<TContext, TResult>;
|
|
40
40
|
};
|
|
41
|
-
/**
|
|
42
|
-
* Schema that comes out of route API handler in case of a composition route response.
|
|
43
|
-
* Should be used together as UniformAppProps<RouteCompositionResult> in Next.js app.
|
|
44
|
-
*/
|
|
45
|
-
type RouteCompositionResult<TData = RootComponentInstance> = {
|
|
46
|
-
matchedRoute: string;
|
|
47
|
-
dynamicInputs: Record<string, string>;
|
|
48
|
-
data: TData;
|
|
49
|
-
};
|
|
50
41
|
|
|
51
42
|
/**
|
|
52
43
|
* Creates an implementation of `getServerSideProps` using the Uniform Route API.
|
|
@@ -133,4 +124,4 @@ declare const getStaticPaths: () => Promise<{
|
|
|
133
124
|
fallback: boolean;
|
|
134
125
|
}>;
|
|
135
126
|
|
|
136
|
-
export { type HandleRouteCompositionFunction, type HandleRouteNotFoundFunction, type HandleRouteRedirectFunction, type
|
|
127
|
+
export { type HandleRouteCompositionFunction, type HandleRouteNotFoundFunction, type HandleRouteRedirectFunction, type RouteHandlerOptions, getServerSideProps, getStaticPaths, getStaticProps, prependLocale, withUniformGetServerSideProps, withUniformGetStaticPaths, withUniformGetStaticProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.43.0",
|
|
4
4
|
"description": "Next.js SDK for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"document:prebuild": "api-extractor run --local"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@uniformdev/canvas": "20.
|
|
71
|
-
"@uniformdev/canvas-react": "20.
|
|
72
|
-
"@uniformdev/context": "20.
|
|
73
|
-
"@uniformdev/project-map": "20.
|
|
74
|
-
"@uniformdev/redirect": "20.
|
|
75
|
-
"@uniformdev/richtext": "20.
|
|
70
|
+
"@uniformdev/canvas": "20.43.0",
|
|
71
|
+
"@uniformdev/canvas-react": "20.43.0",
|
|
72
|
+
"@uniformdev/context": "20.43.0",
|
|
73
|
+
"@uniformdev/project-map": "20.43.0",
|
|
74
|
+
"@uniformdev/redirect": "20.43.0",
|
|
75
|
+
"@uniformdev/richtext": "20.43.0",
|
|
76
76
|
"colorette": "2.0.20"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "9a8037f9cd28afa60861e7de0fb8f6153482194f"
|
|
96
96
|
}
|