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
|
@@ -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 RedirectAuthRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface RedirectAuthRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof RedirectAuthRequest
|
|
25
|
+
*/
|
|
26
|
+
token: string;
|
|
27
|
+
}
|
|
@@ -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 UpdateProfileRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface UpdateProfileRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof UpdateProfileRequest
|
|
25
|
+
*/
|
|
26
|
+
username?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof UpdateProfileRequest
|
|
31
|
+
*/
|
|
32
|
+
password?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof UpdateProfileRequest
|
|
37
|
+
*/
|
|
38
|
+
email?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof UpdateProfileRequest
|
|
43
|
+
*/
|
|
44
|
+
fullname?: string | 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 UpdateUserRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface UpdateUserRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof UpdateUserRequest
|
|
25
|
+
*/
|
|
26
|
+
username?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof UpdateUserRequest
|
|
31
|
+
*/
|
|
32
|
+
password?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof UpdateUserRequest
|
|
37
|
+
*/
|
|
38
|
+
email?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof UpdateUserRequest
|
|
43
|
+
*/
|
|
44
|
+
fullname?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {boolean}
|
|
48
|
+
* @memberof UpdateUserRequest
|
|
49
|
+
*/
|
|
50
|
+
admin?: boolean | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {boolean}
|
|
54
|
+
* @memberof UpdateUserRequest
|
|
55
|
+
*/
|
|
56
|
+
active?: boolean | null;
|
|
57
|
+
}
|
|
@@ -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
20
|
import type { User } from "./user";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Model to represent user
|
|
23
|
+
* Model to represent user group
|
|
24
24
|
* @export
|
|
25
|
-
* @interface
|
|
25
|
+
* @interface UserGroup
|
|
26
26
|
*/
|
|
27
|
-
export interface
|
|
27
|
+
export interface UserGroup {
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof UserGroup
|
|
32
32
|
*/
|
|
33
33
|
user_id: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {User}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof UserGroup
|
|
38
38
|
*/
|
|
39
39
|
user?: User;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof UserGroup
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
group_id: string;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
|
-
* @type {
|
|
49
|
-
* @memberof
|
|
48
|
+
* @type {Group}
|
|
49
|
+
* @memberof UserGroup
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
group?: Group;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
55
|
-
* @memberof
|
|
55
|
+
* @memberof UserGroup
|
|
56
56
|
*/
|
|
57
|
-
perm?:
|
|
57
|
+
perm?: UserGroupPermEnum;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {string}
|
|
61
|
-
* @memberof
|
|
61
|
+
* @memberof UserGroup
|
|
62
62
|
*/
|
|
63
63
|
created_at?: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
67
|
-
* @memberof
|
|
67
|
+
* @memberof UserGroup
|
|
68
68
|
*/
|
|
69
69
|
updated_at?: string;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export const
|
|
72
|
+
export const UserGroupPermEnum = {
|
|
73
|
+
Owner: "owner",
|
|
73
74
|
User: "user",
|
|
74
75
|
Admin: "admin",
|
|
75
|
-
Owner: "owner",
|
|
76
76
|
} as const;
|
|
77
77
|
|
|
78
|
-
export type
|
|
79
|
-
(typeof
|
|
78
|
+
export type UserGroupPermEnum =
|
|
79
|
+
(typeof UserGroupPermEnum)[keyof typeof UserGroupPermEnum];
|
package/model/version-file.ts
CHANGED
|
@@ -18,12 +18,6 @@
|
|
|
18
18
|
* @interface VersionFile
|
|
19
19
|
*/
|
|
20
20
|
export interface VersionFile {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof VersionFile
|
|
25
|
-
*/
|
|
26
|
-
id?: string;
|
|
27
21
|
/**
|
|
28
22
|
*
|
|
29
23
|
* @type {string}
|
|
@@ -54,12 +48,6 @@ export interface VersionFile {
|
|
|
54
48
|
* @memberof VersionFile
|
|
55
49
|
*/
|
|
56
50
|
url?: string | null;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof VersionFile
|
|
61
|
-
*/
|
|
62
|
-
upload?: string | null;
|
|
63
51
|
/**
|
|
64
52
|
*
|
|
65
53
|
* @type {string}
|
package/model/version.ts
CHANGED
package/openapi.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
* Model to represent params for minecraft builds
|
|
17
|
-
* @export
|
|
18
|
-
* @interface MinecraftBuildParams
|
|
19
|
-
*/
|
|
20
|
-
export interface MinecraftBuildParams {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof MinecraftBuildParams
|
|
25
|
-
*/
|
|
26
|
-
pack: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof MinecraftBuildParams
|
|
31
|
-
*/
|
|
32
|
-
build: string;
|
|
33
|
-
}
|
package/model/mod-team-params.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
* Parameters to attach or unlink mod team
|
|
17
|
-
* @export
|
|
18
|
-
* @interface ModTeamParams
|
|
19
|
-
*/
|
|
20
|
-
export interface ModTeamParams {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof ModTeamParams
|
|
25
|
-
*/
|
|
26
|
-
team: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof ModTeamParams
|
|
31
|
-
*/
|
|
32
|
-
perm?: ModTeamParamsPermEnum;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export const ModTeamParamsPermEnum = {
|
|
36
|
-
User: "user",
|
|
37
|
-
Admin: "admin",
|
|
38
|
-
Owner: "owner",
|
|
39
|
-
} as const;
|
|
40
|
-
|
|
41
|
-
export type ModTeamParamsPermEnum =
|
|
42
|
-
(typeof ModTeamParamsPermEnum)[keyof typeof ModTeamParamsPermEnum];
|
package/model/mod-user-params.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
* Parameters to attach or unlink mod user
|
|
17
|
-
* @export
|
|
18
|
-
* @interface ModUserParams
|
|
19
|
-
*/
|
|
20
|
-
export interface ModUserParams {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof ModUserParams
|
|
25
|
-
*/
|
|
26
|
-
user: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof ModUserParams
|
|
31
|
-
*/
|
|
32
|
-
perm?: ModUserParamsPermEnum;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export const ModUserParamsPermEnum = {
|
|
36
|
-
User: "user",
|
|
37
|
-
Admin: "admin",
|
|
38
|
-
Owner: "owner",
|
|
39
|
-
} as const;
|
|
40
|
-
|
|
41
|
-
export type ModUserParamsPermEnum =
|
|
42
|
-
(typeof ModUserParamsPermEnum)[keyof typeof ModUserParamsPermEnum];
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
* Model to represent params for neoforge builds
|
|
17
|
-
* @export
|
|
18
|
-
* @interface NeoforgeBuildParams
|
|
19
|
-
*/
|
|
20
|
-
export interface NeoforgeBuildParams {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof NeoforgeBuildParams
|
|
25
|
-
*/
|
|
26
|
-
pack: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof NeoforgeBuildParams
|
|
31
|
-
*/
|
|
32
|
-
build: string;
|
|
33
|
-
}
|
package/model/pack-back.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
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
|
-
* Model to represent pack background
|
|
17
|
-
* @export
|
|
18
|
-
* @interface PackBack
|
|
19
|
-
*/
|
|
20
|
-
export interface PackBack {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof PackBack
|
|
25
|
-
*/
|
|
26
|
-
id?: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof PackBack
|
|
31
|
-
*/
|
|
32
|
-
slug?: string | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof PackBack
|
|
37
|
-
*/
|
|
38
|
-
content_type?: string | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof PackBack
|
|
43
|
-
*/
|
|
44
|
-
md5?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof PackBack
|
|
49
|
-
*/
|
|
50
|
-
path?: string | null;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof PackBack
|
|
55
|
-
*/
|
|
56
|
-
url?: string | null;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof PackBack
|
|
61
|
-
*/
|
|
62
|
-
upload?: string | null;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof PackBack
|
|
67
|
-
*/
|
|
68
|
-
created_at?: string;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {string}
|
|
72
|
-
* @memberof PackBack
|
|
73
|
-
*/
|
|
74
|
-
updated_at?: string;
|
|
75
|
-
}
|
package/model/pack-logo.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
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
|
-
* Model to represent pack logo
|
|
17
|
-
* @export
|
|
18
|
-
* @interface PackLogo
|
|
19
|
-
*/
|
|
20
|
-
export interface PackLogo {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof PackLogo
|
|
25
|
-
*/
|
|
26
|
-
id?: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof PackLogo
|
|
31
|
-
*/
|
|
32
|
-
slug?: string | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof PackLogo
|
|
37
|
-
*/
|
|
38
|
-
content_type?: string | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof PackLogo
|
|
43
|
-
*/
|
|
44
|
-
md5?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof PackLogo
|
|
49
|
-
*/
|
|
50
|
-
path?: string | null;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof PackLogo
|
|
55
|
-
*/
|
|
56
|
-
url?: string | null;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof PackLogo
|
|
61
|
-
*/
|
|
62
|
-
upload?: string | null;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof PackLogo
|
|
67
|
-
*/
|
|
68
|
-
created_at?: string;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {string}
|
|
72
|
-
* @memberof PackLogo
|
|
73
|
-
*/
|
|
74
|
-
updated_at?: string;
|
|
75
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
* Parameters to attach or unlink pack team
|
|
17
|
-
* @export
|
|
18
|
-
* @interface PackTeamParams
|
|
19
|
-
*/
|
|
20
|
-
export interface PackTeamParams {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof PackTeamParams
|
|
25
|
-
*/
|
|
26
|
-
team: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof PackTeamParams
|
|
31
|
-
*/
|
|
32
|
-
perm?: PackTeamParamsPermEnum;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export const PackTeamParamsPermEnum = {
|
|
36
|
-
User: "user",
|
|
37
|
-
Admin: "admin",
|
|
38
|
-
Owner: "owner",
|
|
39
|
-
} as const;
|
|
40
|
-
|
|
41
|
-
export type PackTeamParamsPermEnum =
|
|
42
|
-
(typeof PackTeamParamsPermEnum)[keyof typeof PackTeamParamsPermEnum];
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
* Parameters to attach or unlink pack user
|
|
17
|
-
* @export
|
|
18
|
-
* @interface PackUserParams
|
|
19
|
-
*/
|
|
20
|
-
export interface PackUserParams {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof PackUserParams
|
|
25
|
-
*/
|
|
26
|
-
user: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof PackUserParams
|
|
31
|
-
*/
|
|
32
|
-
perm?: PackUserParamsPermEnum;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export const PackUserParamsPermEnum = {
|
|
36
|
-
User: "user",
|
|
37
|
-
Admin: "admin",
|
|
38
|
-
Owner: "owner",
|
|
39
|
-
} as const;
|
|
40
|
-
|
|
41
|
-
export type PackUserParamsPermEnum =
|
|
42
|
-
(typeof PackUserParamsPermEnum)[keyof typeof PackUserParamsPermEnum];
|
package/model/team-mod-params.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
* Parameters to attach or unlink team mod
|
|
17
|
-
* @export
|
|
18
|
-
* @interface TeamModParams
|
|
19
|
-
*/
|
|
20
|
-
export interface TeamModParams {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof TeamModParams
|
|
25
|
-
*/
|
|
26
|
-
mod: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof TeamModParams
|
|
31
|
-
*/
|
|
32
|
-
perm?: TeamModParamsPermEnum;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export const TeamModParamsPermEnum = {
|
|
36
|
-
User: "user",
|
|
37
|
-
Admin: "admin",
|
|
38
|
-
Owner: "owner",
|
|
39
|
-
} as const;
|
|
40
|
-
|
|
41
|
-
export type TeamModParamsPermEnum =
|
|
42
|
-
(typeof TeamModParamsPermEnum)[keyof typeof TeamModParamsPermEnum];
|