@shipengine/connect
Version:
The official developer tooling for building ShipEngine connect apps
17 lines (16 loc) • 516 B
TypeScript
import { PackageJSON } from '../types/package-json';
import { AppManifest } from './app-manifest';
import { AppType, DeploymentType } from './app-types';
export interface App {
id: string;
providerId?: string;
manifest: AppManifest;
type: AppType;
deploymentType: DeploymentType;
validate?: () => Promise<string[] | undefined>;
getSupportedCountries?: () => string[] | undefined;
prepackage?: (options: {
package: PackageJSON;
path: string;
}) => Promise<void>;
}