Skip to content

Commit

Permalink
update openapi.json & openapi-ts client
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 6, 2024
1 parent b066c5a commit ee61263
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
10 changes: 0 additions & 10 deletions frontend/src/lib/client/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,6 @@ export const ChildCreateSchema = {
birth_month: {
type: 'integer',
title: 'Birth Month'
},
remark: {
type: 'string',
title: 'Remark',
default: ''
}
},
type: 'object',
Expand All @@ -216,11 +211,6 @@ export const ChildPublicSchema = {
type: 'integer',
title: 'Birth Month'
},
remark: {
type: 'string',
title: 'Remark',
default: ''
},
id: {
type: 'integer',
title: 'Id'
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lib/client/services.gen.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This file is auto-generated by @hey-api/openapi-ts

import { type Options, createClient, createConfig, formDataBodySerializer, urlSearchParamsBodySerializer } from '@hey-api/client-fetch';
import type { AuthCookieLoginData, AuthCookieLoginError, AuthCookieLoginResponse, AuthCookieLogoutError, AuthCookieLogoutResponse, AuthError, AuthResponse, CreateChildData, CreateChildError, CreateChildQuestionError, CreateChildQuestionResponse, CreateChildResponse, CreateLanguageData, CreateLanguageError, CreateLanguageResponse, CreateMilestoneData, CreateMilestoneError, CreateMilestoneGroupAdminError, CreateMilestoneGroupAdminResponse, CreateMilestoneResponse, CreateUserQuestionError, CreateUserQuestionResponse, DeleteChildData, DeleteChildError, DeleteChildQuestionData, DeleteChildQuestionError, DeleteChildQuestionResponse, DeleteChildResponse, DeleteLanguageData, DeleteLanguageError, DeleteLanguageResponse, DeleteMilestoneData, DeleteMilestoneError, DeleteMilestoneGroupAdminData, DeleteMilestoneGroupAdminError, DeleteMilestoneGroupAdminResponse, DeleteMilestoneResponse, DeleteUserQuestionData, DeleteUserQuestionError, DeleteUserQuestionResponse, GetChildData, GetChildError, GetChildImageData, GetChildImageError, GetChildImageResponse, GetChildQuestionsAdminError, GetChildQuestionsAdminResponse, GetChildQuestionsError, GetChildQuestionsResponse, GetChildResponse, GetChildrenError, GetChildrenResponse, GetCurrentChildAnswersData, GetCurrentChildAnswersError, GetCurrentChildAnswersResponse, GetCurrentMilestoneAnswerSessionData, GetCurrentMilestoneAnswerSessionError, GetCurrentMilestoneAnswerSessionResponse, GetCurrentUserAnswersError, GetCurrentUserAnswersResponse, GetLanguagesError, GetLanguagesResponse, GetMilestoneData, GetMilestoneError, GetMilestoneGroupsAdminError, GetMilestoneGroupsAdminResponse, GetMilestoneGroupsData, GetMilestoneGroupsError, GetMilestoneGroupsResponse, GetMilestoneResponse, GetMilestonesError, GetMilestonesResponse, GetUserQuestionsAdminError, GetUserQuestionsAdminResponse, GetUserQuestionsError, GetUserQuestionsResponse, RegisterRegisterData, RegisterRegisterError, RegisterRegisterResponse, ResetForgotPasswordData, ResetForgotPasswordError, ResetForgotPasswordResponse, ResetResetPasswordData, ResetResetPasswordError, ResetResetPasswordResponse, UpdateChildData, UpdateChildError, UpdateChildQuestionData, UpdateChildQuestionError, UpdateChildQuestionResponse, UpdateChildResponse, UpdateCurrentChildAnswersData, UpdateCurrentChildAnswersError, UpdateCurrentChildAnswersResponse, UpdateCurrentUserAnswersData, UpdateCurrentUserAnswersError, UpdateCurrentUserAnswersResponse, UpdateI18NData, UpdateI18NError, UpdateI18NResponse, UpdateMilestoneAnswerData, UpdateMilestoneAnswerError, UpdateMilestoneAnswerResponse, UpdateMilestoneData, UpdateMilestoneError, UpdateMilestoneGroupAdminData, UpdateMilestoneGroupAdminError, UpdateMilestoneGroupAdminResponse, UpdateMilestoneResponse, UpdateUserQuestionData, UpdateUserQuestionError, UpdateUserQuestionResponse, UploadChildImageData, UploadChildImageError, UploadChildImageResponse, UploadMilestoneGroupImageData, UploadMilestoneGroupImageError, UploadMilestoneGroupImageResponse, UploadMilestoneImageData, UploadMilestoneImageError, UploadMilestoneImageResponse, UsersCurrentUserError, UsersCurrentUserResponse, UsersDeleteUserData, UsersDeleteUserError, UsersDeleteUserResponse, UsersPatchCurrentUserData, UsersPatchCurrentUserError, UsersPatchCurrentUserResponse, UsersPatchUserData, UsersPatchUserError, UsersPatchUserResponse, UsersUserData, UsersUserError, UsersUserResponse, VerifyRequestTokenData, VerifyRequestTokenError, VerifyRequestTokenResponse, VerifyVerifyData, VerifyVerifyError, VerifyVerifyResponse } from './types.gen';
import { createClient, createConfig, type Options, formDataBodySerializer, urlSearchParamsBodySerializer } from '@hey-api/client-fetch';
import type { GetLanguagesError, GetLanguagesResponse, GetMilestonesError, GetMilestonesResponse, GetMilestoneData, GetMilestoneError, GetMilestoneResponse, GetMilestoneGroupsData, GetMilestoneGroupsError, GetMilestoneGroupsResponse, GetUserQuestionsError, GetUserQuestionsResponse, GetChildQuestionsError, GetChildQuestionsResponse, CreateLanguageData, CreateLanguageError, CreateLanguageResponse, DeleteLanguageData, DeleteLanguageError, DeleteLanguageResponse, UpdateI18NData, UpdateI18NError, UpdateI18NResponse, GetMilestoneGroupsAdminError, GetMilestoneGroupsAdminResponse, CreateMilestoneGroupAdminError, CreateMilestoneGroupAdminResponse, UpdateMilestoneGroupAdminData, UpdateMilestoneGroupAdminError, UpdateMilestoneGroupAdminResponse, DeleteMilestoneGroupAdminData, DeleteMilestoneGroupAdminError, DeleteMilestoneGroupAdminResponse, UploadMilestoneGroupImageData, UploadMilestoneGroupImageError, UploadMilestoneGroupImageResponse, CreateMilestoneData, CreateMilestoneError, CreateMilestoneResponse, UpdateMilestoneData, UpdateMilestoneError, UpdateMilestoneResponse, DeleteMilestoneData, DeleteMilestoneError, DeleteMilestoneResponse, UploadMilestoneImageData, UploadMilestoneImageError, UploadMilestoneImageResponse, GetUserQuestionsAdminError, GetUserQuestionsAdminResponse, UpdateUserQuestionData, UpdateUserQuestionError, UpdateUserQuestionResponse, CreateUserQuestionError, CreateUserQuestionResponse, DeleteUserQuestionData, DeleteUserQuestionError, DeleteUserQuestionResponse, GetChildQuestionsAdminError, GetChildQuestionsAdminResponse, UpdateChildQuestionData, UpdateChildQuestionError, UpdateChildQuestionResponse, CreateChildQuestionError, CreateChildQuestionResponse, DeleteChildQuestionData, DeleteChildQuestionError, DeleteChildQuestionResponse, UsersCurrentUserError, UsersCurrentUserResponse, UsersPatchCurrentUserData, UsersPatchCurrentUserError, UsersPatchCurrentUserResponse, UsersUserData, UsersUserError, UsersUserResponse, UsersPatchUserData, UsersPatchUserError, UsersPatchUserResponse, UsersDeleteUserData, UsersDeleteUserError, UsersDeleteUserResponse, GetChildrenError, GetChildrenResponse, UpdateChildData, UpdateChildError, UpdateChildResponse, CreateChildData, CreateChildError, CreateChildResponse, GetChildData, GetChildError, GetChildResponse, DeleteChildData, DeleteChildError, DeleteChildResponse, GetChildImageData, GetChildImageError, GetChildImageResponse, UploadChildImageData, UploadChildImageError, UploadChildImageResponse, GetCurrentMilestoneAnswerSessionData, GetCurrentMilestoneAnswerSessionError, GetCurrentMilestoneAnswerSessionResponse, UpdateMilestoneAnswerData, UpdateMilestoneAnswerError, UpdateMilestoneAnswerResponse, GetCurrentUserAnswersError, GetCurrentUserAnswersResponse, UpdateCurrentUserAnswersData, UpdateCurrentUserAnswersError, UpdateCurrentUserAnswersResponse, GetCurrentChildAnswersData, GetCurrentChildAnswersError, GetCurrentChildAnswersResponse, UpdateCurrentChildAnswersData, UpdateCurrentChildAnswersError, UpdateCurrentChildAnswersResponse, AuthCookieLoginData, AuthCookieLoginError, AuthCookieLoginResponse, AuthCookieLogoutError, AuthCookieLogoutResponse, RegisterRegisterData, RegisterRegisterError, RegisterRegisterResponse, ResetForgotPasswordData, ResetForgotPasswordError, ResetForgotPasswordResponse, ResetResetPasswordData, ResetResetPasswordError, ResetResetPasswordResponse, VerifyRequestTokenData, VerifyRequestTokenError, VerifyRequestTokenResponse, VerifyVerifyData, VerifyVerifyError, VerifyVerifyResponse, AuthError, AuthResponse } from './types.gen';

export const client = createClient(createConfig());

Expand Down
2 changes: 0 additions & 2 deletions frontend/src/lib/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,12 @@ export type ChildCreate = {
name?: string;
birth_year: number;
birth_month: number;
remark?: string;
};

export type ChildPublic = {
name?: string;
birth_year: number;
birth_month: number;
remark?: string;
id: number;
has_image: boolean;
};
Expand Down
2 changes: 1 addition & 1 deletion mondey_backend/openapi.json

Large diffs are not rendered by default.

0 comments on commit ee61263

Please sign in to comment.