This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
// Metro module 13561 (f13562).
import UserStore from "../../../../stores/UserStore";
import * as _Constants from "../../Constants";
import { RPCCommands } from "../../../../Constants";
import { createRPCCommand } from "../../../../_bundle/Module13535";
import transformUser from "../../helpers/transformUser";
const { RPC_EMBEDDED_APP_SCOPE, RPC_LOCAL_SCOPE, RPC_SCOPE_CONFIG } = _Constants;
const r25 = {};
const GET_USER = RPCCommands.GET_USER;
const GET_USER2 = RPCCommands.GET_USER;
const scope = {};
scope[RPC_SCOPE_CONFIG.ANY] = [RPC_EMBEDDED_APP_SCOPE, RPC_LOCAL_SCOPE];
r25[GET_USER] = createRPCCommand(GET_USER2, {
scope,
handler: (a0) => {
const user = UserStore.getUser(a0.args.id);
return user != null ? transformUser(user) : null;
}
});
export default r25;