Reimplement orchestra.resources typehint.

Signed-off-by: crynobone <crynobone@gmail.com>