music-routes-data 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/verify +2 -0
- package/data/individual_track.json +64077 -64085
- package/data/individuals.json +10613 -10647
- package/lib/Data/index.js +1 -7
- package/lib/cli/search.js +2 -2
- package/package.json +2 -2
package/bin/verify
CHANGED
|
@@ -102,3 +102,5 @@ assert.ok(dump.included('releases', 'track_release', 'release_id'))
|
|
|
102
102
|
// TODO: Make sure that there are no duplicate link entries (Elvis on "Love Me Tender" exists twice should be an error)
|
|
103
103
|
// TODO: Check that all fields that should be strings are strings and all fields that should be arrays of strings are arrays of strings
|
|
104
104
|
// TODO: Check for extra fields that we don't know about. Only _id, names, credits, etc. should be in there. No weird things.
|
|
105
|
+
// TODO: Make sure that all entries are connected into a single graph. No dangling nodes.
|
|
106
|
+
// The algorithm for this is to do a breadth-first search (BFS) from the first node and see if we can reach all other nodes.
|