kleisterjs 2.5.1 → 2.6.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/.github/RELEASE +1 -1
- package/.github/workflows/flake.yml +1 -1
- package/.github/workflows/general.yml +1 -1
- package/.github/workflows/openapi.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.openapi-generator/FILES +56 -55
- package/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/api/auth-api.ts +251 -147
- package/api/fabric-api.ts +47 -67
- package/api/forge-api.ts +47 -67
- package/api/{team-api.ts → group-api.ts} +921 -936
- package/api/minecraft-api.ts +44 -67
- package/api/mod-api.ts +1016 -461
- package/api/neoforge-api.ts +47 -67
- package/api/pack-api.ts +378 -419
- package/api/profile-api.ts +18 -21
- package/api/quilt-api.ts +48 -68
- package/api/user-api.ts +554 -580
- package/api.ts +1 -1
- package/flake.lock +9 -9
- package/model/attach-build-to-version-request.ts +33 -0
- package/model/attach-minecraft-to-build-request.ts +33 -0
- package/model/build.ts +0 -6
- package/model/create-build-request.ts +87 -0
- package/model/{quilt-build-params.ts → create-group-request.ts} +7 -7
- package/model/{pack-icon.ts → create-mod-request.ts} +19 -25
- package/model/create-pack-request.ts +45 -0
- package/model/create-user-request.ts +57 -0
- package/model/create-version-request.ts +39 -0
- package/model/delete-group-from-mod-request.ts +27 -0
- package/model/delete-group-from-pack-request.ts +27 -0
- package/model/delete-pack-from-group-request.ts +27 -0
- package/model/delete-pack-from-user-request.ts +27 -0
- package/model/{team-mod.ts → group-mod.ts} +19 -19
- package/model/{team-pack.ts → group-pack.ts} +19 -19
- package/model/{team.ts → group.ts} +8 -8
- package/model/index.ts +55 -54
- package/model/{build-versions.ts → list-build-versions200-response.ts} +25 -13
- package/model/{builds.ts → list-builds200-response.ts} +20 -8
- package/model/{fabric-builds.ts → list-fabric-builds200-response.ts} +22 -10
- package/model/{fabrics.ts → list-fabrics200-response.ts} +19 -7
- package/model/{forge-builds.ts → list-forge-builds200-response.ts} +22 -10
- package/model/{forges.ts → list-forges200-response.ts} +19 -7
- package/model/list-group-mods200-response.ts +58 -0
- package/model/list-group-packs200-response.ts +58 -0
- package/model/list-group-users200-response.ts +58 -0
- package/model/list-groups200-response.ts +49 -0
- package/model/{minecraft-builds.ts → list-minecraft-builds200-response.ts} +22 -10
- package/model/{minecrafts.ts → list-minecrafts200-response.ts} +19 -7
- package/model/{mod-teams.ts → list-mod-groups200-response.ts} +25 -13
- package/model/{mod-users.ts → list-mod-users200-response.ts} +22 -10
- package/model/{mods.ts → list-mods200-response.ts} +19 -7
- package/model/{neoforge-builds.ts → list-neoforge-builds200-response.ts} +22 -10
- package/model/{neoforges.ts → list-neoforges200-response.ts} +19 -7
- package/model/{pack-teams.ts → list-pack-groups200-response.ts} +25 -13
- package/model/{pack-users.ts → list-pack-users200-response.ts} +22 -10
- package/model/{packs.ts → list-packs200-response.ts} +19 -7
- package/model/{providers.ts → list-providers200-response.ts} +7 -7
- package/model/{quilt-builds.ts → list-quilt-builds200-response.ts} +22 -10
- package/model/{quilts.ts → list-quilts200-response.ts} +19 -7
- package/model/{user-teams.ts → list-user-groups200-response.ts} +24 -12
- package/model/{user-mods.ts → list-user-mods200-response.ts} +22 -10
- package/model/{user-packs.ts → list-user-packs200-response.ts} +22 -10
- package/model/{users.ts → list-users200-response.ts} +19 -7
- package/model/{version-builds.ts → list-version-builds200-response.ts} +25 -13
- package/model/{versions.ts → list-versions200-response.ts} +20 -8
- package/model/{auth-login.ts → login-auth-request.ts} +4 -4
- package/model/mod-avatar.ts +45 -0
- package/model/mod.ts +10 -0
- package/model/pack-avatar.ts +45 -0
- package/model/pack.ts +3 -21
- package/model/{build-version-params.ts → permit-group-mod-request.ts} +6 -6
- package/model/{forge-build-params.ts → permit-group-pack-request.ts} +6 -6
- package/model/{fabric-build-params.ts → permit-pack-group-request.ts} +7 -7
- package/model/permit-pack-user-request.ts +33 -0
- package/model/profile.ts +9 -9
- package/model/redirect-auth-request.ts +27 -0
- package/model/update-profile-request.ts +45 -0
- package/model/update-user-request.ts +57 -0
- package/model/{user-team.ts → user-group.ts} +19 -19
- package/model/version-file.ts +0 -12
- package/model/version.ts +0 -6
- package/openapi.yml +1 -1
- package/package.json +1 -1
- package/model/minecraft-build-params.ts +0 -33
- package/model/mod-team-params.ts +0 -42
- package/model/mod-user-params.ts +0 -42
- package/model/neoforge-build-params.ts +0 -33
- package/model/pack-back.ts +0 -75
- package/model/pack-logo.ts +0 -75
- package/model/pack-team-params.ts +0 -42
- package/model/pack-user-params.ts +0 -42
- package/model/team-mod-params.ts +0 -42
- package/model/team-mods.ts +0 -46
- package/model/team-pack-params.ts +0 -42
- package/model/team-packs.ts +0 -46
- package/model/team-user-params.ts +0 -42
- package/model/team-users.ts +0 -46
- package/model/teams.ts +0 -37
- package/model/user-mod-params.ts +0 -42
- package/model/user-pack-params.ts +0 -42
- package/model/user-team-params.ts +0 -42
- package/model/version-build-params.ts +0 -33
package/api.ts
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
export * from "./api/auth-api";
|
|
16
16
|
export * from "./api/fabric-api";
|
|
17
17
|
export * from "./api/forge-api";
|
|
18
|
+
export * from "./api/group-api";
|
|
18
19
|
export * from "./api/minecraft-api";
|
|
19
20
|
export * from "./api/mod-api";
|
|
20
21
|
export * from "./api/neoforge-api";
|
|
21
22
|
export * from "./api/pack-api";
|
|
22
23
|
export * from "./api/profile-api";
|
|
23
24
|
export * from "./api/quilt-api";
|
|
24
|
-
export * from "./api/team-api";
|
|
25
25
|
export * from "./api/user-api";
|
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": 1742147141,
|
|
41
|
+
"narHash": "sha256-pTgorBdmI0rMrFirATgMIye65/jL72De8Kxh7rBT/58=",
|
|
42
42
|
"owner": "cachix",
|
|
43
43
|
"repo": "devenv",
|
|
44
|
-
"rev": "
|
|
44
|
+
"rev": "e1eb23d427a3a0871c277268a28163898fd37266",
|
|
45
45
|
"type": "github"
|
|
46
46
|
},
|
|
47
47
|
"original": {
|
|
@@ -154,11 +154,11 @@
|
|
|
154
154
|
"nixpkgs": "nixpkgs_4"
|
|
155
155
|
},
|
|
156
156
|
"locked": {
|
|
157
|
-
"lastModified":
|
|
158
|
-
"narHash": "sha256-
|
|
157
|
+
"lastModified": 1742058297,
|
|
158
|
+
"narHash": "sha256-b4SZc6TkKw8WQQssbN5O2DaCEzmFfvSTPYHlx/SFW9Y=",
|
|
159
159
|
"owner": "cachix",
|
|
160
160
|
"repo": "git-hooks.nix",
|
|
161
|
-
"rev": "
|
|
161
|
+
"rev": "59f17850021620cd348ad2e9c0c64f4e6325ce2a",
|
|
162
162
|
"type": "github"
|
|
163
163
|
},
|
|
164
164
|
"original": {
|
|
@@ -340,11 +340,11 @@
|
|
|
340
340
|
},
|
|
341
341
|
"nixpkgs_5": {
|
|
342
342
|
"locked": {
|
|
343
|
-
"lastModified":
|
|
344
|
-
"narHash": "sha256-
|
|
343
|
+
"lastModified": 1742069588,
|
|
344
|
+
"narHash": "sha256-C7jVfohcGzdZRF6DO+ybyG/sqpo1h6bZi9T56sxLy+k=",
|
|
345
345
|
"owner": "NixOS",
|
|
346
346
|
"repo": "nixpkgs",
|
|
347
|
-
"rev": "
|
|
347
|
+
"rev": "c80f6a7e10b39afcc1894e02ef785b1ad0b0d7e5",
|
|
348
348
|
"type": "github"
|
|
349
349
|
},
|
|
350
350
|
"original": {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AttachBuildToVersionRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface AttachBuildToVersionRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof AttachBuildToVersionRequest
|
|
25
|
+
*/
|
|
26
|
+
mod: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof AttachBuildToVersionRequest
|
|
31
|
+
*/
|
|
32
|
+
version: string | null;
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AttachMinecraftToBuildRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface AttachMinecraftToBuildRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof AttachMinecraftToBuildRequest
|
|
25
|
+
*/
|
|
26
|
+
pack: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof AttachMinecraftToBuildRequest
|
|
31
|
+
*/
|
|
32
|
+
build: string | null;
|
|
33
|
+
}
|
package/model/build.ts
CHANGED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateBuildRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateBuildRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateBuildRequest
|
|
25
|
+
*/
|
|
26
|
+
minecraft_id?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CreateBuildRequest
|
|
31
|
+
*/
|
|
32
|
+
forge_id?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CreateBuildRequest
|
|
37
|
+
*/
|
|
38
|
+
neoforge_id?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof CreateBuildRequest
|
|
43
|
+
*/
|
|
44
|
+
quilt_id?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof CreateBuildRequest
|
|
49
|
+
*/
|
|
50
|
+
fabric_id?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof CreateBuildRequest
|
|
55
|
+
*/
|
|
56
|
+
name?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof CreateBuildRequest
|
|
61
|
+
*/
|
|
62
|
+
java?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof CreateBuildRequest
|
|
67
|
+
*/
|
|
68
|
+
memory?: string | null;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {boolean}
|
|
72
|
+
* @memberof CreateBuildRequest
|
|
73
|
+
*/
|
|
74
|
+
latest?: boolean | null;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {boolean}
|
|
78
|
+
* @memberof CreateBuildRequest
|
|
79
|
+
*/
|
|
80
|
+
recommended?: boolean | null;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
* @memberof CreateBuildRequest
|
|
85
|
+
*/
|
|
86
|
+
public?: boolean | null;
|
|
87
|
+
}
|
|
@@ -13,21 +13,21 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface CreateGroupRequest
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface CreateGroupRequest {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof CreateGroupRequest
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
slug?: string | null;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof CreateGroupRequest
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
name?: string | null;
|
|
33
33
|
}
|
|
@@ -13,63 +13,57 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface CreateModRequest
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof PackIcon
|
|
25
|
-
*/
|
|
26
|
-
id?: string;
|
|
20
|
+
export interface CreateModRequest {
|
|
27
21
|
/**
|
|
28
22
|
*
|
|
29
23
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
24
|
+
* @memberof CreateModRequest
|
|
31
25
|
*/
|
|
32
26
|
slug?: string | null;
|
|
33
27
|
/**
|
|
34
28
|
*
|
|
35
29
|
* @type {string}
|
|
36
|
-
* @memberof
|
|
30
|
+
* @memberof CreateModRequest
|
|
37
31
|
*/
|
|
38
|
-
|
|
32
|
+
name?: string | null;
|
|
39
33
|
/**
|
|
40
34
|
*
|
|
41
35
|
* @type {string}
|
|
42
|
-
* @memberof
|
|
36
|
+
* @memberof CreateModRequest
|
|
43
37
|
*/
|
|
44
|
-
|
|
38
|
+
side?: string | null;
|
|
45
39
|
/**
|
|
46
40
|
*
|
|
47
41
|
* @type {string}
|
|
48
|
-
* @memberof
|
|
42
|
+
* @memberof CreateModRequest
|
|
49
43
|
*/
|
|
50
|
-
|
|
44
|
+
description?: string | null;
|
|
51
45
|
/**
|
|
52
46
|
*
|
|
53
47
|
* @type {string}
|
|
54
|
-
* @memberof
|
|
48
|
+
* @memberof CreateModRequest
|
|
55
49
|
*/
|
|
56
|
-
|
|
50
|
+
author?: string | null;
|
|
57
51
|
/**
|
|
58
52
|
*
|
|
59
53
|
* @type {string}
|
|
60
|
-
* @memberof
|
|
54
|
+
* @memberof CreateModRequest
|
|
61
55
|
*/
|
|
62
|
-
|
|
56
|
+
website?: string | null;
|
|
63
57
|
/**
|
|
64
58
|
*
|
|
65
59
|
* @type {string}
|
|
66
|
-
* @memberof
|
|
60
|
+
* @memberof CreateModRequest
|
|
67
61
|
*/
|
|
68
|
-
|
|
62
|
+
donate?: string | null;
|
|
69
63
|
/**
|
|
70
64
|
*
|
|
71
|
-
* @type {
|
|
72
|
-
* @memberof
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
* @memberof CreateModRequest
|
|
73
67
|
*/
|
|
74
|
-
|
|
68
|
+
public?: boolean | null;
|
|
75
69
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreatePackRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface CreatePackRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreatePackRequest
|
|
25
|
+
*/
|
|
26
|
+
slug?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CreatePackRequest
|
|
31
|
+
*/
|
|
32
|
+
name?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CreatePackRequest
|
|
37
|
+
*/
|
|
38
|
+
website?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {boolean}
|
|
42
|
+
* @memberof CreatePackRequest
|
|
43
|
+
*/
|
|
44
|
+
public?: boolean | null;
|
|
45
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateUserRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateUserRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateUserRequest
|
|
25
|
+
*/
|
|
26
|
+
username?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CreateUserRequest
|
|
31
|
+
*/
|
|
32
|
+
password?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CreateUserRequest
|
|
37
|
+
*/
|
|
38
|
+
email?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof CreateUserRequest
|
|
43
|
+
*/
|
|
44
|
+
fullname?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {boolean}
|
|
48
|
+
* @memberof CreateUserRequest
|
|
49
|
+
*/
|
|
50
|
+
admin?: boolean | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {boolean}
|
|
54
|
+
* @memberof CreateUserRequest
|
|
55
|
+
*/
|
|
56
|
+
active?: boolean | null;
|
|
57
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateVersionRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateVersionRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateVersionRequest
|
|
25
|
+
*/
|
|
26
|
+
name?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {boolean}
|
|
30
|
+
* @memberof CreateVersionRequest
|
|
31
|
+
*/
|
|
32
|
+
public?: boolean | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CreateVersionRequest
|
|
37
|
+
*/
|
|
38
|
+
upload?: string | null;
|
|
39
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface DeleteGroupFromModRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface DeleteGroupFromModRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof DeleteGroupFromModRequest
|
|
25
|
+
*/
|
|
26
|
+
mod: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface DeleteGroupFromPackRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface DeleteGroupFromPackRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof DeleteGroupFromPackRequest
|
|
25
|
+
*/
|
|
26
|
+
pack: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface DeletePackFromGroupRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface DeletePackFromGroupRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof DeletePackFromGroupRequest
|
|
25
|
+
*/
|
|
26
|
+
group: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface DeletePackFromUserRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface DeletePackFromUserRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof DeletePackFromUserRequest
|
|
25
|
+
*/
|
|
26
|
+
user: string;
|
|
27
|
+
}
|
|
@@ -14,66 +14,66 @@
|
|
|
14
14
|
|
|
15
15
|
// May contain unused imports in some cases
|
|
16
16
|
// @ts-ignore
|
|
17
|
-
import type {
|
|
17
|
+
import type { Group } from "./group";
|
|
18
18
|
// May contain unused imports in some cases
|
|
19
19
|
// @ts-ignore
|
|
20
|
-
import type {
|
|
20
|
+
import type { Mod } from "./mod";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Model to represent
|
|
23
|
+
* Model to represent group mod
|
|
24
24
|
* @export
|
|
25
|
-
* @interface
|
|
25
|
+
* @interface GroupMod
|
|
26
26
|
*/
|
|
27
|
-
export interface
|
|
27
|
+
export interface GroupMod {
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof GroupMod
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
group_id: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {
|
|
37
|
-
* @memberof
|
|
36
|
+
* @type {Group}
|
|
37
|
+
* @memberof GroupMod
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
group?: Group;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof GroupMod
|
|
44
44
|
*/
|
|
45
45
|
mod_id: string;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {Mod}
|
|
49
|
-
* @memberof
|
|
49
|
+
* @memberof GroupMod
|
|
50
50
|
*/
|
|
51
51
|
mod?: Mod;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
55
|
-
* @memberof
|
|
55
|
+
* @memberof GroupMod
|
|
56
56
|
*/
|
|
57
|
-
perm?:
|
|
57
|
+
perm?: GroupModPermEnum;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {string}
|
|
61
|
-
* @memberof
|
|
61
|
+
* @memberof GroupMod
|
|
62
62
|
*/
|
|
63
63
|
created_at?: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
67
|
-
* @memberof
|
|
67
|
+
* @memberof GroupMod
|
|
68
68
|
*/
|
|
69
69
|
updated_at?: string;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export const
|
|
72
|
+
export const GroupModPermEnum = {
|
|
73
73
|
User: "user",
|
|
74
74
|
Admin: "admin",
|
|
75
75
|
Owner: "owner",
|
|
76
76
|
} as const;
|
|
77
77
|
|
|
78
|
-
export type
|
|
79
|
-
(typeof
|
|
78
|
+
export type GroupModPermEnum =
|
|
79
|
+
(typeof GroupModPermEnum)[keyof typeof GroupModPermEnum];
|