mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-09 04:47:41 +00:00
create LRT module frame
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user