mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 16:03:27 +00:00
* Add flow prop picker * fix unwanted copy * cleaning * Fix unset context * move button and always display input * fix unwanted proppicker display * update * update * clean all * clean all --------- Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
16 lines
483 B
TypeScript
16 lines
483 B
TypeScript
import type { Writable } from 'svelte/store'
|
|
import type { PickableProperties } from '$lib/components/flows/previousResults'
|
|
|
|
type InsertionMode = 'append' | 'connect' | 'insert'
|
|
|
|
export type FlowPropPickerConfig = {
|
|
insertionMode: InsertionMode
|
|
clearFocus: () => void
|
|
onSelect: (path: string) => boolean
|
|
}
|
|
|
|
export type PropPickerContext = {
|
|
flowPropPickerConfig: Writable<FlowPropPickerConfig | undefined>
|
|
pickablePropertiesFiltered: Writable<PickableProperties | undefined>
|
|
}
|