Skip to content

Feature/#90 province use common list#127

Merged
brauliodiez merged 8 commits into
mainfrom
feature/#90-province-use-common-list
Feb 19, 2026
Merged

Feature/#90 province use common list#127
brauliodiez merged 8 commits into
mainfrom
feature/#90-province-use-common-list

Conversation

@YerayGonzalez52
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
["uzquiza", BURGOS],
["vadiello", HUESCA],
["vado-el", GUADALAJARA],
["vadomojon", JAEN],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Córdoba

["saucelle", SALAMANCA],
["sequeiros", OURENSE],
["serones", ALMERIA],
["sichar", HUESCA],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Castellón

["sau", BARCELONA],
["saucelle", SALAMANCA],
["sequeiros", OURENSE],
["serones", ALMERIA],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ávila

["santomera", MURCIA],
["sau", BARCELONA],
["saucelle", SALAMANCA],
["sequeiros", OURENSE],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Lugo

["santa-eulalia", CACERES],
["santa-maria-de-belsue", HUESCA],
["santa-teresa", SALAMANCA],
["santillana", CANTABRIA],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Madrid

["san-sebastian", ZAMORA],
["san-estevo", OURENSE],
["sancho", HUELVA],
["sant-pons", BARCELONA],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Lerida

["san-juan", MADRID],
["san-lorenzo", LLEIDA],
["san-martino", PONTEVEDRA],
["san-pedro", OURENSE],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Lugo

["san-jose", VALLADOLID],
["san-juan", MADRID],
["san-lorenzo", LLEIDA],
["san-martino", PONTEVEDRA],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Orense

["portaje", CACERES],
["portas-las", OURENSE],
["portina-la", TOLEDO],
["portodemouros", A_CORUNA],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Pontevedra

["parras-las", TERUEL],
["peares-os", LUGO],
["pedro-marin", JAEN],
["pena", TERUEL],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Mirar bien

@brauliodiez brauliodiez merged commit 7197ce7 into main Feb 19, 2026
1 check passed
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.

3 participants