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

+15
View File
@@ -0,0 +1,15 @@
// Metro module 4024 (f4025).
import { PSEUDO_GUILD_IDS } from "./RouteConstants";
import { isStaticChannelRoute } from "../channel/ChannelConstants";
import { RouteParam } from "./RouteParam";
let c2302_2 = /^\d+$/;
exports.RouteParam = RouteParam;
export function isPseudoGuildId(a0) {
return PSEUDO_GUILD_IDS.includes(a0);
}
export function isValidGuildId(a0) {
return a0 != null && (!!PSEUDO_GUILD_IDS.includes(a0) || !!c2302_2.test(a0));
}
export function isValidChannelId(a0) {
return a0 == null || (!!c2302_2.test(a0) || !!isStaticChannelRoute(a0));
}