Skip to main content

Interface: UseMachinesOptions

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

Properties​

graphqlClient?​

optional graphqlClient?: GraphQLClient

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

SDK client. Without it the hook stays idle.


imageVariantFilters?​

optional imageVariantFilters?: unknown

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

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:88

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


source?​

optional source?: string

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

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


sourceIds?​

optional sourceIds?: string[]

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

Installation ids (from the MY_INSTALLATIONS company track attribute).