Skip to content

Commit

Permalink
Fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Oct 6, 2023
1 parent 249c11d commit b4c8c8b
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,47 +75,47 @@ export const INDICATOR_NAME_CODE_TO_QUERY_MAP: {
production: () =>
`sum_material_over_georegion($1, $2, 'producer') as "${QueryPropertyNames.production}"`,
[INDICATOR_NAME_CODES.DF_SLUC]: (nameCode: INDICATOR_NAME_CODES) =>
`${get_annual_commodity_weighted_impact_over_georegion}($1, '${nameCode}', $2, 'producer') as "${INDICATOR_NAME_CODES.DF_SLUC}"`,
`${get_annual_commodity_weighted_impact_over_georegion}($1, '${INDICATOR_NAME_CODES.DF_SLUC}', $2, 'producer') as "${INDICATOR_NAME_CODES.DF_SLUC}"`,
},
[INDICATOR_NAME_CODES.GHG_DEF_SLUC]: {
production: () =>
`sum_material_over_georegion($1, $2, 'producer') as "${QueryPropertyNames.production}"`,
[INDICATOR_NAME_CODES.GHG_DEF_SLUC]: (nameCode: INDICATOR_NAME_CODES) =>
`${get_annual_commodity_weighted_impact_over_georegion}($1,'${nameCode}', $2, 'producer') as "${INDICATOR_NAME_CODES.GHG_DEF_SLUC}"`,
`${get_annual_commodity_weighted_impact_over_georegion}($1,'${INDICATOR_NAME_CODES.GHG_DEF_SLUC}', $2, 'producer') as "${INDICATOR_NAME_CODES.GHG_DEF_SLUC}"`,
},
[INDICATOR_NAME_CODES.UWU]: {
[INDICATOR_NAME_CODES.UWU]: (nameCode: INDICATOR_NAME_CODES) =>
`${get_indicator_coefficient_impact}('${nameCode}', $3, $2) as "${INDICATOR_NAME_CODES.UWU}"`,
`${get_annual_commodity_weighted_impact_over_georegion}($1,'${INDICATOR_NAME_CODES.UWU}', $2, 'producer') as "${INDICATOR_NAME_CODES.UWU}"`,
},
[INDICATOR_NAME_CODES.WU]: {
[INDICATOR_NAME_CODES.WU]: (nameCode: INDICATOR_NAME_CODES) =>
`${get_indicator_coefficient_impact}('${nameCode}', $3, $2) as "${INDICATOR_NAME_CODES.WU}"`,
`${get_indicator_coefficient_impact}('${INDICATOR_NAME_CODES.WU}', $3, $2) as "${INDICATOR_NAME_CODES.WU}"`,
},
[INDICATOR_NAME_CODES.NL]: {
[INDICATOR_NAME_CODES.NL]: (nameCode: INDICATOR_NAME_CODES) =>
`${get_indicator_coefficient_impact}('${nameCode}', $3, $2) as "${INDICATOR_NAME_CODES.NL}"`,
`${get_indicator_coefficient_impact}('${INDICATOR_NAME_CODES.NL}', $3, $2) as "${INDICATOR_NAME_CODES.NL}"`,
},

[INDICATOR_NAME_CODES.NCE]: {
production: () =>
`sum_material_over_georegion($1, $2, 'producer') as "${QueryPropertyNames.production}"`,
[INDICATOR_NAME_CODES.NCE]: (nameCode: INDICATOR_NAME_CODES) =>
`${get_annual_commodity_weighted_impact_over_georegion}($1, '${nameCode}', $2, 'producer') as "${INDICATOR_NAME_CODES.NCE}"`,
`${get_annual_commodity_weighted_impact_over_georegion}($1, '${INDICATOR_NAME_CODES.NCE}', $2, 'producer') as "${INDICATOR_NAME_CODES.NCE}"`,
},
[INDICATOR_NAME_CODES.FLIL]: {
production: () =>
`sum_material_over_georegion($1, $2, 'producer') as "${QueryPropertyNames.production}"`,
harvest: () =>
`sum_material_over_georegion($1, $2, 'harvest') as "${QueryPropertyNames.harvest}"`,
[INDICATOR_NAME_CODES.FLIL]: (nameCode: INDICATOR_NAME_CODES) =>
`${get_annual_commodity_weighted_impact_over_georegion}($1, '${nameCode}', $2, 'producer') as "${INDICATOR_NAME_CODES.FLIL}"`,
`${get_annual_commodity_weighted_impact_over_georegion}($1, '${INDICATOR_NAME_CODES.FLIL}', $2, 'producer') as "${INDICATOR_NAME_CODES.FLIL}"`,
},
[INDICATOR_NAME_CODES.ENL]: {
production: () =>
`sum_material_over_georegion($1, $2, 'producer') as "${QueryPropertyNames.production}"`,
[INDICATOR_NAME_CODES.ENL]: (nameCode: INDICATOR_NAME_CODES) =>
`${get_annual_commodity_weighted_impact_over_georegion}('${nameCode}', $3, $2) as "${INDICATOR_NAME_CODES.ENL}"`,
`${get_annual_commodity_weighted_impact_over_georegion}($1, '${INDICATOR_NAME_CODES.ENL}', $2, 'producer') as "${INDICATOR_NAME_CODES.ENL}"`,
[INDICATOR_NAME_CODES.NL]: (nameCode: INDICATOR_NAME_CODES) =>
`${get_annual_commodity_weighted_impact_over_georegion}('${nameCode}', $3, $2) as "${INDICATOR_NAME_CODES.NL}"`,
`${get_indicator_coefficient_impact}('${INDICATOR_NAME_CODES.NL}', $3, $2) as "${INDICATOR_NAME_CODES.NL}"`,
},
};

0 comments on commit b4c8c8b

Please sign in to comment.