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 25, 2024
1 parent b94ab08 commit aa22251
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion frontend/src/lib/client/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ export const MilestoneAnswerSessionPublicSchema = {
type: 'integer',
title: 'Id'
},
child_id: {
type: 'integer',
title: 'Child Id'
},
created_at: {
type: 'string',
format: 'date-time',
Expand All @@ -320,7 +324,7 @@ export const MilestoneAnswerSessionPublicSchema = {
}
},
type: 'object',
required: ['id', 'created_at', 'answers'],
required: ['id', 'child_id', 'created_at', 'answers'],
title: 'MilestoneAnswerSessionPublic'
} as const;

Expand Down
1 change: 1 addition & 0 deletions frontend/src/lib/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export type MilestoneAnswerPublic = {

export type MilestoneAnswerSessionPublic = {
id: number;
child_id: number;
created_at: string;
answers: {
[key: string]: MilestoneAnswerPublic;
Expand Down
Loading

0 comments on commit aa22251

Please sign in to comment.