Repository navigation
Kanka door: its tables and wording in a data file - #34
Merged
Merged
Conversation
The Kanka import door's tables (Kanka's folders to element types, its keys to fields, the fixed key lists, the names it makes) and every line of its report move into src/onlyworlds/convert/kanka.json, which onlyworlds.kanka reads; its rules stay code. The npm SDK reads the same bytes for its own Kanka door, so the two packages write the same folder from one file; a test holds the file's sha256. Nothing the door writes or prints moves: on five real Kanka exports, every export the Kanka tests build and 240 varied ones, the folder and the report are byte for byte what the door wrote before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Kanka door's tables (its folders to element types, its keys to fields, the fixed key lists, the names it makes) and every line of its report move into
src/onlyworlds/convert/kanka.json; its rules stay code. The npm SDK's Kanka door reads the same bytes, so the two packages write one folder from one file; a test in each holds the file's sha256 (53394eee…).The door's output does not move: on the five real Kanka exports (the three in the tests and two more) every file and the printed report are byte-identical before and after, and so are 261 generated exports.
🤖 Generated with Claude Code