From 63642115367a63253b1322b405f54fcf76bea196 Mon Sep 17 00:00:00 2001 From: Valeriy Svydenko Date: Fri, 2 Aug 2024 19:07:31 +0300 Subject: [PATCH] add export of crds constants into typescript model Signed-off-by: Valeriy Svydenko --- build/typescript-model/generate-metadata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/typescript-model/generate-metadata.py b/build/typescript-model/generate-metadata.py index 71c9b3d28..8104bd481 100644 --- a/build/typescript-model/generate-metadata.py +++ b/build/typescript-model/generate-metadata.py @@ -83,12 +83,12 @@ def generate_typescript(api_version: str, group: str, kind: str, plural: str, si def export_typescript_api(output_path: str) -> None: """ - Export constants into api.ts + Export constants into index.ts """ export_contents = """ export * from './constants/constants'; """ - write_contents(os.path.join(output_path, "api.ts"), "a", export_contents) + write_contents(os.path.join(output_path, "index.ts"), "a", export_contents) if __name__ == "__main__":