Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
30 lines
1.2 KiB
TypeScript
30 lines
1.2 KiB
TypeScript
// Module ID: 10286
|
|
// Function ID: 10287
|
|
// Name: getLogMetadata
|
|
// Dependencies: [1364, 4586, 2]
|
|
// Exports: default
|
|
|
|
// Module 10286 (getLogMetadata)
|
|
import ClientInfoUtilsAll from "ClientInfoUtils" /* 1364 */;
|
|
import DeviceUtils from "DeviceUtils" /* 4586 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/debug/getLogMetadata.native.tsx");
|
|
|
|
export default function getLogMetadata() {
|
|
constants = ClientInfoUtilsAll.getConstants();
|
|
const obj2 = { logsUploaded: null, Identifier: null, Version: null, Manifest: null, ReleaseChannel: null, Build: null, JSBuildNumber: null, DeviceVendorID: null, DeviceInfo: null, systemVersion: null };
|
|
({ Identifier, Version, Manifest, ReleaseChannel, Build, DeviceVendorID } = constants);
|
|
obj2.logsUploaded = new Date().toISOString();
|
|
obj2.Identifier = Identifier;
|
|
obj2.Version = Version;
|
|
obj2.Manifest = Manifest;
|
|
obj2.ReleaseChannel = ReleaseChannel;
|
|
obj2.Build = Build;
|
|
const date = new Date();
|
|
obj2.JSBuildNumber = ClientInfoUtilsAll.getBuildNumberLabel();
|
|
obj2.DeviceVendorID = DeviceVendorID;
|
|
obj2.DeviceInfo = DeviceUtils.getDeviceInfo();
|
|
obj2.systemVersion = DeviceUtils.getSystemVersion();
|
|
return obj2;
|
|
};
|