Closed mayakraft closed 5 months ago
Thank you! There is a definition along these lines in #47 which I really need to finish reviewing; I'll diff against this one. I agree it'll be nice to get a type
definition in the exports.
sounds great :) also, somebody ported it! very happy to see. I'll close this then so as not to clutter.
Hello! Would you like a type definition for the FOLD format itself? This is not exactly #25 or #45, nothing to do with the API, only a type definition for a FOLD object. I imagine it could live inside of its own file, like fold.d.ts? Or, feel free to use it in any way you like!
I think this is valid for versions 1.2 and 1.1, but not 1.0.
The logic behind this structure arises from how a FOLD object can contain itself in
file_frames
.FOLD
is the intended export.FOLDFrame
is the intersection of the inner and top level frames, then the inner frames and top level frame contain inheritance info andfile_
keys respectively.fold.d.ts