interface DeviceProfileData {
    identifier: string;
    metadata?: {
        hardware: {
            display: {
                [key: string]: string | number | null;
            };
            [key: string]: any;
        };
        browser: {
            [key: string]: string | number | null;
        };
        platform: {
            [key: string]: string | number | null;
        };
    };
    location?: Geolocation | Record<string, unknown>;
}

Properties

identifier: string
metadata?: {
    hardware: {
        display: {
            [key: string]: string | number | null;
        };
        [key: string]: any;
    };
    browser: {
        [key: string]: string | number | null;
    };
    platform: {
        [key: string]: string | number | null;
    };
}

Type declaration

  • hardware: {
        display: {
            [key: string]: string | number | null;
        };
        [key: string]: any;
    }
    • [key: string]: any

      eslint-disable-next-line @typescript-eslint/no-explicit-any

    • display: {
          [key: string]: string | number | null;
      }
      • [key: string]: string | number | null
  • browser: {
        [key: string]: string | number | null;
    }
    • [key: string]: string | number | null
  • platform: {
        [key: string]: string | number | null;
    }
    • [key: string]: string | number | null
location?: Geolocation | Record<string, unknown>