Skip to content

Commit ce3cb98

Browse files
committed
Update version file enum cases
1 parent 6d303dc commit ce3cb98

14 files changed

+108
-76
lines changed

docs/Model/EditableFileType.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**algorithm** | **string** | The hash algorithm of the hash specified in the hash field |
88
**hash** | **string** | The hash of the file you're editing |
9-
**file_type** | **string** | The hash algorithm of the file you're editing |
9+
**file_type** | [**\Aternos\ModrinthApi\Model\FileTypeEnum**](FileTypeEnum.md) | The hash algorithm of the file you're editing |
1010

1111
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/FileTypeEnum.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# # FileTypeEnum
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
8+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/VersionFile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ Name | Type | Description | Notes
99
**filename** | **string** | The name of the file |
1010
**primary** | **bool** | Whether this file is the primary one for its version. Only a maximum of one file per version will have this set to true. If there are not any primary files, it can be inferred that the first file is the primary one. |
1111
**size** | **int** | The size of the file in bytes |
12-
**file_type** | **string** | The type of the additional file, used mainly for adding resource packs to datapacks | [optional]
12+
**file_type** | [**\Aternos\ModrinthApi\Model\FileTypeEnum**](FileTypeEnum.md) | The type of the additional file, used mainly for adding resource packs to datapacks | [optional]
1313

1414
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

lib/Api/MiscApi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
use Psr\Http\Message\ResponseInterface;
4040
use Aternos\ModrinthApi\ApiException;
4141
use Aternos\ModrinthApi\Configuration;
42+
use Aternos\ModrinthApi\FormDataProcessor;
4243
use Aternos\ModrinthApi\HeaderSelector;
4344
use Aternos\ModrinthApi\ObjectSerializer;
4445

lib/Api/NotificationsApi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
use Psr\Http\Message\ResponseInterface;
4040
use Aternos\ModrinthApi\ApiException;
4141
use Aternos\ModrinthApi\Configuration;
42+
use Aternos\ModrinthApi\FormDataProcessor;
4243
use Aternos\ModrinthApi\HeaderSelector;
4344
use Aternos\ModrinthApi\ObjectSerializer;
4445

lib/Api/TagsApi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
use Psr\Http\Message\ResponseInterface;
4040
use Aternos\ModrinthApi\ApiException;
4141
use Aternos\ModrinthApi\Configuration;
42+
use Aternos\ModrinthApi\FormDataProcessor;
4243
use Aternos\ModrinthApi\HeaderSelector;
4344
use Aternos\ModrinthApi\ObjectSerializer;
4445

lib/Api/TeamsApi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
use Psr\Http\Message\ResponseInterface;
4040
use Aternos\ModrinthApi\ApiException;
4141
use Aternos\ModrinthApi\Configuration;
42+
use Aternos\ModrinthApi\FormDataProcessor;
4243
use Aternos\ModrinthApi\HeaderSelector;
4344
use Aternos\ModrinthApi\ObjectSerializer;
4445

lib/Api/ThreadsApi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
use Psr\Http\Message\ResponseInterface;
4040
use Aternos\ModrinthApi\ApiException;
4141
use Aternos\ModrinthApi\Configuration;
42+
use Aternos\ModrinthApi\FormDataProcessor;
4243
use Aternos\ModrinthApi\HeaderSelector;
4344
use Aternos\ModrinthApi\ObjectSerializer;
4445

lib/Api/UsersApi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
use Psr\Http\Message\ResponseInterface;
4040
use Aternos\ModrinthApi\ApiException;
4141
use Aternos\ModrinthApi\Configuration;
42+
use Aternos\ModrinthApi\FormDataProcessor;
4243
use Aternos\ModrinthApi\HeaderSelector;
4344
use Aternos\ModrinthApi\ObjectSerializer;
4445

lib/Api/VersionFilesApi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
use Psr\Http\Message\ResponseInterface;
4040
use Aternos\ModrinthApi\ApiException;
4141
use Aternos\ModrinthApi\Configuration;
42+
use Aternos\ModrinthApi\FormDataProcessor;
4243
use Aternos\ModrinthApi\HeaderSelector;
4344
use Aternos\ModrinthApi\ObjectSerializer;
4445

0 commit comments

Comments
 (0)