UrielCh / proxmox-api

TypeScript Api for proxmox
56 stars 15 forks source link

feat: make able to build their own custom engine #8

Closed FahriDevZ closed 1 year ago

FahriDevZ commented 1 year ago

This change is so people can create their own custom engine by implementing ApiRequestable.

I recommendation to export all type definitions so that the type can be reused in own code. Also I change ProxmoxEngine to ApiRequestable in function proxmoxApi, because basically ProxmoxEngine is implementation of ApiRequestable.

UrielCh commented 1 year ago

let me have some time to refresh the project. wait and see.