Code IT

Results 17 comments of Code IT

You are doing great work. I will retry this project tomorrow!

The issue still remains. The URL the code tries to visit using Puppeteer is: https://thepiratebay10.org/search.php?q=The%20Tomorrow%20War%202021&cat=0&page=1&orderBy=7 Which results into 404 not found. The URL seem to been updated by TBP, it...

Probaly because Puppeteer package should be updated. Anyway you can fix the issue by setting PUPPETEER_EXECUTABLE_PATH='C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' In your `.env` file. Error should dissappear. However, in my case I...

Can we merge this after review please? This is a very good addition .. This also closes both the issues as they seem to relate to what the author of...

@phenax It seems to work correctly in my project, I dont hit any limitations? It correctly shows optional groups, in the picture `id` is marked as optional, in the typed...

@phenax Thats odd, I dont get this warning/error ![image](https://user-images.githubusercontent.com/22219122/195710817-45b41430-ae17-4aed-89fb-52b717a7c3b9.png) What TS version are you using? I am on `4.5.4`. Some people have this error appearently only on TS versions

It will break the code probaly for alot of people, as they are now using the `id` field in their code. Not sure what the best solution is here. Interesting...

Can we merge this? Would be nices to have types added for TypeScript users.

Yeah I did, but the PR has some issues, lots of types are missing. Needs some more work.

> Per my above comment, the OAS can be used to generate types, e.g.: > > `npx openapi-typescript http://directus.local/server/specs/oas -o ./schema.d.ts` > > Going this route lets the `/schema` endpoint...