kleisterjs 2.7.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.codacy.yml +3 -0
- package/.github/RELEASE +1 -1
- package/.github/settings.yml +3 -0
- package/.openapi-generator/FILES +87 -0
- package/.openapi-generator/VERSION +1 -1
- package/CHANGELOG.md +15 -0
- package/README.md +2 -2
- package/docs/AttachBuildToVersionRequest.md +22 -0
- package/docs/AttachMinecraftToBuildRequest.md +22 -0
- package/docs/AuthApi.md +366 -0
- package/docs/AuthToken.md +22 -0
- package/docs/AuthVerify.md +22 -0
- package/docs/Build.md +59 -0
- package/docs/BuildVersion.md +31 -0
- package/docs/CreateBuildRequest.md +40 -0
- package/docs/CreateGroupRequest.md +22 -0
- package/docs/CreateModRequest.md +34 -0
- package/docs/CreatePackRequest.md +26 -0
- package/docs/CreateUserRequest.md +30 -0
- package/docs/CreateVersionRequest.md +24 -0
- package/docs/DeleteGroupFromModRequest.md +20 -0
- package/docs/DeleteGroupFromPackRequest.md +20 -0
- package/docs/DeletePackFromGroupRequest.md +20 -0
- package/docs/DeletePackFromUserRequest.md +20 -0
- package/docs/Fabric.md +27 -0
- package/docs/FabricApi.md +297 -0
- package/docs/Forge.md +29 -0
- package/docs/ForgeApi.md +297 -0
- package/docs/Group.md +29 -0
- package/docs/GroupApi.md +1050 -0
- package/docs/GroupMod.md +33 -0
- package/docs/GroupPack.md +33 -0
- package/docs/ListBuildVersions200Response.md +30 -0
- package/docs/ListBuilds200Response.md +28 -0
- package/docs/ListFabricBuilds200Response.md +28 -0
- package/docs/ListFabrics200Response.md +26 -0
- package/docs/ListForgeBuilds200Response.md +28 -0
- package/docs/ListForges200Response.md +26 -0
- package/docs/ListGroupMods200Response.md +28 -0
- package/docs/ListGroupPacks200Response.md +28 -0
- package/docs/ListGroupUsers200Response.md +28 -0
- package/docs/ListGroups200Response.md +26 -0
- package/docs/ListMinecraftBuilds200Response.md +28 -0
- package/docs/ListMinecrafts200Response.md +26 -0
- package/docs/ListModGroups200Response.md +28 -0
- package/docs/ListModUsers200Response.md +28 -0
- package/docs/ListMods200Response.md +26 -0
- package/docs/ListNeoforgeBuilds200Response.md +28 -0
- package/docs/ListNeoforges200Response.md +26 -0
- package/docs/ListPackGroups200Response.md +28 -0
- package/docs/ListPackUsers200Response.md +28 -0
- package/docs/ListPacks200Response.md +26 -0
- package/docs/ListProviders200Response.md +22 -0
- package/docs/ListQuiltBuilds200Response.md +28 -0
- package/docs/ListQuilts200Response.md +26 -0
- package/docs/ListUserGroups200Response.md +28 -0
- package/docs/ListUserMods200Response.md +28 -0
- package/docs/ListUserPacks200Response.md +28 -0
- package/docs/ListUsers200Response.md +26 -0
- package/docs/ListVersionBuilds200Response.md +30 -0
- package/docs/ListVersions200Response.md +28 -0
- package/docs/LoginAuthRequest.md +22 -0
- package/docs/Minecraft.md +29 -0
- package/docs/MinecraftApi.md +297 -0
- package/docs/Mod.md +43 -0
- package/docs/ModApi.md +1533 -0
- package/docs/ModAvatar.md +27 -0
- package/docs/Neoforge.md +27 -0
- package/docs/NeoforgeApi.md +297 -0
- package/docs/Notification.md +25 -0
- package/docs/Pack.md +35 -0
- package/docs/PackApi.md +1305 -0
- package/docs/PackAvatar.md +27 -0
- package/docs/PermitGroupModRequest.md +22 -0
- package/docs/PermitGroupPackRequest.md +22 -0
- package/docs/PermitPackGroupRequest.md +22 -0
- package/docs/PermitPackUserRequest.md +22 -0
- package/docs/Profile.md +47 -0
- package/docs/ProfileApi.md +155 -0
- package/docs/Provider.md +27 -0
- package/docs/Quilt.md +27 -0
- package/docs/QuiltApi.md +297 -0
- package/docs/RedirectAuthRequest.md +20 -0
- package/docs/UpdateProfileRequest.md +26 -0
- package/docs/UpdateUserRequest.md +30 -0
- package/docs/User.md +41 -0
- package/docs/UserApi.md +1050 -0
- package/docs/UserAuth.md +27 -0
- package/docs/UserGroup.md +33 -0
- package/docs/UserMod.md +33 -0
- package/docs/UserPack.md +33 -0
- package/docs/Validation.md +23 -0
- package/docs/Version.md +33 -0
- package/docs/VersionFile.md +33 -0
- package/flake.lock +9 -9
- package/openapi.yml +1 -1
- package/package.json +2 -2
package/docs/UserAuth.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# UserAuth
|
|
2
|
+
|
|
3
|
+
Model to represent user auth
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**provider** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**ref** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**created_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
12
|
+
**updated_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { UserAuth } from 'kleisterjs';
|
|
18
|
+
|
|
19
|
+
const instance: UserAuth = {
|
|
20
|
+
provider,
|
|
21
|
+
ref,
|
|
22
|
+
created_at,
|
|
23
|
+
updated_at,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# UserGroup
|
|
2
|
+
|
|
3
|
+
Model to represent user group
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**user_id** | **string** | | [default to undefined]
|
|
10
|
+
**user** | [**User**](User.md) | | [optional] [default to undefined]
|
|
11
|
+
**group_id** | **string** | | [default to undefined]
|
|
12
|
+
**group** | [**Group**](Group.md) | | [optional] [default to undefined]
|
|
13
|
+
**perm** | **string** | | [optional] [default to PermEnum_User]
|
|
14
|
+
**created_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
15
|
+
**updated_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { UserGroup } from 'kleisterjs';
|
|
21
|
+
|
|
22
|
+
const instance: UserGroup = {
|
|
23
|
+
user_id,
|
|
24
|
+
user,
|
|
25
|
+
group_id,
|
|
26
|
+
group,
|
|
27
|
+
perm,
|
|
28
|
+
created_at,
|
|
29
|
+
updated_at,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/UserMod.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# UserMod
|
|
2
|
+
|
|
3
|
+
Model to represent user mod
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**user_id** | **string** | | [default to undefined]
|
|
10
|
+
**user** | [**User**](User.md) | | [optional] [default to undefined]
|
|
11
|
+
**mod_id** | **string** | | [default to undefined]
|
|
12
|
+
**mod** | [**Mod**](Mod.md) | | [optional] [default to undefined]
|
|
13
|
+
**perm** | **string** | | [optional] [default to PermEnum_User]
|
|
14
|
+
**created_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
15
|
+
**updated_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { UserMod } from 'kleisterjs';
|
|
21
|
+
|
|
22
|
+
const instance: UserMod = {
|
|
23
|
+
user_id,
|
|
24
|
+
user,
|
|
25
|
+
mod_id,
|
|
26
|
+
mod,
|
|
27
|
+
perm,
|
|
28
|
+
created_at,
|
|
29
|
+
updated_at,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/UserPack.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# UserPack
|
|
2
|
+
|
|
3
|
+
Model to represent user pack
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**user_id** | **string** | | [default to undefined]
|
|
10
|
+
**user** | [**User**](User.md) | | [optional] [default to undefined]
|
|
11
|
+
**pack_id** | **string** | | [default to undefined]
|
|
12
|
+
**pack** | [**Pack**](Pack.md) | | [optional] [default to undefined]
|
|
13
|
+
**perm** | **string** | | [optional] [default to PermEnum_User]
|
|
14
|
+
**created_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
15
|
+
**updated_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { UserPack } from 'kleisterjs';
|
|
21
|
+
|
|
22
|
+
const instance: UserPack = {
|
|
23
|
+
user_id,
|
|
24
|
+
user,
|
|
25
|
+
pack_id,
|
|
26
|
+
pack,
|
|
27
|
+
perm,
|
|
28
|
+
created_at,
|
|
29
|
+
updated_at,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Validation
|
|
2
|
+
|
|
3
|
+
General structure to show validation errors
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**field** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Validation } from 'kleisterjs';
|
|
16
|
+
|
|
17
|
+
const instance: Validation = {
|
|
18
|
+
field,
|
|
19
|
+
message,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Version.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Version
|
|
2
|
+
|
|
3
|
+
Model to represent version
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | | [optional] [readonly] [default to undefined]
|
|
10
|
+
**file** | [**VersionFile**](VersionFile.md) | | [optional] [default to undefined]
|
|
11
|
+
**mod** | [**Mod**](Mod.md) | | [optional] [default to undefined]
|
|
12
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**_public** | **boolean** | | [optional] [default to undefined]
|
|
14
|
+
**created_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
15
|
+
**updated_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { Version } from 'kleisterjs';
|
|
21
|
+
|
|
22
|
+
const instance: Version = {
|
|
23
|
+
id,
|
|
24
|
+
file,
|
|
25
|
+
mod,
|
|
26
|
+
name,
|
|
27
|
+
_public,
|
|
28
|
+
created_at,
|
|
29
|
+
updated_at,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# VersionFile
|
|
2
|
+
|
|
3
|
+
Model to represent version file
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**slug** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**content_type** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**md5** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**path** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**url** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**created_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
15
|
+
**updated_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { VersionFile } from 'kleisterjs';
|
|
21
|
+
|
|
22
|
+
const instance: VersionFile = {
|
|
23
|
+
slug,
|
|
24
|
+
content_type,
|
|
25
|
+
md5,
|
|
26
|
+
path,
|
|
27
|
+
url,
|
|
28
|
+
created_at,
|
|
29
|
+
updated_at,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/flake.lock
CHANGED
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"nixpkgs": "nixpkgs_3"
|
|
38
38
|
},
|
|
39
39
|
"locked": {
|
|
40
|
-
"lastModified":
|
|
41
|
-
"narHash": "sha256-
|
|
40
|
+
"lastModified": 1746423062,
|
|
41
|
+
"narHash": "sha256-BgiRweL6nMjeO2BQgnOyIquuviybI4S8Nc8r9hYjcBc=",
|
|
42
42
|
"owner": "cachix",
|
|
43
43
|
"repo": "devenv",
|
|
44
|
-
"rev": "
|
|
44
|
+
"rev": "aba5cf8412827fdb637fceb2c305d10fcea907c6",
|
|
45
45
|
"type": "github"
|
|
46
46
|
},
|
|
47
47
|
"original": {
|
|
@@ -245,11 +245,11 @@
|
|
|
245
245
|
]
|
|
246
246
|
},
|
|
247
247
|
"locked": {
|
|
248
|
-
"lastModified":
|
|
249
|
-
"narHash": "sha256-
|
|
248
|
+
"lastModified": 1745930071,
|
|
249
|
+
"narHash": "sha256-bYyjarS3qSNqxfgc89IoVz8cAFDkF9yPE63EJr+h50s=",
|
|
250
250
|
"owner": "domenkozar",
|
|
251
251
|
"repo": "nix",
|
|
252
|
-
"rev": "
|
|
252
|
+
"rev": "b455edf3505f1bf0172b39a735caef94687d0d9c",
|
|
253
253
|
"type": "github"
|
|
254
254
|
},
|
|
255
255
|
"original": {
|
|
@@ -340,11 +340,11 @@
|
|
|
340
340
|
},
|
|
341
341
|
"nixpkgs_5": {
|
|
342
342
|
"locked": {
|
|
343
|
-
"lastModified":
|
|
344
|
-
"narHash": "sha256-
|
|
343
|
+
"lastModified": 1746328495,
|
|
344
|
+
"narHash": "sha256-uKCfuDs7ZM3QpCE/jnfubTg459CnKnJG/LwqEVEdEiw=",
|
|
345
345
|
"owner": "NixOS",
|
|
346
346
|
"repo": "nixpkgs",
|
|
347
|
-
"rev": "
|
|
347
|
+
"rev": "979daf34c8cacebcd917d540070b52a3c2b9b16e",
|
|
348
348
|
"type": "github"
|
|
349
349
|
},
|
|
350
350
|
"original": {
|
package/openapi.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kleisterjs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"description": "OpenAPI client for Kleister",
|
|
5
5
|
"homepage": "https://github.com/kleister/kleister-js#readme",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"axios": "^1.6.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@types/node": "12.11.5 - 22.
|
|
37
|
+
"@types/node": "12.11.5 - 22.15",
|
|
38
38
|
"prettier": "^3.2.5",
|
|
39
39
|
"typescript": "^4.0 || ^5.0"
|
|
40
40
|
}
|