Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

es8 support #518

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(version): remove _type
  • Loading branch information
missinglink committed Mar 13, 2024
commit 4ca7b5328d993f79264d63b43579a745c0b19d62
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"lodash": "^4.16.0",
"minimist": "^1.2.0",
"pelias-blacklist-stream": "^1.0.0",
"pelias-config": "^4.12.0",
"pelias-dbclient": "^2.13.0",
"pelias-config": "^6.0.0",
"pelias-dbclient": "^3.0.0",
"pelias-logger": "^1.2.1",
"pelias-model": "^9.2.0",
"pelias-model": "^10.0.0",
"pelias-wof-admin-lookup": "^7.8.0",
"split2": "^3.2.2",
"temp": "^0.9.1",
Expand Down
1 change: 1 addition & 0 deletions schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = Joi.object().keys({
dataHost: Joi.string(),
s3Options: Joi.string(),
adminLookup: Joi.boolean(),
token: Joi.string(),
Copy link
Member Author

Choose a reason for hiding this comment

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

This change is actually unrelated but should exist since pelias/config#137

missingFilesAreFatal: Joi.boolean().default(false).truthy('yes').falsy('no')
}).unknown(false)
}).unknown(true)
Expand Down
20 changes: 0 additions & 20 deletions test/data/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_1:7552fdd1d9eb5765",
"_type": "_doc",
"data": {
"name": {
"default": "100 Main St"
Expand Down Expand Up @@ -137,7 +136,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_1:e21716b47966b98a",
"_type": "_doc",
"data": {
"name": {
"default": "200 Main St"
Expand All @@ -161,7 +159,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_1:7456321cc7d6d352",
"_type": "_doc",
"data": {
"name": {
"default": "0 Main St"
Expand All @@ -185,7 +182,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_1:f026cd5494a7e4f4",
"_type": "_doc",
"data": {
"name": {
"default": "00 Elm St"
Expand All @@ -209,7 +205,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_1:4509c0194f1efaca",
"_type": "_doc",
"data": {
"name": {
"default": "00300 Main St"
Expand All @@ -233,7 +228,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_2:fc6d8b0a0e5cda70",
"_type": "_doc",
"data": {
"name": {
"default": "400 Vireo Rd"
Expand All @@ -257,7 +251,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_2:b7c25b5e6eea7831",
"_type": "_doc",
"data": {
"name": {
"default": "00000 Vireo Rd"
Expand All @@ -281,7 +274,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_2:25d52af880bfefc4",
"_type": "_doc",
"data": {
"name": {
"default": "00500 Calle De Lago"
Expand All @@ -305,7 +297,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_2:0d9cb0ba093a3d23",
"_type": "_doc",
"data": {
"name": {
"default": "00500 Calle De Lago"
Expand All @@ -329,7 +320,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_3:0c0641950f5693a0",
"_type": "_doc",
"data": {
"name": {
"default": "10 Smith Street"
Expand Down Expand Up @@ -357,7 +347,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:2e7dc83e6d7c43b5",
"_type": "_doc",
"data": {
"name": {
"default": "244 Barkly Street"
Expand All @@ -383,7 +372,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:b9d4e479b3787466",
"_type": "_doc",
"data": {
"name": {
"default": "10/244-246 Wattletree Road"
Expand All @@ -408,7 +396,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:5d465daf4228aeae",
"_type": "_doc",
"data": {
"name": {
"default": "10/244-246 Mary Street"
Expand All @@ -433,7 +420,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:19c92a8fab88d851",
"_type": "_doc",
"data": {
"name": {
"default": "244 Brunswick Street"
Expand All @@ -459,7 +445,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:2d93ffa5b82d5815",
"_type": "_doc",
"data": {
"name": {
"default": "244 Dorcas Street"
Expand All @@ -485,7 +470,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:a6e27ffafd14a0da",
"_type": "_doc",
"data": {
"name": {
"default": "244 Dorcas Street"
Expand All @@ -511,7 +495,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:4c18bc2fab1af1ee",
"_type": "_doc",
"data": {
"name": {
"default": "244 Dorcas Street"
Expand All @@ -537,7 +520,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:d5236248ba736eba",
"_type": "_doc",
"data": {
"name": {
"default": "244 Dorcas Street"
Expand All @@ -563,7 +545,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:7dbcebf7bd632ef8",
"_type": "_doc",
"data": {
"name": {
"default": "244 Dorcas Street"
Expand All @@ -589,7 +570,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:822280a9b8a92d85",
"_type": "_doc",
"data": {
"name": {
"default": "244 Pascoe Vale Road"
Expand Down