npm package diff
Package: @forge/cli-shared
Versions: 7.0.0-next.9-experimental-76b1041 - 7.0.0-next.10
File: package/out/app-logs/view-logs.d.ts
Index: package/out/app-logs/view-logs.d.ts
===================================================================
--- package/out/app-logs/view-logs.d.ts
+++ package/out/app-logs/view-logs.d.ts
@@ -16,15 +16,17 @@
environmentKey: string;
limit: number;
context?: InstallContext;
startTime?: string | null;
+ containers?: boolean;
}
export declare type AppLogsDetails = {
appId: string;
environmentId: string;
limit: number;
startTime?: string | null;
contextAri?: [Ari];
+ runtime?: string | null;
};
export declare type AppLogsDetailsV2 = AppLogsDetails & {
offset: number;
dateSearchInput: DateSearchInput;
@@ -51,8 +53,12 @@
logs: InvocationLogLine[];
function?: string;
trigger?: string;
}
+export declare enum Runtime {
+ RUNTIMEV2 = "RUNTIMEV2",
+ CONTAINER = "CONTAINER"
+}
export interface ViewAppLogsClient {
viewAppLogs(details: AppLogsDetails): Promise<Invocation[]>;
viewAppLogsV2(details: AppLogsDetailsV2, invocationMap: Map<string, Invocation>, totalRecieved: number): Promise<Invocation[]>;
viewInvocationLogs(details: AppInvocationLogsDetails): Promise<Invocation>;
@@ -63,9 +69,9 @@
private readonly globalEdgeClient;
private readonly logsClient;
private readonly statsigService;
constructor(getAppConfig: AppConfigProvider, appEnvironmentClient: AppEnvironmentClient, globalEdgeClient: GlobalEdgeClient, logsClient: ViewAppLogsClient, statsigService: StatsigService);
- getAll({ environmentKey, limit, context, startTime }: QueryDetails): Promise<Invocation[]>;
+ getAll({ environmentKey, limit, context, startTime, containers }: QueryDetails): Promise<Invocation[]>;
getLogs(details: AppLogsDetails): Promise<Invocation[]>;
getOne(details: InvocationQueryDetails): Promise<Invocation>;
}
//# sourceMappingURL=view-logs.d.ts.map
\ No newline at end of file