We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 495af91 commit b5aa291Copy full SHA for b5aa291
packages/kit/types/internal.d.ts
@@ -177,6 +177,11 @@ export interface ShadowEndpointOutput<Output extends JSONObject = JSONObject> {
177
body?: Output;
178
}
179
180
+/**
181
+ * The route key of a page with a matching endpoint — used to ensure the
182
+ * client loads data from the right endpoint during client-side navigation
183
+ * rather than a different route that happens to match the path
184
+ */
185
type ShadowKey = string;
186
187
export interface ShadowRequestHandler<Output extends JSONObject = JSONObject> {
0 commit comments