diff --git a/src/prefabs/types/interactions.ts b/src/prefabs/types/interactions.ts index c01acda4..64efd67b 100644 --- a/src/prefabs/types/interactions.ts +++ b/src/prefabs/types/interactions.ts @@ -63,10 +63,18 @@ export interface ParameterOptionWithComponentRef { }; } +export interface ParameterOptionWithPageId { + name: string, + pageId: string, + id: string, + paramters?: Record +} + export type PrefabInteractionParameter = | ParameterOptionWithId | ParameterOptionWithPath - | ParameterOptionWithComponentRef; + | ParameterOptionWithComponentRef + | ParameterOptionWithPageId; export interface PrefabCustomInteraction extends BasePrefabInteraction { type: InteractionType.Custom