Skip to content

Commit

Permalink
update openapi.json & openapi-ts client, run pnpm format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 18, 2024
1 parent 4b28355 commit 27a8401
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.
19 changes: 0 additions & 19 deletions frontend/src/lib/client/services.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ import type {
GetMilestoneGroupResponse,
GetMilestoneAgeGroupsError,
GetMilestoneAgeGroupsResponse,
GetMilestoneAgeGroupData,
GetMilestoneAgeGroupError,
GetMilestoneAgeGroupResponse,
GetUserQuestionsError,
GetUserQuestionsResponse,
CreateLanguageData,
Expand Down Expand Up @@ -230,22 +227,6 @@ export const getMilestoneAgeGroups = <ThrowOnError extends boolean = false>(
});
};

/**
* Get Milestone Age Group
*/
export const getMilestoneAgeGroup = <ThrowOnError extends boolean = false>(
options: Options<GetMilestoneAgeGroupData, ThrowOnError>
) => {
return (options?.client ?? client).get<
GetMilestoneAgeGroupResponse,
GetMilestoneAgeGroupError,
ThrowOnError
>({
...options,
url: '/milestone-age-groups/{milestone_age_group_id}'
});
};

/**
* Get User Questions
*/
Expand Down
10 changes: 0 additions & 10 deletions frontend/src/lib/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,16 +284,6 @@ export type GetMilestoneAgeGroupsResponse = Array<MilestoneAgeGroupPublic>;

export type GetMilestoneAgeGroupsError = unknown;

export type GetMilestoneAgeGroupData = {
path: {
milestone_age_group_id: number;
};
};

export type GetMilestoneAgeGroupResponse = MilestoneAgeGroupPublic;

export type GetMilestoneAgeGroupError = HTTPValidationError;

export type GetUserQuestionsResponse = Array<UserQuestionPublic>;

export type GetUserQuestionsError = unknown;
Expand Down
2 changes: 1 addition & 1 deletion mondey_backend/openapi.json

Large diffs are not rendered by default.

0 comments on commit 27a8401

Please sign in to comment.