Initial commit: Vuelato - buscador de vuelos
Some checks failed
ci / ci (22, ubuntu-latest) (push) Has been cancelled

Nuxt 4 + Supabase + Flightics API. Incluye búsqueda de vuelos,
inspiraciones, watchlist, tracking de precios y mapa interactivo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Martinez
2026-04-10 23:37:06 +02:00
commit b8906efc80
122 changed files with 37809 additions and 0 deletions

23
proto/inspirations.proto Normal file
View File

@@ -0,0 +1,23 @@
syntax = "proto3";
package inspirations.v1;
service InspirationService {
rpc GetInspirationsV1 (InspirationsRequest) returns (InspirationsResponse);
}
message InspirationsRequest {
string locale = 1; // e.g. "en"
repeated string start_locations_codes = 2; // e.g. ["LEI", "GRX", "MLN"]
}
message InspirationsResponse {
bytes unknown1 = 1; // empty in observed responses
repeated InspirationItem items = 2;
}
message InspirationItem {
string from = 1; // departure airport IATA e.g. "LEI"
repeated string stops = 2; // destination airports e.g. ["LGW", "DBV", "FCO"]
double min_price = 3; // e.g. 119.25
}

61
proto/locations.proto Normal file
View File

@@ -0,0 +1,61 @@
syntax = "proto3";
package locations.v1;
service LocationsService {
rpc GetLocationsV1 (LocationsRequest) returns (LocationsResponse);
}
message LocationsRequest {
string locale = 1; // e.g. "en"
}
message LocationsResponse {
// field 1-4: unknown/unused
repeated Airport airports = 5;
repeated City cities = 6;
repeated Country countries = 7;
repeated Region regions = 8;
}
message Uuid {
bytes value = 1; // 16-byte UUID
}
message Airport {
Uuid id = 1;
string iata = 2; // e.g. "MCO"
string icao = 3; // e.g. "KMCO"
string name = 4; // e.g. "Orlando International"
double lat = 5;
double lon = 6;
Uuid city_id = 7; // references City.id
}
message City {
Uuid id = 1;
string name = 2; // e.g. "New York"
// field 3: unknown
Uuid country_id = 4; // references Country.id
double lat = 5;
double lon = 6;
}
message Country {
Uuid id = 1;
string iso_code2 = 2; // e.g. "US"
string iso_code3 = 3; // e.g. "USA"
string name_eng = 4; // e.g. "United States"
string name_native = 5; // e.g. "United States"
string phone_prefix = 6; // e.g. "1"
}
message Region {
Uuid id = 1;
string slug = 2; // e.g. "azores"
string name = 3; // e.g. "Azores"
string name_localized = 4; // e.g. "Azores"
string slug_localized = 5; // e.g. "azores"
// field 6: unknown
repeated string airport_iata_codes = 7; // e.g. ["TER", "PDL", "SMA"]
}