Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FlightWithEmissions

import type { FlightWithEmissions } from "https://googleapis.deno.dev/v1/travelimpactmodel:v1.ts";

Direct flight with emission estimates.

interface FlightWithEmissions {
emissionsGramsPerPax?: EmissionsGramsPerPax;
flight?: Flight;
}

§Properties

§
emissionsGramsPerPax?: EmissionsGramsPerPax
[src]

Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions. Note this field is currently equivalent to ttw_emissions_grams_per_pax until TIM version 1.X.0 which will update this to be total wtw emissions aka wtt_emissions_grams_per_pax + ttw_emissions_grams_per_pax.

§
flight?: Flight
[src]

Required. Matches the flight identifiers in the request. Note: all IATA codes are capitalized.