Complex Object

Complex Types 

Configurations can be more complicated groups of fields represented by another TypeScript class. Those classes can have multiple properties and use all the same features of the properties in the parent configuration class.

1export class ComplexType {
2  firstProperty: string;
3  secondProperty: number;
4}
5
6export class SimpleTemplate implements CampaignTemplateComponent {
7  myProperty: ComplexType;
8}

Complex

Complex types defined within gears can be used by Templates.

See Also