pterowrap
Version:
A node.js wrapper for Pterodactyl API
16 lines (15 loc) • 430 B
TypeScript
import ApplicationInstance from "../../instance/ApplicationInstance";
import Node from "./Node";
export default class Allocation {
private _client;
private _node;
id: number;
ip: string;
alias: string | null;
port: number;
notes: string | null;
assigned: boolean;
raw: any;
constructor(_client: ApplicationInstance, data: any, _node: Node);
delete(): Promise<unknown>;
}