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
package/model/forge.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
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 forge
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Forge
|
|
19
|
+
*/
|
|
20
|
+
export interface Forge {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof Forge
|
|
25
|
+
*/
|
|
26
|
+
id?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof Forge
|
|
31
|
+
*/
|
|
32
|
+
name?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Forge
|
|
37
|
+
*/
|
|
38
|
+
minecraft?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Forge
|
|
43
|
+
*/
|
|
44
|
+
created_at?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof Forge
|
|
49
|
+
*/
|
|
50
|
+
updated_at?: string;
|
|
51
|
+
}
|
package/model/forges.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 { Forge } from "./forge";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Model to represent list of forges
|
|
21
|
+
* @export
|
|
22
|
+
* @interface Forges
|
|
23
|
+
*/
|
|
24
|
+
export interface Forges {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof Forges
|
|
29
|
+
*/
|
|
30
|
+
total?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<Forge>}
|
|
34
|
+
* @memberof Forges
|
|
35
|
+
*/
|
|
36
|
+
versions?: Array<Forge>;
|
|
37
|
+
}
|
package/model/index.ts
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export * from "./auth-login";
|
|
2
|
+
export * from "./auth-token";
|
|
3
|
+
export * from "./auth-verify";
|
|
4
|
+
export * from "./build";
|
|
5
|
+
export * from "./build-version";
|
|
6
|
+
export * from "./build-version-params";
|
|
7
|
+
export * from "./build-versions";
|
|
8
|
+
export * from "./builds";
|
|
9
|
+
export * from "./fabric";
|
|
10
|
+
export * from "./fabric-build-params";
|
|
11
|
+
export * from "./fabric-builds";
|
|
12
|
+
export * from "./fabrics";
|
|
13
|
+
export * from "./forge";
|
|
14
|
+
export * from "./forge-build-params";
|
|
15
|
+
export * from "./forge-builds";
|
|
16
|
+
export * from "./forges";
|
|
17
|
+
export * from "./minecraft";
|
|
18
|
+
export * from "./minecraft-build-params";
|
|
19
|
+
export * from "./minecraft-builds";
|
|
20
|
+
export * from "./minecrafts";
|
|
21
|
+
export * from "./mod";
|
|
22
|
+
export * from "./mod-team-params";
|
|
23
|
+
export * from "./mod-teams";
|
|
24
|
+
export * from "./mod-user-params";
|
|
25
|
+
export * from "./mod-users";
|
|
26
|
+
export * from "./mods";
|
|
27
|
+
export * from "./neoforge";
|
|
28
|
+
export * from "./neoforge-build-params";
|
|
29
|
+
export * from "./neoforge-builds";
|
|
30
|
+
export * from "./neoforges";
|
|
31
|
+
export * from "./notification";
|
|
32
|
+
export * from "./pack";
|
|
33
|
+
export * from "./pack-back";
|
|
34
|
+
export * from "./pack-icon";
|
|
35
|
+
export * from "./pack-logo";
|
|
36
|
+
export * from "./pack-team-params";
|
|
37
|
+
export * from "./pack-teams";
|
|
38
|
+
export * from "./pack-user-params";
|
|
39
|
+
export * from "./pack-users";
|
|
40
|
+
export * from "./packs";
|
|
41
|
+
export * from "./profile";
|
|
42
|
+
export * from "./quilt";
|
|
43
|
+
export * from "./quilt-build-params";
|
|
44
|
+
export * from "./quilt-builds";
|
|
45
|
+
export * from "./quilts";
|
|
46
|
+
export * from "./team";
|
|
47
|
+
export * from "./team-mod";
|
|
48
|
+
export * from "./team-mod-params";
|
|
49
|
+
export * from "./team-mods";
|
|
50
|
+
export * from "./team-pack";
|
|
51
|
+
export * from "./team-pack-params";
|
|
52
|
+
export * from "./team-packs";
|
|
53
|
+
export * from "./team-user-params";
|
|
54
|
+
export * from "./team-users";
|
|
55
|
+
export * from "./teams";
|
|
56
|
+
export * from "./user";
|
|
57
|
+
export * from "./user-auth";
|
|
58
|
+
export * from "./user-mod";
|
|
59
|
+
export * from "./user-mod-params";
|
|
60
|
+
export * from "./user-mods";
|
|
61
|
+
export * from "./user-pack";
|
|
62
|
+
export * from "./user-pack-params";
|
|
63
|
+
export * from "./user-packs";
|
|
64
|
+
export * from "./user-team";
|
|
65
|
+
export * from "./user-team-params";
|
|
66
|
+
export * from "./user-teams";
|
|
67
|
+
export * from "./users";
|
|
68
|
+
export * from "./validation";
|
|
69
|
+
export * from "./version";
|
|
70
|
+
export * from "./version-build-params";
|
|
71
|
+
export * from "./version-builds";
|
|
72
|
+
export * from "./version-file";
|
|
73
|
+
export * from "./versions";
|
|
@@ -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
|
+
* 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
|
+
}
|
|
@@ -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 { Build } from "./build";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { Minecraft } from "./minecraft";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent minecraft builds
|
|
24
|
+
* @export
|
|
25
|
+
* @interface MinecraftBuilds
|
|
26
|
+
*/
|
|
27
|
+
export interface MinecraftBuilds {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Minecraft}
|
|
31
|
+
* @memberof MinecraftBuilds
|
|
32
|
+
*/
|
|
33
|
+
minecraft?: Minecraft;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof MinecraftBuilds
|
|
38
|
+
*/
|
|
39
|
+
total?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<Build>}
|
|
43
|
+
* @memberof MinecraftBuilds
|
|
44
|
+
*/
|
|
45
|
+
builds?: Array<Build>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 minecraft
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Minecraft
|
|
19
|
+
*/
|
|
20
|
+
export interface Minecraft {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof Minecraft
|
|
25
|
+
*/
|
|
26
|
+
id?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof Minecraft
|
|
31
|
+
*/
|
|
32
|
+
name?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Minecraft
|
|
37
|
+
*/
|
|
38
|
+
type?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Minecraft
|
|
43
|
+
*/
|
|
44
|
+
created_at?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof Minecraft
|
|
49
|
+
*/
|
|
50
|
+
updated_at?: string;
|
|
51
|
+
}
|
|
@@ -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 { Minecraft } from "./minecraft";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Model to represent list of minecrafts
|
|
21
|
+
* @export
|
|
22
|
+
* @interface Minecrafts
|
|
23
|
+
*/
|
|
24
|
+
export interface Minecrafts {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof Minecrafts
|
|
29
|
+
*/
|
|
30
|
+
total?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<Minecraft>}
|
|
34
|
+
* @memberof Minecrafts
|
|
35
|
+
*/
|
|
36
|
+
versions?: Array<Minecraft>;
|
|
37
|
+
}
|
|
@@ -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 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
|
+
Team: "team",
|
|
37
|
+
Admin: "admin",
|
|
38
|
+
Owner: "owner",
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export type ModTeamParamsPermEnum =
|
|
42
|
+
(typeof ModTeamParamsPermEnum)[keyof typeof ModTeamParamsPermEnum];
|
|
@@ -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 { Mod } from "./mod";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { TeamMod } from "./team-mod";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent mod teams
|
|
24
|
+
* @export
|
|
25
|
+
* @interface ModTeams
|
|
26
|
+
*/
|
|
27
|
+
export interface ModTeams {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Mod}
|
|
31
|
+
* @memberof ModTeams
|
|
32
|
+
*/
|
|
33
|
+
mod?: Mod;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ModTeams
|
|
38
|
+
*/
|
|
39
|
+
total?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<TeamMod>}
|
|
43
|
+
* @memberof ModTeams
|
|
44
|
+
*/
|
|
45
|
+
teams?: Array<TeamMod>;
|
|
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 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];
|
|
@@ -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 { Mod } from "./mod";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { UserMod } from "./user-mod";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent mod users
|
|
24
|
+
* @export
|
|
25
|
+
* @interface ModUsers
|
|
26
|
+
*/
|
|
27
|
+
export interface ModUsers {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Mod}
|
|
31
|
+
* @memberof ModUsers
|
|
32
|
+
*/
|
|
33
|
+
mod?: Mod;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ModUsers
|
|
38
|
+
*/
|
|
39
|
+
total?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<UserMod>}
|
|
43
|
+
* @memberof ModUsers
|
|
44
|
+
*/
|
|
45
|
+
users?: Array<UserMod>;
|
|
46
|
+
}
|
package/model/mod.ts
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
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 { UserMod } from "./user-mod";
|
|
21
|
+
// May contain unused imports in some cases
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import type { Version } from "./version";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Model to represent mod
|
|
27
|
+
* @export
|
|
28
|
+
* @interface Mod
|
|
29
|
+
*/
|
|
30
|
+
export interface Mod {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Mod
|
|
35
|
+
*/
|
|
36
|
+
id?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Mod
|
|
41
|
+
*/
|
|
42
|
+
slug?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Mod
|
|
47
|
+
*/
|
|
48
|
+
name?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Mod
|
|
53
|
+
*/
|
|
54
|
+
side?: ModSideEnum | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Mod
|
|
59
|
+
*/
|
|
60
|
+
description?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof Mod
|
|
65
|
+
*/
|
|
66
|
+
author?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof Mod
|
|
71
|
+
*/
|
|
72
|
+
website?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof Mod
|
|
77
|
+
*/
|
|
78
|
+
donate?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof Mod
|
|
83
|
+
*/
|
|
84
|
+
public?: boolean | null;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof Mod
|
|
89
|
+
*/
|
|
90
|
+
created_at?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof Mod
|
|
95
|
+
*/
|
|
96
|
+
updated_at?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {Array<Version>}
|
|
100
|
+
* @memberof Mod
|
|
101
|
+
*/
|
|
102
|
+
versions?: Array<Version> | null;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {Array<UserMod>}
|
|
106
|
+
* @memberof Mod
|
|
107
|
+
*/
|
|
108
|
+
users?: Array<UserMod> | null;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {Array<TeamMod>}
|
|
112
|
+
* @memberof Mod
|
|
113
|
+
*/
|
|
114
|
+
teams?: Array<TeamMod> | null;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export const ModSideEnum = {
|
|
118
|
+
Both: "both",
|
|
119
|
+
Server: "server",
|
|
120
|
+
Client: "client",
|
|
121
|
+
} as const;
|
|
122
|
+
|
|
123
|
+
export type ModSideEnum = (typeof ModSideEnum)[keyof typeof ModSideEnum];
|
package/model/mods.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 { Mod } from "./mod";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Model to represent list of mods
|
|
21
|
+
* @export
|
|
22
|
+
* @interface Mods
|
|
23
|
+
*/
|
|
24
|
+
export interface Mods {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof Mods
|
|
29
|
+
*/
|
|
30
|
+
total?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<Mod>}
|
|
34
|
+
* @memberof Mods
|
|
35
|
+
*/
|
|
36
|
+
mods?: Array<Mod>;
|
|
37
|
+
}
|
|
@@ -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
|
+
* 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
|
+
}
|