pterowrap
Version:
A node.js wrapper for Pterodactyl API
21 lines (20 loc) • 588 B
TypeScript
import ApplicationInstance from "../../instance/ApplicationInstance";
import Server from "./Server";
export default class Database {
private _client;
_parentServer: Server;
id: number;
server: number;
host: number;
database: string;
username: string;
remote: string;
max_connections: number;
created_at: string;
updated_at: string;
relationships: any;
raw: any;
constructor(_client: ApplicationInstance, data: any, _parentServer: Server);
resetPassword(): Promise<unknown>;
delete(): Promise<unknown>;
}