• Migrate data in tokens that is no longer used.

    Parameters

    • tokenData: object

      Token data

    • Optionaloptions: { marker?: boolean; token?: TokenDocument }

      Additional options

      • Optionalmarker?: boolean

        Add migration marker

      • Optionaltoken?: TokenDocument

        Token document

    Returns Promise<
        {
            detectionModes: any[];
            "flags.pf1.-=customVisionRules": any;
            "flags.pf1.-=disableLowLight": any;
            "flags.pf1.-=lowLightVision": any;
            "flags.pf1.-=lowLightVisionMultiplier": any;
            "flags.pf1.-=lowLightVisionMultiplierBright": any;
            "flags.pf1.-=staticSize": any;
            "flags.pf1.migration": any;
            "sight.-=attenuation": any;
            "sight.-=brightness": any;
            "sight.-=contrast": any;
            "sight.-=saturation": any;
            "sight.range": number;
            "sight.visionMode": string;
        },
    >