-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use openapi-fetch directus client (#51)
* Generate directus schema from openapi spec * Use openapi fetch client for directus API * Remove try/catch logger
- Loading branch information
Showing
22 changed files
with
25,076 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
{ | ||
"name": "common", | ||
"version": "1.0.0", | ||
"scripts": { | ||
"openapi": "npx openapi-typescript ../openapi/directus.json -o ./types/directus-schema.d.ts" | ||
}, | ||
"devDependencies": { | ||
"@tiptap/core": "^2.2.4" | ||
"@tiptap/core": "^2.2.4", | ||
"openapi-typescript": "^7.4.4" | ||
} | ||
} | ||
} |
Oops, something went wrong.