@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
31 lines • 1.27 kB
TypeScript
import { DependencyType } from './module/DependencyType';
import { LanguageEnum } from './module/LanguageEnum';
import { StatusEnum } from './module/StatusEnum';
/** Hosting modules installed */
export interface Module {
/** The admin folder, relative to the module's installation path */
adminFolder: string;
/** Login for the admin account */
adminName: string;
/** Date of the installation of the module */
creationDate: string;
/** The dependencies to which the module has access. A dependency can be a standard database (like MySQL or PostgreSQL) or a key-value store (like Redis or Memcached) for example */
dependencies: DependencyType[];
/** Installation ID */
id: number;
/** The language of the module */
language: LanguageEnum;
/** Date of the last module's upgrade */
lastUpdate: string;
/** ID of the module associated with this installation */
moduleId: number;
/** Where the module is installed, relative to your home directory */
path: string;
/** The module status */
status: StatusEnum;
/** The URL from where your module can be reached */
targetUrl: string;
/** The task ID working on this module */
taskId?: number;
}
//# sourceMappingURL=Module.d.ts.map