Add Signal and Whatsapp Docker CI

This commit is contained in:
Darren Clarke 2024-05-15 10:27:14 +02:00
parent b8ff61265b
commit 6305a8b0bc
12 changed files with 99 additions and 8 deletions

View file

@ -2,7 +2,7 @@ import * as Hapi from "@hapi/hapi";
import * as AuthBearer from "hapi-auth-bearer-token";
import hapiPino from "hapi-pino";
import Schmervice from "@hapipal/schmervice";
import WhatsappService from "./service";
import WhatsappService from "./service.js";
import {
GetAllWhatsappBotsRoute,
GetBotsRoute,
@ -12,7 +12,7 @@ import {
UnverifyBotRoute,
RefreshBotRoute,
CreateBotRoute,
} from "./routes";
} from "./routes.js";
const server = Hapi.server({ host: "localhost", port: 5000 });

View file

@ -1,6 +1,6 @@
import * as Hapi from "@hapi/hapi";
import * as Helpers from "./helpers";
import Boom from "@hapi/boom";
import * as Helpers from "./helpers.js";
export const GetAllWhatsappBotsRoute = Helpers.withDefaults({
method: "get",

View file

@ -1,4 +1,4 @@
import type WhatsappService from "./service";
import type WhatsappService from "./service.js";
declare module "@hapipal/schmervice" {
interface SchmerviceDecorator {