decord/stable/source/records/TwitchApplicationRecord.tsx

31 lines
980 B
TypeScript
Raw Permalink Normal View History

2026-10-06 22:12:49 +00:00
// Module ID: 13295
// Function ID: 13296
// Name: TwitchApplicationRecord
2026-10-06 22:12:49 +00:00
// Dependencies: [2009, 1127, 5596, 2]
2026-10-06 22:12:49 +00:00
// Module 13295 (TwitchApplicationRecord)
import intl2 from "intl" /* 1127 */;
import PlatformsDefault from "Platforms" /* 5596 */;
import ApplicationRecord from "ApplicationRecord" /* 2009 */;
import size from "module_2" /* 2 */;
let c3 = "twitch:";
const result = size.fileFinishedImporting("records/TwitchApplicationRecord.tsx");
2026-10-06 22:12:49 +00:00
class TwitchApplicationRecord extends ApplicationRecord {
constructor(url) {
const tmp3 = new TwitchApplicationRecord(url, tmp2, tmp, new.target);
tmp3.id = "" + c3 + url.url;
const intl = intl2.intl;
tmp3.name = intl.string(intl2.t.JIPtgq);
return tmp3;
}
2026-10-06 22:12:49 +00:00
getIconURL() {
const obj = PlatformsDefault;
return obj.get("twitch").icon.lightPNG;
}
}
2026-10-06 22:12:49 +00:00
const prototype = TwitchApplicationRecord.prototype;
export default TwitchApplicationRecord;
export const TWITCH_APPLICATION_ID_PREFIX = "twitch:";