From f53768612b1e2268697b5444e502032ef9f3fb3c Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Tue, 23 May 2023 23:45:12 -0400 Subject: copying from old repo --- schema/README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 schema/README.md (limited to 'schema/README.md') diff --git a/schema/README.md b/schema/README.md new file mode 100644 index 00000000..6816cbb5 --- /dev/null +++ b/schema/README.md @@ -0,0 +1,3 @@ +# JSON Schema Definitions + +These definitions are generated from the Pydantic models that live in `package/libs/models/main.py`, by entering a `poetry shell` and running from the root of the `continue` repository the command `python3 -m package.libs.models.generate_json_schema.py`. You can then generate matching Typescript types to the `extension/schema` directory using `npm run typegen` from the `extension` directory. -- cgit v1.2.3-70-g09d2