Router interface to be used inside your analysis

interface RouterConstructor {
    account?: AccountDeprecated;
    config_dev?: Device;
    context?: TagoContext;
    environment: {
        [key: string]: string;
    };
    scope: any[];
}

Properties

account?: AccountDeprecated

instanced account class with new Account({ token: "Your-token" })

config_dev?: Device

instanced device class with new Device({ token: "Your-token" })

context?: TagoContext

context of your analysis

environment: {
    [key: string]: string;
}

environment variable parsed with Utils.envToJson(context.environment)

Type declaration

  • [key: string]: string
scope: any[]

scope of your analysis