27 lines
1 KiB
TypeScript
27 lines
1 KiB
TypeScript
// Module ID: 10278
|
|
// Function ID: 10279
|
|
// Name: getLogMetadata
|
|
// Dependencies: [1625, 4457, 2]
|
|
// Exports: default
|
|
|
|
// Module 10278 (getLogMetadata)
|
|
import set from "set" /* 2 */;
|
|
import getConstantsAll from "getConstants" /* 1625 */;
|
|
import DCDDeviceManager from "DCDDeviceManager" /* 4457 */;
|
|
|
|
const result = set.fileFinishedImporting("modules/debug/getLogMetadata.native.tsx");
|
|
|
|
export default function getLogMetadata() {
|
|
let obj = getConstantsAll;
|
|
const constants = obj.getConstants();
|
|
obj = { logsUploaded: new Date().toISOString(), Identifier, Version, Manifest, ReleaseChannel, Build, JSBuildNumber: null, DeviceVendorID: null, DeviceInfo: null, systemVersion: null };
|
|
({ Identifier, Version, Manifest, ReleaseChannel, Build, DeviceVendorID } = constants);
|
|
const date = new Date();
|
|
obj[6] = getConstantsAll.getBuildNumberLabel();
|
|
obj[7] = DeviceVendorID;
|
|
const obj4 = getConstantsAll;
|
|
obj[8] = DCDDeviceManager.getDeviceInfo();
|
|
const obj5 = DCDDeviceManager;
|
|
obj[9] = DCDDeviceManager.getSystemVersion();
|
|
return obj;
|
|
};
|