decord/source/utils/SnowflakeUtils.tsx

71 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 11
// Function ID: 12
// Name: SnowflakeUtils
2026-07-29 08:29:29 +00:00
// Dependencies: [12, 13, 2]
2026-07-20 16:05:17 +00:00
// Module 11 (SnowflakeUtils)
import _modDef12 from "module_12" /* 12 */;
import utils_SnowflakeUtils from "utils/SnowflakeUtils" /* 13 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const utils_SnowflakeUtilsAll = utils_SnowflakeUtils;
const result = size.fileFinishedImporting("utils/SnowflakeUtils.tsx");
2026-07-20 16:05:17 +00:00
export default {
age(arg0) {
return utils_SnowflakeUtilsAll.age(arg0);
2026-07-20 16:05:17 +00:00
},
extractTimestamp(arg0) {
return utils_SnowflakeUtilsAll.extractTimestamp(arg0);
2026-07-20 16:05:17 +00:00
},
compare(arg0, arg1) {
return utils_SnowflakeUtilsAll.compare(arg0, arg1);
2026-07-20 16:05:17 +00:00
},
atPreviousMillisecond(arg0) {
return utils_SnowflakeUtilsAll.atPreviousMillisecond(arg0);
2026-07-20 16:05:17 +00:00
},
atNextMillisecond(arg0) {
return utils_SnowflakeUtilsAll.atNextMillisecond(arg0);
2026-07-20 16:05:17 +00:00
},
fromTimestamp(arg0) {
return utils_SnowflakeUtilsAll.fromTimestamp(arg0);
2026-07-20 16:05:17 +00:00
},
fromTimestampWithSequence(arg0, arg1) {
return utils_SnowflakeUtilsAll.fromTimestampWithSequence(arg0, arg1);
2026-07-20 16:05:17 +00:00
},
keys(arg0) {
return Object.keys(arg0);
},
forEach(arg0, arg1) {
closure_0 = arg1;
const item = _modDef12.forEach(arg0, (arg0, arg1) => closure_0(arg0, arg1));
2026-07-20 16:05:17 +00:00
},
forEachKey(recurrenceCounts, fn) {
2026-07-20 16:05:17 +00:00
for (const key10004 in arg0) {
let tmp2 = arg1(key10004);
2026-07-23 10:11:24 +00:00
continue;
2026-07-20 16:05:17 +00:00
}
},
entries(arg0) {
return Object.entries(arg0);
},
isProbablyAValidSnowflake(arg0) {
return utils_SnowflakeUtilsAll.isProbablyAValidSnowflake(arg0);
2026-07-20 16:05:17 +00:00
},
castChannelIdAsMessageId(id) {
return id;
},
castMessageIdAsChannelId(id) {
return id;
},
castGuildIdAsEveryoneGuildRoleId(guildId) {
return guildId;
},
cast(id) {
return id;
}
};
export const DISCORD_EPOCH = utils_SnowflakeUtils.DISCORD_EPOCH;
export const SnowflakeSequence = utils_SnowflakeUtils.SnowflakeSequence;