@sprucelabs/spruce-cli
Version:
Command line interface for building Spruce skills.
22 lines (21 loc) • 714 B
TypeScript
import { FileDescription } from '../../types/cli.types';
import AbstractFeature, { FeatureDependency } from '../AbstractFeature';
import { FeatureCode } from '../features.types';
export default class EventContractFeature extends AbstractFeature {
code: FeatureCode;
nameReadable: string;
description: string;
dependencies: FeatureDependency[];
packageDependencies: never[];
actionsDir: string;
readonly fileDescriptions: FileDescription[];
isInstalled: () => Promise<boolean>;
}
declare module '../../features/features.types' {
interface FeatureMap {
eventContract: EventContractFeature;
}
interface FeatureOptionsMap {
eventContract: undefined;
}
}