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
We'd like to define these schemas using zod. This library will automatically allow Typescript to infer types. We can start by using ts-to-zod to generate initial schema
For custom snippets and settings, we can look into automatically generating json schema using zod-to-json-schema so that we have a single source of truth
The text was updated successfully, but these errors were encountered:
For all places where the Cursorless extension ingests data from the outside world, we should validate against a schema. Here are a few such places:
cursorless.command
action and others, eg experimental keyboard)We'd like to define these schemas using zod. This library will automatically allow Typescript to infer types. We can start by using ts-to-zod to generate initial schema
For custom snippets and settings, we can look into automatically generating json schema using zod-to-json-schema so that we have a single source of truth
The text was updated successfully, but these errors were encountered: