Starport Custom type

Hi

I am very new for starport and I have an issue.
How do I use custom type for scaffold list?
Even I cannot use string slice there.

Thank you for answering in advance.