INTO-CPS-Association/DTaaS

View on GitHub
servers/lib/src/files/interfaces/files.service.interface.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { CONFIG_MODE } from '../../enums/config-mode.enum.js';
import { Project } from 'src/types.js';

export const FILE_SERVICE = 'FILE_SERVICE';
// FileService interface
export interface IFilesService {
  listDirectory(path: string): Promise<Project>;
  readFile(path: string): Promise<Project>;
  getMode(): CONFIG_MODE;
}