-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve generated types for routes (#673)
* Working on new type generation, commit before merge to 0.17.0 * prepare for merge * notes for future * Regex the hell out of this * {Type}Data is functional * Working 🎉 * relative imports for load types * added changeset * Tests working 🎉 & LoadInput proper generation * FIX: diffs not merged * FIX: Format and unnecessary log in tests * tiny formatting issue that will annpy me if I don't fix it * Additional fs exports were not necessary, oops * added comments * Reorder of type generation * FIX: Run prettier * Fix lint * Using walk_routes * Formatting, Lint and remove commented old code * Fixed proxy files, use houdini types in e2e, added copyFileSync to fs * FIX: Format * FIX: return from copyFileSync * FIX: add fs.copyFile, fixed async calls, use internal path * tidy up changeset Co-authored-by: Alec Aivazis <[email protected]>
- Loading branch information
1 parent
57577ee
commit 3986d5e
Showing
14 changed files
with
744 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'houdini': patch | ||
'houdini-svelte': patch | ||
--- | ||
|
||
Added typescript codegen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
// don't delete this. It's here as a way to verify some behavior on the session test | ||
export async function load() { | ||
return {}; | ||
return { | ||
test: 'test' | ||
}; | ||
} |
2 changes: 1 addition & 1 deletion
2
e2e/sveltekit/src/routes/stores/partial/partial_List/+page.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
e2e/sveltekit/src/routes/stores/partial/partial_[userId]/+page.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
e2e/sveltekit/src/routes/stores/partial/partial_[userId]_Light/+page.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
e2e/sveltekit/src/routes/stores/ssr-one-store-multivariables/+page.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
3986d5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs – ./site
docs-phi-fawn.vercel.app
docs-houdinigraphql.vercel.app
www.houdinigraphql.com
docs-git-main-houdinigraphql.vercel.app
houdinigraphql.com
3986d5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs-next – ./site
docs-next-kohl.vercel.app
docs-next-git-main-houdinigraphql.vercel.app
docs-next-houdinigraphql.vercel.app