import { Annotation } from '@alterior/annotations'; import { Injector, Provider } from '@alterior/di'; export interface ApplicationOptions { /** * Specify a human readable name for your application. */ name?: string; /** * Version of the service */ version?: string; /** * The computer-readable name for your application. Should match your NPM package name. */ packageName?: string; /** * A long-form description for your application, when necessary. If you implement only one, * implement summary instead. */ description?: string; /** * A shorter-form description for your application, when necessary. If you implement only one, * implement this instead of description. */ summary?: string; /** * A set of string tags related to your application. */ tags?: string[]; group?: string; /** * Enable verbose console logging for Alterior */ verbose?: boolean; /** * Whether to start the service immediately on startup. * Defaults to true. */ autostart?: boolean; /** * Turn off all console output */ silent?: boolean; /** * Additional dependency injection providers to include in the application's injector. */ providers?: Provider[]; /** * An injector to use as the parent of the application injector. Optional, useful when doing more complex * application bootstrapping. */ parentInjector?: Injector; } /** * Used to attach an ApplicationOptions object onto a class definition. */ export declare class AppOptionsAnnotation extends Annotation { readonly options?: ApplicationOptions | undefined; constructor(options?: ApplicationOptions | undefined); } /** * Use this decorator to define the options for your application, * either on the entry module, or service class when using `@alterior/web-server`. */ export declare const AppOptions: (options?: ApplicationOptions | undefined) => ClassDecorator; //# sourceMappingURL=app-options.d.ts.map