This repository was archived by the owner on Nov 23, 2025. It is now read-only.

Description
Overview
Currently when we create the index.ts file, enums are hardcoded into type defination itself.
Example:
export interface IngressPortStatus {
error?: string;
port: number;
protocol: "SCTP" | "TCP" | "UDP";
}
Here protocol is an enum that should be a type of its own, so that it is easy to process and codeup when using this type definaiton.
Implementation
export type EnumIngressPortStatusProtocol = "SCTP" | "TCP" | "UDP";
export interface IngressPortStatus {
error?: string;
port: number;
protocol: EnumIngressPortStatusProtocol;
}
Note
Look into how to telescope handles enums and types