heroku-kafka
Version:
heroku plugin to manage heroku kafka
14 lines (13 loc) • 654 B
TypeScript
interface HerokuClient {
get(path: string, options?: any): Promise<any>;
post(path: string, options?: any): Promise<any>;
}
interface ResolveOptions {
addon_service?: string;
namespace?: string;
}
declare const appAddon: (heroku: HerokuClient, app: string, id: string, options?: ResolveOptions) => Promise<any>;
declare const addon: any;
declare const attachment: (heroku: HerokuClient, app: string | null, id: string, options?: ResolveOptions) => Promise<any>;
declare const appAttachment: (heroku: HerokuClient, app: string, id: string, options?: ResolveOptions) => Promise<any>;
export { addon, appAddon, appAttachment, attachment, };