IFavoritePropertiesStorage Interface

Stores user preferences for favorite properties.

Methods

Name Description
loadProperties(iTwinId?: string, imodelId?: string): Promise<undefined | Set<string>> Load Favorite properties from user-specific settings.  
loadPropertiesOrder(iTwinId: string, imodelId: string): Promise<undefined | FavoritePropertiesOrderInfo[]> Load array of FavoritePropertiesOrderInfo from user-specific settings.  
saveProperties(properties: Set<string>, iTwinId?: string, imodelId?: string): Promise<void> Saves Favorite properties to user-specific settings.  
savePropertiesOrder(orderInfos: FavoritePropertiesOrderInfo[], iTwinId: string, imodelId: string): Promise<void> Saves FavoritePropertiesOrderInfo array to user-specific settings.  

Defined in

Last Updated: 17 December, 2024