Skip to content
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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

PClmnt
Copy link
Collaborator

@PClmnt PClmnt commented Dec 20, 2024

Description

Types the automation store. There are still quite a few any in here but I thought I'd get the PR up

Copy link

qa-wolf bot commented Dec 20, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

@github-actions github-actions bot added firestorm Data/Infra/Revenue Team size/l labels Dec 20, 2024

const initialAutomationState = {
interface BlockDefinitions {
Copy link
Collaborator

@mike12345567 mike12345567 Dec 20, 2024

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",
Copy link
Collaborator Author

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

@PClmnt PClmnt requested a review from a team as a code owner December 20, 2024 14:54
@PClmnt PClmnt requested review from adrinr and removed request for a team December 20, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
firestorm Data/Infra/Revenue Team size/l
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants