Remove Lunasea

This commit is contained in:
glax 2025-05-16 19:24:00 +02:00
parent bbad467fe6
commit 00932bf6bd
2 changed files with 0 additions and 12 deletions

View File

@ -2,7 +2,6 @@ import {deleteData, getData, putData} from "./fetchApi.tsx";
import INotificationConnector from "./types/INotificationConnector.ts";
import IGotifyRecord from "./types/records/IGotifyRecord.ts";
import INtfyRecord from "./types/records/INtfyRecord.ts";
import ILunaseaRecord from "./types/records/ILunaseaRecord.ts";
import IPushoverRecord from "./types/records/IPushoverRecord.ts";
export const GetNotificationConnectors = async (apiUri: string) : Promise<INotificationConnector[]> => {
@ -39,12 +38,6 @@ export const CreateNtfy = async (apiUri: string, ntfy: INtfyRecord) : Promise<s
return await putData(`${apiUri}/v2/NotificationConnector/Ntfy`, ntfy) as Promise<string>;
}
export const CreateLunasea = async (apiUri: string, lunasea: ILunaseaRecord) : Promise<string> => {
if(lunasea === undefined || lunasea === null)
return Promise.reject("lunasea was not provided");
return await putData(`${apiUri}/v2/NotificationConnector/Lunasea`, lunasea) as Promise<string>;
}
export const CreatePushover = async (apiUri: string, pushover: IPushoverRecord) : Promise<string> => {
if(pushover === undefined || pushover === null)
return Promise.reject("pushover was not provided");

View File

@ -1,5 +0,0 @@
import "../../../styles/notificationConnector.css";
export default interface ILunaseaRecord {
id: string;
}