41 lines
1.7 KiB
TypeScript
41 lines
1.7 KiB
TypeScript
declare namespace App {
|
|
namespace Features {
|
|
namespace Dashboard {
|
|
namespace Data {
|
|
export type DashboardData = {
|
|
electricity: App.Features.Dashboard.Data.ElectricityData;
|
|
electricityCheapest: App.Features.Dashboard.Data.ElectricityData | null;
|
|
electricityDurable: App.Features.Dashboard.Data.ElectricityData | null;
|
|
electricityPriciest: App.Features.Dashboard.Data.ElectricityData | null;
|
|
gas: App.Features.Dashboard.Data.GasData;
|
|
gasCheapest: App.Features.Dashboard.Data.GasData | null;
|
|
gasPriciest: App.Features.Dashboard.Data.GasData | null;
|
|
};
|
|
export type ElectricityData = {
|
|
startDate: string;
|
|
endDate: string;
|
|
period: string;
|
|
marketPrice: number | null;
|
|
totalPriceTaxIncluded: number | null;
|
|
priceInclHandlingVat: number | null;
|
|
priceTaxWithVat: number | null;
|
|
pricingProfile: string | null;
|
|
carbonFootprintInGram: number | null;
|
|
sustainabilityScore: number | null;
|
|
startDateDatetime: string;
|
|
};
|
|
export type GasData = {
|
|
startDate: string;
|
|
endDate: string;
|
|
period: string;
|
|
marketPrice: number;
|
|
totalPriceTaxIncluded: number;
|
|
priceInclHandlingVat: number;
|
|
priceTaxWithVat: number;
|
|
startDateDatetime: string;
|
|
};
|
|
}
|
|
}
|
|
}
|
|
}
|