npm package diff
Package: @forge/cli-shared
Versions: 8.0.0-next.10-experimental-97e4b11 - 8.0.0-next.12
File: package/out/app-logs/view-logs.js
Index: package/out/app-logs/view-logs.js
===================================================================
--- package/out/app-logs/view-logs.js
+++ package/out/app-logs/view-logs.js
@@ -20,9 +20,9 @@
this.globalEdgeClient = globalEdgeClient;
this.logsClient = logsClient;
this.statsigService = statsigService;
}
- async getAll({ environmentKey, limit, context, startTime = null, containers = false }) {
+ async getAll({ environmentKey, limit, context, startTime = null, grouped = false, containers = false }) {
const { id: appId } = await this.getAppConfig();
const [environmentId, cloudId] = await Promise.all([
this.appEnvironmentClient.getAppEnvironmentId(appId, environmentKey),
context ? this.globalEdgeClient.getCloudId(context.site) : undefined
@@ -32,9 +32,10 @@
appId: ari_1.EcosystemAppAri.parse(appId).appId,
environmentId,
limit,
startTime,
- contextAri: contextAri ? [contextAri] : undefined
+ contextAri: contextAri ? [contextAri] : undefined,
+ grouped
};
if (containers) {
details.runtime = Runtime.CONTAINER.toLowerCase();
}
@@ -62,9 +63,9 @@
offset: 0,
dateSearchInput,
queryStartTime: earliestStart.toISOString(),
maxLimit: details.limit
- }, new Map(), 0);
+ }, new Map(), [], 0);
}
async getOne(details) {
return this.logsClient.viewInvocationLogs({ invocationId: details.invocationId });
}