/** * Describes a profile */ export interface BaseSdkPredefinedProfile { /** * Profile name for UI */ name: string; /** * Profile id for docs */ id: ProfileId; /** * Function bundles enabled for this profile */ bundles: Bundle[]; /** * Variable describing name, type, and providing description */ variables: SdkVariable[]; } /** * Supported profile variable types */ export type SdkVariableType = "array" | "boolean" | "dataCatalogDatastore" | "date" | "dateOnly" | "dictionary" | "feature" | "featureSet" | "featureSetCollection" | "geometry" | "knowledgeGraph" | "number" | "pixel" | "text" | "time" | "voxel"; /** * Describes variables */ export interface SdkVariableBase { /** * Name of the variable. */ name: string; /** * Type of the variable. */ type: SdkVariableType; /** * Description of the variable. */ description?: string; } /** * A variable that represents a simple type (boolean, number, feature, etc.) */ export interface SdkValueVariable extends SdkVariableBase { type: Exclude; } /** * A dictionary variable */ export interface SdkDictionaryVariable extends SdkVariableBase { type: "dictionary"; properties: SdkVariable[]; } /** * Profile variable */ export type SdkVariable = SdkDictionaryVariable | SdkValueVariable;