Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,27 @@
|
||||
/* Metro module 9699; source: modules/forums/native/hooks/useCanSearchForumPostsByChannelId.tsx; dependencies: [1379, 3784, 661, 566, 2] */
|
||||
function _fun76232(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76232, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9885:6, offset: 0x01dc765d, size: 152 bytes, params: 8, frame: 19
|
||||
let env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
|
||||
const permissionStore = importDefault(3784) /* metro dependency 3784: PermissionStore */;
|
||||
const env0_4 = (require(661) /* metro dependency 661: Constants */).Permissions;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forums/native/hooks/useCanSearchForumPostsByChannelId.tsx');
|
||||
exports.useCanSearchForumPostsByChannelId = function(a0) {
|
||||
var env0_0 = a0;
|
||||
return require(dependencyMap[3]).useStateFromStores([ChannelStore, PermissionStore], _fun76234);
|
||||
};
|
||||
}
|
||||
|
||||
function useCanSearchForumPostsByChannelId(a0) { // fn#76233, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9885:273, offset: 0x01dc76f5, size: 74 bytes, params: 2, frame: 15
|
||||
const env0_0 = a0;
|
||||
return (require(566) /* metro dependency 566: flux */).useStateFromStores([ChannelStore, PermissionStore],
|
||||
_fun76234);
|
||||
}
|
||||
|
||||
function _fun76234() { // fn#76234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9885:360, offset: 0x01dc773f, size: 61 bytes, params: 1, frame: 14
|
||||
const value = environment.__proto__;
|
||||
const channel = ChannelStore.getChannel(env0_0);
|
||||
return channel != null && PermissionStore.can(Permissions.READ_MESSAGE_HISTORY, channel);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/* Metro module 9722; source: modules/forums/native/hooks/useIsForumChannelSearchActive.tsx; dependencies: [7156, 9699, 566, 2] */
|
||||
function _fun76377(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76377, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9908:6, offset: 0x01dcd3e6, size: 114 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const forumSearchStore = importDefault(7156) /* metro dependency 7156: ForumSearchStore */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forums/native/hooks/useIsForumChannelSearchActive.tsx');
|
||||
exports.useIsForumChannelSearchActive = useIsForumChannelSearchActive;
|
||||
}
|
||||
|
||||
function useIsForumChannelSearchActive(a0) { // fn#76378, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9908:233, offset: 0x01dcd458, size: 107 bytes, params: 2, frame: 18
|
||||
const env0_0 = a0;
|
||||
const value2 = (require(9699) /* metro dependency 9699: useCanSearchForumPostsByChannelId */).useCanSearchForumPostsByChannelId(a0);
|
||||
const fluxModule = require(566) /* metro dependency 566: flux */;
|
||||
const useStateFromStores = fluxModule.useStateFromStores;
|
||||
return value2 && Reflect.apply(useStateFromStores, fluxModule, [[ForumSearchStore], _fun76379, [a0]]) != null;
|
||||
}
|
||||
|
||||
function _fun76379() { // fn#76379, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9908:360, offset: 0x01dcd4c3, size: 40 bytes, params: 1, frame: 12
|
||||
const value2 = null;
|
||||
return value2 != env0_0 ? ForumSearchStore.getSearchQuery(env0_0) : value2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user