Skip to main content

Interface: UseMachinesOptions

Defined in: composables/react/useMachines.ts:73

Properties

graphqlClient?

optional graphqlClient?: GraphQLClient

Defined in: composables/react/useMachines.ts:75

SDK client. Without it the hook stays idle.


imageVariantFilters?

optional imageVariantFilters?: unknown

Defined in: composables/react/useMachines.ts:88

Image transformation for the card thumbnail — the TransformationsInput! the schema requires on imageVariants(input:). Without it the query fails validation ("argument input of type TransformationsInput! is required"). Pass config.imageVariantFiltersMedium (same value the node query uses).


language?

optional language?: string

Defined in: composables/react/useMachines.ts:81

Language the machine TREE is authored in (usually EN).


source?

optional source?: string

Defined in: composables/react/useMachines.ts:77

External system the machine ids belong to (pairs with each id).


sourceIds?

optional sourceIds?: string[]

Defined in: composables/react/useMachines.ts:79

Installation ids (from the MY_INSTALLATIONS company track attribute).