@forge/cli

12.11.012.12.0-next.9
out/environment/list-environment.d.ts
out/environment/list-environment.d.ts
+10−2
Index: package/out/environment/list-environment.d.ts
===================================================================
--- package/out/environment/list-environment.d.ts
+++ package/out/environment/list-environment.d.ts
@@ -1,18 +1,26 @@
 import { AppConfigProvider, AppEnvironment } from '@forge/cli-shared';
 export interface ListEnvironmentDetails {
     appId: string;
+    before?: string;
 }
 export interface ListEnvironmentOutput extends Pick<AppEnvironment, 'key' | 'type' | 'id'> {
     lastDeployedAt: string;
     requiredProducts?: string[];
 }
+export interface ListEnvironmentPageResult {
+    environments: ListEnvironmentOutput[];
+    hasPreviousPage: boolean;
+    startCursor?: string;
+    totalCount?: number;
+}
 export interface ListEnvironmentClient {
-    listEnvironment(details: ListEnvironmentDetails): Promise<ListEnvironmentOutput[]>;
+    listEnvironmentPage(details: ListEnvironmentDetails, pageSize?: number): Promise<ListEnvironmentPageResult>;
 }
 export declare class ListEnvironmentCommand {
     private readonly client;
     private readonly getAppConfig;
     constructor(client: ListEnvironmentClient, getAppConfig: AppConfigProvider);
-    execute(): Promise<ListEnvironmentOutput[]>;
+    fetchPage(before?: string): Promise<ListEnvironmentPageResult>;
+    fetchAll(): Promise<ListEnvironmentOutput[]>;
 }
 //# sourceMappingURL=list-environment.d.ts.map
\ No newline at end of file