Skip to content

Commit

Permalink
Regenerate orval
Browse files Browse the repository at this point in the history
 (#113)
  • Loading branch information
kimurash committed Nov 1, 2024
1 parent 22c7d69 commit 84e17cc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 3 additions & 2 deletions frontend/client/client.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ page?: string;
*/
limit?: string;
/**
* ソート順
* ソート順 0: ユーザID昇順 1: ユーザID降順 2: 書籍ID昇順 3: 書籍ID降順 4: 貸出日昇順 5: 貸出日降順
*/
sort?: GetLoansSort;
};
Expand Down Expand Up @@ -241,7 +242,7 @@ publisher?: string;
*/
isbn?: string;
/**
* ソート順 1: id昇順 2: id降順 3: 出版日昇順 4: 出版日降順
* ソート順 0: id昇順 1: id降順 2: 出版日昇順 3: 出版日降順
*/
sort?: GetBooksSort;
Expand Down
2 changes: 1 addition & 1 deletion frontend/test/mocks/model/getBooksParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ publisher?: string;
*/
isbn?: string;
/**
* ソート順 1: id昇順 2: id降順 3: 出版日昇順 4: 出版日降順
* ソート順 0: id昇順 1: id降順 2: 出版日昇順 3: 出版日降順
*/
sort?: GetBooksSort;
Expand Down
3 changes: 2 additions & 1 deletion frontend/test/mocks/model/getLoansParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ page?: string;
*/
limit?: string;
/**
* ソート順
* ソート順 0: ユーザID昇順 1: ユーザID降順 2: 書籍ID昇順 3: 書籍ID降順 4: 貸出日昇順 5: 貸出日降順
*/
sort?: GetLoansSort;
};
10 changes: 10 additions & 0 deletions orval.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,14 @@ module.exports = {
},
},
},
zod: {
input: {
target: './api/bundle.yml',
},
output: {
client: 'zod',
mode: 'single',
target: './backend/src/schema.ts',
},
},
};

0 comments on commit 84e17cc

Please sign in to comment.