kleisterjs 1.0.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 +6 -0
- package/.editorconfig +24 -0
- package/.github/issue_template.md +9 -0
- package/.github/pull_request_template.md +8 -0
- package/.github/renovate.json +6 -0
- package/.github/semantic.yml +23 -0
- package/.github/settings.yml +44 -0
- package/.github/workflows/automerge.yml +49 -0
- package/.github/workflows/flake.yml +56 -0
- package/.github/workflows/general.yml +39 -0
- package/.github/workflows/openapi.yml +74 -0
- package/.github/workflows/release.yml +56 -0
- package/.openapi-generator/FILES +94 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +3 -0
- package/.releaserc +195 -0
- package/CHANGELOG.md +17 -0
- package/CONTRIBUTING.md +121 -0
- package/DCO +34 -0
- package/LICENSE +202 -0
- package/README.md +88 -0
- package/api/auth-api.ts +743 -0
- package/api/fabric-api.ts +943 -0
- package/api/forge-api.ts +942 -0
- package/api/minecraft-api.ts +949 -0
- package/api/mod-api.ts +4028 -0
- package/api/neoforge-api.ts +945 -0
- package/api/pack-api.ts +4007 -0
- package/api/profile-api.ts +431 -0
- package/api/quilt-api.ts +942 -0
- package/api/team-api.ts +3216 -0
- package/api/user-api.ts +3210 -0
- package/api.ts +25 -0
- package/base.ts +91 -0
- package/common.ts +203 -0
- package/configuration.ts +132 -0
- package/flake.lock +472 -0
- package/flake.nix +59 -0
- package/hack/generate-client.sh +36 -0
- package/hack/openapi/templates/README.mustache +93 -0
- package/hack/openapi/templates/gitignore +6 -0
- package/index.ts +17 -0
- package/model/auth-login.ts +33 -0
- package/model/auth-token.ts +33 -0
- package/model/auth-verify.ts +33 -0
- package/model/build-version-params.ts +33 -0
- package/model/build-version.ts +64 -0
- package/model/build-versions.ts +55 -0
- package/model/build.ts +169 -0
- package/model/builds.ts +46 -0
- package/model/fabric-build-params.ts +33 -0
- package/model/fabric-builds.ts +46 -0
- package/model/fabric.ts +45 -0
- package/model/fabrics.ts +37 -0
- package/model/forge-build-params.ts +33 -0
- package/model/forge-builds.ts +46 -0
- package/model/forge.ts +51 -0
- package/model/forges.ts +37 -0
- package/model/index.ts +73 -0
- package/model/minecraft-build-params.ts +33 -0
- package/model/minecraft-builds.ts +46 -0
- package/model/minecraft.ts +51 -0
- package/model/minecrafts.ts +37 -0
- package/model/mod-team-params.ts +42 -0
- package/model/mod-teams.ts +46 -0
- package/model/mod-user-params.ts +42 -0
- package/model/mod-users.ts +46 -0
- package/model/mod.ts +123 -0
- package/model/mods.ts +37 -0
- package/model/neoforge-build-params.ts +33 -0
- package/model/neoforge-builds.ts +46 -0
- package/model/neoforge.ts +51 -0
- package/model/neoforges.ts +37 -0
- package/model/notification.ts +43 -0
- package/model/pack-back.ts +91 -0
- package/model/pack-icon.ts +91 -0
- package/model/pack-logo.ts +91 -0
- package/model/pack-team-params.ts +42 -0
- package/model/pack-teams.ts +46 -0
- package/model/pack-user-params.ts +42 -0
- package/model/pack-users.ts +46 -0
- package/model/pack.ts +142 -0
- package/model/packs.ts +37 -0
- package/model/profile.ts +118 -0
- package/model/quilt-build-params.ts +33 -0
- package/model/quilt-builds.ts +46 -0
- package/model/quilt.ts +45 -0
- package/model/quilts.ts +37 -0
- package/model/team-mod-params.ts +42 -0
- package/model/team-mod.ts +79 -0
- package/model/team-mods.ts +46 -0
- package/model/team-pack-params.ts +42 -0
- package/model/team-pack.ts +79 -0
- package/model/team-packs.ts +46 -0
- package/model/team-user-params.ts +42 -0
- package/model/team-users.ts +46 -0
- package/model/team.ts +79 -0
- package/model/teams.ts +37 -0
- package/model/user-auth.ts +45 -0
- package/model/user-mod-params.ts +42 -0
- package/model/user-mod.ts +79 -0
- package/model/user-mods.ts +46 -0
- package/model/user-pack-params.ts +42 -0
- package/model/user-pack.ts +79 -0
- package/model/user-packs.ts +46 -0
- package/model/user-team-params.ts +42 -0
- package/model/user-team.ts +79 -0
- package/model/user-teams.ts +46 -0
- package/model/user.ts +118 -0
- package/model/users.ts +37 -0
- package/model/validation.ts +33 -0
- package/model/version-build-params.ts +33 -0
- package/model/version-builds.ts +55 -0
- package/model/version-file.ts +91 -0
- package/model/version.ts +91 -0
- package/model/versions.ts +46 -0
- package/openapi.yml +12 -0
- package/openapitools.json +7 -0
- package/package.json +41 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { Pack } from "./pack";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { Team } from "./team";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent team pack
|
|
24
|
+
* @export
|
|
25
|
+
* @interface TeamPack
|
|
26
|
+
*/
|
|
27
|
+
export interface TeamPack {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof TeamPack
|
|
32
|
+
*/
|
|
33
|
+
team_id: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Team}
|
|
37
|
+
* @memberof TeamPack
|
|
38
|
+
*/
|
|
39
|
+
team?: Team;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof TeamPack
|
|
44
|
+
*/
|
|
45
|
+
pack_id: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Pack}
|
|
49
|
+
* @memberof TeamPack
|
|
50
|
+
*/
|
|
51
|
+
pack?: Pack;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof TeamPack
|
|
56
|
+
*/
|
|
57
|
+
perm?: TeamPackPermEnum;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof TeamPack
|
|
62
|
+
*/
|
|
63
|
+
created_at?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof TeamPack
|
|
68
|
+
*/
|
|
69
|
+
updated_at?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export const TeamPackPermEnum = {
|
|
73
|
+
Team: "team",
|
|
74
|
+
Admin: "admin",
|
|
75
|
+
Owner: "owner",
|
|
76
|
+
} as const;
|
|
77
|
+
|
|
78
|
+
export type TeamPackPermEnum =
|
|
79
|
+
(typeof TeamPackPermEnum)[keyof typeof TeamPackPermEnum];
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { Team } from "./team";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { TeamPack } from "./team-pack";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent team packs
|
|
24
|
+
* @export
|
|
25
|
+
* @interface TeamPacks
|
|
26
|
+
*/
|
|
27
|
+
export interface TeamPacks {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Team}
|
|
31
|
+
* @memberof TeamPacks
|
|
32
|
+
*/
|
|
33
|
+
team?: Team;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof TeamPacks
|
|
38
|
+
*/
|
|
39
|
+
total?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<TeamPack>}
|
|
43
|
+
* @memberof TeamPacks
|
|
44
|
+
*/
|
|
45
|
+
packs?: Array<TeamPack>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 user
|
|
17
|
+
* @export
|
|
18
|
+
* @interface TeamUserParams
|
|
19
|
+
*/
|
|
20
|
+
export interface TeamUserParams {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof TeamUserParams
|
|
25
|
+
*/
|
|
26
|
+
user: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof TeamUserParams
|
|
31
|
+
*/
|
|
32
|
+
perm?: TeamUserParamsPermEnum;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export const TeamUserParamsPermEnum = {
|
|
36
|
+
User: "user",
|
|
37
|
+
Admin: "admin",
|
|
38
|
+
Owner: "owner",
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export type TeamUserParamsPermEnum =
|
|
42
|
+
(typeof TeamUserParamsPermEnum)[keyof typeof TeamUserParamsPermEnum];
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { Team } from "./team";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { UserTeam } from "./user-team";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent team users
|
|
24
|
+
* @export
|
|
25
|
+
* @interface TeamUsers
|
|
26
|
+
*/
|
|
27
|
+
export interface TeamUsers {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Team}
|
|
31
|
+
* @memberof TeamUsers
|
|
32
|
+
*/
|
|
33
|
+
team?: Team;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof TeamUsers
|
|
38
|
+
*/
|
|
39
|
+
total?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<UserTeam>}
|
|
43
|
+
* @memberof TeamUsers
|
|
44
|
+
*/
|
|
45
|
+
users?: Array<UserTeam>;
|
|
46
|
+
}
|
package/model/team.ts
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { TeamMod } from "./team-mod";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { TeamPack } from "./team-pack";
|
|
21
|
+
// May contain unused imports in some cases
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import type { UserTeam } from "./user-team";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Model to represent team
|
|
27
|
+
* @export
|
|
28
|
+
* @interface Team
|
|
29
|
+
*/
|
|
30
|
+
export interface Team {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Team
|
|
35
|
+
*/
|
|
36
|
+
id?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Team
|
|
41
|
+
*/
|
|
42
|
+
slug?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Team
|
|
47
|
+
*/
|
|
48
|
+
name?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Team
|
|
53
|
+
*/
|
|
54
|
+
created_at?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Team
|
|
59
|
+
*/
|
|
60
|
+
updated_at?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<UserTeam>}
|
|
64
|
+
* @memberof Team
|
|
65
|
+
*/
|
|
66
|
+
users?: Array<UserTeam> | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<TeamPack>}
|
|
70
|
+
* @memberof Team
|
|
71
|
+
*/
|
|
72
|
+
packs?: Array<TeamPack> | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Array<TeamMod>}
|
|
76
|
+
* @memberof Team
|
|
77
|
+
*/
|
|
78
|
+
mods?: Array<TeamMod> | null;
|
|
79
|
+
}
|
package/model/teams.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { Team } from "./team";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Model to represent list of teams
|
|
21
|
+
* @export
|
|
22
|
+
* @interface Teams
|
|
23
|
+
*/
|
|
24
|
+
export interface Teams {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof Teams
|
|
29
|
+
*/
|
|
30
|
+
total?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<Team>}
|
|
34
|
+
* @memberof Teams
|
|
35
|
+
*/
|
|
36
|
+
teams?: Array<Team>;
|
|
37
|
+
}
|
|
@@ -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
|
+
* Model to represent user auth
|
|
17
|
+
* @export
|
|
18
|
+
* @interface UserAuth
|
|
19
|
+
*/
|
|
20
|
+
export interface UserAuth {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof UserAuth
|
|
25
|
+
*/
|
|
26
|
+
provider?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof UserAuth
|
|
31
|
+
*/
|
|
32
|
+
ref?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof UserAuth
|
|
37
|
+
*/
|
|
38
|
+
created_at?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof UserAuth
|
|
43
|
+
*/
|
|
44
|
+
updated_at?: string;
|
|
45
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 user mod
|
|
17
|
+
* @export
|
|
18
|
+
* @interface UserModParams
|
|
19
|
+
*/
|
|
20
|
+
export interface UserModParams {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof UserModParams
|
|
25
|
+
*/
|
|
26
|
+
mod: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof UserModParams
|
|
31
|
+
*/
|
|
32
|
+
perm?: UserModParamsPermEnum;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export const UserModParamsPermEnum = {
|
|
36
|
+
User: "user",
|
|
37
|
+
Admin: "admin",
|
|
38
|
+
Owner: "owner",
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export type UserModParamsPermEnum =
|
|
42
|
+
(typeof UserModParamsPermEnum)[keyof typeof UserModParamsPermEnum];
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { Mod } from "./mod";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { User } from "./user";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent user mod
|
|
24
|
+
* @export
|
|
25
|
+
* @interface UserMod
|
|
26
|
+
*/
|
|
27
|
+
export interface UserMod {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserMod
|
|
32
|
+
*/
|
|
33
|
+
user_id: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {User}
|
|
37
|
+
* @memberof UserMod
|
|
38
|
+
*/
|
|
39
|
+
user?: User;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UserMod
|
|
44
|
+
*/
|
|
45
|
+
mod_id: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Mod}
|
|
49
|
+
* @memberof UserMod
|
|
50
|
+
*/
|
|
51
|
+
mod?: Mod;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof UserMod
|
|
56
|
+
*/
|
|
57
|
+
perm?: UserModPermEnum;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof UserMod
|
|
62
|
+
*/
|
|
63
|
+
created_at?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof UserMod
|
|
68
|
+
*/
|
|
69
|
+
updated_at?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export const UserModPermEnum = {
|
|
73
|
+
User: "user",
|
|
74
|
+
Admin: "admin",
|
|
75
|
+
Owner: "owner",
|
|
76
|
+
} as const;
|
|
77
|
+
|
|
78
|
+
export type UserModPermEnum =
|
|
79
|
+
(typeof UserModPermEnum)[keyof typeof UserModPermEnum];
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { User } from "./user";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { UserMod } from "./user-mod";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent user mods
|
|
24
|
+
* @export
|
|
25
|
+
* @interface UserMods
|
|
26
|
+
*/
|
|
27
|
+
export interface UserMods {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {User}
|
|
31
|
+
* @memberof UserMods
|
|
32
|
+
*/
|
|
33
|
+
user?: User;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof UserMods
|
|
38
|
+
*/
|
|
39
|
+
total?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<UserMod>}
|
|
43
|
+
* @memberof UserMods
|
|
44
|
+
*/
|
|
45
|
+
mods?: Array<UserMod>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 user pack
|
|
17
|
+
* @export
|
|
18
|
+
* @interface UserPackParams
|
|
19
|
+
*/
|
|
20
|
+
export interface UserPackParams {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof UserPackParams
|
|
25
|
+
*/
|
|
26
|
+
pack: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof UserPackParams
|
|
31
|
+
*/
|
|
32
|
+
perm?: UserPackParamsPermEnum;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export const UserPackParamsPermEnum = {
|
|
36
|
+
User: "user",
|
|
37
|
+
Admin: "admin",
|
|
38
|
+
Owner: "owner",
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export type UserPackParamsPermEnum =
|
|
42
|
+
(typeof UserPackParamsPermEnum)[keyof typeof UserPackParamsPermEnum];
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { Pack } from "./pack";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { User } from "./user";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent user pack
|
|
24
|
+
* @export
|
|
25
|
+
* @interface UserPack
|
|
26
|
+
*/
|
|
27
|
+
export interface UserPack {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserPack
|
|
32
|
+
*/
|
|
33
|
+
user_id: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {User}
|
|
37
|
+
* @memberof UserPack
|
|
38
|
+
*/
|
|
39
|
+
user?: User;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UserPack
|
|
44
|
+
*/
|
|
45
|
+
pack_id: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Pack}
|
|
49
|
+
* @memberof UserPack
|
|
50
|
+
*/
|
|
51
|
+
pack?: Pack;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof UserPack
|
|
56
|
+
*/
|
|
57
|
+
perm?: UserPackPermEnum;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof UserPack
|
|
62
|
+
*/
|
|
63
|
+
created_at?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof UserPack
|
|
68
|
+
*/
|
|
69
|
+
updated_at?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export const UserPackPermEnum = {
|
|
73
|
+
User: "user",
|
|
74
|
+
Admin: "admin",
|
|
75
|
+
Owner: "owner",
|
|
76
|
+
} as const;
|
|
77
|
+
|
|
78
|
+
export type UserPackPermEnum =
|
|
79
|
+
(typeof UserPackPermEnum)[keyof typeof UserPackPermEnum];
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { User } from "./user";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { UserPack } from "./user-pack";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent user packs
|
|
24
|
+
* @export
|
|
25
|
+
* @interface UserPacks
|
|
26
|
+
*/
|
|
27
|
+
export interface UserPacks {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {User}
|
|
31
|
+
* @memberof UserPacks
|
|
32
|
+
*/
|
|
33
|
+
user?: User;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof UserPacks
|
|
38
|
+
*/
|
|
39
|
+
total?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<UserPack>}
|
|
43
|
+
* @memberof UserPacks
|
|
44
|
+
*/
|
|
45
|
+
packs?: Array<UserPack>;
|
|
46
|
+
}
|