Add custom card types to canvas

Hey, I’ve written a plugin which I’d like to make usable in the canvas. Unfortunately, there seems to be very little documentation on extending the functionality of the canvas plugin. Can someone guide me towards some examples/docs?

Thanks