Skip to content

Commit a22da4b

Browse files
authored
✨ Update new-frontend client (#625)
1 parent 1893602 commit a22da4b

25 files changed

+181
-40
lines changed

src/new-frontend/src/client/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export type { Body_login_login_access_token } from './models/Body_login_login_ac
1111
export type { HTTPValidationError } from './models/HTTPValidationError';
1212
export type { ItemCreate } from './models/ItemCreate';
1313
export type { ItemOut } from './models/ItemOut';
14+
export type { ItemsOut } from './models/ItemsOut';
1415
export type { ItemUpdate } from './models/ItemUpdate';
1516
export type { Message } from './models/Message';
1617
export type { NewPassword } from './models/NewPassword';
@@ -19,6 +20,7 @@ export type { UpdatePassword } from './models/UpdatePassword';
1920
export type { UserCreate } from './models/UserCreate';
2021
export type { UserCreateOpen } from './models/UserCreateOpen';
2122
export type { UserOut } from './models/UserOut';
23+
export type { UsersOut } from './models/UsersOut';
2224
export type { UserUpdate } from './models/UserUpdate';
2325
export type { UserUpdateMe } from './models/UserUpdateMe';
2426
export type { ValidationError } from './models/ValidationError';
@@ -27,6 +29,7 @@ export { $Body_login_login_access_token } from './schemas/$Body_login_login_acce
2729
export { $HTTPValidationError } from './schemas/$HTTPValidationError';
2830
export { $ItemCreate } from './schemas/$ItemCreate';
2931
export { $ItemOut } from './schemas/$ItemOut';
32+
export { $ItemsOut } from './schemas/$ItemsOut';
3033
export { $ItemUpdate } from './schemas/$ItemUpdate';
3134
export { $Message } from './schemas/$Message';
3235
export { $NewPassword } from './schemas/$NewPassword';
@@ -35,6 +38,7 @@ export { $UpdatePassword } from './schemas/$UpdatePassword';
3538
export { $UserCreate } from './schemas/$UserCreate';
3639
export { $UserCreateOpen } from './schemas/$UserCreateOpen';
3740
export { $UserOut } from './schemas/$UserOut';
41+
export { $UsersOut } from './schemas/$UsersOut';
3842
export { $UserUpdate } from './schemas/$UserUpdate';
3943
export { $UserUpdateMe } from './schemas/$UserUpdateMe';
4044
export { $ValidationError } from './schemas/$ValidationError';

src/new-frontend/src/client/models/Body_login_login_access_token.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
/* eslint-disable */
55

66
export type Body_login_login_access_token = {
7-
grant_type?: string;
7+
grant_type?: (string | null);
88
username: string;
99
password: string;
1010
scope?: string;
11-
client_id?: string;
12-
client_secret?: string;
11+
client_id?: (string | null);
12+
client_secret?: (string | null);
1313
};

src/new-frontend/src/client/models/ItemCreate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
export type ItemCreate = {
77
title: string;
8-
description?: string;
8+
description?: (string | null);
99
};

src/new-frontend/src/client/models/ItemOut.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
export type ItemOut = {
77
title: string;
8-
description?: string;
8+
description?: (string | null);
99
id: number;
10+
owner_id: number;
1011
};

src/new-frontend/src/client/models/ItemUpdate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
/* eslint-disable */
55

66
export type ItemUpdate = {
7-
title?: string;
8-
description?: string;
7+
title?: (string | null);
8+
description?: (string | null);
99
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* generated using openapi-typescript-codegen -- do no edit */
2+
/* istanbul ignore file */
3+
/* tslint:disable */
4+
/* eslint-disable */
5+
6+
import type { ItemOut } from './ItemOut';
7+
8+
export type ItemsOut = {
9+
data: Array<ItemOut>;
10+
count: number;
11+
};

src/new-frontend/src/client/models/UserCreate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export type UserCreate = {
77
email: string;
88
is_active?: boolean;
99
is_superuser?: boolean;
10-
full_name?: string;
10+
full_name?: (string | null);
1111
password: string;
1212
};

src/new-frontend/src/client/models/UserCreateOpen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
export type UserCreateOpen = {
77
email: string;
88
password: string;
9-
full_name?: string;
9+
full_name?: (string | null);
1010
};

src/new-frontend/src/client/models/UserOut.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export type UserOut = {
77
email: string;
88
is_active?: boolean;
99
is_superuser?: boolean;
10-
full_name?: string;
10+
full_name?: (string | null);
1111
id: number;
1212
};

src/new-frontend/src/client/models/UserUpdate.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
/* eslint-disable */
55

66
export type UserUpdate = {
7-
email?: string;
7+
email?: (string | null);
88
is_active?: boolean;
99
is_superuser?: boolean;
10-
full_name?: string;
11-
password?: string;
10+
full_name?: (string | null);
11+
password?: (string | null);
1212
};

0 commit comments

Comments
 (0)