Skip to content

Commit

Permalink
feat: add page interaction parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-rocks committed Jun 22, 2022
1 parent 798a271 commit da8a1be
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/prefabs/types/interactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,18 @@ export interface ParameterOptionWithComponentRef {
};
}

export interface ParameterOptionWithPageId {
name: string,
pageId: string,
id: string,
paramters?: Record<string, string>
}

export type PrefabInteractionParameter =
| ParameterOptionWithId
| ParameterOptionWithPath
| ParameterOptionWithComponentRef;
| ParameterOptionWithComponentRef
| ParameterOptionWithPageId;

export interface PrefabCustomInteraction extends BasePrefabInteraction {
type: InteractionType.Custom
Expand Down

0 comments on commit da8a1be

Please sign in to comment.