queries: {
    confirmTeleportToken: (
        queryData: { behaviorUuid: string; token: any },
    ) => Promise<boolean>;
    dialog: (
        __namedParameters: {
            config: object;
            type: "input" | "wait" | "prompt" | "confirm";
        },
    ) => Promise<any>;
} = ...

System and modules must prefix the names of the queries they register (e.g. "my-module.aCustomQuery"). Non-prefixed query names are reserved by core.

Type declaration

  • confirmTeleportToken: (queryData: { behaviorUuid: string; token: any }) => Promise<boolean>
  • dialog: (
        __namedParameters: {
            config: object;
            type: "input" | "wait" | "prompt" | "confirm";
        },
    ) => Promise<any>