@adobe/genstudio-uix-sdk
Version:
GenStudio UI Extensibility SDK
21 lines (20 loc) • 647 B
TypeScript
/**
* Represents an Experience entity in the system.
* An Experience is a container for various fields that define its characteristics.
*/
export interface Experience {
/** Unique identifier for the experience */
id: string;
/** Collection of experience fields stored as key-value pairs */
experienceFields: Record<string, ExperienceField>;
}
/**
* Represents a field within an Experience.
* Each field contains a name and corresponding value.
*/
export interface ExperienceField {
/** Name of the experience field */
fieldName: string;
/** Value associated with the experience field */
fieldValue: string;
}