decord/source/modules/vibegrations/lib/VibegrationsPlatformUtils.native.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

54 lines
1.5 KiB
TypeScript

// Module ID: 16588
// Function ID: 16589
// Dependencies: [1895, 13716, 9687, 2]
// Module 16588
import NativeModulesDefault from "NativeModules" /* 9687 */;
import closure_2 from "getState" /* 1895 */;
import { LocalNotificationTypes } from "LocalNotificationTypes" /* 13716 */;
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) {
}
};