Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@
- More soon™

## How to install

1. Download the latest `index.js` from the [GitHub releases page](https://github.com/maltejur/directus-extension-generate-types/releases).
2. Put this `index.js` file into `<root of your project>/extensions/modules/generate-types/index.js`
3. Go into the `Project Settings` of your directus project (`/admin/settings/project`) and enable the `Generate Types` module at the bottom of the page.

### Extra steps if using Directus version >= 11
2. Put the `index.js` file instead into `<root of your project>/extensions/generate-types/dist`
3. Copy and paste the https://github.com/maltejur/directus-extension-generate-types/blob/master/package.json file into `<root of your project>/extensions/generate-types`

## Contribute

Since I don't know all of the typing systems out there, I would greatly appreciate if you
Expand Down