36 lines
1.3 KiB
TypeScript
36 lines
1.3 KiB
TypeScript
declare namespace App {
|
|
namespace Features {
|
|
namespace Dashboard {
|
|
namespace DTO {
|
|
export type DashboardData = {
|
|
electricity: App.Features.Dashboard.DTO.ElectricityData;
|
|
gas: App.Features.Dashboard.DTO.GasData;
|
|
};
|
|
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;
|
|
};
|
|
}
|
|
}
|
|
}
|
|
}
|