Using union type instead of enum

Suggests replacing an enum with a union type for improved flexibility and maintainability in TypeScript code.

Suggests JavaScript-style property name transformation.

Proposes transforming property names to align with JavaScript naming conventions.

Make all property optional

made with ❤️ by fiqryq.