@meyicloud/meyi-cost-ui 1.7.0 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.mjs +1201 -1196
- package/dist/services/cost.d.ts +1 -0
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/dist/services/cost.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare const costService: {
|
|
|
32
32
|
removeAnalysisReport: (id: string) => Promise<{
|
|
33
33
|
success: boolean;
|
|
34
34
|
}>;
|
|
35
|
+
downloadAnalysisHtml: (id: string) => Promise<Blob>;
|
|
35
36
|
downloadAnalysisPdf: (id: string) => Promise<Blob>;
|
|
36
37
|
getSources: () => Promise<{
|
|
37
38
|
sources: CostAwsSource[];
|
package/dist/types.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export interface CostSourceAwsCleanup {
|
|
|
11
11
|
region: string;
|
|
12
12
|
managementStackName: string;
|
|
13
13
|
stackSetName: string | null;
|
|
14
|
+
/** Stack that created the StackSet; deleting it removes the StackSet too. */
|
|
15
|
+
membersStackName?: string | null;
|
|
14
16
|
}
|
|
15
17
|
export interface CostAwsSource {
|
|
16
18
|
connectionId: string;
|
|
@@ -254,8 +256,11 @@ export interface CostAnalysisReport {
|
|
|
254
256
|
findings?: CostAiFinding[];
|
|
255
257
|
recommendations?: CostAiRecommendation[];
|
|
256
258
|
limitations?: string[];
|
|
259
|
+
/** Reports created before the HTML export only have a PDF. */
|
|
257
260
|
pdfReady: boolean;
|
|
258
261
|
pdfSize: number;
|
|
262
|
+
htmlReady: boolean;
|
|
263
|
+
htmlSize: number;
|
|
259
264
|
/** The task limit the report ran with; null for reports created before the setting existed. */
|
|
260
265
|
ticketLimit?: number | null;
|
|
261
266
|
/** Tasks the report produced. */
|