import type { TopLevelSettingsType } from "./settings"; /** * The information about the selected item (could be a component or a service). */ export interface ConfigurableItemKey { /** * The instance ID of the component or service. */ id: string; /** * The type of the configurable item. */ itemType: "component" | "service"; /** * The ID of the subsetting. NOTE: When creating a new list item this may be * undefined OR it may be the subsettingsId of the parent. E.g When creating * a new feature-action we use the subsettingsId of the layer so we can * attach the feature-action to the correct layer. */ subsettingsId?: string; /** * The type of the subsetting, e.g "fieldExtension". */ subsettingsType?: TSubsettingType; }