Hello there,
Is there a way to return through a foundry function a custom objectSet? Meaning the custom objectSet is using a custom interface and not an existing object type.
This is useful for workshop widgets which expect objectsets such as timelines.
I have extended ObjectSet on the customInterface, tried to use osdk/api library but to no avail.
interface customInterface {
...
}
@Function()
async myFunction(room: Room): Promise<ObjectSet<customInterface>>{
}
Thanks,
Aline