decord/source/modules/guilds_bar/native/GuildsBarConstants.tsx
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

26 lines
1.4 KiB
TypeScript

// Module ID: 16353
// Function ID: 16354
// Name: GuildsBarConstants
// Dependencies: [4308, 576, 2]
// Exports: useGuildWrapperSize
// Module 16353 (GuildsBarConstants)
import nativeDefault from "native" /* 576 */;
import useToken from "useToken" /* 4308 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/guilds_bar/native/GuildsBarConstants.tsx");
export const GUILD_ITEM_SIZE = 48;
export const GUILD_LIST_WIDTH = 72;
export const GUILD_ITEM_EMPTY_SRC = { uri: "invalid" };
export const GUILD_ITEM_HIT_SLOP = { top: 4, left: 12, bottom: 4, right: 12 };
export const GUILD_ITEM_BADGE_SIZE = 16;
export const GUILD_ITEM_INSET_LEFT = 12;
export const useGuildWrapperSize = function useGuildWrapperSize() {
const token = useToken.useToken(nativeDefault.modules.mobile.GUILD_BAR_ITEM_SIZE);
return token + 2 * useToken.useToken(nativeDefault.modules.mobile.GUILD_BAR_ITEM_MARGIN);
};
export const FastListRenderSections = { MESSAGES: 0, [0]: "MESSAGES", FAVORITES: 1, [1]: "FAVORITES", PENDING_JOIN_REQUESTS: 2, [2]: "PENDING_JOIN_REQUESTS", LURKING_GUILDS: 3, [3]: "LURKING_GUILDS", GUEST_GUILDS: 4, [4]: "GUEST_GUILDS", UNREAD_PRIVATE_CHANNELS: 5, [5]: "UNREAD_PRIVATE_CHANNELS", SEPARATOR: 6, [6]: "SEPARATOR", GUILDS: 7, [7]: "GUILDS" };
export const FOLDER_SPRING_PHYSICS = { mass: 0.5, damping: 30, stiffness: 300 };
export const TRANSITION_PHYSICS = { mass: 0.5, damping: 15, stiffness: 120 };