23 lines
1.5 KiB
TypeScript
23 lines
1.5 KiB
TypeScript
/* Metro module 13053; source: modules/rpc/server/commands/userSettings.tsx; dependencies: [1949, 661, 4122, 2] */
|
|
import LocaleStore from '../../../user_settings/LocaleStore.tsx'; /* Metro dependency 1949 */
|
|
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */
|
|
import * as OAuth2ScopesModule from '../../../../external/discord_common/js/shared/shared-constants/OAuth2Scopes.tsx'; /* Metro dependency 4122 */
|
|
|
|
function _fun99673(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#99673, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13243:6, offset: 0x021d10b1, size: 173 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const RPCCommands = (ConstantsModule).RPCCommands;
|
|
object = {};
|
|
const USER_SETTINGS_GET_LOCALE = RPCCommands.USER_SETTINGS_GET_LOCALE;
|
|
const OAuth2Scopes = (OAuth2ScopesModule).OAuth2Scopes;
|
|
const IDENTIFY = OAuth2Scopes.IDENTIFY;
|
|
object[USER_SETTINGS_GET_LOCALE] = {scope: IDENTIFY, handler: function() {
|
|
return {locale: LocaleStore.locale};
|
|
}};
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/rpc/server/commands/userSettings.tsx');
|
|
exports.default = object;
|
|
}
|
|
|
|
global.__d(_fun99673, 13053, [1949, 661, 4122, 2]) /* metro module 13053, dependencies: [1949, 661, 4122, 2] */;
|