File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 11## CHANGELOG
22
33## v5.0.0
4- - Refactor SLAS helpers
5-
6- - TODO: update SLAS helper TSdoc comments in isomorphic SDK
4+ - Enum types have been added for certain operations and types
5+ - Certain operations have had types updated for query parameters
6+ - SLAS helpers have been refactored to accept a single ` options ` object argument, where the properties are the old arguments
7+ - Path parameter special characters are encoded by default
78
89## v4.2.0
910
Original file line number Diff line number Diff line change @@ -12,15 +12,13 @@ export enum {{operationIdCamelCase}}{{enumName}} {
1212}
1313{ {/stringEnums} }
1414{ {^stringEnums} }
15-
16- export const { {operationIdCamelCase} }{ {enumName} } = {
15+ export type { {operationIdCamelCase} }{ {enumName} } =
1716{ {#allowableValues} }
1817 { {#enumVars} }
19- { {{name } }}: { {{value } }} { {^ -last} }, { {/-last} }
18+ { {{value } }}{ {^-last } } | { {/-last } } { {# -last} }; { {/-last} }
2019 { {/enumVars} }
2120{ {/allowableValues} }
22- } as const;
23- export type { {operationIdCamelCase} }{ {enumName} } = typeof { {operationIdCamelCase} }{ {enumName} }[keyof typeof { {operationIdCamelCase} }{ {enumName} }];
21+
2422{ {/stringEnums} }
2523{ {/isEnum} }
2624{ {/allParams} }
You can’t perform that action at this time.
0 commit comments