Importing Script API Data Types with Type Libraries

Your custom widget can use script API data types in its implementation, for example, with method arguments, properties, and return values.

The script API types are grouped into type libraries.
To indicate that your Web Component uses a specific script API data type, request the appropriate type library in the Custom Widget JSON. For example, if your Web component uses a Button and a Table script API data type, add this line to the Custom Widget JSON:

The list of type libraries is available in the Analytics Designer API Reference.