npm package diff
Package: @forge/cli
Versions: 11.4.0-next.1-experimental-5364136 - 11.4.0-next.14
File: package/out/version/graphql-client.d.ts
Index: package/out/version/graphql-client.d.ts
===================================================================
--- package/out/version/graphql-client.d.ts
+++ package/out/version/graphql-client.d.ts
@@ -1,5 +1,5 @@
-import { AppEnvironmentType, AppPermission, AppVersionExtension, GraphQLClient, Maybe, MigrationKeys, Storage, UserError } from '@forge/cli-shared';
+import { AppEnvironmentType, AppPermission, AppVersionExtension, GraphQLClient, Maybe, MigrationKeys, Storage, UserError, AppVersionRolloutStatus } from '@forge/cli-shared';
import { VersionUpgrade } from '../service/version-service';
export interface AppVersionDetailsData {
migrationKeys?: Maybe<MigrationKeys> | null;
permissions?: Array<AppPermission> | null;
@@ -13,8 +13,23 @@
export interface AppVersionIdentity {
id: string;
appVersion: string;
}
+export interface AppVersionRollout {
+ id: string;
+ sourceVersionId: string;
+ targetVersionId: string;
+ status: AppVersionRolloutStatus;
+ appId: string;
+ completedUpgradeCount: number;
+ failedUpgradeCount: number;
+ pendingUpgradeCount: number;
+}
+export interface AppVersionRolloutDetails extends AppVersionRollout {
+ environmentType: AppEnvironmentType;
+ createdAt: string;
+ completedAt: string;
+}
export declare class MissingAppError extends UserError {
}
export declare class MissingAppVersionRolloutError extends Error {
}
@@ -29,8 +44,11 @@
getVersionDetails(appId: string, environmentKey: string, majorVersion?: number): Promise<AppVersionDetailsData>;
getVersionList(appId: string, environmentKey: string): Promise<string[]>;
getAppUpgradeVersionsList(appId: string, environmentKey: string): Promise<VersionUpgrade[]>;
getAppUpgradableToList(appId: string, environmentKey: string, sourceVersionId: string): Promise<VersionUpgrade[]>;
- createAppVersionUpgradeRollout(environmentKey: string, sourceVersionId: string, targetVersionId: string): Promise<string | undefined>;
+ createAppVersionUpgradeRollout(environmentKey: string, sourceVersionId: string, targetVersionId: string, sourceVersionNumber: string, targetVersionNumber: string): Promise<string | undefined>;
getAppVersionIdentity(appId: string, environmentKey: string, majorVersion: number): Promise<AppVersionIdentity>;
+ getAppVersionRolloutsList(appId: string, environmentKey: string): Promise<AppVersionRolloutDetails[]>;
+ getAppVersionRollout(appRolloutId: string): Promise<AppVersionRollout>;
+ cancelAppVersionUpgradeRollout(appRolloutId: string, environmentKey: string): Promise<boolean>;
}
\ No newline at end of file