I'd love to be able to use the contents of dist-src/generated/endpoints.js as an import in my ESM project, but unless I am doing something wrong, I haven't found a way and am instead copying that file at runtime and vendoring it in my project, since the project is only exporting the endpoints to methods and not the raw data.
Happy to contribute an export but also may just be doing this wrong so asking the basic question here first...
I'd love to be able to use the contents of
dist-src/generated/endpoints.jsas an import in my ESM project, but unless I am doing something wrong, I haven't found a way and am instead copying that file at runtime and vendoring it in my project, since the project is only exporting the endpoints to methods and not the raw data.Happy to contribute an export but also may just be doing this wrong so asking the basic question here first...