-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: getInputProps
#746
Open
juliusmarminge
wants to merge
60
commits into
main
Choose a base branch
from
input-props
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: getInputProps
#746
Changes from 4 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
d04eec6
first lets move some stuff
juliusmarminge 3481530
move input props to hook
juliusmarminge ca176fe
ncieeee
juliusmarminge db16244
nicee
juliusmarminge 655e27b
[wip] custom component example
juliusmarminge 00d2d84
Merge branch 'main' into input-props
juliusmarminge 2435570
merge
juliusmarminge abd83c5
init demo
juliusmarminge ec486df
Merge branch 'main' into input-props
juliusmarminge c1d8139
gettin somewher
juliusmarminge 7f307cf
nit
juliusmarminge 4dd50a1
refactor useDropzone a bit
juliusmarminge 1649f8c
nice
juliusmarminge 467cc66
null
juliusmarminge cc8f222
fix solid
juliusmarminge f4584df
fix svelte
juliusmarminge 160ff6c
minify type output
juliusmarminge e506f61
minify type output for solid and svelte too
juliusmarminge c111b41
undefined is more natural here
juliusmarminge fce1a94
fmt
juliusmarminge 564436d
fix svelte linting
juliusmarminge 366a776
re-export useful helper from shared
juliusmarminge 7d115b8
eh
juliusmarminge c0c15c4
rhf tests
juliusmarminge fa3d69b
break out
juliusmarminge 6839f2f
check dirty
juliusmarminge 2176789
skippolling
juliusmarminge 84eab1f
auto mode
juliusmarminge 9567b3a
nice
juliusmarminge 3df628c
simple nav
juliusmarminge 66e0cbf
nice
juliusmarminge f6c6d3b
rm unused
juliusmarminge 8f9e823
rm log
juliusmarminge bff3a88
simplify
juliusmarminge 5573faa
nice
juliusmarminge 338c61f
with-novel example
juliusmarminge f9d13c0
readme
juliusmarminge b559318
nice
juliusmarminge fd53c56
rename
juliusmarminge 0f08bc0
fix
juliusmarminge 2f03be4
Merge branch 'main' into input-props
juliusmarminge 32800eb
fix dupe
juliusmarminge 7ab2c32
Merge branch 'main' into input-props
juliusmarminge 6c906dc
fix some types
juliusmarminge a9431a7
fix more
juliusmarminge 88576c8
rm ts-expect-error's
juliusmarminge 7d18883
fix more types
juliusmarminge 2aacc64
Merge branch 'main' into input-props
markflorkowski bc43e09
Merge branch 'main' into input-props
markflorkowski 5bf7ea3
Merge branch 'main' into input-props
markflorkowski 53312d7
chore: migrate vue off of `permittedFileInfo` (#837)
markflorkowski 1caf977
chore: Add redirects to docs nextconfig (#843)
markflorkowski e0e4740
Merge branch 'main' into input-props
juliusmarminge a214d80
rm shared dep from pg
juliusmarminge 0c94c52
Merge branch 'main' into input-props
markflorkowski 35d4782
pnpm i
markflorkowski 7182285
remove duplicate imports
markflorkowski 8c592a6
format
markflorkowski cdb4c0c
Merge branch 'main' into input-props
juliusmarminge 6d0abe7
Merge branch 'main' into input-props
juliusmarminge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,15 @@ | ||
import { createRouteHandler, createUploadthing } from "uploadthing/next-legacy"; | ||
|
||
const f = createUploadthing(); | ||
const router = { | ||
mockRoute: f(["image"]) | ||
.middleware(() => { | ||
throw new Error("This is just a mock route, you cant use it"); | ||
return {}; | ||
}) | ||
.onUploadComplete(() => {}), | ||
}; | ||
export default createRouteHandler({ | ||
router, | ||
config: { uploadthingSecret: "sk_foo" }, | ||
}); |
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
having these actually load instead of fetch failing helped reduce some impossible states we had weird paths for just to display in here