npm package diff
Package: @forge/cli-shared
Versions: 6.7.1-next.2-experimental-611b366 - 6.8.0-next.3
File: package/out/apps/create-an-app.d.ts
Index: package/out/apps/create-an-app.d.ts
===================================================================
--- package/out/apps/create-an-app.d.ts
+++ package/out/apps/create-an-app.d.ts
@@ -1,10 +1,12 @@
import { CreateAppClientInput, RegisterAppCommand, RegisterAppResult } from './register-app';
import { Templater } from './template';
import { PackageInstaller } from './package-installer';
+import { StatsigService } from '../service';
export interface CreateAppCommandInput extends CreateAppClientInput {
template: string;
directory: string;
+ requiredProduct?: string;
}
export declare class NoTemplatesError extends Error {
constructor();
}
@@ -16,9 +18,11 @@
export declare class CreateAppCommand {
private readonly templater;
private readonly registerAppCommand;
private readonly packageInstaller;
- constructor(templater: Templater, registerAppCommand: RegisterAppCommand, packageInstaller: PackageInstaller);
- execute({ name, description, template, directory }: CreateAppCommandInput): Promise<CreateAppCommandResult>;
+ private readonly statsig;
+ constructor(templater: Templater, registerAppCommand: RegisterAppCommand, packageInstaller: PackageInstaller, statsig: StatsigService);
+ execute({ name, description, template, directory, requiredProduct }: CreateAppCommandInput): Promise<CreateAppCommandResult>;
getAvailableTemplates(): Promise<string[]>;
+ filterAvailableProducts<T extends string>(products: T[], teamworkGraph: T, crossContext: T): Promise<T[]>;
}
//# sourceMappingURL=create-an-app.d.ts.map
\ No newline at end of file