UNPKG

hins

Version:

[![codecov](https://codecov.io/gh/l-zoy/hins/branch/main/graph/badge.svg)](https://codecov.io/gh/l-zoy/hins) [![GitHub license](https://img.shields.io/github/license/l-zoy/hins)](https://github.com/l-zoy/hins/blob/master/LICENSE) ![node-current](https://i

18 lines (17 loc) 593 B
import type { IApiRegisterPlugins, IApiRegisterMethod, IApiDescribe, IApiOpitons, ICommands, IHook, IWorkDir } from './types'; export default class Api { /** * @desc as an identifier */ path?: IWorkDir; /** * @desc Core prototype */ core: IApiOpitons['core']; constructor(options: IApiOpitons); describe(options: IApiDescribe): void; registerCommand(options: ICommands): void; registerPlugins(plugins: IApiRegisterPlugins): void; registerMethod(options: IApiRegisterMethod): void; register(options: Omit<IHook, 'pluginId'>): void; }