import { AptlyModules } from '../core/index.js'; import { AptlyBaseSchema } from './extends.js'; export type AptlyModule = AptlyModuleSchema; export interface AptlyModuleSchema extends AptlyBaseSchema { description: string; featuredWeight: number; modules: AptlyModules[]; listed: boolean; monthly: number; yearly: number; } export type AptlyModuleItem = AptlyModuleItemSchema; export interface AptlyModuleItemSchema { _id: ID; plan: ID | null; module: ID | AptlyModuleSchema; modules: AptlyModules[]; monthly: number; yearly: number; installedBy: ID; installedAt: DATE; }