@forge/cli
11.2.1-next.2-experimental-611b36611.3.0-next.4-experimental-011b3b2
out/command-line/register-app-commands.d.tsout/command-line/register-app-commands.d.ts+23−1
Index: package/out/command-line/register-app-commands.d.ts
===================================================================
--- package/out/command-line/register-app-commands.d.ts
+++ package/out/command-line/register-app-commands.d.ts
@@ -1,12 +1,34 @@
import { CreateAppCommandResult, CommandLineUI, CreateAppCommand } from '@forge/cli-shared';
import { Dependencies } from './dependency-injection';
+export declare enum TemplateCategory {
+ SHOW_ALL = "Show All",
+ ROVO = "Rovo Agent and action",
+ UI_KIT_2 = "UI Kit",
+ CUSTOM_UI = "Custom UI",
+ BACKEND = "Triggers and Validators"
+}
+export declare enum TemplateContext {
+ SHOW_ALL = "show-all",
+ BITBUCKET = "bitbucket",
+ COMPASS = "compass",
+ CONFLUENCE = "confluence",
+ JIRA = "jira",
+ JIRA_SERVICE_MANAGEMENT = "jira-service-management",
+ TEAMWORK_GRAPH = "teamwork-graph",
+ ROVO = "rovo",
+ CROSS_CONTEXT = "cross-context"
+}
+declare type TemplateCategoryPredicates = [TemplateCategory, (name: string) => boolean][];
+export declare const PRODUCT_OPTIONS_DISPLAY: Partial<Record<TemplateContext, string>>;
+export declare const CATEGORY_PREDICATES: TemplateCategoryPredicates;
export declare function formatProduct(product: string): string;
-export declare function templateMatchesProduct(productName: string, templateName: string, products: (string | null)[]): boolean;
+export declare function templateMatchesProduct(productName: string, templateName: string, products: (TemplateContext | string | null)[]): boolean;
export declare function directoryNameFromAppName(appName?: string): string | undefined;
export interface CreateCommandHandlerOptions {
template?: string;
directory?: string;
}
export declare function createCommandHandler(ui: CommandLineUI, createAppCommand: CreateAppCommand, name: string, { template, directory }: CreateCommandHandlerOptions): Promise<CreateAppCommandResult>;
export declare function registerCommands(deps: Dependencies): void;
+export {};
//# sourceMappingURL=register-app-commands.d.ts.map
\ No newline at end of file