@sls-next/core
Version:
Handles Next.js routing independent of provider
12 lines (11 loc) • 521 B
TypeScript
/**
* This class allows one to integrate third party libraries by copying them to a specific Lambda directory.
* Extend from this, implement the execute() method, and keep it generic enough so it can be reused across platforms.
*/
export declare abstract class ThirdPartyIntegrationBase {
protected nextConfigDir: string;
protected outputHandlerDir: string;
constructor(nextConfigDir: string, outputHandlerDir: string);
abstract execute(): void;
isPackagePresent(name: string): Promise<boolean>;
}