decord/source/modules/vibegrations/lib/VibegrationsPlatformUtils.native.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

54 lines
1.5 KiB
TypeScript

// Module ID: 16591
// Function ID: 16592
// Dependencies: [1895, 13720, 9692, 2]
// Module 16591
import NativeModulesDefault from "NativeModules" /* 9692 */;
import closure_2 from "getState" /* 1895 */;
import { LocalNotificationTypes } from "LocalNotificationTypes" /* 13720 */;
let result = require("set").fileFinishedImporting("modules/vibegrations/lib/VibegrationsPlatformUtils.native.tsx");
export default {
openVibegrationsAppInstallModal() {
return Promise.resolve();
},
isWindowFocused() {
return "active" === state.getState();
},
areTurnNotificationsDisabled() {
return false;
},
presentTurnNotification(arg0) {
({ projectId, guildId } = arg0);
({ title, body } = arg0);
let obj = NativeModulesDefault;
obj = { category: "local", alertTitle: title, alertBody: body, userInfo: null };
obj = { type: LocalNotificationTypes.VIBEGRATIONS, projectId, channel_id: projectId };
if (null != guildId) {
obj1 = { guildId: null };
obj1[0] = guildId;
let obj2 = obj1;
} else {
obj2 = {};
}
const merged = Object.assign(obj2);
obj[3] = obj;
const result = obj.presentLocalNotification(obj);
},
relayPreviewCapture(closure_0, id, arg2) {
return Promise.resolve({ status: "unavailable" });
},
relayPreviewControl(closure_0, id, request, arg3) {
return Promise.resolve({ status: "unavailable" });
},
releasePreviewControl(closure_0) {
},
beginPreviewOperation(projectId) {
},
endPreviewOperation(projectId) {
}
};