Hello,
I’m working on a plugin for changing collection modes.
Using figma.teamLibrary.getAvailableLibraryVariableCollectionsAsync()
I get the available collections, but they are not returned as collection objects, therefore I can not use them with setExplicitVariableModeForCollection
directly, as far as I can tell. Since that requires a collection object.
Furthermore the getAvailableLibraryVariableCollectionsAsync() only provides the library keys and not an ID. What is the actual logical way to go about this? Considering my library is not a local library that I want to change a mode for.
Thank you.