-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Typing automation store #15227
base: master
Are you sure you want to change the base?
Typing automation store #15227
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
|
||
const initialAutomationState = { | ||
interface BlockDefinitions { |
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.
We should move these definitions where possible into @budibase/types
under types/src/ui/stores
- the store definition can stay within the store, but if theres a chance a definition is needed outside of the store I think it should be within the type package, rather than being exported from here, makes finding types a lot easier!
@@ -94,6 +94,7 @@ | |||
"@sveltejs/vite-plugin-svelte": "1.4.0", | |||
"@testing-library/jest-dom": "6.4.2", | |||
"@testing-library/svelte": "^4.1.0", | |||
"@types/shortid": "^2.2.0", |
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.
Had to add types for shortid as it was complaining, so the lockfile changed massively. In case anyone was wondering about the PR size
Description
Types the automation store. There are still quite a few
any
in here but I thought I'd get the PR up