IFavoritePropertiesStorage Interface

Stores user settings for favorite properties.

Methods

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

Defined in

Last Updated: 12 June, 2024