@e-trias/woonplan 1.3.90 → 1.3.91
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/package.json +1 -1
- package/types.d.ts +23 -23
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -315,7 +315,7 @@ export interface IHousetemplate{
|
|
|
315
315
|
calculationdata ?: string
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
export interface
|
|
318
|
+
export interface ISolarApicall{
|
|
319
319
|
id:string
|
|
320
320
|
deleted:boolean
|
|
321
321
|
name?:string
|
|
@@ -327,7 +327,7 @@ export interface Solarapicall{
|
|
|
327
327
|
postcode:string
|
|
328
328
|
housenumber:number
|
|
329
329
|
extension:string | null
|
|
330
|
-
result:string |
|
|
330
|
+
result:string | ISolarApiResponse | ISolarApiResult
|
|
331
331
|
module : number
|
|
332
332
|
}
|
|
333
333
|
|
|
@@ -1129,7 +1129,7 @@ export interface IMeasuretype{
|
|
|
1129
1129
|
|
|
1130
1130
|
|
|
1131
1131
|
|
|
1132
|
-
export interface
|
|
1132
|
+
export interface ISolarApiAddress {
|
|
1133
1133
|
add_on: string
|
|
1134
1134
|
addition: string
|
|
1135
1135
|
city: string
|
|
@@ -1145,7 +1145,7 @@ export interface SolarApiAddress {
|
|
|
1145
1145
|
spc_key: string
|
|
1146
1146
|
street: string
|
|
1147
1147
|
}
|
|
1148
|
-
export interface
|
|
1148
|
+
export interface ISolarApiBagdata {
|
|
1149
1149
|
building_add_on: string | null,
|
|
1150
1150
|
building_addition: string | null,
|
|
1151
1151
|
building_area: number,
|
|
@@ -1161,7 +1161,7 @@ export interface SolarApiBagdata {
|
|
|
1161
1161
|
pand_status: string
|
|
1162
1162
|
}
|
|
1163
1163
|
|
|
1164
|
-
export interface
|
|
1164
|
+
export interface ISolarApiCalculationParamaters{
|
|
1165
1165
|
harging_station: boolean
|
|
1166
1166
|
costs_insurance: number
|
|
1167
1167
|
costs_other: number
|
|
@@ -1184,7 +1184,7 @@ export interface SolarApiCalculationParamaters{
|
|
|
1184
1184
|
system_loss: number
|
|
1185
1185
|
}
|
|
1186
1186
|
|
|
1187
|
-
export interface
|
|
1187
|
+
export interface ISolarApiData {
|
|
1188
1188
|
autarky: number
|
|
1189
1189
|
building_area: number
|
|
1190
1190
|
co2_savings: number
|
|
@@ -1237,12 +1237,12 @@ export interface SolarApiData {
|
|
|
1237
1237
|
years_until_payed_back: number
|
|
1238
1238
|
}
|
|
1239
1239
|
|
|
1240
|
-
export interface
|
|
1240
|
+
export interface ISolarApiMapLayer {
|
|
1241
1241
|
name: string
|
|
1242
1242
|
url: string
|
|
1243
1243
|
}
|
|
1244
1244
|
|
|
1245
|
-
export interface
|
|
1245
|
+
export interface ISolarApiModule {
|
|
1246
1246
|
Wp: number,
|
|
1247
1247
|
cost_per_kwp: number,
|
|
1248
1248
|
height: number,
|
|
@@ -1252,10 +1252,10 @@ export interface SolarApiModule {
|
|
|
1252
1252
|
width: number
|
|
1253
1253
|
}
|
|
1254
1254
|
|
|
1255
|
-
export interface
|
|
1255
|
+
export interface ISolarApiPlantData{
|
|
1256
1256
|
estimated_yield:number,
|
|
1257
1257
|
kwp: number,
|
|
1258
|
-
module:
|
|
1258
|
+
module: ISolarApiModule,
|
|
1259
1259
|
number_of_modules: number,
|
|
1260
1260
|
orientation: number,
|
|
1261
1261
|
roof_id: number,
|
|
@@ -1263,13 +1263,13 @@ export interface SolarApiPlantData{
|
|
|
1263
1263
|
tilt: number
|
|
1264
1264
|
}
|
|
1265
1265
|
|
|
1266
|
-
export interface
|
|
1267
|
-
data:
|
|
1266
|
+
export interface ISolarApiPlant{
|
|
1267
|
+
data: ISolarApiPlantData,
|
|
1268
1268
|
mp: string
|
|
1269
1269
|
type: string
|
|
1270
1270
|
}
|
|
1271
1271
|
|
|
1272
|
-
export interface
|
|
1272
|
+
export interface ISolarApiRequest {
|
|
1273
1273
|
add_on: string
|
|
1274
1274
|
addition: string
|
|
1275
1275
|
api_type: string
|
|
@@ -1281,20 +1281,20 @@ export interface SolarApiRequest {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
|
|
1283
1283
|
|
|
1284
|
-
export interface
|
|
1285
|
-
address :
|
|
1286
|
-
bagdata :
|
|
1284
|
+
export interface ISolarApiResult{
|
|
1285
|
+
address : ISolarApiAddress
|
|
1286
|
+
bagdata : ISolarApiBagdata[]
|
|
1287
1287
|
buildingwkt : string
|
|
1288
|
-
calculation_parameters :
|
|
1289
|
-
data :
|
|
1288
|
+
calculation_parameters : ISolarApiCalculationParamaters
|
|
1289
|
+
data : ISolarApiData
|
|
1290
1290
|
href : string
|
|
1291
1291
|
individual_data : any
|
|
1292
|
-
map_layers :
|
|
1292
|
+
map_layers : ISolarApiMapLayer[]
|
|
1293
1293
|
monuments : {
|
|
1294
1294
|
monument_areas: [],
|
|
1295
1295
|
national_monuments: []
|
|
1296
1296
|
}
|
|
1297
|
-
plants :
|
|
1297
|
+
plants : ISolarApiPlant[],
|
|
1298
1298
|
images : {
|
|
1299
1299
|
radiation : string,
|
|
1300
1300
|
radiation_large:string,
|
|
@@ -1303,9 +1303,9 @@ export interface SolarApiResult{
|
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
1305
|
|
|
1306
|
-
export interface
|
|
1307
|
-
request :
|
|
1308
|
-
results :
|
|
1306
|
+
export interface ISolarApiResponse {
|
|
1307
|
+
request : ISolarApiRequest
|
|
1308
|
+
results : ISolarApiResult[]
|
|
1309
1309
|
}
|
|
1310
1310
|
|
|
1311
1311
|
|