You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
read_folder takes a declared type only when it is one of the 22 slugs as written. The folder format says a declared type is a string exactly equal to one of the 22 type slugs, and that anything else in type declares nothing, so the directory fills it. The reader took any non-empty string, in lower case: "type": "Location" in elements/character/ was served as a location, and "type": "widget" as an element of type widget. Each is now a character, flagged type_inferred, its body left as the file wrote it. A slug as written still beats the directory: "type": "location" in elements/character/ is a location. What follows for callers: push sends such an element to its directory's route, and a file whose type was an unknown word, which pack left out and the OKF export skipped, is now read as an element of its directory's type. The npm SDK's folder source already read it this way; both packages hold the same 21 cases (tests/fixtures/declared-type.cases.json).