Auto-generating Typesense Collection Types with TypeScript
TLDR Udo asked about auto-generating types using schema definitions in Typesense. Jason clarified the limitations and suggested defining types manually. Udo agreed to add TypeScript notes to README.
1
1
Mar 21, 2023 (7 months ago)
Udo
09:22 AMcollections<SomethingType>('something')
) but I was hoping there would be some sort of way to auto-generate these from the schema definitionKishore Nallan
09:37 AMJason
03:35 PM1
Jason
03:36 PMUdo
04:10 PMJason
04:11 PMUdo
04:11 PM1
Typesense
Indexed 2786 threads (79% resolved)
Similar Threads
Fixing "bad json" error in Typesense 0.24
Adam experiences "bad json" error when creating collections in Typesense 0.24. Jason identifies a typo in the docs causing the error and helps troubleshoot additional errors.
Complex Query System and Collections Schema for Typesense
Orion asks about the grammar for 'filter_by' search parameters and where to find a collections schema. Jason provides the needed documentation and encourages Orion to share back.
Resolving Typesense Error for Invalid Field Types
Edward was facing a problem sending documents due to invalid field types. Jason helped to identify and resolve the issued by advising on the correct usage of the schema.