diff --git a/src/types/ccf.ts b/src/types/ccf.ts index b0899cc..d0f7e59 100644 --- a/src/types/ccf.ts +++ b/src/types/ccf.ts @@ -1,5 +1,6 @@ - -// consumption information for a single instance +/** + * Consumption information for a single instance. + */ export type IConsumption = { idle?: number; tenPercent?: number; @@ -7,17 +8,20 @@ export type IConsumption = { hundredPercent?: number; minWatts?: number; maxWatts?: number; -} // information about a single compute instance +}; +/** + * Information about a single compute instance. + */ export type IComputeInstance = { consumption: IConsumption; embodiedEmission?: number; name: string; vCPUs?: number; maxVCPUs?: number; -} +}; export type ICcfResult = { energy: number; embodied_emissions: number; -} \ No newline at end of file +};