Skip to content

Feature/#90 province use common list#127

Open
YerayGonzalez52 wants to merge 4 commits intomainfrom
feature/#90-province-use-common-list
Open

Feature/#90 province use common list#127
YerayGonzalez52 wants to merge 4 commits intomainfrom
feature/#90-province-use-common-list

Conversation

@YerayGonzalez52
Copy link
Collaborator

Use predefined province constants from db-model in embalseProvincias map.
This cleans up the hardcoded names, avoids typos, and makes future maintenance easier.

["zocueca", "Jaén"],
["zufre", "Huelva"],
["zujar", "Granada"],
["acena", ZAMORA],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ávila

["aguascebas", JAEN],
["agueda", SALAMANCA],
["aguijon-el", CIUDAD_REAL],
["aguilar", CORDOBA],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Palencia

["aldeadavila", SALAMANCA],
["alfilorios", ASTURIAS],
["alfonso-xiii", MURCIA],
["algar", CADIZ],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valencia

["algeciras", MURCIA],
["alloz", NAVARRA],
["almendra", SALAMANCA],
["almodovar", CORDOBA],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cádiz

["aracena", HUELVA],
["arbon", ASTURIAS],
["arcos-de-la-frontera", CADIZ],
["arenos", BARCELONA],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Castellón

["bao", OURENSE],
["barasona", HUESCA],
["barbate", CADIZ],
["barca-la", PONTEVEDRA],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cantabria

["boadella", GIRONA],
["bolarque", GUADALAJARA],
["bolera-la", JAEN],
["boqueron", SEVILLA],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Badajoz

["brena-la", CORDOBA],
["brovales", BADAJOZ],
["bubal", HUESCA],
["buendia", CUENCA],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guadalajara

["cala", SEVILLA],
["calanda", TERUEL],
["camarasa", LLEIDA],
["camarillas", TERUEL],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Albacete

["calanda", TERUEL],
["camarasa", LLEIDA],
["camarillas", TERUEL],
["campanana-la", JAEN],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leon

YerayGonzalez52

This comment was marked as off-topic.

@Lemoncode Lemoncode deleted a comment from YerayGonzalez52 Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants