refactor(server): auth dtos (#4881)

* refactor: auth dtos

* chore: open api
This commit is contained in:
Jason Rasmussen
2023-11-09 10:14:15 -05:00
committed by GitHub
parent 5c602bf4d4
commit 5423f1c25b
38 changed files with 187 additions and 657 deletions
-19
View File
@@ -1,19 +0,0 @@
# openapi.model.AdminSignupResponseDto
## Load the model package
```dart
import 'package:openapi/api.dart';
```
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**createdAt** | [**DateTime**](DateTime.md) | |
**email** | **String** | |
**firstName** | **String** | |
**id** | **String** | |
**lastName** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+2 -2
View File
@@ -322,7 +322,7 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **signUpAdmin**
> AdminSignupResponseDto signUpAdmin(signUpDto)
> UserResponseDto signUpAdmin(signUpDto)
@@ -349,7 +349,7 @@ Name | Type | Description | Notes
### Return type
[**AdminSignupResponseDto**](AdminSignupResponseDto.md)
[**UserResponseDto**](UserResponseDto.md)
### Authorization
+8 -8
View File
@@ -8,14 +8,14 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accessToken** | **String** | | [readonly]
**firstName** | **String** | | [readonly]
**isAdmin** | **bool** | | [readonly]
**lastName** | **String** | | [readonly]
**profileImagePath** | **String** | | [readonly]
**shouldChangePassword** | **bool** | | [readonly]
**userEmail** | **String** | | [readonly]
**userId** | **String** | | [readonly]
**accessToken** | **String** | |
**firstName** | **String** | |
**isAdmin** | **bool** | |
**lastName** | **String** | |
**profileImagePath** | **String** | |
**shouldChangePassword** | **bool** | |
**userEmail** | **String** | |
**userId** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)