create LRT module frame

This commit is contained in:
Jurgis Sakalauskas
2022-12-06 19:36:10 +02:00
parent d20295326f
commit 8c9190675b
12 changed files with 243 additions and 4 deletions
+21
View File
@@ -0,0 +1,21 @@
import { Injectable } from '@nestjs/common';
import ApiResponse from './Dto/api-response.dto';
import NotificationResponse from './Dto/notification-response';
@Injectable()
export class KodiApiService {
getMainMenu(): string {
return 'Hello World!';
}
createApiResponse(): ApiResponse {
return new ApiResponse();
}
createNotificationResponse(
message: string,
refreshContainer = true,
): NotificationResponse {
return new NotificationResponse(message, refreshContainer);
}
}