Custom Avatars Provider
The custom avatars provider is necessary to enable the custom mannequin generation feature in the modal dressing room. It needs methods to store and load assets and metadata based on identifiers.
We do provide a default implementation that stores these avatars in the browser, which can be used when constructing the HostAdaptor. This implementation is available in the @pictofit/public-types
packages in the /host-adaptors
module.
The interface that has to be implemented for such a custom avatar provider is defined here: https://cdn.pictofit.com/pictofit-web-components/v0.1.73/docs/interfaces/index.mannequincreation.mutableavatarprovider