@adobe/genstudio-extensibility-sdk
@adobe/genstudio-extensibility-sdk / ValidationExtensionService
Manages experience data conversion and retrieval
new ValidationExtensionService():
ValidationExtensionService
static
getExperiences(connection
:any
):Promise
<Experience
[]>
Fetches experiences from the connection
any
The guest connection to the host
Promise
<Experience
[]>
Promise<Experience[]> Array of converted experiences
Error if connection is missing
static
getGenerationContext(connection
:any
):Promise
<GenerationContext
>
Gets the generation context from the connection
any
The guest connection to the host
Promise
<GenerationContext
>
The generation context
Error if connection is missing
static
open(connection
:any
,extensionId
:string
):void
Opens the validation extension
any
The guest connection to the host
string
The ID of the extension to open
void
Error if connection is missing