T8PropertySetRepository <TUnit>
Index
Constructors
Methods
Constructors
constructor
Creates a new T8PropertySetRepository instance.
Type parameters
- TUnit
Parameters
sets: T8ClientPropertySetDTO[]
setNameValues: string[]
valueNameValues: string[]
valueValues: T8ClientPropertyValueDTO[]
valueTypeValues: string[]
strings: string[]
units: TUnit[]
Array of unit definitions for property values
Returns T8PropertySetRepository<TUnit>
Methods
publicgetPropertySets
Retrieves property sets for a specific collection by ID. Results are cached for performance.
Parameters
optionalindices: TypedArray
Optional array of indices into the property sets array
optionalhasConflict: boolean
If true, property sets with duplicate names will be merged
Returns Record<string, T8PropertySet<TUnit>>
Record of property sets keyed by their names, or empty record if no indices provided
Repository for managing and retrieving property sets from a T8 Client Model. Handles property set resolution, nested property sets, and conflict merging when multiple property sets with the same name exist.