nomic-ai / ts-nomic

Typescript bindings for Atlas
MIT License
5 stars 4 forks source link

deprecate TagResponse #64

Closed bmschmidt closed 3 months ago

bmschmidt commented 3 months ago

The TagResponse type is incompatible with internal tooling in atlas-next; this moves to handling the JSON deserialization inside ts-nomic to ensure clearer typing.

Note that since DslRule is not defined in this package, we will still need to typecast on getting this response.


:rocket: This description was created by Ellipsis for commit 678d356a3f41cb5b7f1019cadf418ef3661fde0d

Summary:

This PR deprecates the TagResponse type, introduces UnparsedTagResponse for JSON deserialization, and updates related functions in src/projection.ts for improved type clarity.

Key points:


Generated with :heart: by ellipsis.dev

bmschmidt commented 3 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bmschmidt and the rest of your teammates on Graphite Graphite