Hello, im reading the documentation and i am quite interested about the json config structure
I see online that its quite documented and i was wondering if there is any way to get type information for the json structure in example typescript etc.
So that if we read the schema as a object we know the types etc and structure the json is in. Something to make it typesafe.
I know plugins etc does add onto the json and extends it so i guess not all parts can be schemified automatically?
Is it possible generate typescript types etc (d.ts) for the json schema structure for the base caddy json structure?
Thank you, i managed to solve it by grabbing the generated schema and using the library: json-schema-to-typescript
In mt typescript to generate types from the schema json file and use that in my project.