Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace use of tsdocs.dev by typedoc generated markdown #30

Merged
merged 11 commits into from
Feb 26, 2024

Conversation

difosfor
Copy link
Contributor

@difosfor difosfor commented Feb 26, 2024

…/interactive-bridge-api

TODO: Figure out how to deduplicate the file headers whilst avoiding use of anchor tags for internal linking.
TODO: Ensure stripping double titles with sed also works on linux; not just in Mac OS
TODO: Produce plain from schema in index.d.ts
i.e: no z.infer<typeof ..> but just a type with documented properties
Perhaps just don't use that and repeat ourself in schema.ts to once define the type with tsdoc and separately the zod schema to validate that.
Work around Zod infer losing property tsdoc.
And similarly around Zod schema parse losing parent type.
TODO: Do this for all other schema types and validate functions.
Or just for the object types?
Inferring types from Zod schema's is nice, but results in ugly types in index.d.ts.
And typedoc doesn't support those, even with the help of typedoc-plugin-zod.
And a little more type related tweaking.
@difosfor difosfor merged commit 912924f into master Feb 26, 2024
3 checks passed
@difosfor difosfor deleted the LIV-2806 branch February 26, 2024 15:38
ci-liveryvideo pushed a commit that referenced this pull request Feb 26, 2024
## [1.12.3](v1.12.2...v1.12.3) (2024-02-26)

### Bug Fixes

* replace use of tsdocs.dev by typedoc generated markdown ([#30](#30)) ([912924f](912924f))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant