@webfaas/webfaas-core
Version:
WebFaaS Framework - Core
12 lines (11 loc) • 404 B
TypeScript
import { IPackageRegistryResponse } from "./IPackageRegistryResponse";
/**
* PackageRegistry interface
*/
export interface IPackageRegistry {
getTypeName(): string;
getManifest(name: string, etag?: string): Promise<IPackageRegistryResponse>;
getPackage(name: string, version: string, etag?: string): Promise<IPackageRegistryResponse>;
start(): Promise<any>;
stop(): Promise<any>;
}