@forge/cli-shared
9.4.0-next.109.4.0-next.11
out/app-logs/view-logs.d.ts~
out/app-logs/view-logs.d.tsModified+15−3
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
@@ -15,10 +15,13 @@
environmentKey: string;
limit: number;
context?: InstallContext;
startTime?: string | null;
- containers?: boolean;
grouped?: boolean;
+ containerKey?: string;
+ containerInstance?: string;
+ serviceKey?: string;
+ functionKey?: string;
}
export type AppLogsDetails = {
appId: string;
environmentId: string;
@@ -32,8 +35,12 @@
offset: number;
dateSearchInput: DateSearchInput;
queryStartTime: string;
maxLimit: number;
+ containers?: string[];
+ instances?: string[];
+ services?: string[];
+ functionKeys?: string[];
};
export interface InvocationQueryDetails {
environmentKey: string;
invocationId: string;
@@ -70,9 +77,14 @@
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, grouped, containers }: QueryDetails): Promise<Invocation[]>;
- getLogs(details: AppLogsDetails): Promise<Invocation[]>;
+ getAll({ environmentKey, limit, context, containerKey, containerInstance, serviceKey, functionKey, startTime, grouped }: QueryDetails): Promise<Invocation[]>;
+ getLogs(details: AppLogsDetails, containerDetails: {
+ containerKey?: string;
+ containerInstance?: string;
+ serviceKey?: string;
+ functionKey?: string;
+ }): Promise<Invocation[]>;
getOne(details: InvocationQueryDetails): Promise<Invocation>;
}
//# sourceMappingURL=view-logs.d.ts.map
\ No newline at end of file