add types for shortid
This commit is contained in:
parent
9003be49b3
commit
cfc56277fd
|
@ -94,6 +94,7 @@
|
||||||
"@sveltejs/vite-plugin-svelte": "1.4.0",
|
"@sveltejs/vite-plugin-svelte": "1.4.0",
|
||||||
"@testing-library/jest-dom": "6.4.2",
|
"@testing-library/jest-dom": "6.4.2",
|
||||||
"@testing-library/svelte": "^4.1.0",
|
"@testing-library/svelte": "^4.1.0",
|
||||||
|
"@types/shortid": "^2.2.0",
|
||||||
"babel-jest": "^29.6.2",
|
"babel-jest": "^29.6.2",
|
||||||
"identity-obj-proxy": "^3.0.0",
|
"identity-obj-proxy": "^3.0.0",
|
||||||
"jest": "29.7.0",
|
"jest": "29.7.0",
|
||||||
|
|
|
@ -29,6 +29,7 @@ import {
|
||||||
AutomationStepSchema,
|
AutomationStepSchema,
|
||||||
AutomationTriggerSchema,
|
AutomationTriggerSchema,
|
||||||
BranchPath,
|
BranchPath,
|
||||||
|
BlockDefinitions,
|
||||||
} from "@budibase/types"
|
} from "@budibase/types"
|
||||||
import { ActionStepID } from "constants/backend/automations"
|
import { ActionStepID } from "constants/backend/automations"
|
||||||
import { FIELDS } from "constants/backend"
|
import { FIELDS } from "constants/backend"
|
||||||
|
@ -39,12 +40,6 @@ import { QueryUtils } from "@budibase/frontend-core"
|
||||||
import { BudiStore, DerivedBudiStore } from "stores/BudiStore"
|
import { BudiStore, DerivedBudiStore } from "stores/BudiStore"
|
||||||
import { appStore } from "stores/builder"
|
import { appStore } from "stores/builder"
|
||||||
|
|
||||||
interface BlockDefinitions {
|
|
||||||
TRIGGER: Record<string, any>
|
|
||||||
CREATABLE_TRIGGER: Record<string, any>
|
|
||||||
ACTION: Record<string, any>
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AutomationState {
|
interface AutomationState {
|
||||||
automations: Automation[]
|
automations: Automation[]
|
||||||
testResults: any | null
|
testResults: any | null
|
||||||
|
|
Loading…
Reference in New Issue