|
@@ -24,6 +24,7 @@ export enum FieldKey {
|
|
|
DEVICE_BATTERY_LEVEL = 'device.battery_level',
|
|
|
DEVICE_BRAND = 'device.brand',
|
|
|
DEVICE_CHARGING = 'device.charging',
|
|
|
+ DEVICE_CLASS = 'device.class',
|
|
|
DEVICE_FAMILY = 'device.family',
|
|
|
DEVICE_LOCALE = 'device.locale',
|
|
|
DEVICE_MODEL_ID = 'device.model_id',
|
|
@@ -500,6 +501,11 @@ const EVENT_FIELD_DEFINITIONS: Record<AllEventFieldKeys, FieldDefinition> = {
|
|
|
kind: FieldKind.FIELD,
|
|
|
valueType: FieldValueType.BOOLEAN,
|
|
|
},
|
|
|
+ [FieldKey.DEVICE_CLASS]: {
|
|
|
+ desc: t('The estimated performance level of the device, graded low, medium, or high'),
|
|
|
+ kind: FieldKind.FIELD,
|
|
|
+ valueType: FieldValueType.STRING,
|
|
|
+ },
|
|
|
[FieldKey.DEVICE_FAMILY]: {
|
|
|
desc: t('Model name across generations'),
|
|
|
kind: FieldKind.FIELD,
|
|
@@ -1063,6 +1069,7 @@ export const DISCOVER_FIELDS = [
|
|
|
FieldKey.DEVICE_SIMULATOR,
|
|
|
FieldKey.DEVICE_ONLINE,
|
|
|
FieldKey.DEVICE_CHARGING,
|
|
|
+ FieldKey.DEVICE_CLASS,
|
|
|
FieldKey.GEO_COUNTRY_CODE,
|
|
|
FieldKey.GEO_REGION,
|
|
|
FieldKey.GEO_CITY,
|