Skip to content

Commit 7446f7b

Browse files
feat: regenerate GraphQL types
1 parent ee6ebfb commit 7446f7b

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

graphql.schema.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8898,7 +8898,20 @@
88988898
{
88998899
"name": "value",
89008900
"description": "The base regional emissions factor in CO2e/kWh.",
8901-
"args": [],
8901+
"args": [
8902+
{
8903+
"name": "unit",
8904+
"description": "Emission unit.",
8905+
"type": {
8906+
"kind": "ENUM",
8907+
"name": "EmissionUnit",
8908+
"ofType": null
8909+
},
8910+
"defaultValue": "gram",
8911+
"isDeprecated": false,
8912+
"deprecationReason": null
8913+
}
8914+
],
89028915
"type": {
89038916
"kind": "NON_NULL",
89048917
"name": null,
@@ -26269,6 +26282,12 @@
2626926282
"inputFields": null,
2627026283
"interfaces": null,
2627126284
"enumValues": [
26285+
{
26286+
"name": "ocpi_station_energy_mix",
26287+
"description": "The current energy mix of the charging station provided by the CPO was used.",
26288+
"isDeprecated": false,
26289+
"deprecationReason": null
26290+
},
2627226291
{
2627326292
"name": "grid_monthly_average",
2627426293
"description": "Historical average energy mix for the month.",

src/graphql.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,6 +1778,10 @@ export type EmissionsFactor = {
17781778
value: Scalars["Float"];
17791779
};
17801780

1781+
export type EmissionsFactorvalueArgs = {
1782+
unit?: Maybe<EmissionUnit>;
1783+
};
1784+
17811785
/** Emissions factor type. */
17821786
export enum EmissionsFactorType {
17831787
COUNTRY = "country",
@@ -5210,6 +5214,8 @@ export type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
52105214

52115215
/** Energy source models. */
52125216
export enum RouteOperationalElectricityEnergySourceModel {
5217+
/** The current energy mix of the charging station provided by the CPO was used. */
5218+
OCPI_STATION_ENERGY_MIX = "ocpi_station_energy_mix",
52135219
/** Historical average energy mix for the month. */
52145220
GRID_MONTHLY_AVERAGE = "grid_monthly_average",
52155221
/** Historical average energy mix for the month and hour. */

0 commit comments

Comments
 (0)