Skip to content

Commit b10e979

Browse files
authored
add export of crds constants into typescript model (#1619)
Signed-off-by: Valeriy Svydenko <[email protected]>
1 parent 793383d commit b10e979

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/typescript-model/generate-metadata.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ def generate_typescript(api_version: str, group: str, kind: str, plural: str, si
8383

8484
def export_typescript_api(output_path: str) -> None:
8585
"""
86-
Export constants into api.ts
86+
Export constants into index.ts
8787
"""
8888
export_contents = """
8989
export * from './constants/constants';
9090
"""
91-
write_contents(os.path.join(output_path, "api.ts"), "a", export_contents)
91+
write_contents(os.path.join(output_path, "index.ts"), "a", export_contents)
9292

9393

9494
if __name__ == "__main__":

0 commit comments

Comments
 (0)