Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
chore: Fix missing camel
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-valenta committed Apr 26, 2021
1 parent 01ad841 commit 3030d3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions fixtures/install/playground/superface/sdk.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { createTypedClient } from "@superfaceai/one-sdk";
import { starwarsCharacterInformation } from "./types/starwars/character-information";
export { StarwarsCharacterInformationProfile } from "./types/starwars/character-information";
export const typeDefinitions = {
...starwarsCharacterInformation
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export const profile = {
"RetrieveCharacterInformation": typeHelper<RetrieveCharacterInformationInput, RetrieveCharacterInformationResult>()
};
export type StarwarsCharacterInformationProfile = TypedProfile<typeof profile>;
export const starwars/character-information = {
export const starwarsCharacterInformation = {
"starwars/character-information": profile
};
2 changes: 1 addition & 1 deletion src/logic/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export function createProfileType(
typeReference('TypedProfile', [typeQuery('profile')])
);
const profileWrapper = variableStatement(
profileName,
camelize(profileName),
objectLiteral([propertyAssignment(profileName, id('profile'))])
);

Expand Down

0 comments on commit 3030d3f

Please sign in to comment.