TagoIO SDK for JavaScript and TypeScript
    Preparing search index...

    Interface RouterConstructor

    Router interface to be used inside your analysis

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

    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)

    scope: any[]

    scope of your analysis